Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!nigel.msen.com!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!uunet!mcsun!sunic!aun.uninett.no!barsoom!barsoom!tih From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo) Newsgroups: comp.unix.bsd Subject: 386BSD: New wd driver handles multiple disks, bad sectoring. Message-ID: <tih.714747527@barsoom> Date: 25 Aug 92 12:58:47 GMT Article-I.D.: barsoom.tih.714747527 Sender: news@barsoom.nhh.no (USENET News System) Organization: Norwegian School of Economics Lines: 38 For those who are interested, my heavily modified wd driver for 386bsd is now available by anonymous ftp from barsoom.nhh.no. This is a modification to the config program to have it use such constructs as: controller isa0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 Information about the disks is output to ioconf.c, as well as the controller information that's always been written there. This means that logical ordering of disks is not tied firmly to the physical ordering. I've modified the fd driver slightly, to let it work with this setup, but the wd driver is rewritten quite a bit. It now handles multiple controllers and disks well (as the above example implies), and it also finally does bad144 style bad sector handling *correctly*! :-) I'm using it with the above setup, running two disks on each of two controllers, my disks do have bad sectors, and the thing works great for me. If you want to check it out, it's in pub/386bsd on barsoom.nhh.no. See the README file there for more specific information. Coming up next: WD formatting under 386bsd. (I need it for my secondary controller, which DOS can't see without physical mods!) (It may take me a while, though -- anyone else working on it?) -tih -- Tom Ivar Helbekkmo, NHH, Bergen, Norway. Telephone: +47-5-959205 Postmaster for domain nhh.no. Internet mail: tih@barsoom.nhh.no