Bug 196559
Summary: | xhci_hcd: kernel panic using thunderbolt dell dock TB16 on 4.12.4 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Jose Marino (braket) |
Component: | USB | Assignee: | Greg Kroah-Hartman (greg) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.12.4 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
kernel panic logs saved by efi_pstore
systemd journal log pstore panic messages from v4.13 journald messagse from v4.13 |
On Tue, Aug 01, 2017 at 03:15:41PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=196559 > > Bug ID: 196559 > Summary: xhci_hcd: kernel panic using thunderbolt dell dock > TB16 on 4.12.4 > Product: Drivers > Version: 2.5 > Kernel Version: 4.12.4 All USB bugs should be sent to the linux-usb@vger.kernel.org mailing list, and not entered into bugzilla. Please bring this issue up there, if it is still a problem in the latest kernel release. Created attachment 258213 [details]
systemd journal log
The messages in the original attachment (with the efi_pstore logs) are clipped. They show the last messages produced but not the full story.
The logs stored by journald are also clipped but in the other direction, they show all the kernel messages from boot to just before the panic.
Combining both provides the full series of BUG and WARNING messages. In particular the first BUG message (scheduling while atomic) that was not included in the pstore logs.
Created attachment 258223 [details]
pstore panic messages from v4.13
Created attachment 258225 [details]
journald messagse from v4.13
Kernel messages recorded by journald from boot to panic.
Steps to trigger panic: boot, plug in dock, send display output to external display, suspend.
The fix for this bug has already landed in the mainline kernel (commit 4ec1cd3eeeee7ccc35681270da028dbc29ca7bbd) and in the latest stable version (v4.13.6) Closing this bug. |
Created attachment 257781 [details] kernel panic logs saved by efi_pstore I'm running archlinux on a Dell XPS15 9550 and I connect it to a TB16 thunderbolt dock. Connected to the dock I have a 4k external display and a USB logitech transmitter for my wireless keyboard and mouse. The TB16 dock is a finicky beast and doesn't currently work 100% with linux. However, if I follow a strict set of steps every time I plug it in and suspend/resume the laptop everything works reasonably well and I have an acceptable work environment. For the record the correct set of steps is: plug in dock, then connect dock to still asleep laptop, then resume laptop. Also, to help things along I automatically unload/reload module 'xhci_pci' on suspend/resume. Things were running smoothly with little hiccups here and there until I upgraded to kernel 4.12.4. I have suffered at least 3 kernel panics since yesterday. This is a description of what happened during each one: 1. Laptop had been freshly rebooted over the weekend with kernel 4.12.4. I come into the office, plugged in dock, connect dock to laptop, resume laptop. Display comes up and everything looks good except that Caps Lock key is blinking and computer is frozen. 2. After full day of successfully using dock. I send output to laptop display, which appears to work fine, but Caps Lock is blinking. 3. Fresh reboot. Suspend, plug in dock, resume. Send output to external display but mouse and keyboard don't work. Send output to laptop display -> flashing Caps Lock. I have efi_pstore module loaded so I was able to capture the panic logs in each of these 3 situations. I'm attaching the one from the last panic. They're all pretty much identical though. After the 3rd panic I have downgraded to 4.12.3 and so far I haven't had any issues. A note about the attachment: after each freeze the pstore logs contained an Opps and a Panic, however the Oops messages are fully contained in the Panic messages so I'm only attaching the Panic logs.