2013-03-16 12:54:27

by Richard Cochran

[permalink] [raw]
Subject: mmc: rts_pstor worked fine, but rtsx_pci_sdmmc does not


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




2013-03-18 01:58:58

by wwang

[permalink] [raw]
Subject: Re: mmc: rts_pstor worked fine, but rtsx_pci_sdmmc does not

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
>
>
>
>
> .
>

2013-03-19 18:24:35

by Richard Cochran

[permalink] [raw]
Subject: Re: mmc: rts_pstor worked fine, but rtsx_pci_sdmmc does not

On Mon, Mar 18, 2013 at 09:58:46AM +0800, wwang wrote:
> 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.

The lettering on the card is:

micro
SD
HC
4 GB
C04G TAIWAN
(serial number)
Kingston
SDC4/4GB 086 FC s

On Amazon they have a similar device, but the lettering looks a bit
different. The one I have look like this.

http://img01.taobaocdn.com/bao/uploaded/i1/T1.7SyXXlBXXbq.6I8_071230.jpg

Thanks,
Richard