Problem mounting a small (128mb) usb flash disk

Bug #309852 reported by michael
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Unable to automount or manually mount a 128mb flash disk (formatted as FAT32)

the system detects the drive:

Dec 20 00:41:54 shiva kernel: [11540.376175] usb 5-3: new high speed USB device using ehci_hcd and address 5
Dec 20 00:41:54 shiva kernel: [11540.523167] usb 5-3: configuration #1 chosen from 1 choice
Dec 20 00:41:54 shiva kernel: [11540.524434] hub 5-3:1.0: USB hub found
Dec 20 00:41:54 shiva kernel: [11540.524614] hub 5-3:1.0: 1 port detected
Dec 20 00:41:54 shiva kernel: [11540.816415] usb 5-3.1: new high speed USB device using ehci_hcd and address 6
Dec 20 00:41:54 shiva kernel: [11540.922010] usb 5-3.1: configuration #1 chosen from 1 choice
Dec 20 00:41:54 shiva kernel: [11540.923168] scsi17 : SCSI emulation for USB Mass Storage devices
Dec 20 00:41:59 shiva kernel: [11545.922808] scsi scan: INQUIRY result too short (5), using 36
Dec 20 00:41:59 shiva kernel: [11545.922822] scsi 17:0:0:0: Direct-Access USB 2.0 Flash Drive 1.00 PQ: 0 ANSI: 0
Dec 20 00:41:59 shiva kernel: [11545.929347] sd 17:0:0:0: [sdb] Attached SCSI disk
Dec 20 00:41:59 shiva kernel: [11545.931278] sd 17:0:0:0: Attached scsi generic sg2 type 0

but fails to mount unless I run

sudo rmmod ehci_hcd
sudo modprobe ehci_hcd

after doing this and waiting a few seconds the disk is mounted but with a lot of i/o errors:

Dec 20 00:43:01 shiva kernel: [11608.056072] usb 5-3: new high speed USB device using ehci_hcd and address 2
Dec 20 00:43:01 shiva kernel: [11608.202505] usb 5-3: configuration #1 chosen from 1 choice
Dec 20 00:43:01 shiva kernel: [11608.204133] hub 5-3:1.0: USB hub found
Dec 20 00:43:01 shiva kernel: [11608.205090] hub 5-3:1.0: 1 port detected
Dec 20 00:43:02 shiva kernel: [11608.544328] usb 5-3.1: new high speed USB device using ehci_hcd and address 4
Dec 20 00:43:02 shiva kernel: [11608.649893] usb 5-3.1: configuration #1 chosen from 1 choice
Dec 20 00:43:02 shiva kernel: [11608.682455] scsi18 : SCSI emulation for USB Mass Storage devices
Dec 20 00:43:02 shiva kernel: [11608.924066] usb 4-1: new low speed USB device using uhci_hcd and address 7
Dec 20 00:43:02 shiva kernel: [11609.092043] usb 4-1: configuration #1 chosen from 1 choice
Dec 20 00:43:02 shiva kernel: [11609.112637] input: PS/2+USB Mouse as /devices/pci0000:00/0000:00:1d.3/usb4/4-1/4-1:1.0/input/input17
Dec 20 00:43:02 shiva kernel: [11609.140259] input,hidraw0: USB HID v1.00 Mouse [PS/2+USB Mouse] on usb-0000:00:1d.3-1
Dec 20 00:43:07 shiva kernel: [11613.689359] scsi scan: INQUIRY result too short (5), using 36
Dec 20 00:43:07 shiva kernel: [11613.689369] scsi 18:0:0:0: Direct-Access USB 2.0 Flash Drive 1.00 PQ: 0 ANSI: 0
Dec 20 00:43:07 shiva kernel: [11613.709075] sd 18:0:0:0: [sdb] 256000 512-byte hardware sectors (131 MB)
Dec 20 00:43:07 shiva kernel: [11613.709707] sd 18:0:0:0: [sdb] Write Protect is off
Dec 20 00:43:07 shiva kernel: [11613.711457] sd 18:0:0:0: [sdb] 256000 512-byte hardware sectors (131 MB)
Dec 20 00:43:07 shiva kernel: [11613.712080] sd 18:0:0:0: [sdb] Write Protect is off
Dec 20 00:43:07 shiva kernel: [11613.712103] sdb: sdb1
Dec 20 00:43:07 shiva kernel: [11613.713472] sdb: p1 exceeds device capacity
Dec 20 00:43:07 shiva kernel: [11613.718043] sd 18:0:0:0: [sdb] Attached SCSI disk
Dec 20 00:43:07 shiva kernel: [11613.718241] sd 18:0:0:0: Attached scsi generic sg2 type 0
Dec 20 00:43:08 shiva kernel: [11614.252202] attempt to access beyond end of device
Dec 20 00:43:08 shiva kernel: [11614.252218] sdb: rw=0, want=256816, limit=256000
Dec 20 00:43:08 shiva kernel: [11614.252223] __ratelimit: 132 callbacks suppressed
Dec 20 00:43:08 shiva kernel: [11614.258252] attempt to access beyond end of device
Dec 20 00:43:08 shiva kernel: [11614.258266] sdb: rw=0, want=256817, limit=256000
Dec 20 00:43:08 shiva kernel: [11614.259215] attempt to access beyond end of device
Dec 20 00:43:08 shiva kernel: [11614.259223] sdb: rw=0, want=256818, limit=256000
.......
.......
Dec 20 00:43:08 shiva kernel: [11614.345585] attempt to access beyond end of device
Dec 20 00:43:08 shiva kernel: [11614.345589] sdb: rw=0, want=257040, limit=256000
Dec 20 00:43:08 shiva kernel: [11614.345599] attempt to access beyond end of device
Dec 20 00:43:08 shiva kernel: [11614.345603] sdb: rw=0, want=257040, limit=256000

reading and writing the disk appears to be fine though and ejecting the disk or simply removing results in an unmount.

Revision history for this message
Michele Mangili (mangilimic) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information.

Please include the information requested at https://wiki.ubuntu.com/DebuggingRemovableDevices as separate attachments.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don\'t hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in ubuntu:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.