FYI: Example USB3 boot failure on RPi4B ZFS-on-root system booting main: uhub_reattach_port notices involved

From: Mark Millard via freebsd-arm <freebsd-arm_at_freebsd.org>
Date: Sat, 22 May 2021 20:19:28 -0700
In upgrading from (grabbed from a system not updated yet):

# uname -apKU
FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n246411-a6ca7519f89c-dirty: Sat May  1 19:07:50 PDT 2021     root_at_CA72_4c8G_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1400013 1400013

to (using a debug-build variant here):

# uname -apKU
FreeBSD CA72_4c8G_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n246854-03b0505b8fe8-dirty: Sat May 22 16:25:04 PDT 2021     root_at_CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-dbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-DBG-CA72  arm64 aarch64 1400013 1400013

I was initially unable to boot. It seems to trace
back to getting the uhub_reattach_port notices
in the below sequence:

Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Solaris: NOTICE: Cannot find the pool label for 'zroot'
Mounting from zfs:zroot/ROOT/main-CA72-dbg failed with error 5; retrying for 10 more seconds
Solaris: NOTICE: Cannot find the pool label for 'zroot'
Solaris: NOTICE: Cannot find the pool label for 'zroot'
. . .
mountroot> ?

List of GEOM managed disk devices:
  

mountroot> 

The USB3 SSD was the only storage media present.
Port 3 apparently had the USB3 SSD boot media (the
same media that the FreeBSD loader got the kernel
from before the above).

Cutting power and starting over did not get the
problem again (so far).

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Sun May 23 2021 - 03:19:28 UTC

Original text of this message