Re: mmc: rts_pstor worked fine, but rtsx_pci_sdmmc does not

From: wwang
Date: Sun Mar 17 2013 - 21:59:11 EST


Hi Richard:

Could you please describe the detailed model of your 4G card? It would be better if you can take a picture of that card or give me the Amazon link of it. It looks like a compatibility issue.

BR,
Wei

ä 2013å03æ16æ 20:54, Richard Cochran åé:
I have an Acer Aspire One netbook with a built in card reader, and I
have two cards, one with 32 MB and one with 4 GB. The card reader used
to work with the staging driver in 3.7.10, but the new 3.8.3 driver
does not work with the larger card. The old driver was removed in
commit cd211222.

Now, when inserting the larger card, the kernel just prints an error,
as shown below. Anyone know how to fix this?

Thanks,
Richard

** With new 3.8.3 driver
*** 32 MB card
Mar 16 11:29:45 netboy kernel: [ 149.431780] mmc0: new MMC card at address 0001
Mar 16 11:29:45 netboy kernel: [ 149.519891] mmcblk0: mmc0:0001 32M 30.6 MiB
Mar 16 11:29:45 netboy kernel: [ 149.524102] mmcblk0: p1
Mar 16 11:30:20 netboy kernel: [ 184.195164] mmc0: card 0001 removed

*** 4G MB card
Mar 16 11:31:13 netboy kernel: [ 237.267134] mmc0: error -110 whilst initialising SD card
Mar 16 11:31:14 netboy kernel: [ 238.497137] mmc0: error -110 whilst initialising SD card
Mar 16 11:31:15 netboy kernel: [ 239.727136] mmc0: error -110 whilst initialising SD card

** With old 3.7.10 staging driver
*** 32 MB card
Mar 16 13:11:01 netboy kernel: [ 129.222352] sd 4:0:0:0: [sdb] 62720 512-byte logical blocks: (32.1 MB/30.6 MiB)
Mar 16 13:11:01 netboy kernel: [ 129.222559] sd 4:0:0:0: [sdb] Cache data unavailable
Mar 16 13:11:01 netboy kernel: [ 129.222572] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 16 13:11:01 netboy kernel: [ 129.222985] sd 4:0:0:0: [sdb] Cache data unavailable
Mar 16 13:11:01 netboy kernel: [ 129.223002] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 16 13:11:01 netboy kernel: [ 129.226132] sdb: sdb1
Mar 16 13:11:09 netboy kernel: [ 136.909833] sdb: detected capacity change from 32112640 to 0

*** 4 GB card
Mar 16 13:12:45 netboy kernel: [ 232.909525] sd 4:0:0:0: [sdb] 7626752 512-byte logical blocks: (3.90 GB/3.63 GiB)
Mar 16 13:12:45 netboy kernel: [ 232.909769] sd 4:0:0:0: [sdb] Cache data unavailable
Mar 16 13:12:45 netboy kernel: [ 232.909786] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 16 13:12:45 netboy kernel: [ 232.910593] sd 4:0:0:0: [sdb] Cache data unavailable
Mar 16 13:12:45 netboy kernel: [ 232.910612] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 16 13:12:45 netboy kernel: [ 232.912631] sdb: sdb1 sdb2
Mar 16 13:12:59 netboy kernel: [ 246.909480] sdb: detected capacity change from 3904897024 to 0




.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/