home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / archives / 3246 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!agate!usenet
  2. From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo)
  3. Newsgroups: comp.archives
  4. Subject: [comp.unix.bsd] 386BSD: New wd driver handles multiple disks, bad sectoring.
  5. Followup-To: comp.unix.bsd
  6. Date: 4 Sep 1992 03:54:36 GMT
  7. Organization: Norwegian School of Economics
  8. Lines: 41
  9. Approved: adam@soda.berkeley.edu
  10. Distribution: world
  11. Message-ID: <186mlsINN5r@agate.berkeley.edu>
  12. References: <tih.714747527@barsoom>
  13. NNTP-Posting-Host: soda.berkeley.edu
  14. X-Original-Newsgroups: comp.unix.bsd
  15. X-Original-Date: 25 Aug 92 12:58:47 GMT
  16.  
  17. Archive-name: auto/comp.unix.bsd/386BSD-New-wd-driver-handles-multiple-disks-bad-sectoring
  18.  
  19. For those who are interested, my heavily modified wd driver for
  20. 386bsd is now available by anonymous ftp from barsoom.nhh.no.
  21.  
  22. This is a modification to the config program to have it use such
  23. constructs as:
  24.  
  25. controller    isa0
  26. controller    wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
  27. disk        wd0    at wdc0 drive 0
  28. disk        wd1    at wdc0 drive 1
  29. controller    wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
  30. disk        wd2    at wdc1 drive 0
  31. disk        wd3    at wdc1 drive 1
  32.  
  33. Information about the disks is output to ioconf.c, as well as the
  34. controller information that's always been written there.  This means
  35. that logical ordering of disks is not tied firmly to the physical
  36. ordering.
  37.  
  38. I've modified the fd driver slightly, to let it work with this setup,
  39. but the wd driver is rewritten quite a bit.  It now handles multiple
  40. controllers and disks well (as the above example implies), and it
  41. also finally does bad144 style bad sector handling *correctly*!  :-)
  42. I'm using it with the above setup, running two disks on each of two
  43. controllers, my disks do have bad sectors, and the thing works great
  44. for me.
  45.  
  46. If you want to check it out, it's in pub/386bsd on barsoom.nhh.no.
  47. See the README file there for more specific information.
  48.  
  49. Coming up next:  WD formatting under 386bsd.  (I need it for my
  50. secondary controller, which DOS can't see without physical mods!)
  51. (It may take me a while, though -- anyone else working on it?)
  52.  
  53. -tih
  54. --
  55. Tom Ivar Helbekkmo, NHH, Bergen, Norway.  Telephone: +47-5-959205
  56. Postmaster for domain nhh.no.   Internet mail: tih@barsoom.nhh.no
  57.  
  58.