SDHC Cards - your experiences?

For over a year now, I have Bugzilla 662826 outstanding - My Patriot LX series 16GB Class 10 SDHC Card woun’t mount when inserted into a USB card reader (using 11.4_x64 and 12.1_32bit) but will when inserted to a PCI internally connected card reader in my laptop.
The card, and various USB readers, all work under WinXP and Win7 as well, so I remain convinced the issue is in Linux USB code somewhere.

I am wondering if the issue is specific to Patriot cards and/or Class 10 (high speed).

Can anyone report success with SDHC Cards of this size, or SDHC 8GB Class 10 when inserted into USB readers?

AFAIK, most card readers in laptops are, like my HP DV7, PCI connected so may work for you.
My issues arise with my desktop machines and USB2 or USB3 interfaced internal readers and with portable USB readers.

Update: I broke down and tried another SDHC card, this one a PNY 8GB Class 10.
Seems to work fine in my USB card reader(s) on SuSE 11.4_64.

So now I am thinking the issue is with the Patriot LX device interface code.
The Patriot LX device still works fine in my PCI attached reader (in HPDV7) and, painfully, Windoze PCI and USB.

My 32GB SanDisk SDHC card doesn’t work with OpenSuSE 11.4 and a USB card reader. Despite increasing the logging level, dmesg doesn’t say anything useful. The card works perfectly with Windows. I’ve bought new SDHC cards and a new card reader but it makes no difference.

linux-desktop:/mnt # uname -a
Linux linux-desktop 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux

It’s the last item in the list here:

linux-desktop:/mnt # lsscsi
[0:0:0:0] cd/dvd PIONEER DVD-RW DVR-112D 1.21 /dev/sr0
[2:0:0:0] disk ATA HDS728080PLA380 PF2O /dev/sda
[3:0:0:0] disk ATA HDS728080PLA380 PF2O /dev/sdb
[7:0:0:0] disk USB2.0 CardReader SD 0100 /dev/sdc

But there’s no /dev file for it:

linux-desktop:/mnt # ls -ld /dev/sd[abc]*
brw-rw---- 1 root disk 8, 0 Apr 13 14:27 /dev/sda
brw-rw---- 1 root disk 8, 1 Apr 13 10:40 /dev/sda1
brw-rw---- 1 root disk 8, 2 Apr 13 10:40 /dev/sda2
brw-rw---- 1 root disk 8, 3 Apr 13 10:40 /dev/sda3
brw-rw---- 1 root disk 8, 16 Apr 13 10:40 /dev/sdb
brw-rw---- 1 root disk 8, 17 Apr 13 10:40 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Apr 13 10:40 /dev/sdb2
brw-rw---- 1 root disk 8, 21 Apr 13 10:40 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Apr 13 10:40 /dev/sdb6
brw-rw---- 1 root disk 8, 23 Apr 13 10:40 /dev/sdb7

Again it’s the last item in the list:

linux-desktop:/mnt # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 003 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 008: ID 0cf2:6220 ENE Technology, Inc. SD Card Reader (SG361)

Any ideas?

stewrav

Hi
As root user check it’s got a loaded driver, eg;


lspci

Then grab the bus id etc for your controller, then run for example;


lspci -nnk -s 03:00.1
03:00.1 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller
[1180:e822] (rev 03) Subsystem: Dell Device [1028:0428]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 3 days 3:29, 3 users, load average: 0.05, 0.05, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thanks lots for this. Since I can’t see it in my lspci output:


00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000] (rev c1)

it seems that I’m just missing the driver. So, I suppose I have to do something with insmod but I’m not quite sure what. Any help gratefully received!

Stew

Hi
OK try this;
Your device is Bus 001 Device 008: ID 0cf2:6220 ENE Technology, Inc. SD
Card Reader so;


lsusb -v -s 001:008

Also check the output from the command dmesg for further clues.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 3 days 4:34, 3 users, load average: 0.05, 0.06, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

lsusb -v -s 001:010

(it’s moved) output is


Bus 001 Device 010: ID 0cf2:6220 ENE Technology, Inc. SD Card Reader (SG361)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0cf2 ENE Technology, Inc.
  idProduct          0x6220 SD Card Reader (SG361)
  bcdDevice            1.00
  iManufacturer           1 ENE
  iProduct                2 UB6220
  iSerial                 4 606569746801
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              498mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)

Also check the output from the command dmesg for further clues.


[32157.296046] usb 1-2: new high speed USB device using ehci_hcd and address 11
[32157.410882] usb 1-2: New USB device found, idVendor=0cf2, idProduct=6220
[32157.410889] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[32157.410893] usb 1-2: Product: UB6220
[32157.410895] usb 1-2: Manufacturer: ENE
[32157.410898] usb 1-2: SerialNumber: 606569746801
[32157.417610] scsi11 : usb-storage 1-2:1.0
[32158.418699] scsi 11:0:0:0: Direct-Access     USB2.0   CardReader SD    0100 PQ: 0 ANSI: 0
[32158.419087] sd 11:0:0:0: Attached scsi generic sg3 type 0

Or, with the logging level turned up via

echo 9411 > /proc/sys/dev/scsi/logging_level

then stripping out my main hard disk info via

dmesg | grep -vF '[sda]'

I get


[32285.003865] sr 0:0:0:0: Send: 
[32285.003872] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32285.004096] sr 0:0:0:0: Done: TIMEOUT
[32285.004100] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32285.004104] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32285.004307] Error handler scsi_eh_0 waking up
[32285.009543] Error handler scsi_eh_0 sleeping
[32285.009572] sr 0:0:0:0: Send: 
[32285.009575] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32285.009791] sr 0:0:0:0: Done: TIMEOUT
[32285.009794] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32285.009798] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32285.009809] Error handler scsi_eh_0 waking up
[32285.015541] Error handler scsi_eh_0 sleeping
[32285.015571] sr 0:0:0:0: Send: 
[32285.015575] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32285.015787] sr 0:0:0:0: Done: TIMEOUT
[32285.015791] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32285.015795] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32285.015804] Error handler scsi_eh_0 waking up
[32285.021531] Error handler scsi_eh_0 sleeping
[32285.021584] sr 0:0:0:0: Send: 
[32285.021587] sr 0:0:0:0: CDB: Prevent/Allow Medium Removal: 1e 00 00 00 00 00
[32285.021747] sr 0:0:0:0: Done: SUCCESS
[32285.021750] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32285.021754] sr 0:0:0:0: CDB: Prevent/Allow Medium Removal: 1e 00 00 00 00 00
[32287.746047] usb 1-2: new high speed USB device using ehci_hcd and address 12
[32287.860980] usb 1-2: New USB device found, idVendor=0cf2, idProduct=6220
[32287.860986] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[32287.860990] usb 1-2: Product: UB6220
[32287.860993] usb 1-2: Manufacturer: ENE
[32287.860995] usb 1-2: SerialNumber: 606569746801
[32287.867143] Error handler scsi_eh_12 sleeping
[32287.867798] scsi12 : usb-storage 1-2:1.0
[32288.003418] sr 0:0:0:0: Send: 
[32288.003425] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32288.003651] sr 0:0:0:0: Done: TIMEOUT
[32288.003655] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32288.003660] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32288.003675] Error handler scsi_eh_0 waking up
[32288.009455] Error handler scsi_eh_0 sleeping
[32288.009484] sr 0:0:0:0: Send: 
[32288.009487] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32288.009701] sr 0:0:0:0: Done: TIMEOUT
[32288.009705] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32288.009709] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32288.009718] Error handler scsi_eh_0 waking up
[32288.015446] Error handler scsi_eh_0 sleeping
[32288.015475] sr 0:0:0:0: Send: 
[32288.015478] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32288.015690] sr 0:0:0:0: Done: TIMEOUT
[32288.015694] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32288.015698] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32288.015707] Error handler scsi_eh_0 waking up
[32288.021445] Error handler scsi_eh_0 sleeping
[32288.021498] sr 0:0:0:0: Send: 
[32288.021501] sr 0:0:0:0: CDB: Prevent/Allow Medium Removal: 1e 00 00 00 00 00
[32288.021660] sr 0:0:0:0: Done: SUCCESS
[32288.021663] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32288.021667] sr 0:0:0:0: CDB: Prevent/Allow Medium Removal: 1e 00 00 00 00 00
[32288.868237] scsi 12:0:0:0: Send: 
[32288.868243] scsi 12:0:0:0: CDB: Inquiry: 12 00 00 00 24 00
[32288.868638] scsi 12:0:0:0: Done: SUCCESS
[32288.868642] scsi 12:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32288.868646] scsi 12:0:0:0: CDB: Inquiry: 12 00 00 00 24 00
[32288.868682] scsi 12:0:0:0: Direct-Access     USB2.0   CardReader SD    0100 PQ: 0 ANSI: 0
[32288.869063] sd 12:0:0:0: Attached scsi generic sg3 type 0
[32288.869214] scsi 12:0:0:1: Send: 
[32288.869218] scsi 12:0:0:1: CDB: Inquiry: 12 00 00 00 24 00
[32288.869587] scsi 12:0:0:1: Done: SUCCESS
[32288.869594] scsi 12:0:0:1:  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[32288.869598] scsi 12:0:0:1: CDB: Inquiry: 12 00 00 00 24 00
[32288.869622] sd 12:0:0:0: Send: 
[32288.869625] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32290.304460] sd 12:0:0:0: Done: SUCCESS
[32290.304467] sd 12:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32290.304472] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32290.304480] sd 12:0:0:0:  Sense Key : Not Ready [current] 
[32290.304485] sd 12:0:0:0:  Add. Sense: Medium not present
[32290.304502] scsi 12:0:1:0: Send: 
[32290.304505] scsi 12:0:1:0: CDB: Inquiry: 12 00 00 00 24 00
[32290.305252] scsi 12:0:1:0: Done: SUCCESS
[32290.305259] scsi 12:0:1:0:  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[32290.305263] scsi 12:0:1:0: CDB: Inquiry: 12 00 00 00 24 00
[32290.305293] sd 12:0:0:0: Send: 
[32290.305296] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.001602] sr 0:0:0:0: Send: 
[32291.001608] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.001830] sr 0:0:0:0: Done: TIMEOUT
[32291.001834] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32291.001839] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.001854] Error handler scsi_eh_0 waking up
[32291.007368] Error handler scsi_eh_0 sleeping
[32291.007395] sr 0:0:0:0: Send: 
[32291.007398] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.007608] sr 0:0:0:0: Done: TIMEOUT
[32291.007612] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32291.007616] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.007625] Error handler scsi_eh_0 waking up
[32291.013364] Error handler scsi_eh_0 sleeping
[32291.013391] sr 0:0:0:0: Send: 
[32291.013394] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.013604] sr 0:0:0:0: Done: TIMEOUT
[32291.013608] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32291.013612] sr 0:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.013620] Error handler scsi_eh_0 waking up
[32291.019355] Error handler scsi_eh_0 sleeping
[32291.019408] sr 0:0:0:0: Send: 
[32291.019411] sr 0:0:0:0: CDB: Prevent/Allow Medium Removal: 1e 00 00 00 00 00
[32291.019569] sr 0:0:0:0: Done: SUCCESS
[32291.019572] sr 0:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32291.019576] sr 0:0:0:0: CDB: Prevent/Allow Medium Removal: 1e 00 00 00 00 00
[32291.740400] sd 12:0:0:0: Done: SUCCESS
[32291.740407] sd 12:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32291.740412] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32291.740419] sd 12:0:0:0:  Sense Key : Not Ready [current] 
[32291.740424] sd 12:0:0:0:  Add. Sense: Medium not present
[32291.740445] scsi 12:0:2:0: Send: 
[32291.740448] scsi 12:0:2:0: CDB: Inquiry: 12 00 00 00 24 00
[32291.740471] sd 12:0:0:0: [sdc] Attached SCSI removable disk
[32291.740481] scsi 12:0:2:0: Done: SUCCESS
[32291.740484] scsi 12:0:2:0:  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[32291.740488] scsi 12:0:2:0: CDB: Inquiry: 12 00 00 00 24 00
[32291.740503] sd 12:0:0:0: Send: 
[32291.740506] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32293.175574] sd 12:0:0:0: Done: SUCCESS
[32293.175581] sd 12:0:0:0:  Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[32293.175586] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[32293.175594] sd 12:0:0:0:  Sense Key : Not Ready [current] 
[32293.175599] sd 12:0:0:0:  Add. Sense: Medium not present
[32293.175620] scsi 12:0:3:0: Send: 
[32293.175623] scsi 12:0:3:0: CDB: Inquiry: 12 00 00 00 24 00
[32293.175667] scsi 12:0:3:0: Done: SUCCESS
[32293.175669] scsi 12:0:3:0:  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[32293.175673] scsi 12:0:3:0: CDB: Inquiry: 12 00 00 00 24 00
[32293.175689] sd 12:0:0:0: Send: 
[32293.175691] sd 12:0:0:0: CDB: Test Unit Ready: 00 00 00 00 00 00

As noted in Post #2 of this thread, I found that an 8GB PNY SDHC Card DID work with Suse 11.4.
I am now running 12.1 on that machine, with Kernel 3.1.9-1.4
The 8GB PNY still works well, the 16GB Patriot LX Series does not.

Here is the dmesg output that results from my plugging in the PNY 16GB card.
This is more output than when I was running 11.4, but alas still not working.

[54235.942000] sd 6:0:0:2: [sdf] 31293440 512-byte logical blocks: (16.0 GB/14.9 GiB)
[54235.942924] sd 6:0:0:2: [sdf] No Caching mode page present
[54235.942932] sd 6:0:0:2: [sdf] Assuming drive cache: write through
[54235.944508] sd 6:0:0:2: [sdf] No Caching mode page present
[54235.944518] sd 6:0:0:2: [sdf] Assuming drive cache: write through
[54235.946977]  sdf: sdf1
[54239.875546] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54243.798151] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54247.721048] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54251.644157] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54255.567162] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54259.490121] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54259.491559] sd 6:0:0:2: [sdf] Unhandled sense code
[54259.491566] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54259.491575] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54259.491584] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54259.491593] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54259.491611] end_request: I/O error, dev sdf, sector 31293437
[54259.491619] quiet_error: 54 callbacks suppressed
[54259.491628] Buffer I/O error on device sdf, logical block 3911679
[54263.421895] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54267.344996] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54271.268335] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54275.191170] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54279.114111] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54283.037028] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54283.038371] sd 6:0:0:2: [sdf] Unhandled sense code
[54283.038378] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54283.038387] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54283.038396] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54283.038405] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54283.038423] end_request: I/O error, dev sdf, sector 31293437
[54283.038432] Buffer I/O error on device sdf, logical block 3911679
[54286.948725] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54290.872150] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54294.795005] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54298.698106] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54302.601263] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54306.504345] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54306.505720] sd 6:0:0:2: [sdf] Unhandled sense code
[54306.505727] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54306.505736] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54306.505745] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54306.505754] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54306.505772] end_request: I/O error, dev sdf, sector 31293437
[54306.505781] Buffer I/O error on device sdf, logical block 3911679
[54310.438455] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54314.341195] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54318.264221] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54322.186984] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54326.090066] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54329.993176] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54330.003691] sd 6:0:0:2: [sdf] Unhandled sense code
[54330.003700] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54330.003709] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54330.003719] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54330.003728] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54330.003747] end_request: I/O error, dev sdf, sector 31293437
[54330.003758] Buffer I/O error on device sdf, logical block 3911679
[54333.913987] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54337.837135] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54341.760230] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54345.663088] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54349.586231] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54353.489193] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54353.490588] sd 6:0:0:2: [sdf] Unhandled sense code
[54353.490595] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54353.490604] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54353.490614] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54353.490624] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54353.490643] end_request: I/O error, dev sdf, sector 31293437
[54353.490652] Buffer I/O error on device sdf, logical block 3911679
[54357.400928] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54361.304314] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54365.207230] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54369.130211] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54373.053126] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54376.976351] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54376.977717] sd 6:0:0:2: [sdf] Unhandled sense code
[54376.977724] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54376.977733] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54376.977742] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54376.977751] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54376.977769] end_request: I/O error, dev sdf, sector 31293437
[54376.977778] Buffer I/O error on device sdf, logical block 3911679
[54380.905740] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54384.808997] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54388.712061] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54392.615060] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54396.538243] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54400.441276] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54400.442614] sd 6:0:0:2: [sdf] Unhandled sense code
[54400.442621] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54400.442631] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54400.442640] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54400.442649] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54400.442668] end_request: I/O error, dev sdf, sector 31293437
[54400.442678] Buffer I/O error on device sdf1, logical block 3910655
[54404.372934] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54408.296277] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54412.199083] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54416.102115] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54420.005185] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54423.927949] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54423.929399] sd 6:0:0:2: [sdf] Unhandled sense code
[54423.929405] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54423.929414] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54423.929424] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54423.929433] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54423.929452] end_request: I/O error, dev sdf, sector 31293437
[54423.929461] Buffer I/O error on device sdf1, logical block 3910655
[54427.859832] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54431.783167] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54435.686325] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54439.609223] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54443.512033] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54447.435230] xhci_hcd 0000:00:10.0: WARN: Stalled endpoint
[54447.436703] sd 6:0:0:2: [sdf] Unhandled sense code
[54447.436710] sd 6:0:0:2: [sdf]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[54447.436720] sd 6:0:0:2: [sdf]  Sense Key : Hardware Error [current] 
[54447.436729] sd 6:0:0:2: [sdf]  Add. Sense: No additional sense information
[54447.436738] sd 6:0:0:2: [sdf] CDB: Read(10): 28 00 01 dd 7f fd 00 00 01 00
[54447.436757] end_request: I/O error, dev sdf, sector 31293437
[54447.436767] Buffer I/O error on device sdf1, logical block 3910655

I don’t know if my PNY success is related to size (8GB vs 16GB) or to Brand, but I am suspicious of it being brand (and microcode differences).

What brand is your 32GB card?

If any of your friends have a different brand SDHC card (8/16/32 or whatever) it might be informative to try those to see if brand matters.
I did not have access to any other large cards to try, which is why I posted this.

I will also add this dmesg output to my Bug - perhaps this will be helpful to the developers.

You could also try a 12.1 Live CD, I suppose. It did not help me, but there are many brands of flash memory out there.
Good luck

BTW - Obviously your are into big files (or lots of them) on a 32GB card.
I see a significant improvement in transfer speed with my 8GB card in a new USB3 reader.
When buying a new PC, USB3 gets two thumbs up from me.

Hi
OK the module is keucr


/sbin/modinfo keucr

filename:       /lib/modules/3.0.13-0.27-default/kernel/drivers/staging/keucr/keucr.ko
license:        GPL
description:    ENE USB Mass Storage driver for Linux
author:         Domao
srcversion:     4A59A10F043D7D02C73AFFD
alias:          usb:v0CF2p6250d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0CF2p6230d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v058Fp6366d*dc*dsc*dp*ic*isc*ip*
depends:        scsi_mod,usbcore
supported:      no
staging:        Y
vermagic:       3.0.13-0.27-default SMP mod_unload modversions

I’m guessing it’s not there in the older kernel. can you check via;


uname -a
sbin/modinfo keucr


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 3 days 6:28, 2 users, load average: 0.00, 0.04, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

I’m guessing it’s not there in the older kernel. can you check via;


uname -a
sbin/modinfo keucr


linux-desktop:~ # uname -a
Linux linux-desktop 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux


linux-desktop:~ # modinfo keucr
filename:       /lib/modules/2.6.37.6-0.11-desktop/kernel/drivers/staging/keucr/keucr.ko
license:        GPL
description:    ENE USB Mass Storage driver for Linux
author:         Domao
srcversion:     7356357A3E7303E05930ABC
alias:          usb:v0CF2p6250d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0CF2p6230d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v058Fp6366d*dc*dsc*dp*ic*isc*ip*
depends:        
staging:        Y
vermagic:       2.6.37.6-0.11-desktop SMP preempt mod_unload modversions

Hi
And it’s not yet supported and is still in staging :frowning: Your PCI ID isn’t
in there, 6250, 6230 and 6366 are but not the 6220.

There is also this one in the later kernels ums-eneub6250, but looks
like it had it’s own issues Access Denied

So is this system a desktop or laptop?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 3 days 22:16, 2 users, load average: 0.04, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

I’ll add some additional observations to this on-going problem (for me, anyway).

The recent update of 12.1 to kernel 3.1.10-1.9 does not change the issue for me.

I tried an experiment with my 16GB Patriot LX SDHC card.
I mounted the device in the built-in memory reader of my DV7 laptop, which has always worked for me(and still does - this memory reader sits directly on the pci bus) and reformatted the SHDC card to Ext4.
I then tried the card in my desktop USB3 Memory Card reader and it mounted and can be read, written, etc.

So my issue, at least, is something in the USB - FAT 32 driver string.
I also noted that it took the device a while to mount on the desktop, with similar dmesg output to what I posted above, but it ultimately recovered(?) from whatever error it was seeing.