Hi,
I saw this lsusb hang twice yesterday on 10.04.1 LTS (Lucid - i386) when
reconnecting a Philips SA018 MP3 player (A WD external HDD was also connected
to the USB 2.0 controller), so I recovered the traces requested by Dave, which
I hope can be helpful (attached).
The end of the strace looks like this, and the /dev/bus/usb/001/001
corresponds to the USB 2.0 controller itself, not the devices:
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC)
= 3
getdents(3, /* 5 entries */, 32768) = 80
open("/dev/bus/usb/001/007", O_RDWR) = 4
ioctl(4, USBDEVFS_CONNECTINFO, 0xbf80d128) = 0
read(4, "\22\1\0\2\0\...@x\20\20\t\6\1\1\2\3\1", 18) = 18
read(4, "\t\2 \0\1\1\0\300", 8) = 8
read(4, "\1\t\4\0\0\2\10\6P\0\7\5\201\2\0\2\0\7\5\2\2\0\2\0", 24) = 24
close(4) = 0
open("/dev/bus/usb/001/006", O_RDWR) = -1 ENODEV (No such device)
open("/dev/bus/usb/001/006", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/bus/usb/001/001", O_RDWR) = 4
ioctl(4, USBDEVFS_CONNECTINFO
<HANG>
The 'lsusb' process is left in the D+ state and a reboot is required to clear:
root 2004 0.0 0.0 1992 660 pts/0 S+ 01:14 0:00 strace lsusb
root 2005 0.0 0.1 2476 1136 pts/0 D+ 01:14 0:00 lsusb
dmesg shows a USB disconnect, followed by the hung task timeout + Call Trace:
[ 1221.678187] usb 1-6: USB disconnect, address 6
[ 1440.200059] INFO: task khubd:22 blocked for more than 120 seconds.
Earlier the same device gets bounced after the 1st disconnect:
[ 825.352643] usb 1-6: USB disconnect, address 5
[ 825.652071] scsi 6:0:0:0: rejecting I/O to dead device
[ 825.652092] ready
[ 825.652107] scsi 6:0:0:0: rejecting I/O to dead device
Hopefully tells us more about this problem.
Marc
** Attachment added: "lsusb_hang2.tgz"
https://bugs.launchpad.net/ubuntu/+source/usbutils/+bug/570049/+attachment/1777483/+files/lsusb_hang2.tgz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/570049
Title:
lsusb hangs forever
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs