I just installed FreeBSD 10.3-RELEASE on a little Intel NUC box. When I power it up without a SD Card, part of
When I power it up with a SD Card, part of
After the boot with a SD Card, for example, /dev/mmcsd0 is available and /dev/mmcsd0s1 can be mounted and is perfectly usable. For completeness,
The issue is that when the SD Card is physically removed (after an
Is there a way to tell mmc0 to scan/refresh its devices again?
Thanks!
Dominique.
dmesg
returns this:
Code:
sdhci_pci0: <Generic SD HCI> mem 0x8131c000-0x8131cfff irq 18 at device 18.0 on pci0
sdhci_pci0: 1 slot(s) allocated
mmc0: <MMC/SD bus> on sdhci_pci0
...
mmc0: No compatible cards found on bus
dmesg
returns this:
Code:
sdhci_pci0: <Generic SD HCI> mem 0x8131c000-0x8131cfff irq 18 at device 18.0 on pci0
sdhci_pci0: 1 slot(s) allocated
mmc0: <MMC/SD bus> on sdhci_pci0
...
mmcsd0: 126GB <SDHC SD128 3.0 SN 012F74A2 MFG 01/2016 by 39 PH> at mmc0 50.0MHz/4bit/65535-block
pciconf -lv
returns this:
Code:
sdhci_pci0@pci0:0:18:0: class=0x080501 card=0x20608086 chip=0x22968086 rev=0x21 hdr=0x00
vendor = 'Intel Corporation'
class = base peripheral
subclass = SD host controller
The issue is that when the SD Card is physically removed (after an
umount
of course), the devices remain in the /dev tree. Even gpart list
will list them. If I power up the box without a SD Card, then insert a SD Card, no device will be added in the /dev tree. No entry is added in dmesg
either. I tried camcontrol rescan all
and even added in /boot/loader.conf:
Code:
mmc_load="YES"
mmcsd_load="YES"
sdhci_load="YES"
Is there a way to tell mmc0 to scan/refresh its devices again?
man
pages of mmc, mmcsd and sdhci couldn't help at this time.Thanks!
Dominique.