Disappearing internal card reader - Ubuntu 9.10

Asked by jimf

Ubuntu 9.10 - Karmic Koala
jimf@mimir:~$ uname -a
Linux mimir 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux

This seems to be an ongoing problem from what I've been able to find, the more I find the more confused I get as to where the problems is, anyway...

I have an internal card reader, I boot up my machine and the card reader is visible under my computer as one would expect with all slots graphically listed, everything seems fine, I insert a card (SD/SDHC) the card gets mounted and the contents displayed. Copying of files starts fast and then slows to a crawl, when I 'safely remove' the card the card reader and slots disappear and I have to reboot in order to repeat the above process. Browsing the forums has revealed nothing that seems to solve my particular problem (or I'm doing something wrong) The following are the output of various commands that I've seen referenced in posts throughout the forums. Any help would be greatly appreciated.

jimf@mimir:~$ sudo rmmod ehci_hcd
ERROR: Module ehci_hcd does not exist in /proc/modules

jimf@mimir:~$ sudo modprobe ehci_hcd
FATAL: Module ehci_hcd not found.

jimf@mimir:~$ sudo rmmod ohci_hcd
ERROR: Module ohci_hcd does not exist in /proc/modules

jimf@mimir:~$ sudo modprobe ohci_hcd
FATAL: Module ohci_hcd not found.

jimf@mimir:~$ sudo lshw

    capabilities: smbios-2.4 dmi-2.4 vsyscall64 vsyscall32
    configuration: boot=normal chassis=desktop uuid=40EE5C99-E625-DC11-A195-001BFC70C8B2
  *-core
       description: Motherboard
       product: M2A-VM
       vendor: ASUSTeK Computer INC.
       physical id: 0
       version: 1.XX
       serial: 123456789000
     *-firmware
          description: BIOS
          vendor: Phoenix Technologies, LTD
          physical id: 0
          version: ASUS M2A-VM ACPI BIOS Revision 0804 (06/15/2007)
          size: 128KiB
          capacity: 960KiB
          capabilities: isa pci pnp apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot biosbootspecification
     *-cpu
          description: CPU
          product: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
          vendor: Advanced Micro Devices [AMD]
          physical id: 4
          bus info: cpu@0
          version: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
          slot: Socket AM2
          size: 1GHz
          capacity: 3800MHz
          width: 64 bits
          clock: 200MHz
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp x86-64 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy cpufreq
        *-cache:0
             description: L1 cache
             physical id: a
             slot: L1 Cache
             size: 128KiB
             capacity: 128KiB
             capabilities: synchronous internal write-back data
        *-cache:1
             description: L2 cache
             physical id: b
             slot: L2 Cache
             size: 512KiB
             capacity: 512KiB
             capabilities: synchronous internal write-back unified
     *-memory
          description: System Memory
          physical id: 2e
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM DDR2 800 MHz (1.2 ns)
             product: None
             vendor: None
             physical id: 0
             serial: None
             slot: A0
             size: 1GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
        *-bank:1
             description: DIMM DDR2 800 MHz (1.2 ns)
             product: None
             vendor: None
             physical id: 1
             serial: None
             slot: A1
             size: 1GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
        *-bank:2
             description: DIMM DDR2 800 MHz (1.2 ns)
             product: None
             vendor: None
             physical id: 2
             serial: None
             slot: A2
             size: 1GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
        *-bank:3
             description: DIMM DDR2 800 MHz (1.2 ns)
             product: None
             vendor: None
             physical id: 3
             serial: None
             slot: A3
             size: 1GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
     *-pci:0
          description: Host bridge
          product: RS690 Host Bridge
          vendor: ATI Technologies Inc
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 66MHz
          configuration: latency=64
        *-pci:0
             description: PCI bridge
             product: RS690 PCI to PCI Bridge (Internal gfx)
             vendor: ATI Technologies Inc
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci ht bus_master cap_list
             resources: ioport:d000(size=4096) memory:fda00000-fdbfffff ioport:f0000000(size=134217728)
           *-display UNCLAIMED
                description: VGA compatible controller
                product: RS690 [Radeon X1200 Series]
                vendor: ATI Technologies Inc
                physical id: 5
                bus info: pci@0000:01:05.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi bus_master cap_list
                configuration: latency=64
                resources: memory:f0000000-f7ffffff(prefetchable) memory:fdbf0000-fdbfffff ioport:de00(size=256) memory:fda00000-fdafffff
        *-pci:1
             description: PCI bridge
             product: RS690 PCI to PCI Bridge (PCI Express Port 3)
             vendor: ATI Technologies Inc
             physical id: 7
             bus info: pci@0000:00:07.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht bus_master cap_list
             configuration: driver=pcieport-driver
             resources: irq:24 ioport:e000(size=4096) memory:fdf00000-fdffffff ioport:fdc00000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8111/8168B PCI Express Gigabit Ethernet controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: eth0
                version: 01
                serial: 00:1b:fc:70:c8:b2
                size: 100MB/s
                capacity: 1GB/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.2.100 latency=0 link=yes multicast=yes port=MII speed=100MB/s
                resources: irq:25 ioport:ee00(size=256) memory:fdfff000-fdffffff memory:fdc00000-fdc1ffff(prefetchable)
        *-storage
             description: SATA controller
             product: SB600 Non-Raid-5 SATA
             vendor: ATI Technologies Inc
             physical id: 12
             bus info: pci@0000:00:12.0
             logical name: scsi0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: storage pm bus_master cap_list emulated
             configuration: driver=ahci latency=64
             resources: irq:22 ioport:ff00(size=8) ioport:fe00(size=4) ioport:fd00(size=8) ioport:fc00(size=4) ioport:fb00(size=16) memory:fe02f000-fe02f3ff
           *-disk
                description: ATA Disk
                product: MAXTOR STM380211
                vendor: Maxtor
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: 3.AA
                serial: 6PS2MRDQ
                size: 74GiB (80GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=9105c083
              *-volume:0
                   description: EXT4 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   logical name: /
                   version: 1.0
                   serial: 68e5373e-1487-42a3-bbeb-ac782a37b6f9
                   size: 71GiB
                   capacity: 71GiB
                   capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
                   configuration: created=2010-02-17 17:15:16 filesystem=ext4 lastmountpoint=/h�O���w��8�O����������@B/����3$��������0qu� modified=2010-02-25 18:23:06 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,barrier=1,data=ordered mounted=2010-03-01 10:42:10 state=mounted
              *-volume:1
                   description: Extended partition
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   logical name: /dev/sda2
                   size: 3153MiB
                   capacity: 3153MiB
                   capabilities: primary extended partitioned partitioned:extended
                 *-logicalvolume
                      description: Linux swap / Solaris partition
                      physical id: 5
                      logical name: /dev/sda5
                      capacity: 3153MiB
                      capabilities: nofs
        *-usb:0
             description: USB Controller
             product: SB600 USB (OHCI0)
             vendor: ATI Technologies Inc
             physical id: 13
             bus info: pci@0000:00:13.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:16 memory:fe02e000-fe02efff
        *-usb:1
             description: USB Controller
             product: SB600 USB (OHCI1)
             vendor: ATI Technologies Inc
             physical id: 13.1
             bus info: pci@0000:00:13.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:17 memory:fe02d000-fe02dfff
        *-usb:2
             description: USB Controller
             product: SB600 USB (OHCI2)
             vendor: ATI Technologies Inc
             physical id: 13.2
             bus info: pci@0000:00:13.2
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:fe02c000-fe02cfff
        *-usb:3
             description: USB Controller
             product: SB600 USB (OHCI3)
             vendor: ATI Technologies Inc
             physical id: 13.3
             bus info: pci@0000:00:13.3
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:17 memory:fe02b000-fe02bfff
        *-usb:4
             description: USB Controller
             product: SB600 USB (OHCI4)
             vendor: ATI Technologies Inc
             physical id: 13.4
             bus info: pci@0000:00:13.4
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:fe02a000-fe02afff
        *-usb:5
             description: USB Controller
             product: SB600 USB Controller (EHCI)
             vendor: ATI Technologies Inc
             physical id: 13.5
             bus info: pci@0000:00:13.5
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pm debug bus_master cap_list
             configuration: driver=ehci_hcd latency=64
             resources: irq:19 memory:fe029000-fe0290ff
        *-serial
             description: SMBus
             product: SBx00 SMBus Controller
             vendor: ATI Technologies Inc
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 14
             width: 32 bits
             clock: 66MHz
             capabilities: ht cap_list
             configuration: driver=piix4_smbus latency=0
             resources: irq:0 ioport:b00(size=16)
        *-ide
             description: IDE interface
             product: SB600 IDE
             vendor: ATI Technologies Inc
             physical id: 14.1
             bus info: pci@0000:00:14.1
             logical name: scsi4
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ide bus_master emulated
             configuration: driver=pata_atiixp latency=64
             resources: irq:16 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f900(size=16)
           *-cdrom
                description: DVD-RAM writer
                product: DVD A DH20A4P
                vendor: ATAPI
                physical id: 0.0.0
                bus info: scsi@4:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: 9P53
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=nodisc
           *-disk
                description: ATA Disk
                product: SAMSUNG HD400LD
                physical id: 0.1.0
                bus info: scsi@4:0.1.0
                logical name: /dev/sdb
                version: WQ10
                serial: S0AXJ1LLB17835
                size: 372GiB (400GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=499eb0a1
              *-volume:0
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@4:0.1.0,1
                   logical name: /dev/sdb1
                   logical name: /home
                   version: 1.0
                   serial: 860eff9b-32ae-4815-b461-3eb27b515c1e
                   size: 187GiB
                   capacity: 187GiB
                   capabilities: primary journaled extended_attributes large_files recover ext3 ext2 initialized
                   configuration: created=2010-02-22 14:23:34 filesystem=ext3 label=Home_Data modified=2010-03-01 13:25:37 mount.fstype=ext3 mount.options=rw,relatime,errors=continue,data=writeback mounted=2010-03-01 13:25:37 state=mounted
              *-volume:1
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 2
                   bus info: scsi@4:0.1.0,2
                   logical name: /dev/sdb2
                   version: 1.0
                   serial: 066110fc-769c-40a2-bb17-92f7bd5070c9
                   size: 184GiB
                   capacity: 184GiB
                   capabilities: primary journaled extended_attributes large_files ext3 ext2 initialized
                   configuration: created=2010-02-22 14:56:13 filesystem=ext3 label=Internal Drive modified=2010-03-01 10:28:41 mounted=2010-03-01 10:24:04 state=clean
        *-multimedia
             description: Audio device
             product: SBx00 Azalia (Intel HDA)
             vendor: ATI Technologies Inc
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=HDA Intel latency=64
             resources: irq:16 memory:fe020000-fe023fff
        *-isa
             description: ISA bridge
             product: SB600 PCI to LPC Bridge
             vendor: ATI Technologies Inc
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-pci:2
             description: PCI bridge
             product: SBx00 PCI to PCI Bridge
             vendor: ATI Technologies Inc
             physical id: 14.4
             bus info: pci@0000:00:14.4
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci bus_master vga_palette
             resources: ioport:c000(size=4096) memory:fde00000-fdefffff memory:fdd00000-fddfffff(prefetchable)
     *-pci:1
          description: Host bridge
          product: K8 [Athlon64/Opteron] HyperTransport Technology Configuration
          vendor: Advanced Micro Devices [AMD]
          physical id: 101
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: K8 [Athlon64/Opteron] Address Map
          vendor: Advanced Micro Devices [AMD]
          physical id: 102
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: K8 [Athlon64/Opteron] DRAM Controller
          vendor: Advanced Micro Devices [AMD]
          physical id: 103
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: K8 [Athlon64/Opteron] Miscellaneous Control
          vendor: Advanced Micro Devices [AMD]
          physical id: 104
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k8temp
          resources: irq:0
     *-scsi:0
          physical id: 1
          bus info: usb@1:9
          logical name: scsi6
          capabilities: emulated scsi-host
          configuration: driver=usb-storage
        *-disk:0
             description: SCSI Disk
             physical id: 0.0.0
             bus info: scsi@6:0.0.0
             logical name: /dev/sdc
             size: 3781MiB (3965MB)
             capabilities: partitioned partitioned:dos
           *-volume
                description: Windows FAT volume
                physical id: 1
                bus info: scsi@6:0.0.0,1
                logical name: /dev/sdc1
                logical name: /media/3961-3333
                version: FAT32
                serial: 3961-3333
                size: 3770MiB
                capacity: 3777MiB
                capabilities: primary fat initialized
                configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush,errors=remount-ro state=mounted
        *-disk:1
             description: SCSI Disk
             physical id: 0.0.1
             bus info: scsi@6:0.0.1
             logical name: /dev/sdd
        *-disk:2
             description: SCSI Disk
             physical id: 0.0.2
             bus info: scsi@6:0.0.2
             logical name: /dev/sde
        *-disk:3
             description: SCSI Disk
             physical id: 0.0.3
             bus info: scsi@6:0.0.3
             logical name: /dev/sdf
     *-scsi:1
          physical id: 2
          bus info: usb@1:1
          logical name: scsi7
          capabilities: emulated scsi-host
          configuration: driver=usb-storage
        *-disk
             description: SCSI Disk
             physical id: 0.0.0
             bus info: scsi@7:0.0.0
             logical name: /dev/sdg
             size: 279GiB (300GB)
             capabilities: partitioned partitioned:dos
             configuration: signature=9ba49ba4
           *-volume:0
                description: EXT3 volume
                vendor: Linux
                physical id: 1
                bus info: scsi@7:0.0.0,1
                logical name: /dev/sdg1
                logical name: /media/EXT USB 1
                version: 1.0
                serial: b71d487d-9643-49dc-82c8-178de340afad
                size: 192GiB
                capacity: 192GiB
                capabilities: primary journaled large_files recover ext3 ext2 initialized
                configuration: created=2006-12-07 21:00:01 filesystem=ext3 label=EXT USB 1 modified=2010-03-01 13:26:07 mount.fstype=ext3 mount.options=rw,nosuid,nodev,relatime,errors=continue,data=writeback mounted=2010-03-01 13:26:07 state=mounted
           *-volume:1
                description: Windows FAT volume
                vendor: mkdosfs
                physical id: 2
                bus info: scsi@7:0.0.0,2
                logical name: /dev/sdg2
                logical name: /media/EXT USB 2
                version: FAT32
                serial: 1b33-fead
                size: 86GiB
                capacity: 86GiB
                capabilities: primary fat initialized
                configuration: FATs=2 filesystem=fat label=EXT USB 2 mount.fstype=vfat mount.options=rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush,errors=remount-ro state=mounted

Thanks,

jimf

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

You mean that if you insert a SD card, you see any icon on Desktop ?

Revision history for this message
jimf (jimf) said :
#2

Thanks for answering delance,
yes I get an icon on the desktop as well as the mounted card in 'Places > Computer'

Revision history for this message
delance (olivier-delance) said :
#3

Sorry, I don't understand very well.
I read again the message.

When I boot my computer, I have in "Working Post" (it's translation from french) the 4 icons for all slots in my USB card reader.
And no icon on my desktop.
If I put a SD card on my computer, I get an icon.
I can copy file to this.
When I Remove Safely the SD card.
After, the icon disappear.....And all slots in my USB card reader in "Working Post"!

You are not alone. (And I understand better after having reproduce the problem...)

I will try to investigate...

delance@delance-desktop:~$ 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

The card reader has disappeared of USB devices list.

If I connect printer, it is displayed.

delance@delance-desktop:~$ lsusb
Bus 001 Device 003: ID 03f0:2504 Hewlett-Packard
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

I post the message to be able to reboot.

Revision history for this message
delance (olivier-delance) said :
#4

After reboot:
delance@delance-desktop:~$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader <<<<<<<<<<<<<<<
Bus 001 Device 002: ID 03f0:2504 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bug known by RedHat!
https://bugzilla.redhat.com/show_bug.cgi?id=554143

Unmount and Eject are OK, I can plug and see SD card. Remove Safely is a problem.

Can you use lsusb, to check if you have a "Realtek Semiconductor Corp. Card Reader" ?

Revision history for this message
delance (olivier-delance) said :
#5

I think I have the explanation.

When we do a "Remove Safely", the kernel doesn't remove the SD card, but the Card reader!
And you can't plug and unplug the card reader.

I advise you to use Eject, which will also synchronize the SD Card. It will mimic the behavior of a USB CD-RW.
If you have a single partition on SD Card, you can also unmount it, but Eject seems safer.

I am allways interested to know if you have a "Realtek Semiconductor Corp. Card Reader".
On a french forum, their implementation of USB protocol is suspected to be wrong.

Revision history for this message
jimf (jimf) said :
#6

Excellent, well done! And thanks.

I can confirm the findings by delance in 1) and 2)

1) When we do a "Remove Safely", the kernel doesn't remove the SD card, but the Card reader!
And you can't plug and unplug the card reader.

2) I advise you to use Eject, which will also synchronize the SD Card. It will mimic the behavior of a USB CD-RW.
If you have a single partition on SD Card, you can also unmount it, but Eject seems safer.

It's not listed as a Realtek though...

jimf@mimir:~$ lsusb
Bus 006 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 001 Device 002: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

thanks again,
jimf

Can you help with this problem?

Provide an answer of your own, or ask jimf for more information if necessary.

To post a message you must log in.