[lkml]   [2006]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: Generic Disk Driver in Linux
>[] On Behalf Of Jan Engelhardt
>> 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?
>All there, what more do you want?

Unfortunately, not _all_. DMRAID does not support all fake raids yet. Moreover, there is usually
some gap for bleeding edge hw support.

>> I thought we could use the BIOS interrupt 13H for this purpose,
>I fail to see a BIOS on non-x86 computers.
>> but ran into a LOT of real mode / protected mode issues.
>Sure. We are not real mode.
>Ever heard of BIOS limitations? If no, first check out
This is not really relevant. They actually answer it right in the article - BIOS extensions, aka

I'd say the performance issue is more in int13 non-dma vs. dma data transfers, and tricks
associated with vm86. Although most 'on board' BIOSes support dma just fine for single drives,
faik raid and 'plug-in' card option ROMS usually lacks any dma support. Plus, there is no way to
tell whether BIOS will do dma or pio upfront.
Another problem here is that BIOSes usually support legacy PIC interrupt model, and modern OSes
use IO APIC and resteer the interrups.


>Jan Engelhardt
>To unsubscribe from this list: send the line "unsubscribe
>linux-kernel" in

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-08-24 20:23    [W:0.093 / U:34.528 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site