[Bug 280131] Mounting from UFS error 19 on older revisions of Raspberry Pi 4

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Jul 2024 17:05:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280131

            Bug ID: 280131
           Summary: Mounting from UFS error 19 on older revisions of
                    Raspberry Pi 4
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: bjfilipek@gmail.com

When booting the prebuilt RPI images of FreeBSD 14.1-RELEASE or 13.3-RELEASE on
Raspberry Pi 4 (revision ending int B0T) it results in the following and the
boot doesn't complete:

sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 79
on simplebus1
mmc1: <MMC/SD bus> on sdhci_bcm1
...
mmcsd0: 63GB <SDHC ASTC 0.0 SN 000002D9 MFG 09/2022 by 159 TI> at mmc1
50.0MHz/4bit/65535-block
...
sdhci_bcm1-slot0: Controller timeout
sdhci_bcm1-slot0: ============== REGISTER DUMP ==============
sdhci_bcm1-slot0: Sys addr: 0x000000c8 | Version:  0x00001002
sdhci_bcm1-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000001
sdhci_bcm1-slot0: Argument: 0x0747afff | Trn mode: 0x00000012
sdhci_bcm1-slot0: Present:  0x1fff0a06 | Host ctl: 0x00000007
sdhci_bcm1-slot0: Power:    0x0000000f | Blk gap:  0x00000080
sdhci_bcm1-slot0: Wake-up:  0x00000000 | Clock:    0x00000107
sdhci_bcm1-slot0: Timeout:  0x00000003 | Int stat: 0x00000021
sdhci_bcm1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff0008
sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm1-slot0: Caps:     0x45ee6432 | Caps2:    0x0000a525
sdhci_bcm1-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000
sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm1-slot0: ===========================================
mmcsd0: Error indicated: 1 Timeout
...
mmcsd0: Error indicated: 1 Timeout
mountroot: waiting for device /dev/ufs/rootfs...
Mounting from ufs:/dev/ufs/rootfs failed with error 19.

Please read through this from the mailing lists if it's any help:
https://lists.freebsd.org/archives/freebsd-arm/2024-May/003924.html

-- 
You are receiving this mail because:
You are the assignee for the bug.