Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2021 14:17:48 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: RPi 4B USB 3 support appears to still be broken in 13.0-RELEASE
Message-ID:  <YHrf/HGt1Xw2w2T%2B@ceres.zyxst.net>
In-Reply-To: <YHoXAS%2B0/ptwL0IS@fuz.su>
References:  <YHoXAS%2B0/ptwL0IS@fuz.su>

next in thread | previous in thread | raw e-mail | index | archive | help

--cFklBqQaWHfkbaTQ
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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                                                 =
    =20
vfs.root_mount_always_wait=3D1 # give usb time to settle before zfs        =
      =20
kern.cam.boot_delay=3D"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 =3D 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=20
Root mount waiting for: CAM=20
Root mount waiting for: CAM=20
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=3D0x2<NO_6_BYTE>
Warning: no time-of-day clock registered, system time will not be set accur=
ately
Dual Console: Serial Primary, Video Secondary
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)

does this help?
--=20
J.

--cFklBqQaWHfkbaTQ
Content-Type: application/pgp-signature; name="signature.asc"

-----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-----

--cFklBqQaWHfkbaTQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YHrf/HGt1Xw2w2T%2B>