Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030440AbWHYANw (ORCPT ); Thu, 24 Aug 2006 20:13:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030290AbWHYANw (ORCPT ); Thu, 24 Aug 2006 20:13:52 -0400 Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10]:17125 "EHLO pd5mo2so.prod.shaw.ca") by vger.kernel.org with ESMTP id S1030440AbWHYANv (ORCPT ); Thu, 24 Aug 2006 20:13:51 -0400 Date: Thu, 24 Aug 2006 18:12:00 -0600 From: Robert Hancock Subject: Re: Generic Disk Driver in Linux In-reply-to: To: Daniel Rodrick Cc: linux-kernel@vger.kernel.org, kernelnewbies , linux-newbie@vget.kernel.org Message-id: <44EE4050.7020608@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1178 Lines: 29 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@nospamshaw.ca 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/