On Mon, Dec 13, 2010 at 05:56:09PM +0100, Jean-Antoine Hours wrote: > Hello, > > Thank you for answering so quickly. > Before using your sources (with Ubuntu 10.04 kernel), there was a lot of bug > with my USB 3.0 card (unable to boot if the external hdd was connected to > the USB3 card). > Now everything seems to be working well, I can reboot without problem and > the xhci_hdc driver is lunched at startup correctly if I'm not mistaken. > The problem now is the speed; you saw a lot of bulk transfers because I was > copying something in order to see the speed. > I'm in USB 2 speed: 30Mo/s in average. Once I don't know why but I was at > 70Mo/s. I'm not sure of your formatting. Did you get 30 Mega*bits* per second, or 30 Mega*bytes*? (FYI, you won't get USB 2.0 devices to work any faster under a USB 3.0 host controller. Also, depending on how you are measuring, you may be seeing the speedup by the disk cache utilization, in which case you're measuring the speed of memory, not the speed of the actual device. You'd need to use the O_DIRECT flag, and to tell the block layer to drop caches before doing any serious performance measurements.) > So to summarize the biggest problem is the speed and (I don't know if it is > an error) the end of my dmesg: [186.240362] xhci_hcd 0000:02:00.0: @37809000 > 00000000 00000000 00000000 01033800 > I don't know what means this line but there are a lot of them... By turning on CONFIG_USB_XHCI_HCD_DEBUGGING, the driver will print a lot of messages. If you turn that configuration option off, you'll get better performance. So run the latest release kernel (2.6.37-rc5) or the latest stable kernel (2.6.36.2) without CONFIG_USB_XHCI_HCD_DEBUGGING turned on. Then you won't have bugs from older kernels, and you'll get better performance. Sarah Sharp > -----Message d'origine----- > De : Sarah Sharp [mailto:sarah.a.sharp@xxxxxxxxxxxxxxx] > Envoyé : lundi 13 décembre 2010 17:33 > À : Jean-Antoine Hours > Cc : linux-usb@xxxxxxxxxxxxxxx > Objet : Re: USB 3.0 Drivers > > On Mon, Dec 13, 2010 at 01:54:58PM +0100, Jean-Antoine Hours wrote: > > Hello Ms. Sharp, > > > > > > > > First I would like to thank you for your support on the USB 3.0 drivers. > > > > I followed you how to and I now finding myself sending you my dmesg > > output log with CONFIG_USB_XHCI_HCD_DEBUGGING enabled in the kernel. > > > > You'll see a the end of the dmesg output there is my problem, I had it > > also with the Ubuntu 10.04 default kernel (before compiling a new one > > with your xhci driver). > > I see a lot of successful bulk transfers. On a high level, what is your > issue? Can you point me to a line number in the log file where the issue > starts? > > > Do you have any idea where the problem could come from? > > > > > > > > My configuration is following : > > > > Motherboard : Zotac 9300 itx wifi r0 > > > > USB 3.0 PCI 1X card > > > > External enclosure 4-Bays connected on USB 3.0 > > The log file Jean-Antoine sent me is here, if anyone wants to take a look at > it: > > http://minilop.net/~sarah/xhci-log-2010-12-12-13-14.rar > > 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