[Bug 254238] sdhci_bcm0-slot0: Controller timeout with main-n245392-8423f5d4c12

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 12 15:51:01 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254238

            Bug ID: 254238
           Summary: sdhci_bcm0-slot0: Controller timeout with
                    main-n245392-8423f5d4c12
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: tech-lists at zyxst.net

Hi,

main-n245392-8423f5d4c12 built 11th March won't boot due to microsd timeout.

A kernel.old made from main-n244802-88db1cc9f19 on the same sdcard with the
same rpi4b hardware and the same materials on the msdos partition does not have
this problem.

These are no-debug kernels, built with the same kernel config file. I have
tried booting without anything attached to usb and it still fails at the same
place. Running fsck on the microsd in another machine for both the msdos and
the freebsd partitions makes no difference.

Full console output is at
https://cloud.zyxst.net/~john/FreeBSD/main-n245392-8423f5d4c12-no-debug-failboot.txt

Thread on freebsd-arm@ is
https://lists.freebsd.org/pipermail/freebsd-arm/2021-March/023323.html

[...]

sdhci_bcm0-slot0: Controller timeout
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x000006c8 | Version:  0x00001002
sdhci_bcm0-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000001
sdhci_bcm0-slot0: Argument: 0x01dacbc1 | Trn mode: 0x00000036
sdhci_bcm0-slot0: Present:  0x1fff0a06 | Host ctl: 0x00000007
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000080
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00000107
sdhci_bcm0-slot0: Timeout:  0x00000003 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x45ee6432 | Caps2:    0x0000a525
sdhci_bcm0-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout
mmcsd0: Error indicated: 1 Timeout

[...]

Mounting from ufs:/dev/ufs/rootfs failed with error 2; retrying for 3 more
seconds
Mounting from ufs:/dev/ufs/rootfs failed with error 2.

Loader variables:
  vfs.root.mountfrom=ufs:/dev/ufs/rootfs
  vfs.root.mountfrom.options=rw

  Manual root filesystem specification:    <fstype>:<device> [options]
  Mount <device> using filesystem <fstype>
  and with the specified (optional) option list.

  eg. ufs:/dev/da0s1a
      zfs:zroot/ROOT/default
      cd9660:/dev/cd0 ro
      (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

      ?               List valid disk boot devices
      .               Yield 1 second (for background tasks)
                      <empty line>    Abort manual input

mountroot> ufs:/dev/mmcsd0s2a
Trying to mount root from ufs:/dev/mmcsd0s2a []...
Mounting from ufs:/dev/mmcsd0s2a failed with error 2; retrying for 3 more
seconds
Mounting from ufs:/dev/mmcsd0s2a failed with error 2.

mountroot> ufs:/dev/ufs/rootfs
Trying to mount root from ufs:/dev/ufs/rootfs []...
Mounting from ufs:/dev/ufs/rootfs failed with error 2; retrying for 3 more
seconds
Mounting from ufs:/dev/ufs/rootfs failed with error 2.

[...]

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


More information about the freebsd-bugs mailing list