USB Mass storage device "sense error"

Bug #273372 reported by NeoFax
106
This bug affects 15 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.27-3-generic

Here is the error from /var/log/messages when I connect my Mass Storage device:

Sep 22 19:29:20 PERSEOS kernel: [ 6333.340058] usb 5-6: new high speed USB device using ehci_hcd and address 6
Sep 22 19:29:20 PERSEOS kernel: [ 6333.478174] usb 5-6: configuration #1 chosen from 1 choice
Sep 22 19:29:20 PERSEOS kernel: [ 6333.481784] scsi4 : SCSI emulation for USB Mass Storage devices
Sep 22 19:29:25 PERSEOS kernel: [ 6338.489105] scsi 4:0:0:0: Direct-Access WDC WD80 0BB-22JHA0 05.0 PQ: 0 ANSI: 0
Sep 22 19:29:25 PERSEOS kernel: [ 6338.491464] sd 4:0:0:0: [sdd] 156301489 512-byte hardware sectors (80026 MB)
Sep 22 19:29:25 PERSEOS kernel: [ 6338.492334] sd 4:0:0:0: [sdd] Write Protect is off
Sep 22 19:29:25 PERSEOS kernel: [ 6338.493085] sd 4:0:0:0: [sdd] 156301489 512-byte hardware sectors (80026 MB)
Sep 22 19:29:25 PERSEOS kernel: [ 6338.493832] sd 4:0:0:0: [sdd] Write Protect is off
Sep 22 19:29:25 PERSEOS kernel: [ 6338.493848] sdd: sdd1
Sep 22 19:29:25 PERSEOS kernel: [ 6338.505901] sd 4:0:0:0: [sdd] Attached SCSI disk
Sep 22 19:29:25 PERSEOS kernel: [ 6338.506938] sd 4:0:0:0: Attached scsi generic sg2 type 0
Sep 22 19:29:25 PERSEOS kernel: [ 6338.651077] sd 4:0:0:0: [sdd] Sense Key : No Sense [current]
Sep 22 19:29:25 PERSEOS kernel: [ 6338.651092] sd 4:0:0:0: [sdd] Add. Sense: No additional sense information
Sep 22 19:29:25 PERSEOS kernel: [ 6338.652586] sd 4:0:0:0: [sdd] Sense Key : No Sense [current]
Sep 22 19:29:25 PERSEOS kernel: [ 6338.652599] sd 4:0:0:0: [sdd] Add. Sense: No additional sense information
Sep 22 19:29:25 PERSEOS kernel: [ 6338.656460] sd 4:0:0:0: [sdd] Sense Key : No Sense [current]
Sep 22 19:29:25 PERSEOS kernel: [ 6338.656473] sd 4:0:0:0: [sdd] Add. Sense: No additional sense information
<---SNIP--->
Sep 22 19:29:35 PERSEOS kernel: [ 6347.613065] usb 5-6: USB disconnect, address 6
Sep 22 19:29:35 PERSEOS kernel: [ 6347.613126] sd 4:0:0:0: [sdd] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Sep 22 19:29:35 PERSEOS kernel: [ 6347.613138] __ratelimit: 14 callbacks suppressed
Sep 22 19:29:35 PERSEOS kernel: [ 6347.614651] scsi 4:0:0:0: [sdd] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK

I am running linux-image-2.6.27-3.4 kernel and am running Intrepid Ibex Alpha 6 with most current updates as of 9-22-08.

1) Description: Ubuntu intrepid (development branch) Release: 8.10
2) linux-image-2.6.27-3.4

Revision history for this message
Tim Wright (timw) wrote :

Same problem here. Just upgraded to Intrepid beta with kernel 2.6.27-5-generic. I have an external USB-IDE drive enclosure and with it plugged in, the boot hangs with error messages similar to the above. Powering down the drive, the system boots normally.
The drive is found just fine:
scsi 4:0:0:0: Direct-Access ST325082 3A 3.02 PQ: 0 ANSI: 0
...
then repeated errors of the form:
sd 4:0:0:0: [sdc] Sense Key : No Sense [current]
sd 4:0:0:0: [sdc] Add. Sense: No additional sense information
On powering off the drive, I got the an I/O error on what would be the very last sector of the drive.

Revision history for this message
flobb (flobb) wrote :

Same problem for me on Intrepid.
When I plugged in the drive, it is detected, then the drive start reading in loop.

Seems to be in udev, when doing ID search
/lib/udev/vol_id --export /dev/.tmp-8-32
who try to search and never ends.

My disk work well on hardy.

Revision history for this message
Robert Mahoney (mahoneyr) wrote :

Same problem here in Intrepid. USB external drive that worked fine under previous versions.

At drive power on:
[ 914.916077] usb 2-2: new high speed USB device using ehci_hcd and address 8
[ 915.089329] usb 2-2: configuration #1 chosen from 1 choice
[ 915.106215] scsi8 : SCSI emulation for USB Mass Storage devices
[ 915.123024] usb-storage: device found at 8
[ 915.123039] usb-storage: waiting for device to settle before scanning
[ 920.121121] usb-storage: device scan complete
[ 920.124114] scsi 8:0:0:0: Direct-Access ST312002 6A 8.01 PQ: 0 ANSI: 0
[ 920.192753] sd 8:0:0:0: [sdh] 234441649 512-byte hardware sectors (120034 MB)
[ 920.197056] sd 8:0:0:0: [sdh] Write Protect is off
[ 920.197073] sd 8:0:0:0: [sdh] Mode Sense: 03 00 00 00
[ 920.197078] sd 8:0:0:0: [sdh] Assuming drive cache: write through
[ 920.200621] sd 8:0:0:0: [sdh] 234441649 512-byte hardware sectors (120034 MB)
[ 920.209086] sd 8:0:0:0: [sdh] Write Protect is off
[ 920.209103] sd 8:0:0:0: [sdh] Mode Sense: 03 00 00 00
[ 920.209108] sd 8:0:0:0: [sdh] Assuming drive cache: write through
[ 920.210153] sdh: sdh1
[ 920.231119] sd 8:0:0:0: [sdh] Attached SCSI disk
[ 920.233270] sd 8:0:0:0: Attached scsi generic sg9 type 0
[ 920.571207] sd 8:0:0:0: [sdh] Sense Key : No Sense [current]
[ 920.571225] sd 8:0:0:0: [sdh] Add. Sense: No additional sense information
[ 920.725607] sd 8:0:0:0: [sdh] Sense Key : No Sense [current]
[ 920.725626] sd 8:0:0:0: [sdh] Add. Sense: No additional sense information
[ 920.876208] sd 8:0:0:0: [sdh] Sense Key : No Sense [current]
[ 920.876227] sd 8:0:0:0: [sdh] Add. Sense: No additional sense information
[ 921.028211] sd 8:0:0:0: [sdh] Sense Key : No Sense [current]
[ 921.028229] sd 8:0:0:0: [sdh] Add. Sense: No additional sense information
The last two lines loop endlessly and the disk churns continuously. Unable to mount sdh or sdh1. Not recognized under lsusb or parted. Then at drive power down:
[ 1066.328064] usb 2-2: reset high speed USB device using ehci_hcd and address 8
[ 1066.384097] usb 2-2: USB disconnect, address 8
[ 1066.391536] scsi 8:0:0:0: [sdh] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[ 1066.391553] end_request: I/O error, dev sdh, sector 234441648
[ 1066.391561] __ratelimit: 137 callbacks suppressed
[ 1066.391567] Buffer I/O error on device sdh, logical block 234441648
[ 1066.391633] Buffer I/O error on device sdh, logical block 234441648
[ 1066.391718] Buffer I/O error on device sdh, logical block 234441640
[ 1066.391735] Buffer I/O error on device sdh, logical block 234441641
[ 1066.391751] Buffer I/O error on device sdh, logical block 234441642
[ 1066.391766] Buffer I/O error on device sdh, logical block 234441643
[ 1066.391781] Buffer I/O error on device sdh, logical block 234441644
[ 1066.391796] Buffer I/O error on device sdh, logical block 234441645
[ 1066.391811] Buffer I/O error on device sdh, logical block 234441646
[ 1066.391827] Buffer I/O error on device sdh, logical block 234441647

Revision history for this message
ThOR27 (thor27-gmail) wrote :

Same here with a Nokia 5200 in storage mode

This keeps in infinite loop:

[29325.104204] sd 10:0:0:0: [sdb] Add. Sense: No additional sense information
[29325.118199] sd 10:0:0:0: [sdb] Sense Key : No Sense [current]

and my cel keeps saying "Transferring Data"

no device is created or mounted

Kernel:
 2.6.27-7-generic

Kubuntu intrepid

Revision history for this message
derektorr (derektorr) wrote :

Have the same problem: USB device is Sony Ericsson W760i in USB Storage mode. I've managed to connect it once, just after upgrade from hardy, now after reboot it doesn't work anymore.

Revision history for this message
brainstorm (brainstorm) wrote :

Same issue here, just after powering it up:

[17218.694717] Buffer I/O error on device sdb, logical block 488397164
[17218.694722] Buffer I/O error on device sdb, logical block 488397165
[17218.694727] Buffer I/O error on device sdb, logical block 488397166

According to top, "dd" process eats 100% CPU by writing the above message.

After powering it down:

[17218.696566] end_request: I/O error, dev sdb, sector 488397104
[17218.696578] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK

Revision history for this message
Feanor (michael.pusterhofer) wrote :

Same issue with Nokia 5310 after upgrading firmware to v09.42

[110674.356516] usb 5-1: new full speed USB device using uhci_hcd and address 63
[110674.535933] usb 5-1: configuration #1 chosen from 1 choice
[110674.548023] scsi40 : SCSI emulation for USB Mass Storage devices
[110679.576006] scsi 40:0:0:0: Direct-Access Nokia Nokia 5310 Xpres 0000 PQ: 0 ANSI: 4
[110679.580997] sd 40:0:0:0: [sdd] 3970049 512-byte hardware sectors (2033 MB)
[110679.587593] sd 40:0:0:0: [sdd] Write Protect is off
[110679.605000] sd 40:0:0:0: [sdd] 3970049 512-byte hardware sectors (2033 MB)
[110679.608536] sd 40:0:0:0: [sdd] Write Protect is off
[110679.608546] sdd:
[110679.738899] sd 40:0:0:0: [sdd] Attached SCSI removable disk
[110679.738982] sd 40:0:0:0: Attached scsi generic sg4 type 0
[110679.840991] sd 40:0:0:0: [sdd] Sense Key : No Sense [current]
[110679.840997] sd 40:0:0:0: [sdd] Add. Sense: No additional sense information
[110679.847988] sd 40:0:0:0: [sdd] Sense Key : No Sense [current]
[110679.847992] sd 40:0:0:0: [sdd] Add. Sense: No additional sense information
[110679.854987] sd 40:0:0:0: [sdd] Sense Key : No Sense [current]
[110691.716043] usb 5-1: USB disconnect, address 63
[110691.717674] scsi 40:0:0:0: [sdd] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[110691.717682] __ratelimit: 86 callbacks suppressed

uname:
Linux michael-desktop 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

Gnome 2.24.1
Intrepid

Revision history for this message
spawn57 (spawn57) wrote :

same happens to me with the new sony ericsson G705. dmesg shows the following two lines forever.

[ 3617.679413] sd 11:0:0:0: [sdf] Sense Key : No Sense [current]
[ 3617.679418] sd 11:0:0:0: [sdf] Add. Sense: No additional sense information
[ 3617.681040] sd 11:0:0:1: [sdg] Sense Key : No Sense [current]
[ 3617.681045] sd 11:0:0:1: [sdg] Add. Sense: No additional sense information
[ 3617.682789] sd 11:0:0:0: [sdf] Sense Key : No Sense [current]
[ 3617.682795] sd 11:0:0:0: [sdf] Add. Sense: No additional sense information
[ 3617.684414] sd 11:0:0:1: [sdg] Sense Key : No Sense [current]
[ 3617.684419] sd 11:0:0:1: [sdg] Add. Sense: No additional sense information
[ 3617.686041] sd 11:0:0:0: [sdf] Sense Key : No Sense [current]
[ 3617.686047] sd 11:0:0:0: [sdf] Add. Sense: No additional sense information

Revision history for this message
mocho (mochoandre) wrote :

same here

[ 5409.578095] Initializing USB Mass Storage driver...
[ 5409.578366] scsi4 : SCSI emulation for USB Mass Storage devices
[ 5409.578621] usbcore: registered new interface driver usb-storage
[ 5409.578630] USB Mass Storage support registered.
[ 5409.579121] usb-storage: device found at 9
[ 5409.579126] usb-storage: waiting for device to settle before scanning
[ 5414.577586] usb-storage: device scan complete
[ 5414.612911] scsi 4:0:0:0: Direct-Access IC25N060 ATMR04-0 MO3O PQ: 0 ANSI: 0
[ 5414.621369] sd 4:0:0:0: [sdb] 117210240 512-byte hardware sectors (60012 MB)
[ 5414.626495] sd 4:0:0:0: [sdb] Write Protect is off
[ 5414.626509] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 5414.626516] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5414.659958] sd 4:0:0:0: [sdb] 117210240 512-byte hardware sectors (60012 MB)
[ 5414.669486] sd 4:0:0:0: [sdb] Write Protect is off
[ 5414.669503] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 5414.669510] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5414.674755] sdb:<6>sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5418.437743] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5448.548062] usb 1-1: reset high speed USB device using ehci_hcd and address 9
[ 5452.243710] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5452.243736] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5455.787719] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5455.787743] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5461.365009] unknown partition table
[ 5461.368712] sd 4:0:0:0: [sdb] Attached SCSI disk
[ 5461.372660] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 5464.944714] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5464.944737] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5495.057102] usb 1-1: reset high speed USB device using ehci_hcd and address 9
[ 5506.168709] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5506.168735] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5536.280984] usb 1-1: reset high speed USB device using ehci_hcd and address 9
[ 5545.567706] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5545.567739] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5575.678049] usb 1-1: reset high speed USB device using ehci_hcd and address 9
[ 5598.499690] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5598.499702] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5628.613561] usb 1-1: reset high speed USB device using ehci_hcd and address 9
[ 5637.337848] sd 4:0:0:0: [sdb] Sense Key : No Sense [current]
[ 5637.337871] sd 4:0:0:0: [sdb] Add. Sense: No additional sense information
[ 5667.448964] usb 1-1: reset high speed USB device using ehci_hcd and address 9

Revision history for this message
Richard Seguin (sectech) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 273372 , so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
ArcFi (arcfi) wrote :

ubuntu-9.04a6, linux-image-2.6.28-9-generic
I have no problem anymore connecting nokia-5220. =)

Revision history for this message
Seth Arnold (seth-arnold) wrote :

# uname -a
Linux ehrlichman 2.6.31-16-generic #52-Ubuntu SMP Thu Dec 3 22:00:22 UTC 2009 i686 GNU/Linux

I managed to copy roughly 14 gigabytes off a USB-mounted laptop drive before I couldn't access the drive any further:

[13051.912689] Info fld=0x0
[13051.912694] sd 2:0:0:0: [sdb] Add. Sense: No additional sense information
[13079.534301] sd 2:0:0:0: [sdb] Sense Key : No Sense [current]
[13079.534316] Info fld=0x0
[13079.534321] sd 2:0:0:0: [sdb] Add. Sense: No additional sense information
[13080.464099] INFO: task kjournald:13098 blocked for more than 120 seconds.
[13080.464108] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[13080.464115] kjournald D c08145c0 0 13098 2 0x00000000
[13080.464127] ee731e70 00000046 f6884000 c08145c0 f6b9e718 c08145c0 222884a7 00000bb3
[13080.464143] c08145c0 c08145c0 f6b9e718 c08145c0 00000000 00000bb3 c08145c0 f6a151c0
[13080.464157] f6b9e480 c20025c0 00000000 ee731eb8 ee731e7c c056f2fe ee731eb0 ee731e84
[13080.464172] Call Trace:
[13080.464188] [<c056f2fe>] io_schedule+0x1e/0x30
[13080.464198] [<c0209bb5>] sync_buffer+0x35/0x40
[13080.464206] [<c056f985>] __wait_on_bit+0x45/0x70
[13080.464215] [<c0209b80>] ? sync_buffer+0x0/0x40
[13080.464223] [<c0209b80>] ? sync_buffer+0x0/0x40
[13080.464231] [<c056fa56>] out_of_line_wait_on_bit+0xa6/0xc0
[13080.464242] [<c015c2c0>] ? wake_bit_function+0x0/0x50
[13080.464250] [<c0209b76>] __wait_on_buffer+0x26/0x30
[13080.464262] [<c0293d86>] journal_commit_transaction+0x3a6/0xbf0
[13080.464272] [<c0570e1a>] ? _spin_lock_irqsave+0x2a/0x40
[13080.464281] [<c0150485>] ? try_to_del_timer_sync+0x45/0x50
[13080.464292] [<c0297103>] kjournald+0xb3/0x1f0
[13080.464300] [<c015c280>] ? autoremove_wake_function+0x0/0x40
[13080.464310] [<c0297050>] ? kjournald+0x0/0x1f0
[13080.464318] [<c015bf8c>] kthread+0x7c/0x90
[13080.464325] [<c015bf10>] ? kthread+0x0/0x90
[13080.464335] [<c0104007>] kernel_thread_helper+0x7/0x10
[13106.481181] sd 2:0:0:0: [sdb] Sense Key : No Sense [current]

Hope this helps someone.

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.