Comment 3 for bug 1067222

Revision history for this message
Ian Johnston (ij89) wrote : Re: Built-in SD card reader on Acer Aspire One AS756 intermittently operative

I was led astray by reports from others of suspend/resume being a factor.

The key difference between the card reader working and not working: wired ethernet connected. With no ethernet connected, the card reader fails with the "timeout waiting for interrupt" message. With an ethernet cable connected, I am able to read all tested cards (all of which are Class 6, Class 4, or unmarked) except for a SanDisk SDHC I Class 10 UHS-I 16 GB card, which fails with the 1.8v signalling message:

[ 528.756952] sdhci: Switching to 1.8V signalling voltage failed, retrying with S18R set to 0
[ 650.352628] eth1: no IPv6 routers present
[ 676.708436] mmc0: Card removed during transfer!
[ 676.708446] mmc0: Resetting controller.
[ 676.719317] mmc0: error -123 whilst initialising SD card

This correlates with other reports I found of adding or removing the tg3 module having an effect on SD card reader functionality. The ethernet cable was a crossover connected to another computer for this test, which is presumably enough to light up the ethernet section of the Broadcom device and load a module if necessary.

Inserting a previously-working card (with ethernet disconnected) then running "rmmod tg3; modprobe tg3" as root results in the card being read and automounted. It doesn't seem to allow the UHS-I card to be read. dmesg from reloading the tg3 module:

[ 1368.415984] tg3 0000:04:00.0: PCI INT A disabled
[ 1368.423945] tg3.c:v3.121 (November 2, 2011)
[ 1368.439966] tg3 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 1368.439986] tg3 0000:04:00.0: setting latency timer to 64
[ 1368.489046] tg3 0000:04:00.0: eth0: Tigon3 [partno(BCM57785) rev 57785100] (PCI Express) MAC address b8:88:e3:49:74:2f
[ 1368.489053] tg3 0000:04:00.0: eth0: attached PHY is 57765 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[ 1368.489057] tg3 0000:04:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[ 1368.489061] tg3 0000:04:00.0: eth0: dma_rwctrl[00000001] dma_mask[64-bit]
[ 1368.516888] udevd[2423]: renamed network interface eth0 to eth1
[ 1368.532798] tg3 0000:04:00.0: irq 43 for MSI/MSI-X
[ 1368.532810] tg3 0000:04:00.0: irq 44 for MSI/MSI-X
[ 1368.532820] tg3 0000:04:00.0: irq 45 for MSI/MSI-X
[ 1369.107251] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 1369.108024] ADDRCONF(NETDEV_UP): eth1: link is not ready