Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kmcengOffline
Post subject: JMicron SD card reader won't read high-speed cards  PostPosted: 23.07.2012, 23:41



Joined: 2011-08-12
Posts: 10
Location: new york
Status: Offline
I'm not sure if this is an Aptosid matter, but...

My SD Card reader reads an older 512 MB card, but fails with two larger cards: a Verbatim 8Gb and Dane-Elec 16Gb cards--both class 4. These are the only ones I have to try at the moment.

BOTH large cards work fine in my Acer Aspire One Netbook, and in my Gateway NX860XL laptop which have 2.6 kernels.
In fact both cards are listed as working SD cards in http://elinux.org/RPi_VerifiedPeripherals

dmesg fills completely with errors as shown below...

I looked for patches or bugs, but came up empty.
Any ideas or other places I should post this issue?

My Configuration:
HP ProBook 4730s
Intel i5 2430M

      Code:

$ uname -a
Linux aptosid 3.3-6.slh.1-aptosid-686 #1 SMP PREEMPT Sun May 13 00:35:55 UTC 2012 i686 GNU/Linux


$ lsmod |grep -i jm
jmb38x_ms               5470  0
memstick                4473  1 jmb38x_ms

$ lsmod |grep sd
sdhci_pci               7684  0
sdhci                  17281  1 sdhci_pci
mmc_core               60602  3 sdhci,sdhci_pci,mmc_block


and from sudo lspci -v:

24:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
        Subsystem: Hewlett-Packard Company Device 167c
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at d4803000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at afb00000 [disabled] [size=64K]
        Capabilities: [a4] Power Management version 3
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-
        Kernel driver in use: sdhci-pci

24:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30) (prog-if 01)
        Subsystem: Hewlett-Packard Company Device 167c
        Flags: fast devsel, IRQ 18
        Memory at d4802000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [a4] Power Management version 3
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-

24:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
        Subsystem: Hewlett-Packard Company Device 167c
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at d4801000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [a4] Power Management version 3
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-
        Kernel driver in use: jmb38x_ms


$ dmesg |tail

[374687.507993] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
[374687.508001] end_request: I/O error, dev mmcblk0, sector 3
[374687.508305] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
[374687.508314] end_request: I/O error, dev mmcblk0, sector 4
[374687.508600] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
[374687.508609] end_request: I/O error, dev mmcblk0, sector 5
[374687.508893] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
[374687.508901] end_request: I/O error, dev mmcblk0, sector 6
[374687.509209] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
[374687.509218] end_request: I/O error, dev mmcblk0, sector 7




Last edited by kmceng on 24.07.2012, 12:47; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: JMicron SD card reader won  PostPosted: 24.07.2012, 00:20



Joined: 2010-08-25
Posts: 732

Status: Offline
If you still have a Windows install on that system, I'd suggest to test the card reader and sdhc card using that. In general many card readers, and especially the ones you're dealing with, are often of rather bad and unreliable quality, sometimes even up to the point of phyiscally harming your media…

While not very convenient, using an external USB card reader often offers better quality and driver support than some of the internal ones.

[1] I've had lots of 'fun' with this one "SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381]"; unfortunately I wouldn't expect this to improve. Given existing reports about these devices and my own experiences, I'm not convinced that these problems could be fixed from the driver side and aren't design errors in the hardware.
 
 View user's profile Send private message  
Reply with quote Back to top
kmcengOffline
Post subject: RE: JMicron SD card reader won  PostPosted: 24.07.2012, 00:47



Joined: 2011-08-12
Posts: 10
Location: new york
Status: Offline
I do have a Windows 7 install, but I've never actually booted it, and probably can't try for a couple days due to some on-going work which I need up 24/7...

When I can, I may try a bootable CD also. I may also try the USB adapter.

Thanks for the hints.
 
 View user's profile Send private message  
Reply with quote Back to top
kmcengOffline
Post subject:   PostPosted: 28.07.2012, 17:14



Joined: 2011-08-12
Posts: 10
Location: new york
Status: Offline
OK, new info:

The Verbatim 8GB card DOES work in Linux Mint 12 (KDE live) and in Aptosid (was I asleep when I tried before?? Hmmm...).

Both the Verbatim AND the Dane-Elec 16GB work in Windows 7.

But the Dane-Elec still fails in Aptosid and Mint.

I tried reformatting the Dane when in Windows to see if that would help. Nope.

Then I tried reformatting in my camera. Still no good.
However, the camera indicates the card is class 6 whereas on the label the card says class 4 -- interesting.

The camera confirms the Verbatim card is class 4 as on its label.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio