SD-CARD (USB) not mounted Suse 11.2

Hi, since upgrade from SUSE11.1 I have been having problems with
SD-Card Not Mounting.

I have an internal card reader on the USB bus

From lsusb: Bus 001 Device 027: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device

I upgraded to SuSE 11.2 in the hope that this would fix it but it was the same.

I have noticed that if I physically disconnect the card reader and reconnect it, then the card works perfectly once. If I then remove it without dismounting it the system seems to detect its removal but the light on the card reader stays on.

The Umount/eject button does not appear in the devices pop-up until I have used the pop-up to open the card in a program.
If I then close the program and use the eject button to umount the card it all works fine.

I therefore assume that there is a problem with the automatic unmount or in detecting stale mounts when trying to remount the card.

could it be that this is related to the post sd card on pci not recognised - openSUSE Forums

I expect that there must be logs somewhere but I have not found them in /var/log/

Any thoughts comments would be welcome.

THanks

we have 11.2 (gnome) running on a new box; and I got them to put a card reader in; it works fine; plugged in a 1G SD card just now; (from a camera): asks me if I want to open F-spot;imports the photos etc

are you using kde?

Since upgrading to the new kernel (Linux 2.6.31.8-0.1-desktop i686) I have started to get the same problem. Also all the files on the card appear as locked, although they are not.

I have the same problem with a Dell 1501. I upgraded from opensuse 10.3 where the internal SD/mmc card reader (a Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)) was working properly.

The card is not detected and even dmesg does not show any message when a card is inserted.

Trying to remove and load again the related kernel modules (sdhci, sdhci_pci, ricoh_mmc) what I get is:

926.890096] sdhci: Secure Digital Host Controller Interface driver
926.890114] sdhci: Copyright(c) Pierre Ossman
949.405613] sdhci-pci 0000:08:01.0: SDHCI controller found [1180:0822] (rev 19)
949.405613] sdhci-pci 0000:08:01.0: using bridge 0000:00:14.4 INT C to get IRQ 16
949.405613] sdhci-pci 0000:08:01.0: PCI->APIC IRQ transform: INT C -> IRQ 16
949.408049] Registered led device: mmc0::
949.409023] mmc0: SDHCI controller on PCI [0000:08:01.0] using PIO
989.305166] ricoh-mmc: Ricoh MMC Controller disabling driver
989.305185] ricoh-mmc: Copyright(c) Philip Langdale
989.305341] ricoh-mmc: Ricoh MMC controller found at 0000:08:01.1 [1180:0843] (rev 1)
989.305341] ricoh-mmc: Main Ricoh function not found. Cannot disable controller.

Additionally, it looks like it is a time-out problem:


mmc0: Timeout waiting for hardware interrupt.                                                                                                             
sdhci: ============== REGISTER DUMP ==============                                                                                                        
sdhci: Sys addr: 0x00000000 | Version:  0x00000200                                                                                                        
sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000                                                                                                        
sdhci: Argument: 0x00000000 | Trn mode: 0x00000000                                                                                                        
sdhci: Present:  0x01ff0000 | Host ctl: 0x00000000                                                                                                        
sdhci: Power:    0x0000000f | Blk gap:  0x00000000                                                                                                        
sdhci: Wake-up:  0x00000000 | Clock:    0x00004007                                                                                                        
sdhci: Timeout:  0x0000000e | Int stat: 0x00018001                                                                                                        
sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3                                                                                                        
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001                                                                                                        
sdhci: Caps:     0x018021a1 | Max curr: 0x00000040

Any ideas?

Well… right after posting I got the notification of the insertion, but still it doesn’t work.

 2072.873090] sdhci: Secure Digital Host Controller Interface driver                                                                                                    
 2072.873106] sdhci: Copyright(c) Pierre Ossman                                                                                                                         
 2077.066117] sdhci-pci 0000:08:01.0: SDHCI controller found [1180:0822] (rev 19)                                                                                       
 2077.066117] sdhci-pci 0000:08:01.0: using bridge 0000:00:14.4 INT C to get IRQ 16                                                                                     
 2077.066117] sdhci-pci 0000:08:01.0: PCI->APIC IRQ transform: INT C -> IRQ 16                                                                                          
 2077.068796] Registered led device: mmc0::                                                                                                                             
 2077.070039] mmc0: SDHCI controller on PCI [0000:08:01.0] using PIO                                                                                                    
 2112.939313] ricoh-mmc: Ricoh MMC Controller disabling driver                                                                                                          
 2112.939330] ricoh-mmc: Copyright(c) Philip Langdale                                                                                                                   
 2112.939377] ricoh-mmc: Ricoh MMC controller found at 0000:08:01.1 [1180:0843] (rev 1)                                                                                 
 2112.939377] ricoh-mmc: Main Ricoh function not found. Cannot disable controller.                                                                                      
 2756.481049] mmc0: new SDHC card at address 19c6                                                                                                                       
 2756.606277] mmcblk0: mmc0:19c6 SD04G 3.69 GiB                                                                                                                         
 2756.607030]  mmcblk0: p1                                                                                                                                              
 2758.142849] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.                                                                  
 2793.593022] mmc0: Timeout waiting for hardware interrupt.                                                                                                             
 2793.593038] sdhci: ============== REGISTER DUMP ==============                                                                                                        
 2793.593045] sdhci: Sys addr: 0x00000000 | Version:  0x00000200                                                                                                        
 2793.593052] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000001                                                                                                        
 2793.593058] sdhci: Argument: 0x00002000 | Trn mode: 0x00000012                                                                                                        
 2793.593063] sdhci: Present:  0x01ff0a02 | Host ctl: 0x00000002                                                                                                        
 2793.593069] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
 2793.593075] sdhci: Wake-up:  0x00000000 | Clock:    0x00000107
 2793.593081] sdhci: Timeout:  0x00000009 | Int stat: 0x00000021
 2793.593087] sdhci: Int enab: 0x00ff00f3 | Sig enab: 0x00ff00f3
 2793.593092] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
 2793.593098] sdhci: Caps:     0x018021a1 | Max curr: 0x00000040
 2793.593100] sdhci: ===========================================
 2803.595025] mmc0: Timeout waiting for hardware interrupt.
 2803.595044] sdhci: ============== REGISTER DUMP ==============
 2803.595051] sdhci: Sys addr: 0x00000000 | Version:  0x00000200
 2803.595057] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000001
 2803.595063] sdhci: Argument: 0x19c60000 | Trn mode: 0x00000012
 2803.595069] sdhci: Present:  0x01ff0000 | Host ctl: 0x00000002
 2803.595074] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
 2803.595080] sdhci: Wake-up:  0x00000000 | Clock:    0x00000107
 2803.595086] sdhci: Timeout:  0x00000009 | Int stat: 0x00000001
 2803.595092] sdhci: Int enab: 0x00ff00f3 | Sig enab: 0x00ff00f3
 2803.595097] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
 2803.595103] sdhci: Caps:     0x018021a1 | Max curr: 0x00000040
 2803.595105] sdhci: ===========================================
 2803.597145] mmcblk0: error -110 sending status comand
 2803.597153] mmcblk0: error -110 transferring data, sector 8192, nr 1, card status 0x0
 2803.597167] end_request: I/O error, dev mmcblk0, sector 8192
 2803.597197] FAT: unable to read boot sector

Of course the card is ok, in windows on the same laptop it works perfectly.

Probably the issue is linked to the message:

hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

Again, anybody has a clue?

I found the issue. It is here:

https://bugzilla.novell.com/show_bug.cgi?id=328087

But still no solution…:’(

reading the bugzilla thread I found:

Looks as if there was a BIOS (ACPI?) bug

This rang a bell…
In order to complete the installation I had to add the “acpi=off” to kernel options.
Without this option the laptop crashed at the startup of the x server.

Reading in this forum I found that this problem may be probably solved running the Sax tool. Indeed I managed to configure the x server while acpi was off, I can now start with the acpi on.

EUREKA, now the SD card recognition works perfectly.:slight_smile: