Opened 5 years ago

Last modified 8 weeks ago

#11040 assigned bug

EHCI: USB disk device inaccessible, error 0x00080248

Reported by: jstressman Owned by: mmlr
Priority: normal Milestone: R1
Component: Drivers/USB/EHCI Version: R1/Development
Keywords: boot-failure Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

On hrev46677 I get a kernel panic "PANIC: did not find any boot partitions!" when it gets to the drive icon on the boot screen.

I'm attaching the output of the debugging log.

This is a USB2 thumb drive (motherboard only supports USB2, so it's not a USB3 issue.)

I've tried unplugging every other USB device (keyboard and mouse) and it makes no difference. I've tried various BIOS settings to no avail.

Attachments (2)

serial-log2.txt (38.5 KB) - added by jstressman 5 years ago.
output from serial debugging on hrev46677
serial-log-32gbackport2.txt (115.9 KB) - added by jstressman 5 years ago.
debug log from successful boot by using USB ports on back of computer instead of front.

Download all attachments as: .zip

Change History (16)

Changed 5 years ago by jstressman

Attachment: serial-log2.txt added

output from serial debugging on hrev46677

comment:1 Changed 5 years ago by jstressman

(This was previously attached to #8652 but filed as a separate ticket on request.)

comment:2 Changed 5 years ago by diver

Component: - GeneralDrivers/USB
Owner: changed from nobody to mmlr
Status: newassigned

comment:3 Changed 5 years ago by diver

Have you tried to use other ports/usb sticks?

comment:4 Changed 5 years ago by jstressman

I feel a little silly, but sure enough if I use one of the ports on the back of the computer it works. It's just the front side ports that don't work. I don't know why I didn't try that before.

Attaching the debug log from the successful boot just for the heck of it. (still hrev46677 )

Tried two different sticks, both booted from the USB ports on the back of the machine.

Changed 5 years ago by jstressman

Attachment: serial-log-32gbackport2.txt added

debug log from successful boot by using USB ports on back of computer instead of front.

comment:5 Changed 5 years ago by diver

First syslog:

usb ehci -1: successfully started the controller
module: Search for busses/usb/xhci failed.
usb hub 2: port 2: device removed
usb hub 2: port 6: device removed
usb hub 7: port 2: new device connected
usb ehci -1: lowspeed device connected, giving up port ownership
usb hub 7: port 6: new device connected
usb error ehci -1: qtd (0x497e380) error: 0x00080248
usb error ehci -1: qtd (0x497e580) error: 0x00080248
usb error ehci -1: qtd (0x497e780) error: 0x00080248
usb error ehci -1: error while setting device address
usb error ehci -1: qtd (0x497e980) error: 0x00080248
usb error ehci -1: qtd (0x497eb80) error: 0x00080248
usb error ehci -1: qtd (0x497ed80) error: 0x00080248
usb error ehci -1: error while setting device address

Second syslog:

usb ehci -1: successfully took ownership of the host controller
sitd entry size 64, itd entry size 128
usb ehci -1: successfully started the controller
module: Search for busses/usb/xhci failed.
usb hub 2: port 0: device removed
usb hub 2: port 1: device removed
usb hub 2: port 3: device removed
usb hub 7: port 0: new device connected
usb ehci -1: lowspeed device connected, giving up port ownership
usb hub 7: port 1: new device connected
usb ehci -1: lowspeed device connected, giving up port ownership
usb hub 7: port 3: new device connected

comment:6 Changed 5 years ago by diver

Could you please enable full USB logging by uncommenting #define TRACE_USB and attach new syslog.

comment:7 Changed 5 years ago by korli

Also please post the output of "lsusb -t" on Linux to see how the USB devices are connected through hubs (on the port that doesn't work in Haiku and the one that works). It should help to find out the differences.

comment:8 Changed 5 years ago by korli

BTW when this bug is understood, we can document it anyway for the next release in the case no fix is found in the meantime.

comment:9 Changed 5 years ago by jstressman

korli:

~$ lsusb -t
Bus#  1
`-Dev#   1 Vendor 0x1d6b Product 0x0002
Bus#  2
`-Dev#   1 Vendor 0x1d6b Product 0x0001
  |-Dev#   2 Vendor 0x045e Product 0x00db
  `-Dev#   3 Vendor 0x045e Product 0x00cb
~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 045e:00cb Microsoft Corp. [mouse]
Bus 002 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I switched the mouse from the back ports to the front ports and it still works and shows up on Bus 002 each time regardless of which port you use, it just increments the device number each time you move it. (3 -> 4 -> 5 etc)

The motherboard is a GA-M61PME-S2 (rev. 2.x) http://www.gigabyte.com/products/product-page.aspx?pid=2755#sp (the actual technical manual is near the bottom of the manual list. All the top ones are merely "installation manuals" as noted on the right side of the list)

Now to get back to building debug builds so that I can respond to diver.

comment:10 Changed 5 years ago by jstressman

And just in case it might be useful, the output of lspci -vvnn

ubuntu@ubuntu:~$ lspci -vvnn
00:00.0 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03ea] (rev a1)
	Subsystem: Giga-byte Technology Device [1458:5001]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>

00:01.0 ISA bridge [0601]: nVidia Corporation MCP61 LPC Bridge [10de:03e0] (rev a2)
	Subsystem: Giga-byte Technology Device [1458:0c11]
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:01.1 SMBus [0c05]: nVidia Corporation MCP61 SMBus [10de:03eb] (rev a2)
	Subsystem: Giga-byte Technology Device [1458:0c11]
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at e000 [size=64]
	Region 4: I/O ports at 1c00 [size=64]
	Region 5: I/O ports at c400 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: nForce2_smbus
	Kernel modules: i2c-nforce2

00:01.2 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
	Subsystem: Giga-byte Technology Device [1458:0c11]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:02.0 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f1] (rev a3) (prog-if 10)
	Subsystem: Giga-byte Technology Device [1458:5004]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (750ns min, 250ns max)
	Interrupt: pin A routed to IRQ 21
	Region 0: Memory at f7004000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: ohci_hcd

00:02.1 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f2] (rev a3) (prog-if 20)
	Subsystem: Giga-byte Technology Device [1458:5004]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (750ns min, 250ns max)
	Interrupt: pin B routed to IRQ 22
	Region 0: Memory at f7007000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:04.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI bridge [10de:03f3] (rev a1) (prog-if 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 00009000-00009fff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr+ DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

00:05.0 Audio device [0403]: nVidia Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
	Subsystem: Giga-byte Technology Device [1458:a002]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (500ns min, 1250ns max)
	Interrupt: pin B routed to IRQ 23
	Region 0: Memory at f7000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:06.0 IDE interface [0101]: nVidia Corporation MCP61 IDE [10de:03ec] (rev a2) (prog-if 8a [Master SecP PriP])
	Subsystem: Device [f458:5002]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (750ns min, 250ns max)
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
	Region 4: I/O ports at f000 [size=16]
	Capabilities: <access denied>
	Kernel driver in use: pata_amd

00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)
	Subsystem: Giga-byte Technology Device [1458:e000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (250ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 2301
	Region 0: Memory at f7005000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at c800 [size=8]
	Capabilities: <access denied>
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth

00:08.0 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2) (prog-if 85 [Master SecO PriO])
	Subsystem: Giga-byte Technology Device [1458:b002]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (750ns min, 250ns max)
	Interrupt: pin A routed to IRQ 23
	Region 0: I/O ports at 09f0 [size=8]
	Region 1: I/O ports at 0bf0 [size=4]
	Region 2: I/O ports at 0970 [size=8]
	Region 3: I/O ports at 0b70 [size=4]
	Region 4: I/O ports at dc00 [size=16]
	Region 5: Memory at f7006000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: sata_nv

00:09.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000a000-0000bfff
	Memory behind bridge: f3000000-f4ffffff
	Prefetchable memory behind bridge: 0000000088000000-00000000880fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:0d.0 VGA compatible controller [0300]: nVidia Corporation GeForce 6100 nForce 405 [10de:03d1] (rev a2)
	Subsystem: Giga-byte Technology Device [1458:d000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f2000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at f5000000 (64-bit, non-prefetchable) [size=16M]
	[virtual] Expansion ROM at 88100000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel modules: nvidiafb

00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Capabilities: <access denied>

00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Capabilities: <access denied>
	Kernel driver in use: k8temp
	Kernel modules: k8temp

02:00.0 SATA controller [0106]: Device [1b4b:9230] (rev 10) (prog-if 01)
	Subsystem: Device [1b4b:9230]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 2302
	Region 0: I/O ports at a000 [size=8]
	Region 1: I/O ports at a400 [size=4]
	Region 2: I/O ports at a800 [size=8]
	Region 3: I/O ports at ac00 [size=4]
	Region 4: I/O ports at b000 [size=32]
	Region 5: Memory at f4000000 (32-bit, non-prefetchable) [size=2K]
	[virtual] Expansion ROM at 88000000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

comment:11 Changed 5 years ago by luroh

Blocking: 7665 added

comment:12 Changed 9 months ago by waddlesplash

Keywords: boot-failure added

comment:13 Changed 9 months ago by waddlesplash

Blocking: 7665 removed

comment:14 Changed 8 weeks ago by waddlesplash

Component: Drivers/USBDrivers/USB/EHCI
Summary: "PANIC: did not find any boot partitions!" on USB boot.EHCI: USB disk device inaccessible, error 0x00080248
Note: See TracTickets for help on using tickets.