Ubuntu/Other Linux distros not properly recognising external SD?
b-man 2016/12/10 22:01Hello,
I've been experimenting with Fedora and Ubuntu on my Joule and I've noticed some odd behavior with external SD cards.
For Fedora, the eMMC is recognized and enumerated upon boot but the external SD card isn't recognized at all, even if I attempt to
reseat the SD card while Fedora is booted. For Ubuntu, the eMMC is recognized and enumerated on boot but the external SD card fails
to properly enumerate. However for Ubuntu, I found that if I reseat the SD card while Ubuntu is booted, the SD card is immediately enumerated and mounted.
I noticed while booting Fedora, I got the following kernel message:
mmc0: error -110 whilst initializing sd card
While for Ubuntu, mmc0 is seen on the PCI bus but mmcblk0 isn't created until after I reseat the card.
Before reseating SD card:
dmesg | grep -i mmc
[ 0.205484] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000)
[ 0.205487] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820
[ 0.300836] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 2.786296] mmc0: SDHCI controller on PCI [0000:00:1b.0] using ADMA 64-bit
[ 2.790708] mmc1: SDHCI controller on PCI [0000:00:1c.0] using ADMA 64-bit
[ 3.023001] mmc1: new HS400 MMC card at address 0001
[ 3.027249] mmcblk1: mmc1:0001 016G32 14.7 GiB
[ 3.027527] mmcblk1boot0: mmc1:0001 016G32 partition 1 4.00 MiB
[ 3.027837] mmcblk1boot1: mmc1:0001 016G32 partition 2 4.00 MiB
[ 3.028002] mmcblk1gp0: mmc1:0001 016G32 partition 4 4.00 MiB
[ 3.028363] mmcblk1gp3: mmc1:0001 016G32 partition 7 4.00 MiB
[ 3.028735] mmcblk1rpmb: mmc1:0001 016G32 partition 3 4.00 MiB
[ 3.031816] mmcblk1: p1 p2 p3
[ 6.682443] EXT4-fs (mmcblk1p2): mounting ext2 file system using the ext4 subsystem
[ 6.688689] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
After:
dmesg | grep -i mmc
[ 0.205484] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000)
[ 0.205487] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820
[ 0.300836] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 2.786296] mmc0: SDHCI controller on PCI [0000:00:1b.0] using ADMA 64-bit
[ 2.790708] mmc1: SDHCI controller on PCI [0000:00:1c.0] using ADMA 64-bit
[ 3.023001] mmc1: new HS400 MMC card at address 0001
[ 3.027249] mmcblk1: mmc1:0001 016G32 14.7 GiB
[ 3.027527] mmcblk1boot0: mmc1:0001 016G32 partition 1 4.00 MiB
[ 3.027837] mmcblk1boot1: mmc1:0001 016G32 partition 2 4.00 MiB
[ 3.028002] mmcblk1gp0: mmc1:0001 016G32 partition 4 4.00 MiB
[ 3.028363] mmcblk1gp3: mmc1:0001 016G32 partition 7 4.00 MiB
[ 3.028735] mmcblk1rpmb: mmc1:0001 016G32 partition 3 4.00 MiB
[ 3.031816] mmcblk1: p1 p2 p3
[ 6.682443] EXT4-fs (mmcblk1p2): mounting ext2 file system using the ext4 subsystem
[ 6.688689] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
[ 794.510040] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[ 794.510964] mmcblk0: mmc0:0001 00000 29.8 GiB
[ 794.516945] mmcblk0: p1 p2 p3
[ 794.730883] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
Is this a known problem? Has anyone else who has been running Ubuntu/other Linux distros had this problem?