Unrelenting testplan D25219

Klaus Küchemann maciphone2 at googlemail.com
Sat Jun 13 08:42:38 UTC 2020


(dmesg below for those who do not like reading Blabla-text;-)

> Am 12.06.2020 um 18:12 schrieb myfreeweb <greg at unrelenting.technology>:
> 
> 
> 
> It's easy to test whether this is a DMA>3gb issue – just enable the mem limit in the firmware.

You know that I know that and I Know that you know that I know that :-)

> Am 13.06.2020 um 04:36 schrieb Mark Millard <marklmi at yahoo.com>:
> I hope that the above notes help.

Very helpful , thanks,
I have almost the same setups as you(SSD:filesystem, uSD:v1.14, PL011(&HDMI) ),
`tried SSD with and without external power...
Very happy to hear that we now have 2 machines booting in acpi-mode(Unfortunately, my two gadgets are not included for now :-)

> The loader.efi ( as EFI\BOOT\BOOTAA64.EFI in the
> USB SSD's msdosfs) is from a much more recent
> system build
that brought me to the idea to test different loaders and one of it „succeeded“ in a loop session 
but WITH detected controller(VL805)… that’s so strange and not logically reproducable(but repeatable),
happened only on the 4GB(not on 8GB) with the left two USB-slots… see dmesg at the end of this message…

> ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
That’s the VL805, which was not detected with me(except the on the here attached  dmesg).
On the 4GB, the VL805 has an own eeprom while rpifoundation removed that own eeprom on the 8GB.

> and ifconfig only shows lo0 (no Ethernet).
Holy sh*t, it gets stranger and stranger with this gadget..tss..
Did you leave anything from the files of an msdos-partiton on the SSD?
If yes, try to remove them all (except the efi)

> Root mount waiting for: CAM
Hm, didn`t see that on mine afair, `will think about that...

O,K, thank you all !

, `have no idea at the moment except changing the boot-hardware(USB-stick or so…)

—   dmesg-----
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
No valid device tree blob found!
WARNING! Trying to fire up the kernel, but no device tree blob found!
EFI framebuffer information:
addr, size     0x3e3cf000, 0x7f8000
dimensions     1920 x 1080
stride         1920
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #27 ff8f973e1e3-c269209(master): Sat Jun 13 05:39:59 UTC 2020
    root at generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG arm64
FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-rc1-0-gf79cd71e145)
VT(efifb): resolution 1920x1080
module firmware already present!
KLD file umodem.ko is missing dependencies
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 1d0000 mode 2 pages 32
MAP 338e0000 mode 2 pages 112
MAP 33a10000 mode 2 pages 128
MAP 33ab0000 mode 2 pages 128
MAP 37000000 mode 2 pages 400
MAP 37190000 mode 2 pages 592
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
kbd0 at kbdmux0
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
acpi0: <RPIFDN RPI4>
acpi0: Power Button (fixed)
acpi0: Could not update all GPEs: AE_NOT_CONFIGURED
psci0: <ARM Power State Co-ordination Interface Driver> on acpi0
gic0: <ARM Generic Interrupt Controller> iomem 0xff841000-0xff841fff,0xff842000-0xff842fff on acpi0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
generic_timer0: <ARM Generic Timer> irq 15,16,17 on acpi0
Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 0.000001s
acpi_syscontainer0: <System Container> on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_syscontainer1: <System Container> on acpi0
xhci0: <Generic USB 3.0 controller> iomem 0x600000000-0x600000fff irq 0 on acpi0
xhci0: 32 bytes context size, 32-bit DMA
usbus0 on xhci0
dwcotg0: <DWC OTG 2.0 integrated USB controller> iomem 0xfe980000-0xfe98ffff irq 1 on acpi0
usbus1 on dwcotg0
uart0: <PrimeCell UART (PL011)> iomem 0xfe201000-0xfe201fff irq 11 on acpi0
uart0: console (115200,n,8,1)
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
Obsolete code will be removed soon: random(9) is the obsolete Park-Miller LCG from 1988
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
Release APs...done
CPU  0: ARM Cortex-A72 r0p3 affinity:  0
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
Root mount waiting for: Instruction Set Attributes 0 = <CRC32>
 usbus0 Instruction Set Attributes 1 = <>
 usbus1         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>

         Processor Features 1 = <>
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
      Memory Model Features 1 = <8bit VMID>
      Memory Model Features 2 = <32bit CCIDX,48bit VA>
             Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
CPU  1: ARM Cortex-A72 r0p3 affinity:  1
CPU  2: ARM Cortex-A72 r0p3 affinity:  2
CPU  3: ARM Cortex-A72 r0p3 affinity:  3
ugen1.1: <DWCOTG OTG Root HUB> at usbus1
ugen0.1: <Generic XHCI root HUB> at usbus0
uhub0 on usbus1
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 1 port with 1 removable, self powered
uhub1: 5 ports with 4 removable, self powered
Root mount waiting for: usbus0
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
mountroot: waiting for device /dev/ufs/rootfs...
uhub1: at usbus0, port 1, addr 1 (disconnected)
uhub1: detached
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: 5 ports with 4 removable, self powered
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub1: at usbus0, port 1, addr 1 (disconnected)
uhub1: detached
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: 5 ports with 4 removable, self powered
Mounting from ufs:/dev/ufs/rootfs failed with error 19.

Loader variables:
  vfs.root.mountfrom=ufs:/dev/ufs/rootfs
  vfs.root.mountfrom.options=rw

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:zroot/ROOT/default
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot> xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub1: at usbus0, port 1, addr 1 (disconnected)
uhub1: detached
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: 5 ports with 4 removable, self powered
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub1: at usbus0, port 1, addr 1 (disconnected)
uhub1: detached
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: 5 ports with 4 removable, self powered
xhci0: Resetting controller

----
MANY MANY resettings(3 minutes or so)... and suddenly :
--------

ugen0.2: <Unknown > at usbus0 (disconnected)
uhub1: at usbus0, port 1, addr 1 (disconnected)
uhub1: detached
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: 5 ports with 4 removable, self powered
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
uhub1: at usbus0, port 1, addr 1 (disconnected)
uhub1: detached
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: 5 ports with 4 removable, self powered

——
NOW !  :
--
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0   
uhub2 on uhub1
uhub2: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
uhub2: 4 ports with 4 removable, self powered
ugen0.3: <Mitsumi Electric Hub in Apple Extended USB Keyboard> at usbus0
uhub3 on uhub2
uhub3: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/4.20, addr 2> on usbus0
uhub3: 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 uhub3
ukbd0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.20, addr 4> on usbus0
kbd1 at ukbd0
ugen0.6: <JMicron External Disk 3.0> at usbus0
umass0 on uhub2
umass0: <JMicron External Disk 3.0, class 0/0, rev 2.10/32.02, addr 5> on usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <JMicron Tech 3202> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 5002627773012666
da0: 40.000MB/s transfers
da0: 114473MB (234441648 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
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
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)
—---
ENDLESS loop…
----

------ mouse removed from the hub, then panic: ------

panic: mountroot: unable to (re-)mount root.
cpuid = 1
time = 280
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x28
	 pc = 0xffff00000081af4c  lr = 0xffff00000010eb74
	 sp = 0xffff00004029d390  fp = 0xffff00004029d590

db_trace_self_wrapper() at vpanic+0x194
	 pc = 0xffff00000010eb74  lr = 0xffff00000046c6dc
	 sp = 0xffff00004029d5a0  fp = 0xffff00004029d5f0

vpanic() at panic+0x44
	 pc = 0xffff00000046c6dc  lr = 0xffff00000046c544
	 sp = 0xffff00004029d600  fp = 0xffff00004029d6b0

panic() at vfs_mountroot+0x1b0c
	 pc = 0xffff00000046c544  lr = 0xffff000000556310
	 sp = 0xffff00004029d6c0  fp = 0xffff00004029d830

vfs_mountroot() at start_init+0x24
	 pc = 0xffff000000556310  lr = 0xffff0000003ebe0c
	 sp = 0xffff00004029d840  fp = 0xffff00004029d8f0

start_init() at fork_exit+0x90
	 pc = 0xffff0000003ebe0c  lr = 0xffff00000041d310
	 sp = 0xffff00004029d900  fp = 0xffff00004029d950

fork_exit() at fork_trampoline+0x10
	 pc = 0xffff00000041d310  lr = 0xffff000000839fcc
	 sp = 0xffff00004029d960  fp = 0x0000000000000000

KDB: enter: panic
[ thread pid 1 tid 100002 ]
Stopped at      0






















More information about the freebsd-arm mailing list