home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9428 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.5 KB

  1. Path: sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: HD interrupts and IDE
  5. Message-ID: <1992Aug30.221612.14848@klaava.Helsinki.FI>
  6. Date: 30 Aug 92 22:16:12 GMT
  7. References: <1992Aug30.161030.5898@ncsu.edu>
  8. Organization: University of Helsinki
  9. Lines: 26
  10.  
  11. In article <1992Aug30.161030.5898@ncsu.edu> big@garfield.catt.ncsu.edu (Alan Porter) writes:
  12. >
  13. >
  14. >I have been getting the infamous "Unexpected HD interrupt" messages 
  15. >whenever I do anything that requires a lot of disk activity (like tar,
  16. >or worse yet, rebuilding the kernel).
  17. >
  18. >Even more annoying, I also get the "HD timeout", the 4 second wait, and
  19. >then the "HD-controller reset".
  20. >
  21. >First, my system:
  22. >386-40, IDE drive (KLOC KL3120, 115 MB), 4 MB RAM, 60 MB Minix FS, 5 MB swap.
  23.  
  24. This is "normal" for kalok drives: they give these unexpected interrupts
  25. for some unfathomable reason.  I actually have a OEM manual for kalok
  26. drives (thanks to whoever got it to me), but it doesn't mention this
  27. kind of behaviour, so I guess it's a "undocumented feature", ie bug. 
  28.  
  29. The problem can be at least partly fixed by defining HD_DELAY in hd.c to
  30. something other than 0 - try different values until it disappears
  31. (starting with 1000 or something like that).  It should get rid of at
  32. least most of the errors, as the problem seems to be that the drive
  33. isn't ready to accept a new command even though it indicates it is in
  34. the status register. 
  35.  
  36.         Linus
  37.