Most recent kernel where this bug did not occur: Distribution: debian etch Hardware Environment: P8SC8 (Supermicro) Software Environment: Gnu Linux Problem Description: No floppy on harware, but floppy module is still loaded and when remove session freeze (not server) and impossible to kill process. Steps to reproduce: In bios diabled floppy, boot debian etch. lsmod ... serio_raw 7428 0 floppy 51684 0 shpchp 33632 0 ... modprobe -r floppy session freeze.... connect with an other session kill -9 process of modprobe -r floppy nothing append.
seems to do the same on other hardawre plateform.
I think we fixed this in later kernels, not sure. Are you able to test 2.6.23?
i will check with kernel 2.6.23.1 soon. (next monday).
2.6.24-rc1 works for me. I loaded/unloaded floppy.ko 10 times. 4 of those times included mounting, ls -l, unmounting /dev/fd0 also.
Randy, have you tried the unload with the floppy hw disabled in the BIOS? I'm closing this bug as fixed - Aldo, please re-open it if you can still see problems. If such a freeze happens then please turn on CONFIG_MAGIC_SYSRQ and do this: echo t > /proc/sysrq-trigger and attach the resulting dmesg output.
Nope, hadn't even thought about that. :( I'll try to do that.
Tested 2.6.24-rc1 (same as my previous testing) with floppy device disabled in BIOS. Loaded floppy driver module 9 times with no system hangs or oopses, just the floppy driver printing that no floppy controllers were found: [ 234.878789] floppy0: no floppy controllers found [ 250.303809] floppy0: no floppy controllers found [ 254.795949] floppy0: no floppy controllers found [ 258.499853] floppy0: no floppy controllers found [ 262.280683] floppy0: no floppy controllers found [ 268.334803] floppy0: no floppy controllers found [ 272.378378] floppy0: no floppy controllers found [ 276.115250] floppy0: no floppy controllers found [ 279.739230] floppy0: no floppy controllers found