Sdhci spam on console, extremely slow boot

Autumn Jolitz autumn.jolitz at gmail.com
Thu Mar 23 22:47:26 PDT 2023


I’ve an OnLogic EPM163 board. One of the strange things I’ve noticed is that DragonFly spends a lot of time waiting on boot emitting the following "Controller timeout” and “REGISTER DUMP" message over and over for around 5 long minutes.

There is no microsd card in sdhci_pci0. Aside from compiling the kernel without any mmc support whatsoever or finding some tiny useless micros card, is there anything I can do to make this issue go away?

I plan possibly at a later date to make use of the microsd boot capability but for now I need it to simply stop.

Is there a quirks flag I can pass on `loader.conf` to make it go away?

Autumn

Example:

mmc0: <MMC/SD bus> on sdhci_pci0
sdhci_pci1: <Intel Apollo Lake eMMC 5.0 Controller> mem 0x9131f000-0x9131ffff,0x91320000-0x91320fff irq 39 at device 28.0 on pci0
sdhci_pci1: 1 slot(s) allocated
mmc1: <MMC/SD bus> on sdhci_pci1
sdhci_pci0-slot0:  Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: SDMA addr: 0x00000000 | Version:  0x00001002
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present:  0x01fa0001 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power:    0x0000000e | Blk gap:  0x00000080
sdhci_pci0-slot0: Wake-up:  0x00000000 | Clock:    0x0000fa07
sdhci_pci0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_pci0-slot0: Int enab: 0x03ff00fb | Sig enab: 0x03ff00fb
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2: 0x00000000
sdhci_pci0-slot0: Caps:     0x7568c881 | Caps2:    0x00002807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr: 0x00000000 | Slot int: 0x00000000
sdhci_pci0-slot0: ===========================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20230323/625e80c0/attachment.htm>


More information about the Users mailing list