home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 2972 < prev    next >
Encoding:
Text File  |  1992-07-27  |  2.0 KB  |  45 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!darwin.sura.net!mips!newsun!gateway.novell.com!terry
  3. From: terry@npd.Novell.COM (Terry Lambert)
  4. Subject: Re: 386bsd-0.1: primary bootstrap (wdbootblk.c) problem & fix.
  5. Message-ID: <1992Jul27.192502.15727@gateway.novell.com>
  6. Keywords: 386bsd boot bootstrap wdbootblk.c
  7. Sender: news@gateway.novell.com (NetNews)
  8. Nntp-Posting-Host: thisbe.eng.sandy.novell.com
  9. Organization: Novell NPD -- Sandy, UT
  10. References: <greg.712111605@hibp1.ecse.rpi.edu> <1992Jul27.172708.3363@gateway.novell.com> <greg.712261295@hibp1.ecse.rpi.edu>
  11. Date: Mon, 27 Jul 1992 19:25:02 GMT
  12. Lines: 31
  13.  
  14. In article <greg.712261295@hibp1.ecse.rpi.edu> greg@ecse.rpi.edu (Greg) writes:
  15. >Terry, please reread my message. THIS IS NOT THE SAME BUG!!!!!!
  16. >This problem is in wdbootblk.c. The code contained in wd.c has not
  17. >even been loaded off the disk at the point when this hang occurs! 
  18. >To understand what is going on, study wdbootblk.c.
  19.  
  20.     I think I goofed in recommending the wd.c fix for this problem;
  21. however, the status register being polled after the delay is wd_status,
  22. and I still believe that a canonical fix would be looking at wd_altsts
  23. instead.
  24.  
  25.     Greg's delay loop will have the same effect -- that is, making sure
  26. the controller has finished it's reset prior to using it.
  27.  
  28.     The confusion seems to have originated from the various paths in
  29. the boot and non-boot sections of the kernel which lead to files of the
  30. same name.  I would suggest that any future patches refrain from the use
  31. of relative paths to identify the file being patched.  In particular, it
  32. would be nice if they contained the full path from the root of the volume
  33. ("/") rather than something like "./xxx/yyy/zzz.c", which assumes they are
  34. starting in the same directory that patch poster did.
  35.  
  36.     ...This, of course, wouldn't have saved me from foot-in-mouth in
  37. this particular case 8-(.
  38.  
  39.                     Terry Lambert
  40.                     terry_lambert@gateway.novell.com
  41.                     terry@icarus.weber.edu
  42. ---
  43. Disclaimer:  Any opinions in this posting are my own and not those of
  44. my present or previous employers.
  45.