Kernel oops when unplugging a USB device

Bug #92850 reported by Steve Brown
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.17-11-generic

Unplugged an iPod that has a malfunctioning hard disk (bad sectors, unreliable operation, etc.)

Mar 16 10:32:20 localhost kernel: [17180428.940000] SCSI device sde: 58605119 512-byte hdwr sectors (30006 MB)
Mar 16 10:32:20 localhost kernel: [17180428.944000] sde: Write Protect is off
Mar 16 10:32:20 localhost kernel: [17180428.944000] sde: Mode Sense: 64 00 00 08
Mar 16 10:32:20 localhost kernel: [17180428.944000] sde: assuming drive cache: write through
Mar 16 10:32:22 localhost kernel: [17180428.944000] sde: sde1 sde2 sde3
Mar 16 10:32:22 localhost kernel: [17180431.500000] sd 7:0:0:0: Attached scsi removable disk sde
Mar 16 10:32:22 localhost kernel: [17180431.500000] sd 7:0:0:0: Attached scsi generic sg4 type 0
Mar 16 10:32:23 localhost kernel: [17180431.888000] usb 2-1: reset high speed USB device using ehci_hcd and address 8
Mar 16 10:32:53 localhost kernel: [17180462.132000] usb 2-1: reset high speed USB device using ehci_hcd and address 8
Mar 16 10:33:03 localhost kernel: [17180472.376000] usb 2-1: reset high speed USB device using ehci_hcd and address 8
Mar 16 10:33:20 localhost kernel: [17180475.216000] usb 2-1: USB disconnect, address 8
Mar 16 10:33:20 localhost kernel: [17180475.216000] sd 7:0:0:0: scsi: Device offlined - not ready after error recovery
Mar 16 10:33:20 localhost kernel: [17180475.216000] sd 7:0:0:0: SCSI error: return code = 0x50000
Mar 16 10:33:20 localhost kernel: [17180475.216000] end_request: I/O error, dev sde, sector 31872
Mar 16 10:33:20 localhost kernel: [17180475.216000] printk: 1038 messages suppressed.
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde1, logical block 31809
Mar 16 10:33:20 localhost kernel: [17180475.216000] sd 7:0:0:0: rejecting I/O to offline device
Mar 16 10:33:20 localhost kernel: [17180475.216000] sd 7:0:0:0: rejecting I/O to device being removed
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48000
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48001
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48002
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48003
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48004
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48005
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48006
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde3, logical block 48007
Mar 16 10:33:20 localhost kernel: [17180475.216000] sd 7:0:0:0: SCSI error: return code = 0x10000
Mar 16 10:33:20 localhost kernel: [17180475.216000] end_request: I/O error, dev sde, sector 31873
Mar 16 10:33:20 localhost kernel: [17180475.216000] Buffer I/O error on device sde1, logical block 31810
Mar 16 10:33:20 localhost kernel: [17180475.216000] sd 7:0:0:0: rejecting I/O to device being removed
Mar 16 10:33:20 localhost kernel: [17180484.592000] BUG: soft lockup detected on CPU#0!
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c01491cf> softlockup_tick+0x9f/0xf0 <c012bee1> update_process_times+0x31/0x80
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c01070ac> timer_interrupt+0x7c/0xb0 <c0149323> handle_IRQ_event+0x33/0x60
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c01493ed> __do_IRQ+0x9d/0x110 <c0105c89> do_IRQ+0x19/0x30
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c010408a> common_interrupt+0x1a/0x20 <c014e7a1> find_get_pages+0x51/0x60
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c0153c02> pagevec_lookup+0x22/0x30 <c0154039> invalidate_mapping_pages+0x49/0xf0
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c0127758> on_each_cpu+0x28/0x40 <c0184efb> __invalidate_device+0x3b/0x50
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c01d7dae> invalidate_partition+0x2e/0x50 <c01a67ee> del_gendisk+0x1e/0x150
Mar 16 10:33:20 localhost kernel: [17180484.592000] <e0b11b4b> sd_remove+0x2b/0x70 [sd_mod] <c024601b> __device_release_driver+0x5b/0xa0
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c02462dc> device_release_driver+0x1c/0x30 <c0245847> bus_remove_device+0x77/0x90
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c02448b5> device_del+0x35/0x70 <e0ae6cb4> __scsi_remove_device+0x44/0x80 [scsi_mod]
Mar 16 10:33:20 localhost kernel: [17180484.592000] <e0ae43fb> scsi_forget_host+0x4b/0x60 [scsi_mod] <e0adea55> scsi_remove_host+0x55/0xe4 [scsi_mod]
Mar 16 10:33:20 localhost kernel: [17180484.592000] <e0ab0d8e> storage_disconnect+0xe/0x20 [usb_storage] <e0927994> usb_unbind_interface+0x34/0x70 [usbcore]
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c024601b> __device_release_driver+0x5b/0xa0 <c02462dc> device_release_driver+0x1c/0x30
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c0245847> bus_remove_device+0x77/0x90 <c02448b5> device_del+0x35/0x70
Mar 16 10:33:20 localhost kernel: [17180484.592000] <e0925bc6> usb_disable_device+0x86/0xe0 [usbcore] <e0921927> usb_disconnect+0x97/0xf0 [usbcore]
Mar 16 10:33:20 localhost kernel: [17180484.592000] <e092298a> hub_thread+0x27a/0xc80 [usbcore] <c0136180> autoremove_wake_function+0x0/0x50
Mar 16 10:33:20 localhost kernel: [17180484.592000] <e0922710> hub_thread+0x0/0xc80 [usbcore] <c0135f8b> kthread+0xab/0xe0
Mar 16 10:33:20 localhost kernel: [17180484.592000] <c0135ee0> kthread+0x0/0xe0 <c0101005> kernel_thread_helper+0x5/0x10
Mar 16 10:33:20 localhost kernel: [17180489.332000] sd 7:0:0:0: rejecting I/O to device being removed
Mar 16 10:33:20 localhost kernel: [17180489.332000] printk: 5 messages suppressed.
Mar 16 10:33:20 localhost kernel: [17180489.332000] Buffer I/O error on device sde2, logical block 58524544
Mar 16 10:33:20 localhost kernel: [17180489.332000] Buffer I/O error on device sde2, logical block 58524545
Mar 16 10:33:20 localhost kernel: [17180489.348000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 2 times
Mar 16 10:33:20 localhost kernel: [17180489.360000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost kernel: [17180489.372000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost kernel: [17180489.376000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 184 times
Mar 16 10:33:20 localhost kernel: [17180489.380000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 217 times
Mar 16 10:33:20 localhost kernel: [17180489.384000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 124 times
Mar 16 10:33:20 localhost kernel: [17180489.396000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost kernel: [17180489.408000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 34 times
Mar 16 10:33:20 localhost kernel: [17180489.420000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 40 times
Mar 16 10:33:20 localhost kernel: [17180489.472000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost last message repeated 3 times
Mar 16 10:33:20 localhost kernel: [17180489.472000] sde : READ CAPACITY failed.
Mar 16 10:33:20 localhost kernel: [17180489.472000] sde : status=0, message=00, host=1, driver=00
Mar 16 10:33:20 localhost kernel: [17180489.472000] sde : sense not available.
Mar 16 10:33:20 localhost kernel: [17180489.472000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost kernel: [17180489.472000] sde: Write Protect is off
Mar 16 10:33:20 localhost kernel: [17180489.472000] sde: Mode Sense: 00 00 00 00
Mar 16 10:33:20 localhost kernel: [17180489.472000] sde: assuming drive cache: write through
Mar 16 10:33:20 localhost kernel: [17180489.480000] 7:0:0:0: rejecting I/O to dead device
Mar 16 10:33:20 localhost kernel: [17180489.572000] usb 2-1: new high speed USB device using ehci_hcd and address 9
Mar 16 10:33:20 localhost kernel: [17180489.712000] usb 2-1: configuration #1 chosen from 1 choice
Mar 16 10:33:20 localhost kernel: [17180489.712000] scsi8 : SCSI emulation for USB Mass Storage devices
Mar 16 10:33:20 localhost kernel: [17180489.716000] usb-storage: device found at 9
Mar 16 10:33:20 localhost kernel: [17180489.716000] usb-storage: waiting for device to settle before scanning
Mar 16 10:33:21 localhost kernel: [17180490.084000] usb 2-1: USB disconnect, address 9
Mar 16 10:33:42 localhost kernel: [17180511.744000] usb 2-1: new high speed USB device using ehci_hcd and address 10
Mar 16 10:33:43 localhost kernel: [17180511.876000] usb 2-1: configuration #1 chosen from 1 choice
Mar 16 10:33:43 localhost kernel: [17180511.876000] scsi9 : SCSI emulation for USB Mass Storage devices
Mar 16 10:33:43 localhost kernel: [17180511.876000] usb-storage: device found at 10
Mar 16 10:33:43 localhost kernel: [17180511.880000] usb-storage: waiting for device to settle before scanning
Mar 16 10:33:48 localhost kernel: [17180516.880000] usb-storage: device scan complete
Mar 16 10:33:48 localhost kernel: [17180516.880000] Vendor: Apple Model: iPod Rev: 1.62
Mar 16 10:33:48 localhost kernel: [17180516.880000] Type: Direct-Access ANSI SCSI revision: 00
Mar 16 10:33:48 localhost kernel: [17180516.884000] SCSI device sde: 58605119 512-byte hdwr sectors (30006 MB)
Mar 16 10:33:48 localhost kernel: [17180516.884000] sde: Write Protect is off
Mar 16 10:33:48 localhost kernel: [17180516.884000] sde: Mode Sense: 64 00 00 08
Mar 16 10:33:48 localhost kernel: [17180516.884000] sde: assuming drive cache: write through
Mar 16 10:33:48 localhost kernel: [17180516.888000] SCSI device sde: 58605119 512-byte hdwr sectors (30006 MB)
Mar 16 10:33:48 localhost kernel: [17180516.892000] sde: Write Protect is off
Mar 16 10:33:48 localhost kernel: [17180516.892000] sde: Mode Sense: 64 00 00 08
Mar 16 10:33:48 localhost kernel: [17180516.892000] sde: assuming drive cache: write through
Mar 16 10:33:48 localhost kernel: [17180516.892000] sde: sde1 sde2 sde3
Mar 16 10:33:48 localhost kernel: [17180517.180000] sd 9:0:0:0: Attached scsi removable disk sde
Mar 16 10:33:48 localhost kernel: [17180517.180000] sd 9:0:0:0: Attached scsi generic sg4 type 0
Mar 16 10:33:48 localhost kernel: [17180517.592000] usb 2-1: reset high speed USB device using ehci_hcd and address 10
Mar 16 04:35:35 localhost syslogd 1.4.1#18ubuntu6: restart.
Mar 16 04:35:35 localhost kernel: Inspecting /boot/System.map-2.6.17-11-generic
Mar 16 04:35:35 localhost kernel: Loaded 22866 symbols from /boot/System.map-2.6.17-11-generic.
Mar 16 04:35:35 localhost kernel: Symbols match kernel version 2.6.17.
Mar 16 04:35:35 localhost kernel: No module symbols loaded - kernel modules not enabled.
Mar 16 04:35:35 localhost kernel: [17179569.184000] Linux version 2.6.17-11-generic (root@terranova) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Thu Feb 1 19:52:28 UTC 2007 (Ubuntu 2.6.17-11.35-generic)
Mar 16 04:35:35 localhost kernel: [17179569.184000] BIOS-provided physical RAM map:

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are currently reviewing bug reports regarding older kernels. Did this bug ever resolve itself after another update? Please let us know.

Also, now that the 7.10 Gutsy Gibbon release of Ubuntu is out, we were wondering if you can still reproduce this issue. Could you please download and try the new version of Ubuntu from http://www.ubuntu.com/getubuntu/download and report back your results? If the issue is still present in the new release, please attach the following information:

* uname -a > uname-a.log
* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

Please be sure to attach each file as a separate attachment. For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

Changed in linux-source-2.6.17:
status: New → Incomplete
Revision history for this message
wolfger (wolfger) wrote :

6 months with no response. 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 linux-source-2.6.17:
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.