bootverbose Test-session Re: Driver for Raspberry Pi 4 PCI-express controller
Klaus Küchemann
maciphone2 at googlemail.com
Fri May 29 03:07:50 UTC 2020
> Am 28.05.2020 um 20:45 schrieb Robert Crowston <crowston at protonmail.com>:
>
> I did test on a pi4 with the latest USB firmware. A keyboard functioned okay without me doing anything special.
>
> ….
>>
O.K., here is a funny bootverbose test-session (using Original rpi-power adaptor 3A & UPS(Uninterruptible power supply ) :
—Test No. 1 ( with connected HDMI-Display[and UART&USB-stick&keyboard/mouse]) -: ———
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <vendor 0x2109 product 0x3431> at usbus0
----
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub0: at usbus0, port 1, addr 1 (disconnected)
uhub0: detached
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 5 ports with 4 removable, self powered
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub0: at usbus0, port 1, addr 1 (disconnected)
uhub0: detached
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 5 ports with 4 removable, self powered
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub0: at usbus0, port 1, addr 1 (disconnected)
uhub0: detached
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 5 ports with 4 removable, self powered
ugen0.2: <Unknown > at usbus0 (disconnected)
— end Test No. 1 —
—Test No. 2 ( WITHOUT connected HDMI-Display [but with UART&USB-stick&keyboard/mouse] ) : ———
…blabla…
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 9,10,11,12,13,14,15,16,17,18,19 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 21 on simplebus0
c
pcib0: <BCM2838-compatible PCI-express controller> mem 0x7d500000-0x7d50930f,0x7e00f300-0x7e00f31f irq 66,67 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 77 at device 0.0 on pci0
pcib0: bcm_pcib_alloc_resource FAIL: type=3, rid=36, start=00000000f8000000, end=00000000f80fffff, count=0000000000100000, flags=40
pcib1: failed to allocate initial prefetch window: 0-0xfffff
pci1: <PCI bus> on pcib1
xhci0: <XHCI (generic) USB 3.0 controller> irq 78 at device 0.0 on pci1
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
…blabla…
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
…blabla…
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
…blabla…
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
Setting hostname: generic.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
…blabla...
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub0: at usbus0, port 1, addr 1 (disconnected)
uhub0: detached
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 5 ports with 4 removable, self powered
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
uhub1: 4 ports with 4 removable, self powered
…blabla…
ugen0.3: <Mitsumi Electric Hub in Apple Extended USB Keyboard> at usbus0
uhub2 on uhub1
uhub2: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/4.20, addr 2> on usbus0
…blabla…
uhub2: 3 ports with 2 removable, bus powered
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.5: <Mitsumi Electric Apple Extended USB Keyboard> at usbus0
ukbd0 on uhub2
ukbd0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.20, addr 4> on usbus0
…blabla…
Creating and/or trimming log filesugen0.6: <SanDisk Ultra USB 3.0> at usbus0
umass0 on uhub0
umass0: <SanDisk Ultra USB 3.0, class 0/0, rev 3.00/1.00, addr 5> on usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
.
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <SanDisk Ultra USB 3.0 1.00> Removable Direct Access SPC-4 SCSI device
da0: Serial Number 4C530000260314105595
da0: 400.000MB/s transfers
da0: 29327MB (60062500 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
…blabla…
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ums0 on uhub2
ums0: <SIGMACHIP Usb Mouse, class 0/0, rev 1.10/1.10, addr 3> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
uhid0 on uhub2
uhid0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.20, addr 4> on usbus0
…blabla…
FreeBSD/arm64 (generic) (ttyu0)
login:
——end Test No.2 —
Hot-Plugging the HDMI-Display freezed the system ….
Next cold boot shows gen0.2: <Unknown > at usbus0 (disconnected) again … system seems to be freezed again….
Next coldboot after hardreset WITHOUT UART : same : gen0.2: <Unknown > at usbus0 (disconnected)
( no working keyboard ) .. plugging back the UART.. see again :
pcib0: bcm_pcib_alloc_resource FAIL: type=3, rid=36, start=00000000f8000000, end=00000000f80fffff, count=0000000000100000, flags=40
..shutdown -h now..
Next try with changing the HDMI-port but same Adaptor :
After pressing keyboard suddenly da0-detection : da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
and system-freeze …
Next hard reset …. Goin`full risk to burn my new display :-) Ha Ha …changed HDMI-cable…
No HDMI but super strange console-output with loops like this(and the next system-freeze) :
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
Autoloading module: uhid.ko
Autoloading module: wmt.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
…
Next hardreset.. changing the HDMI-port(used other mini-dmi->HDMI- adaptor-cable)… got hdmi-output :
Pressing ENTER on the keyboard: login: ugen0.2: <Unknown > at usbus0 (disconnected).. system freezed again …
….plugging back to other HDMI-port(got output means I failed in connecting the adaptor correctly:-) …
Next system freeze : ugen0.2: <Unknown > at usbus0 (disconnected)…
To the opposite of the day before yesterday:
Tonight there was absolutely no way to get the keyboard to work what let me assume that the filesystem (or u-boot)
or eventually some hardware-chip was „attacked“ by these tests…
So at the moment I would be more careful recommending normal users to do more testing before fixing bugs in drivers (or U-Boot or elsewhere) better. For that reason I`ll better wait with Wiki-recommendatios….
This is only for the for the really crazy of us who are not afraid of toasted boards or something else ;-)
So for the really crazy of us( I guess near 100 percent;-) : please help us debugging !
More information about the freebsd-arm
mailing list