Bug 50221

Summary: NetXtreme BCM57765 unusable
Product: Drivers Reporter: Cedric Sodhi (manday)
Component: MMC/SDAssignee: drivers_mmc-sd
Status: NEW ---    
Severity: normal CC: xguimax
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.6.6 Subsystem:
Regression: No Bisected commit-id:
Attachments: tail of dmesg

Description Cedric Sodhi 2012-11-07 17:08:50 UTC
14e4:16bc SD Host controller: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader (rev 10)

is not usable with 3.6.6, 3.6.4 or any other version I've tried. It runs on sdhci_pci. 

Initially, the device is recognized and the card can be mounted. Subsequent operations (like copying onto the device or unmounting) ensue a disaster whence there are all sorts of errors in dmesg and the card will no longer unmount and has to be removed forcefully.

When plugged in again, it will not even be recognized any longer until the computer is restarted. Because this is such a mess of errors, I'll not quote any of them right away. Instead, you may suggest just the simplest operation (mount, copy a file and umount, for example), and I'll provide the exact logs for that, if you want. Thanks.
Comment 1 Cedric Sodhi 2012-11-07 17:11:38 UTC
One absolutely common error is

mmc0: error -110 whilst initialising SD card

after the card has forcefully been removed once.
Comment 2 Cedric Sodhi 2012-11-07 17:20:18 UTC
Ok, by my initiative, here is something which is supposedly as simple as it can get:

Boot with card plugged in, next, execute

dd if=/dev/zero of=/dev/mmcblk0 count=50000

And here comes the tail dmesg (dd is still "running" after some minutes and has thrown a "dd: writing to ‘/dev/mmcblk0’: Input/output error" in the meantime")

see attached.
Comment 3 Cedric Sodhi 2012-11-07 17:21:15 UTC
Created attachment 85821 [details]
tail of dmesg

Tail of dmesg after dd if=/dev/zero of=/dev/... count=50000
Comment 4 xguimax 2014-02-21 23:04:47 UTC
Bug still persists in mainline 3.14-rc3.