usb flash drive not working. Lsusb hangs with no output.

Bug #77971 reported by Marijn Schouten
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Triaged
High
Unassigned

Bug Description

package: linux-2.6.15-27-386

My usb flash drive isn't being mounted when I plug it in. lsusb hangs with no output. There are some errors from the usb driver in the kernel log attached below.

lspci:
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 01)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO]
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
0000:00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:06.0 Communication controller: Agere Systems LT WinModem
0000:00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0c.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
0000:00:0d.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 04)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter
0000:02:00.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)

Tags: kernel-oops
Revision history for this message
Marijn Schouten (m-schouten) wrote :
Revision history for this message
Marijn Schouten (m-schouten) wrote :

 dmesg | grep -i ohci
[17179577.448000] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[17179577.448000] ohci_hcd 0000:00:02.2: OHCI Host Controller
[17179577.448000] ohci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
[17179577.448000] ohci_hcd 0000:00:02.2: irq 5, io mem 0xe0000000
[17179577.564000] ohci_hcd 0000:00:02.3: OHCI Host Controller
[17179577.564000] ohci_hcd 0000:00:02.3: new USB bus registered, assigned bus number 2
[17179577.564000] ohci_hcd 0000:00:02.3: irq 5, io mem 0xe0001000
[17179577.672000] ohci1394: $Rev: 1313 $ Ben Collins <email address hidden>
[17179577.672000] ohci1394: fw-host0: Unexpected PCI resource length of 1000!
[17179577.724000] ohci1394: fw-host0: Unrecoverable error!
[17179577.724000] ohci1394: fw-host0: Async Req Rcv Context died: ctrl[00008806] cmdptr[0f244001]
[17179577.724000] ohci1394: fw-host0: Async Rsp Rcv Context died: ctrl[00008806] cmdptr[0f311001]
[17179577.724000] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[9] MMIO=[e0003000-e00037ff] Max Packet=[2048]
[17179577.740000] usb 1-2: new full speed USB device using ohci_hcd and address 2
[17179578.736000] ohci1394: fw-host0: Error in reception of SelfID packets [0x8003000c/0x00000000] (count: 0)
[17179578.740000] ohci1394: fw-host0: SelfID received outside of bus reset sequence
[17179578.740000] ohci_hcd 0000:00:02.2: Unlink after no-IRQ? Controller is probably using the wrong IRQ.
[17179579.012000] ohci1394: fw-host0: Unrecoverable error!
[17179579.012000] ohci1394: fw-host0: Async Req Tx Context died: ctrl[00008806] cmdptr[0f396002]
[17179579.012000] ohci1394: fw-host0: Async Req Rcv Context died: ctrl[00008806] cmdptr[0f244001]
[17179579.012000] ohci1394: fw-host0: Async Rsp Rcv Context died: ctrl[00008806] cmdptr[0f311001]

Revision history for this message
Marijn Schouten (m-schouten) wrote :

Bug #55337 seems to describe a similar problem, but it has not much info or any particulars.

Revision history for this message
Thomas Wolfe (tomwolfe) wrote :

Running feisty here, and since edgy I have not been able to get my usb flash drive to work, it works dandy in Vista on this box and also works in os x. I cannot get her to work in feisty/edgy though, when i plug it in dmesg spits out
[37370.636000] usb 2-2: new full speed USB device using uhci_hcd and address 3
[37370.760000] usb 2-2: device descriptor read/64, error -71
[37370.984000] usb 2-2: device descriptor read/64, error -71
[37371.200000] usb 2-2: new full speed USB device using uhci_hcd and address 4
[37371.320000] usb 2-2: device descriptor read/64, error -71
[37371.544000] usb 2-2: device descriptor read/64, error -71

it works dandy with my printer though via usb, but it hates my thumbdrive...
any help would be great, i cannot even manually mount it...

Revision history for this message
thedanyes (thedanyes) wrote :

This is odd because all my usb devices have been working fine up to this point. I plugged in my two external usb drives and turned them on, then did an 'sudo fdisk -l' to see what device labels they had been assigned so I could mount them. They didn't show up in the fdisk list, so I ran it a few more times, they still didn't show up. Next I ran 'lsusb' as root, and it hung. I hit ctrl-c a couple times, waited a few minutes, hit ctrl-z - no luck - that console never became responsive again. I closed that console and opened another. Su'ed to root, ran 'ps aux | grep lsusb', ran a 'kill' on the process number, it didn't die. Ran a 'kill -9' on the process number, and it still didn't die. Here is my 'ps aux | grep lsusb' output 13 minutes later:

root@RAY:/home/dan# ps aux | grep lsusb
root 26593 0.0 0.0 2084 832 ? D 23:43 0:00 lsusb
root 26716 0.0 0.0 2884 756 pts/3 R+ 23:57 0:00 grep lsusb

Here is my system info:
root@RAY:/home/dan# uname -a
Linux RAY 2.6.20-15-generic #2 SMP Sat Apr 14 00:54:01 UTC 2007 i686 GNU/Linux

Kubuntu 7.04

root@RAY:/home/dan# lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
01:09.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
01:09.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
01:09.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)

nVidia nForce4-based Biostar motherboard with athlon 64 4400+ socket 939 and pci-express nvidia 7600GT.

Revision history for this message
thedanyes (thedanyes) wrote :
Download full text (6.9 KiB)

Looking back through my dmesg, it looks like the last messages there regarding USB are from when I had my phone plugged in to the USB and it looks like some USB subsystem crashed:

[11262.908000] usb 1-4: new full speed USB device using ohci_hcd and address 6
[11263.092000] usb 1-4: device descriptor read/64, error -62
[11263.380000] usb 1-4: device descriptor read/64, error -62
[11278.872000] usb 1-4: new full speed USB device using ohci_hcd and address 8
[11279.108000] usb 1-4: configuration #1 chosen from 1 choice
[11279.384000] usbcore: registered new interface driver libusual
[11279.420000] Initializing USB Mass Storage driver...
[11279.420000] scsi6 : SCSI emulation for USB Mass Storage devices
[11279.420000] usbcore: registered new interface driver usb-storage
[11279.420000] usb-storage: device found at 8
[11279.420000] usb-storage: waiting for device to settle before scanning
[11279.420000] USB Mass Storage support registered.
[11284.424000] usb-storage: device scan complete
[11288.016000] scsi 6:0:0:0: Direct-Access Motorola Z3 2.31 PQ: 0 ANSI: 2
[11288.276000] SCSI device sdb: 246017 512-byte hdwr sectors (126 MB)
[11310.628000] usb 1-4: reset full speed USB device using ohci_hcd and address 8
[11310.812000] usb 1-4: device descriptor read/64, error -62
[11311.100000] usb 1-4: device descriptor read/64, error -62
[11311.380000] usb 1-4: reset full speed USB device using ohci_hcd and address 8
[11311.620000] usb 1-4: USB disconnect, address 8
[11311.620000] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[11311.620000] printing eip:
[11311.620000] c0258315
[11311.620000] *pde = 00000000
[11311.620000] Oops: 0000 [#1]
[11311.620000] SMP
[11311.620000] Modules linked in: usb_storage libusual snd_rtctimer vmnet(P) vmmon(P) binfmt_misc rfcomm l2cap bluetooth ppdev powernow_k8 cpufreq_powersave cpufreq_conservative cpufreq_userspace cpufreq_ondemand cpufreq_stats freq_table pcc_acpi tc1100_wmi sony_acpi dev_acpi button ac ipv6 sbs i2c_ec dock battery video container asus_acpi backlight sbp2 lp fuse snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_util_mem snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd wlan_scan_sta xpad nvidia(P) agpgart soundcore ath_rate_sample af_packet sr_mod cdrom ath_pci wlan emu10k1_gp gameport pcspkr ath_hal(P) k8temp parport_pc parport shpchp pci_hotplug i2c_nforce2 i2c_core evdev tsdev ext3 jbd mbcache sg sd_mod pata_amd generic ata_generic usbhid hid floppy ohci1394 ieee1394 forcedeth ehci_hcd sata_nv libata scsi_mod ohci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor vesafb capability commoncap
[11311.620000] CPU: 0
[11311.620000] EIP: 0060:[<c0258315>] Tainted: P VLI
[11311.620000] EFLAGS: 00010202 (2.6.20-15-generic #2)
[11311.620000] EIP is at make_class_name+0x35/0xa0
[11311.620000] eax: 00000000 ebx: ffffffff ecx: ffffffff edx: 0000000b
[11311.620000] esi: f88dbc91 edi: 00000000 ebp: 00000000 esp: dfa0fe50
[11311.620000] ds: 0...

Read more...

Changed in linux-source-2.6.15:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → High
status: New → Triaged
Revision history for this message
N7DR (doc-evans) wrote :

I am seeing this too (dapper amd64 with all current patches).

At some time in the past, I know that USB drives worked fine on this machine (probably the last time I tries was about six months ago), but now the system is simply ignoring them.

In the past hour I have tried three different USB drives, all of which work fine under Windows and/or Mandrake 2006. My Kubunutu system simply ignores them. No error messages anywhere. No nothing.

This is a recently-rebooted system (yesterday). I plan to reboot again tomorrow for other reasons (to flash a BIOS upgrade -- which is why I wanted my USB memory drives to be working: so I could put the new BIOS on one instead of on a floppy disk), and we'll see if that helps any.

Revision history for this message
N7DR (doc-evans) wrote :

I probably wasn't sufficiently clear about excatly which symptoms I am seeing.

Specifically:

no error or other messages in /var/log/messages
no recognition that a USB drive has been inserted into a USB port
lsusb hangs (forever), and cannot be aborted with ctrl-C
killing the lsusb process has no effect (lsusb remains in the process list)

Revision history for this message
N7DR (doc-evans) wrote :

$ uname -a
Linux homebrew 2.6.15-28-amd64-generic #1 SMP PREEMPT Wed Jul 18 22:51:22 UTC 2007 x86_64 GNU/Linux
$

I don't know what status "triaged" means (I looked but couldn't find a definition anywhere obvious). I hope that it doesn't mean that you think it's fixed.

Revision history for this message
N7DR (doc-evans) wrote :

I rebooted today, and now it works: the USB drives are instantly recognized.

That suggests that some process that should normally be running had crashed when I tried this yesterday (or the system was somehow in an insane state, although there was no other indication of this). I wonder what I could have done to fix this problem without rebooting. This being Linux, it seems like there must have been some way to do that, but I've no idea what it might have been.

Revision history for this message
zwa (ulpianosonsi) wrote :
Download full text (6.9 KiB)

hello I have the same problems, I just bought a mp3 player with onboard memory (1GB) it has a Sigmatel chip, lsusb also hangs and I get the following messages:

dmesg

[ 1594.896000] usb 1-4: new full speed USB device using ohci_hcd and address 3
[ 1597.912000] usb 1-4: configuration #1 chosen from 1 choice
[ 1598.076000] usbcore: registered new interface driver libusual
[ 1598.216000] Initializing USB Mass Storage driver...
[ 1598.220000] scsi2 : SCSI emulation for USB Mass Storage devices
[ 1598.220000] usb-storage: device found at 3
[ 1598.220000] usb-storage: waiting for device to settle before scanning
[ 1598.220000] usbcore: registered new interface driver usb-storage
[ 1598.224000] USB Mass Storage support registered.
[ 1603.224000] usb-storage: device scan complete
[ 1603.228000] scsi 2:0:0:0: Direct-Access SigmaTel MSCNMMC 0100 PQ: 0 ANSI: 4
[ 1608.904000] usb 1-4: reset full speed USB device using ohci_hcd and address 3
[ 1619.292000] usb 1-4: reset full speed USB device using ohci_hcd and address 3
[ 1624.668000] usb 1-4: reset full speed USB device using ohci_hcd and address 3
[ 1625.836000] usb 1-4: device descriptor read/64, error -62
[ 1631.108000] usb 1-4: device descriptor read/64, error -62
[ 1631.388000] usb 1-4: reset full speed USB device using ohci_hcd and address 3
[ 1632.556000] usb 1-4: device descriptor read/64, error -62
[ 1637.828000] usb 1-4: device descriptor read/64, error -62
[ 1638.108000] usb 1-4: reset full speed USB device using ohci_hcd and address 3
[ 1643.520000] usb 1-4: device not accepting address 3, error -62
[ 1643.696000] usb 1-4: reset full speed USB device using ohci_hcd and address 3
[ 1649.108000] usb 1-4: device not accepting address 3, error -62
[ 1649.108000] scsi 2:0:0:1: scsi: Device offlined - not ready after error recovery
[ 1649.108000] usb 1-4: USB disconnect, address 3
[ 1649.108000] scsi 2:0:0:1: rejecting I/O to offline device
[ 1649.116000] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 1649.116000] printing eip:
[ 1649.116000] c0258415
[ 1649.116000] *pde = 00000000
[ 1649.116000] Oops: 0000 [#1]
[ 1649.116000] SMP
[ 1649.116000] Modules linked in: usb_storage libusual binfmt_misc rfcomm l2cap bluetooth vboxdrv ppdev powernow_k8 cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_conservative freq_table tc1100_wmi pcc_acpi sony_acpi dev_acpi video battery container sbs button i2c_ec dock ac asus_acpi backlight ext2 mbcache ipv6 lp fuse snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi bt878 snd_rawmidi snd_seq_midi_event ide_cd tuner tvaudio wlan_scan_sta ath_rate_sample cdrom snd_seq snd_timer snd_seq_device bttv ath_pci nvidia(P) video_buf ir_common compat_ioctl32 i2c_algo_bit btcx_risc parport_pc parport k8temp pcspkr psmouse serio_raw agpgart snd soundcore snd_page_alloc tveeprom i2c_core wlan ath_hal(P) videodev v4l2_common v4l1_compat shpchp pci_hotplug af_packet tsdev evdev reiserfs sg sd_mod amd74xx generic ata_generic usbhid hid floppy sata_nv libata scsi_mod forcedeth ehci_hcd ohci_hcd usbcore thermal processor fan fbcon tileblit font bitblit soft...

Read more...

Revision history for this message
Amit Kucheria (amitk) wrote :

Could somebody test this with a Gutsy live cd? The issue should be fixed there.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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