Bug 131204

Summary: usbdrive producing ub I/O errors when plugged in
Product: [Fedora] Fedora Reporter: Jef Spaleta <jspaleta>
Component: kernelAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: byte, michel.salim, twaugh, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-11 02:55:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268, 136451    
Attachments:
Description Flags
/var/log/messages output on usbdisk insertion
none
Candidate #1 - fail opens on empty devices none

Description Jef Spaleta 2004-08-29 20:08:14 UTC
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

Comment 1 Jef Spaleta 2004-08-29 20:10:02 UTC
Created attachment 103218 [details]
/var/log/messages output on usbdisk insertion

Comment 2 Pete Zaitcev 2004-08-29 21:34:25 UTC
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.


Comment 3 Pete Zaitcev 2004-09-12 04:18:13 UTC
I think I found a fix, I'll have it recirculate through the upstream.


Comment 4 Pete Zaitcev 2004-09-12 04:20:47 UTC
Created attachment 103753 [details]
Candidate #1 - fail opens on empty devices

Comment 5 Jef Spaleta 2004-10-25 13:47:06 UTC
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

Comment 6 Pete Zaitcev 2004-10-25 23:18:35 UTC
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...