On Wed, Mar 27, 2013 at 02:24:24PM +0100, Yann Sionneau wrote: > > Le 26/03/2013 17:30, Sarah Sharp a écrit : > > On Tue, Mar 26, 2013 at 12:11:13PM +0100, Yann Sionneau wrote: > >> Le 25/03/2013 19:13, Sarah Sharp a écrit : > >>> On Mon, Mar 25, 2013 at 05:43:40PM +0100, Yann Sionneau wrote: > >>> Please compile with CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING > >>> turned on. If you can't reproduce your bug on 3.8.4, turn them off, > >>> recompile, and see if you can reproduce it again. > >> We just reproduced it with a 3.8.4 kernel with CONFIG_USB_DEBUG and > >> CONFIG_USB_XHCI_HCD_DEBUGGING turned on. > >> I am sending you the picture as attached file. > > Thanks. I need more information though. Can you follow these > > directions for setting up netconsole, and send me the full log file from > > boot to when the machine hangs? Make sure the kernel still has > > CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING turned on. > > > > http://kernelnewbies.org/KernelDebug > > > > That will help me figure out what command is causing the null pointer > > dereference. > > > > Sarah Sharp > > Hi Sarah, > > I've got some xhci debug traces: > ysionneau@yann-HP:~/ssd/olivier$ nc -l -u 6666 | tee ~/ssd/olivier/dmesg-`date +%Y-%m-%d-%H-%M`.txt That was helpful, thanks! However, next time will you send the log file as an attachment? Your mail client is wrapping lines, and it makes it hard for me to read the logs. > [ 1375.761963] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command > [ 1375.761974] xhci_hcd 0000:00:14.0: Abort command ring > [ 1375.762029] BUG: unable to handle kernel NULL pointer dereference at 00000018 > [ 1375.762102] IP: [<c14854b0>] xhci_stream_id_to_ring+0x30/0x40 Ok, so it may be to be related to xHCI command cancellation. That's an area that I've been working on, and I've run across a couple bugs. I'm not sure yet if they're the particular bug you're running into though. Could you please test this branch, and let me know if it solves your issue? If not please use netconsole to capture the output again. git clone git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git -b ful-command-queue-fixes-simple 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