Re: IDE + SMP Lockup (no OOPS) in 2.2.12, 2.2.10

Theodore Y. Ts'o (tytso@mit.edu)
Sat, 2 Oct 1999 18:26:18 -0400


Date: Fri, 1 Oct 1999 20:19:34 +0100 (BST)
From: Alan Cox <alan@lxorguk.ukuu.org.uk>

Because the IDE layer disables the shared IRQ in question for periods of
time of you dont have hdparm -u set, and for some periods of time anyway.

Basically its the IDE code being obnoxious. Fixing the IDE locking would
improve this, but would be a real pain because older IDE controllers you
want to disable_irq and stuff to avoid nasty performance problems.

Actually, it's worse than that. On some older IDE controllers not
turning off interrupts will cause data corruption on the disk. Read the
hdparm man page about the -u option..... If it were only performance
problems, given that it screws over the serial driver, we could make the
argument to change the default. But given that on some trashy hardware
it causes data loss, it's harder to make that argument.... or I would
have made it a long time ago. (hdparm -u should be in the serial HOWTO
and a number of FAQ's, though!)

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/