Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2022 10:34:11 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Free BSD <freebsd-arm@freebsd.org>
Subject:   Re: RPi3 usb boot hang on stable/13
Message-ID:  <3BDD64A4-8BC3-4E14-B17C-1958F6CBB87F@yahoo.com>
In-Reply-To: <20220702165800.GA10701@www.zefox.net>
References:  <20220702165800.GA10701@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Jul-2, at 09:58, bob prohaska <fbsd@www.zefox.net> wrote:

> Lately an RPi3 running stable/13 has started hanging on boot from USB
> The disk is on a powered hub.
>=20
> When gracefully rebooted it ends with:
>=20
> .....
> MESS:00:00:03.166523:0: Device tree loaded to 0x4000 (size 0x63cd)
> MESS:00:00:03.172180:0: uart: Set PL011 baud rate to 103448.300000 Hz
> MESS:00:00:03.178716:0: uart: Baud rate change done...
> MESS:00:00:03.182145:0: uart: Baud rate change done...
> MESS:00:00:03.187830:0: gpioman: gpioman_get_pin_num: pin =
SDCARD_CONTROL_POWER not defined
> MMC:   mmc@7e300000: 1
> Loading Environment from FAT... OK
> In:    serial
> Out:   vidconsole
> Err:   vidconsole
> Net:   No ethernet found.
> starting USB...
> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB =
Device(s) found
>       scanning usb for storage devices... 1 Storage Device(s) found
> Hit any key to stop autoboot:  0=20
>=20
> Device 0:=20

That is U-Boot output. Looks like the output stopped before
the load of even the FreeBSD loader: FreeBSD is not involved
yet so it is not a FreeBSD problem.

> At that point the console is unresponsive.=20

Nasty.

> The machine has a history of not always finding the USB disk, but this
> appears to be new behavior. As with the disk discovery problem, the
> error can be worked around by simple repetition. Once booted it's=20
> stable but network response remains erratic.
>=20
> There's some indication that power-cycling the hard disk helps.
>=20
> At the moment uname -a reports
>=20
> FreeBSD pelorus.zefox.org 13.1-STABLE FreeBSD 13.1-STABLE #5 =
stable/13-n251597-7c500f98b8d: Fri Jul  1 21:52:12 PDT 2022     =
bob@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64

But FreeBSD is not involved yet at the failure point.

What vintage of U-Boot?

# strings u-boot.bin | grep "U-Boot 20"


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BDD64A4-8BC3-4E14-B17C-1958F6CBB87F>