Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#12895 closed bug (fixed)

"PANIC: did not find any boot partitions!" when booting from USB3 port

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/USB/XHCI Version: R1/Development
Keywords: Cc:
Blocked By: #13343 Blocking: #12900
Platform: All

Description

This is hrev50463.

Booting from a USB3 stick plugged into my only USB2 port works. Plugged into an USB3 port I get "PANIC: did not find any boot partitions!"

Attached listusb and listdev.

Attachments (5)

listusb.txt (54.5 KB ) - added by humdinger 8 years ago.
listusb
listdev.txt (12.8 KB ) - added by humdinger 8 years ago.
listdev
IMG_6776.JPG (755.3 KB ) - added by humdinger 8 years ago.
In KDL: "syslog | grep xhci"
syslog_OK.txt (214.7 KB ) - added by humdinger 8 years ago.
Syslog (same hrev) booted from USB2 port
syslog_USB3_fixed.txt (363.4 KB ) - added by humdinger 7 years ago.
Syslog booting successfully hrev51536

Download all attachments as: .zip

Change History (17)

by humdinger, 8 years ago

Attachment: listusb.txt added

listusb

by humdinger, 8 years ago

Attachment: listdev.txt added

listdev

by humdinger, 8 years ago

Attachment: IMG_6776.JPG added

In KDL: "syslog | grep xhci"

comment:1 by waddlesplash, 8 years ago

Component: Drivers/USBDrivers/USB/XHCI
Owner: changed from mmlr to korli

comment:2 by korli, 8 years ago

Could you attach a regular syslog?

by humdinger, 8 years ago

Attachment: syslog_OK.txt added

Syslog (same hrev) booted from USB2 port

comment:3 by humdinger, 8 years ago

Syslog attached (just in case, those "KERN: usb hub 2: port 15 was reset" messages have their own ticket #12883).

comment:4 by korli, 8 years ago

Device is Intel Lynxpoint:

344     KERN: PCI: [dom 0, bus  0] bus   0, device 20, function  0: vendor 8086, device 8c31, revision 05
345	KERN: PCI:   class_base 0c, class_function 03, class_api 30
346	KERN: PCI:   vendor 8086: Intel Corporation
347	KERN: PCI:   device 8c31: 8 Series/C220 Series Chipset Family USB xHCI
348	KERN: PCI:   info: Serial bus controller (USB controller, XHCI)
349	KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
350	KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
351	KERN: PCI:   cardbus_CIS 00000000, subsystem_id 0655, subsystem_vendor_id 1558
352	KERN: PCI:   interrupt_line 0b, interrupt_pin 01, min_grant 00, max_latency 00
353	KERN: PCI:   base reg 0: host f7e00000, pci f7e00000, size 00010000, flags 04
354	KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
355	KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
356	KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
357	KERN: PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
358	KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
359	KERN: PCI:   Capabilities: PM, MSI
756	KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting from 24
757	KERN: msi_allocate_vectors: allocated 1 vectors starting from 24
758	KERN: msi enabled: 0x0087
759	KERN: usb xhci -1: using message signaled interrupts
760	KERN: usb xhci -1: starting XHCI host controller
761	KERN: usb hub 2: hub supports more ports than we do (19 vs. 16)
762	KERN: usb xhci -1: successfully started the controller
763	KERN: usb uhci: no devices found
764	KERN: usb ohci: no devices found
765	KERN: add_memory_type_range(802, 0xf7e1c000, 0x1000, 0)
766	KERN: sitd entry size 64, itd entry size 128
767	KERN: usb ehci -1: successfully started the controller
768	KERN: add_memory_type_range(807, 0xf7e1b000, 0x1000, 0)
769	KERN: sitd entry size 64, itd entry size 128
770	KERN: usb ehci -1: successfully started the controller
771	KERN: usb hub 2: port 2: new device connected
772	KERN: usb error xhci -1: unsuccessful command Parameter (17)
773	KERN: usb xhci -1: cancel queued transfers for pipe 0x827a4ec8 (0)
774	KERN: usb hub 2: port 5: new device connected
775	KERN: usb error xhci -1: unsuccessful command Parameter (17)
776	Last message repeated 1 time
777	KERN: usb xhci -1: cancel queued transfers for pipe 0x827a4ec8 (0)
778	KERN: usb hub 2: port 6: new device connected
779	KERN: usb error xhci -1: unsuccessful command Parameter (17)
780	Last message repeated 4 times
781	KERN: usb xhci -1: cancel queued transfers for pipe 0x827a4ec8 (0)
782	KERN: usb hub 2: port 7: new device connected
783	KERN: usb error xhci -1: unsuccessful command Parameter (17)
784	KERN: usb xhci -1: cancel queued transfers for pipe 0x827a4ec8 (0)
785	KERN: usb hub 2: port 15 is not suspended
786	KERN: usb hub 2: port 15 is not in an over current state

Looks a bit like #12885, but without crash.

comment:5 by humdinger, 8 years ago

Blocking: 12900 added

(In #12900) I experience the same, see #12895.

comment:6 by korli, 8 years ago

Owner: changed from korli to nobody
Status: newassigned

comment:7 by kallisti5, 8 years ago

Blocked By: 13343 added

(In #13343) #12895 is definitely related. This shows how to replicate it in qemu.

comment:8 by kallisti5, 7 years ago

Can you try again via hrev51534 or later? The latest XHCI changes Greg made have been a huge improvement in reliability.

comment:9 by humdinger, 7 years ago

Indeed, booting from a USB3 stick now works!
This also fixes #12883. Thanks, Greg! \o/

Closing ticket. For total closure, I attach the syslog of booting successfully from USB3.

by humdinger, 7 years ago

Attachment: syslog_USB3_fixed.txt added

Syslog booting successfully hrev51536

comment:10 by humdinger, 7 years ago

patch: 01

comment:11 by korli, 7 years ago

Resolution: fixed
Status: assignedclosed

comment:12 by korli, 7 years ago

patch: 10
Note: See TracTickets for help on using tickets.