Description of problem: HAL keeps reading from the USB floppy I have. This is wearing the floppy and makes irritating sounds. This used not to be the case in older versions of Fedora. Version-Release number of selected component (if applicable): hal-0.5.10-0.git20070731.fc8 kernel-2.6.23-0.70.rc1.git13.fc8 How reproducible: Seems 100% reproducible, but perhaps you need a certain hardware. Steps to Reproduce: 1. Plug a floppy into USB. Insert a disc. 2. Listen for HAL reading. Actual results: Constant operation of floppy. Expected results: Not reading the media after the first time. Additional info: I think something broke the revalidation in sd.c in case of removables. I have verified with strace that a mere open() causes re-reading of the media where it didn't before: [root@simbelmyne zaitcev]# strace -p 2784 Process 2784 attached - interrupt to quit poll([{fd=3, events=POLLIN}], 1, 4505) = 0 poll([{fd=3, events=POLLIN}], 1, 1) = 0 open("/dev/sdd", O_RDONLY) = 5 close(5) = 0 poll( <unfinished ...>
I tested with a self-built 2.6.23+ (post-merge on x86 etc.), and it works fine. So perhaps this will go away by itself in a 2.6.24-rc1 kernels.
Fixed in 2.6.23-6.fc8.