[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: mmc/sdhci controller boot timeouts with no media with an intel nuc
From: Craig Leres <leres () freebsd ! org>
Date: 2019-04-24 21:19:04
Message-ID: 0c47087d-03fe-5e16-1e6d-9f4f715e2b39 () freebsd ! org
[Download RAW message or body]
I have a NUC6i3SYH that takes a couple of extra of minutes to boot
(11.2-RELEASE) due a controller timeout loop that executes 16 times
(with ~10 second delays in between):
sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys 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: 0x00020001 | 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: 0x01ff003b | Sig enab: 0x01ff003b
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps: 0x7568c881 | Caps2: 0x00000807
sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
which wraps up with:
mmc0: No compatible cards found on bus
And indeed the sd card slot is empty.
I was able to disable this code by adding:
hint.mmc.0.disabled="1"
hint.sdhci.0.disabled="1"
to loader.conf. What would it take to improve the default behavior? From
what I remember sd connectors usually have a media present switch, is
the problem that our drivers don't know how to test for this specific
system?
Craig
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic