Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2020 10:42:32 +0200
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        Hans Petter Selasky <hps@selasky.org>, freebsd-arm@freebsd.org, myfreeweb <greg@unrelenting.technology>, Mark Millard <marklmi@yahoo.com>, Robert Crowston <crowston@protonmail.com>
Subject:   Re: Unrelenting testplan D25219
Message-ID:  <19BAFE1A-8E07-47AB-81C9-C8BA21086AD1@googlemail.com>
In-Reply-To: <26B03CE9-E91F-466B-9912-56CCB4E28817@unrelenting.technology>
References:  <876E685B-B3AC-4821-A88F-702ABA3D9812@yahoo.com> <5FE76178-4255-46B0-9A0D-F7640EFCBBE4@googlemail.com> <F1DC2AFB-0CC7-407D-A6C0-4E109590612E@unrelenting.technology> <C7D9957A-5C58-48FF-9601-7DD13DE9D89B@googlemail.com> <8414e0163e5cb2e9c4a4c7b02aa01666@unrelenting.technology> <5B8A58D0-9662-49DD-9CC3-226A3A92EFD6@googlemail.com> <abc05bea-ea4a-9189-611c-a1a0000182d8@selasky.org> <FE0813DD-29CA-4ADA-BD6B-963E3DC635B2@googlemail.com> <eHCAzXv-Rr39w3F-euypm4DrLx9jd88297x9hyHaNi_-VXR-ZiLdgFg6HvpI87aFLHGM_YcbOLADi0BLIR0jy557fbWDxKs4yIqf5ZfsDZ4=@protonmail.com> <26B03CE9-E91F-466B-9912-56CCB4E28817@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
(dmesg below for those who do not like reading Blabla-text;-)

> Am 12.06.2020 um 18:12 schrieb myfreeweb =
<greg@unrelenting.technology>:
>=20
>=20
>=20
> It's easy to test whether this is a DMA>3gb issue =E2=80=93 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@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 =
=E2=80=9Esucceeded=E2=80=9C in a loop session=20
but WITH detected controller(VL805)=E2=80=A6 that=E2=80=99s so strange =
and not logically reproducable(but repeatable),
happened only on the 4GB(not on 8GB) with the left two USB-slots=E2=80=A6 =
see dmesg at the end of this message=E2=80=A6

> ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
That=E2=80=99s 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=E2=80=A6)

=E2=80=94   dmesg-----
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...              =20
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@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG =
arm64
FreeBSD clang version 10.0.1 (git@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 =3D <64 byte D-cacheline,64 byte =
I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
Root mount waiting for: Instruction Set Attributes 0 =3D <CRC32>
 usbus0 Instruction Set Attributes 1 =3D <>
 usbus1         Processor Features 0 =3D <AdvSIMD,FP,EL3 32,EL2 32,EL1 =
32,EL0 32>

         Processor Features 1 =3D <>
      Memory Model Features 0 =3D <TGran4,TGran64,SNSMem,BigEnd,16bit =
ASID,16TB PA>
      Memory Model Features 1 =3D <8bit VMID>
      Memory Model Features 2 =3D <32bit CCIDX,48bit VA>
             Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 =
Breakpoints,PMUv3,Debugv8>
             Debug Features 1 =3D <>
         Auxiliary Features 0 =3D <>
         Auxiliary Features 1 =3D <>
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=3Dufs:/dev/ufs/rootfs
  vfs.root.mountfrom.options=3Drw

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

=E2=80=94=E2=80=94
NOW !  :
--
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0  =20
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=3D0x2<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)
=E2=80=94---
ENDLESS loop=E2=80=A6
----

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

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

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

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

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

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

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

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

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























Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19BAFE1A-8E07-47AB-81C9-C8BA21086AD1>