Description of problem: 2.6.8-1.533smp and kernel-2.6.8-1.532smp produce ub I/O errors when my ioplus pocketdisk usbdrive is plugged in. The read/write indicator light on the drive flashes repeatedly as well until i unplug the device. kernel-2.6.8-1.526smp and previous kernels seem to handle this device well, and produce sda1 device that is mountable. Attached you will find a portion of /var/log/messages created on usbdisk insertion. /proc/partitions lists with the device inserted: 125 0 25 uba and of course mount /dev/uba /mnt/test doesn't work /dev/uba: Invalid argument mount: /dev/uba: can't read superblock How reproducible: Every time I plug the device in, and even if the device is plugged in at boottime. Please direct me as to any further information I can give you. -jef
Created attachment 103218 [details] /var/log/messages output on usbdisk insertion
It's too early to ship kernels with ub enabled (CONFIG_BLK_DEV_UB). We should continue to use the old storage driver for now.
I think I found a fix, I'll have it recirculate through the upstream.
Created attachment 103753 [details] Candidate #1 - fail opens on empty devices
should this bug report be closed? I originally reported it against a fedora development kernel but since fedora development kernels no longer attempt to use the ub module, should report be closed out? Or are you using it to track ub specific issues not associated with available binary kernels? -jef
Jef, you are the reporter. Developers are not supposed to close bugs, unless the reporter fails his duty. This bug did its work. I have fixed the problem you identified. As for the bug, eventually, I'd poke you with a NEEDINFO...