Re: Generic Disk Driver in Linux

From: Robert Hancock
Date: Thu Aug 24 2006 - 20:11:27 EST


Daniel Rodrick wrote:
Hi List,

I was curious that can we develop a generic disk driver that could
handle all the kinds of hard drives - IDE, SCSI, RAID et al?

I thought we could use the BIOS interrupt 13H for this purpose, but
ran into a LOT of real mode / protected mode issues.

Any other ideas?

Aside from the real/protected mode issues (which are pretty much a show-stopper right there), the performance would be horrible. Usually the Interrupt 13 code on especially the more advanced controllers like hardware RAID, etc. is designed solely to function, with little attention to speed, and the performance tends to be horrible - look at versions of Ghost that run into DOS and look how long it takes to image a drive connected to an IBM ServeRAID controller..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/