Re: RPi 4B USB 3 support appears to still be broken in 13.0-RELEASE

tech-lists <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <YHrf/[email protected]>
Hi,

On Sat, Apr 17, 2021 at 01:00:17AM +0200, Robert Clausecker wrote:
>Greetings!
>
>Last time I experimented with ZFS on the RPi 4B, I noticed that
>there is a strange problem when attaching the zpool via USB 3 as
>opposed to USB 2.  When doing that, mounting root fails with
>IO errors like these:

my context: stable/13-n245205 arm64

I'm using usb3-connected zfs on rpi4/8GB with no issues. I didn't have
*exactly* your issue, but it was a while ago. In my /boot/loader.conf I
have this:

[...snip...]

# zfs, ufs, booting on rpi                                                      
vfs.root_mount_always_wait=1 # give usb time to settle before zfs               
kern.cam.boot_delay="20000" # 20s delay for usb3 spinning rust settling

[...]

disk is usb3-connected ADATA (2TB) and is powered by the pi.

I think you have zfs-on-root? mine isn't, this boots from the micro-sd.

here's part of dmesg:

[...]

run0: [HT] Enabling 802.11n
Root mount waiting for: usbus0 CAM
ugen0.4: <ADATA HD710 PRO> at usbus0
umass0 on uhub0
umass0: <ADATA HD710 PRO, class 0/0, rev 3.00/92.03, addr 3> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:0:0: Attached to scbus0
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
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
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
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <ADATA HD710 PRO 9203> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number [redacted]
da0: 400.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Warning: no time-of-day clock registered, system time will not be set accurately
Dual Console: Serial Primary, Video Secondary
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)

does this help?
-- 
J.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmB63/MACgkQs8o7QhFz
NAVkrQ/7BhC31Hbh3xMBR8efRy10EfkWNQo15M3lUWHtJdYw15ad4NCHP7HPkxlQ
t3fSFotTNCN+y1TIkSWG7dckV4CApKCBTaBjvieSgBcaWgd3j4xVXCa8IczjVPek
uc/pcUsXSIHFxQZJPbKOFbP8ykIFw3m+fvT6tZuXKe9plKEu0u80Qp91JHkJEJ2O
PUUO8Tk/2RMlZTFkIo/8ubIJi4k5wDGpecrTiKN6QR728YRb7YPQ9taOARNccJBR
lwg4XhCLYq9i+KNz0S4bzL38Hm2ZeKj3eOUOeJfER4IH8xuov1CAHhcc838EVFZJ
QGsoNGK0zIoLAx/1UdQCCQgLgeDSwWG0dQD2xFChVZ76rwTr8Si/WkjXoZuMDmRy
HsRa85hapWkf6exXu7+jKU7kK2KRnYqGREe1/WIQrK/gU010IxLc43EFwLC8+Ls7
g/iQcVBHjfK7/v2dzFAgTKHrW9SJQAjsSPLypbZWIDwjOeyIWaOe+pPgUl+DbGzj
z/NwMnAqgzOHibMKE71RooD0cRFqG9GZ3N8JOfQKI6Z5f3mGFIgaTEwyTOkYqsCB
n0aIQUWi+oyk5/CUVBb4gHxWuAzts2QSnQvVvsIzbqO7cXYdazVWk5cxfy3ik2FW
NCjEnN3+FigPqGtJ9l/jBYx5rr1viMUgPUmldLAnf32LXrETG/s=
=pjU7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.