Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22084 - [kernel26] USB Card reader fails to mount sd card.

Attached to Project: Arch Linux
Opened by vikin (viksaus) - Monday, 13 December 2010, 15:00 GMT
Last edited by Allan McRae (Allan) - Friday, 15 April 2011, 05:01 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When the card is directly inserted into a SD card reader, the system crashes.

Additional info:

uname -a

Linux sire 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53 AuthenticAMD GNU/Linux

lspci -vvnn | grep Ricoh

01:04.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)
Subsystem: Acer Incorporated [ALI] Device [1025:0126]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 16
Region 0: Memory at f2300800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci

01:04.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)
Subsystem: Acer Incorporated [ALI] Device [1025:0126]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 11
Region 0: Memory at f2301000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-

01:04.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 12)
Subsystem: Acer Incorporated [ALI] Device [1025:0126]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 11
Region 0: Memory at f2301400 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-


This task depends upon

Closed by  Allan McRae (Allan)
Friday, 15 April 2011, 05:01 GMT
Reason for closing:  No response
Comment by Thomas Dziedzic (tomd123) - Monday, 13 December 2010, 15:24 GMT
if the system crashes, how do you get the output of lspci?
Comment by vikin (viksaus) - Monday, 13 December 2010, 16:30 GMT
the output of lspci is just to show information about my sd card reader
Comment by vikin (viksaus) - Monday, 13 December 2010, 17:01 GMT
Comment by Andrew Jacks (systemservers) - Monday, 27 December 2010, 19:21 GMT
I have several older cases with built in sd readers, so this is not new to me.
Is this an sdhc > 2gb card?
Is the sd reader sdhc compliant (firmware in reader, not the windows driver)?
The c/h/s of an sdhc reads incorrectly in a non-compliant reader, so partition cannot be mounted.
This is a feature to protect the data on the sdhc, not a bug. In applies to hotplug of ANY disk with bad c/h/s data.
Possible work-around:
Without hal, use fdisk (advanced features, dos compat off) or use "testdisk", to force c/h/s on an sdhc in an obsolete reader, to create a usable partition for THAT card in THAT reader. However, inserting it in a compliant SDHC reader (esp. under windows) it is virtually guarenteed to be "repaired" automatically into blankness and compliance to factory c/h/s.

Solution: buy a new sdhc reader.
Comment by Jelle van der Waa (jelly) - Thursday, 31 March 2011, 08:08 GMT
since you're using an old kernel does this still happen with .37?

Loading...