Can't get SDHC in MacBookPro8,2 to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm experiencing serious trouble in getting the SDXC Slot working in
my MacBookPro8,2.
The built in controller is a Broadcom NetXtreme with included SD Host
Controller:

02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme
BCM57765 Gigabit Ethernet PCIe [14e4:16b4] (rev 10)
02:00.1 SD Host controller [0805]: Broadcom Corporation Device
[14e4:16bc] (rev 10)

Following a few reports (on several forums, including Ubuntu) this
controller should work
out-of-the-box - which unfortunately it doesn't.

I'm running Gentoo Linux 64bit using a 2.6.39-rc6-git4 kernel with a few patches
applied to fix pure EFI boot on  MacBookPros.

Inspecting dmesg I get this info:

[   53.769305] sdhci: Secure Digital Host Controller Interface driver
[   53.769307] sdhci: Copyright(c) Pierre Ossman
[   53.775061] sdhci-pci 0000:02:00.1: SDHCI controller found
[14e4:16bc] (rev 10)
[   53.775096] sdhci-pci 0000:02:00.1: found 1 slot(s)
[   53.775109] sdhci-pci 0000:02:00.1: PCI INT B -> GSI 17 (level,
low) -> IRQ 17
[   53.775111] sdhci-pci 0000:02:00.1: Invalid iomem size. You may
experience problems.
[   53.775186] sdhci-pci 0000:02:00.1: setting latency timer to 64

The "Invalid iomem size." seems to be a problem (.. i think?..).
If a card is plugged in I get the following messages:

[ .. ] mmc0: Card removed during transfer!
[ .. ] mmc0: Resetting controller.
.. a few seconds later
[ .. ] mmc0: Timeout waiting for hardware interrupt.

Compiling with CONFIG_MMC_DEBUG results in (lots) of failed commands:

[ 1617.272622] mmc0: starting CMD5 arg 00000000 flags 000002e1
[ 1627.286136] mmc0: Timeout waiting for hardware interrupt.
[ 1627.286146] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1627.286186] sdhci: Sys addr: 0x00000000 | Version:  0x00001502
[ 1627.286195] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[ 1627.286204] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 1627.286212] sdhci: Present:  0x1eff0001 | Host ctl: 0x00000001
[ 1627.286229] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
[ 1627.286234] sdhci: Wake-up:  0x00000000 | Clock:    0x0000fa07
[ 1627.286238] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 1627.286243] sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3
[ 1627.286249] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1627.286253] sdhci: Caps:     0x176ec8b0 | Caps_1:   0x03002177
[ 1627.286258] sdhci: Cmd:      0x00000502 | Max curr: 0x00000000
[ 1627.286264] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[ 1627.286265] sdhci: ===========================================
[ 1627.288335] mmc0: req failed (CMD5): -110, retrying...

Commands range from CMD5,8,52 up to 55.

The SDHC I'm using is working fine in MacOS and in Win7 so it doesn't seem to
be some card related issue.

Please be kind as this is my first post to the kernel lists.
Any help is more than welcome.

--
Cheers,
Rene'
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux