On Wed, Nov 03, 2010 at 01:08:53PM -0400, Sarah Sharp wrote: > On Wed, Nov 03, 2010 at 06:55:51AM -0700, VanCutsem, Geoffroy wrote: > > Hi Sarah, > > > > I hope you don't mind too much me reaching out to you with a question but your name keeps coming up when I search the web for solutions for a problem that I believe is related to the USB driver. > > > > Here is my issue (also described here https://answers.launchpad.net/ubuntu/+question/132378): > > I am running Ubuntu 10.04 on a Lenovo W510 but I have some troubles with the USB ports. I cannot for example do a raw copy of a disk image onto a USB stick, the exact behaviour may differ from time to time but at the end the image on the USB stick is always corrupted. I was running the latest kernel from Ubuntu 10.04 (2.6.32.xx if I remember correctly) and have since moved to 2.6.35-22-generic (from the 'Prerelease Updates' repo) but the problems still persists. I have also experienced a complete crash of the machine (only a hard reboot is possible to recover). I have noticed that both ehci_hcd and xhci_hcd are used (for handling the various USB controllers) and there is also a kernel module xhci-hcd loaded. I actually thought that xhci_hcd was supposed to handle all USB controllers, or did I get this wrong? There may be both EHCI and xHCI host controllers in the same system. xHCI handles all speeds of USB devices plugged into it. The odd thing is your dmesg on the bug report you linked to shows that the xHCI driver is handling your storage device, but your lspci output doesn't show it! > > I am attaching some info on my system which I believe is most relevant (lspci, lsusb, /var/log/messages, lsmod). I didn't find any dmesg output, which is what I really wanted. The dmesg from the bug report you linked to shows that the USB device disconnected from the system. There's not much you or I can do about that. It indicates an electrical issue with either the USB device you're using (does it work on other systems?) or the USB host controller you're using. > > I would appreciate if you could take a look at it or if you have any good idea of what to try next. This issue is a bit annoying because I frequently need to re-install new MeeGo images onto various devices and that means doing a 'dd' onto a USB stick. > > I haven't had a chance to look at the log files, but it's interesting to > note that gunzip didn't like the gzipped file you sent: > > sarah@xanatos:~/git/logs/current-month$ gunzip log.tgz > > gzip: log.tgz: unexpected end of file Can you compile a custom 2.6.35 kernel from kernel.org, with CONFIG_USB_HCD_XHCI_DEBUGGING and CONFIG_USB_DEBUGGING turned on? I'd like a bit more information about what's going on when the USB device disconnects, to make sure the xHCI driver isn't causing an oops when the device disconnects. Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html