home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10259 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!cs.utexas.edu!wotan.compaq.com!moxie!hackney
  3. From: hackney@moxie.hou.tx.us (Greg Hackney)
  4. Subject: 386BSD wd.c timeout problem during autoconfig
  5. Message-ID: <1992Dec16.002542.6959@moxie.hou.tx.us>
  6. Sender: hackney@moxie.hou.tx.us (Greg Hackney)
  7. Organization: None
  8. Date: Wed, 16 Dec 1992 00:25:42 GMT
  9. Lines: 20
  10.  
  11.  
  12. We found a timeout problem in the wd.c code that occurs when the
  13. system trys to autoconfigure the disk drives at boot time.
  14.  
  15. In wdcommand() there is a declaration:  int timeout = 1000000;
  16.  
  17. This is a loop counter that runs while the disk controller
  18. registers are being probed. For a Conner 510MB IDE drive on a Compaq
  19. SystemPro 486/33, that value is not large enough for the controller
  20. to respond in time. (It's only short by a count of about 3,000 on
  21. this system).
  22.  
  23. As a result, booting the dist.fs floppy indicates you have no hard
  24. disk drives.
  25.  
  26. The fix was to increase the value of timeout. We used 1,500,000.
  27. --
  28. Greg Hackney   hackney@compaq.com
  29. Mike Busby     mcb@compaq.com
  30.  
  31.