Skip to content

kernel-3.12.0: MMC fails to initialise #423

@srcshelton

Description

@srcshelton

When booting with a USB root-filesystem:

[    4.766800] sdhci: Secure Digital Host Controller Interface driver
[    4.774901] sdhci: Copyright(c) Pierre Ossman
[    4.781188] sdhci: Enable low-latency mode
[    4.787208] mmc0: Hardware doesn't report any support voltages.
[    4.795020] bcm2708_sdhci bcm2708_sdhci.0: probe failed, err -19

This may be a timing issue, as the 'rootwait' parameter hasn't paused until the SDHC controller has become available - but this same configuration worked correctly with the 3.10.y kernels. I had unrelated problems with 3.11.y, so don't know if this series had the same issue.

err == -19 looks to be -ENODEV, which seems to suggest that 'sdhci_alloc_host' is failing - although this would seem to return -ENOMEM on error.

Relevant configuration:

CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_UNSAFE_RESUME=y
CONFIG_MMC_CLKGATE=y
# MMC/SD/SDIO Card Drivers
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_TEST is not set
# MMC/SD/SDIO Host Controller Drivers
# CONFIG_MMC_ARMMMCI is not set
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_IO_ACCESSORS=y
# CONFIG_MMC_SDHCI_PLTFM is not set
# CONFIG_MMC_SDHCI_PXAV3 is not set
# CONFIG_MMC_SDHCI_PXAV2 is not set
CONFIG_MMC_SDHCI_BCM2708=y
CONFIG_MMC_SDHCI_BCM2708_DMA=y
# CONFIG_MMC_SPI is not set
# CONFIG_MMC_DW is not set
# CONFIG_MMC_VUB300 is not set
# CONFIG_MMC_USHC is not set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions