Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannotbe mounted without hanging up the whole system

From: Jiri Slaby
Date: Mon Feb 26 2007 - 11:28:38 EST


Linus Torvalds napsal(a):

On Mon, 26 Feb 2007, Jiri Slaby wrote:
Ok, this commit is the culprit:
Commit: 2ff2d3d74705d34ab71b21f54634fcf50d57bdd5
Author: Stephane Eranian <eranian@xxxxxxxxxx> Tue, 13 Feb 2007 13:26:22 +0100

[PATCH] i386: add idle notifier

Interesting. It doesn't touch floppy at all, but it *does* seem to play around with irq state.

In particular, the floppy uses IRQF_DISABLED (which means that it doesn't want interrupts enabled when in the irq handler), and I get the feeling that the poll_idle() stuff made that not work.

$ grep flags /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr

i.e. 'ht' and no 'monitor'; both poll_idle and mwait_idle are not involved, default_idle is.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

Hnus <hnus@xxxxxxxxxx> is an alias for /dev/null
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/