[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    xhci fails on OpenBSD v6.9 on freshly installed Raspberry PI 4 B
From:       Tofig S <tofig () freebsd ! az>
Date:       2021-07-26 5:08:48
Message-ID: QBjzD08y1Abm0nFzB8uG5VOGz02wHImSE1NTeHqFHX_q3dVfcsqmnQi0e-YZxFNLGd4Qn5_pSQBOsNDPy8SkkAX1LRNAVjjHwfrB7xBh3ag= () freebsd ! az
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (multipart/alternative)]


Greetings,

During the installation of OpenBSD 6.9 on Raspberry PI 4 B, my USB stick was not \
detected and I decided to use microsd as the main disk. I also noticed that USB \
keyboard did not work either, so I hooked up a USB TTL cable to the GPIO pins and \
finished the installation just fine. Overall, it was a smooth experience !

Now, after the freshly installed system booted, I noticed USB keyboard & USB stick \
still did not work. There is a relevant message in dmesg, which suggests there is \
something wrong with initializing the USB host controller:

xhci0: reset timeout
xhci0: init failed, error=5

I checked the changes between 6.9 and current in here: \
https://www.openbsd.org/plus.html, but did not find anything relevant. How can I \
debug this further ?

berry01# pcidump
Domain /dev/pci0:
0:0:0: Broadcom BCM2711
1:0:0: VIA VL805 xHCI
berry01#

berry01# dmesg

OpenBSD 6.9 (GENERIC.MP) #1134: Sun Apr 18 01:53:35 MDT 2021
       deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem   = 8406147072 (8016MB)
avail mem = 8115453952 (7739MB)
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 1024KB 64b/line 16-way L2 cache
cpu1: CRC32,ASID16
cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 1024KB 64b/line 16-way L2 cache
cpu2: CRC32,ASID16
cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 1024KB 64b/line 16-way L2 cache
cpu3: CRC32,ASID16
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20210100
apm0 at mainbus0
simplefb0 at mainbus0: 640x480, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0
bcmgpio0 at simplebus0
bcmaux0 at simplebus0
ampintc0 at simplebus0 nirq 256, ncpu 4 ipi: 0, 1: "interrupt-controller"
bcmtmon0 at simplebus0
bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9
"timer" at simplebus0 not configured
bcmirng0 at simplebus0
pluart0 at simplebus0: console
"local_intc" at simplebus0 not configured
bcmdog0 at simplebus0
simplebus1 at simplebus0: "firmware"
"clocks" at simplebus1 not configured
"gpio" at simplebus1 not configured
"power" at simplebus0 not configured
"mailbox" at simplebus0 not configured
sdhc0 at simplebus0
sdhc0: SDHC 3.0, 250 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
"gpiomem" at simplebus0 not configured
"fb" at simplebus0 not configured
"vcsm" at simplebus0 not configured
"clocks" at mainbus0 not configured
"phy" at mainbus0 not configured
simplebus2 at mainbus0: "emmc2bus"
sdhc1 at simplebus2
sdhc1: SDHC 3.0, 100 MHz base clock
sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
"arm-pmu" at mainbus0 not configured
agtimer0 at mainbus0: 54000 kHz
simplebus3 at mainbus0: "scb"
bcmpcie0 at simplebus3
pci0 at bcmpcie0
ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
xhci0: reset timeout
xhci0: init failed, error=5
bse0 at simplebus3: address dc:a6:32:e9:b0:e0
brgphy0 at bse0 phy 1: BCM54210E 10/100/1000baseT PHY, rev. 2
"dma" at simplebus3 not configured
"hevc-decoder" at simplebus3 not configured
"rpivid-local-intc" at simplebus3 not configured
"h264-decoder" at simplebus3 not configured
"vp9-decoder" at simplebus3 not configured
"leds" at mainbus0 not configured
"sd_io_1v8_reg" at mainbus0 not configured
"fixedregulator_3v3" at mainbus0 not configured
"fixedregulator_5v0" at mainbus0 not configured
simplebus4 at mainbus0: "v3dbus"
"clk-108M" at mainbus0 not configured
"sd_vcc_reg" at mainbus0 not configured
"bootloader" at mainbus0 not configured
scsibus0 at sdmmc1: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SE64G, 0080> removable
sd0: 60906MB, 512 bytes/sector, 124735488 sectors
bwfm0 at sdmmc0 function 1
manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 2 not configured
manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 3 not configured
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (ef6f248aee24cce4.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
gpio0 at bcmgpio0: 58 pins
bwfm0: address xx:xx:xx:xx:xx:xx




["publickey - tofig@freebsd.az - 0xCD73CC8F.asc" (application/pgp-keys)]
["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic