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