LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux Mint (http://www.linuxquestions.org/questions/forumdisplay.php?f=84)
-   -   Linux Mint 7 does not Recognize SDCard Drive (http://www.linuxquestions.org/questions/showthread.php?t=764589)

mejohnsn 10-26-2009 01:08 PM

Linux Mint 7 does not Recognize SDCard Drive
 
On my Acer Aspire One, I have no HDD, just two flash drives. The first showed up as a C: drive under windows, and is built-in. The second, D: under WinXP, is a slot for an SD card.

I got fed up with WinXP and replaced it with Linux Mint 7 less than a week ago. Only then did I notice that it is not mounting the SD card at all. Doing a little searching on the net, I found that a similar (if not identical) problem has been in the underlying Ubuntu for a while. I have been unable to verify whether or not it was fixed in the latest Ubuntu.

What I can do is post snippets from syslog and lspci, that give the reader some idea of what the problem is. Surely there is no point in listing the whole file in either case.

From dmesg | tail after inserting SD card:

[ 55.445866] [drm:i915_getparam] *ERROR* Unknown parameter 6
[ 109.207107] mmc0: error -84 whilst initialising SD card
[ 241.143117] mmc0: error -84 whilst initialising SD card
[ 308.083086] mmc0: error -84 whilst initialising SD card

And from lspci:

04:00.0 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
04:00.2 SDHost controller: JMicron Technologies, Inc. Standard SD Host Controller
04:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
04:00.4 System peripheral: JMicron Technologies, Inc. xD Host Controller

So what do I have to do to get it to recognize the SDcard reader as a D: drive? Or do I have to wait until Ubuntu fixes their code to access this particular model for the SD controller?

Oh, and just for good measure:

$ uname -r
2.6.28-11-generic

and:

lsb_release -rd
Description: Linux Mint 7 Gloria - Main Edition
Release: 7

pljvaldez 10-26-2009 01:44 PM

Can you also post the relevant output from lshw? You might need to install it from the repositories first.

Edit: also can you post the vendor ID and device ID? Should be something like [197b:2382] at the end of the above lines in lspci.

hurry_hui 10-26-2009 01:58 PM

Just to add pljvaldez post above,

To get the ouput of PCI ID (Vendor ID & Product ID) and additional info you run 'lspci -nv' or for very detailed ouput 'lspci -vvn'.

mejohnsn 10-26-2009 08:39 PM

Quote:

Originally Posted by hurry_hui (Post 3733210)
Just to add pljvaldez post above,

To get the ouput of PCI ID (Vendor ID & Product ID) and additional info you run 'lspci -nv' or for very detailed ouput 'lspci -vvn'.

I assume you meant for me to do this logged in as super user. I chose the -nv option, and got:

04:00.0 0880: 197b:2382
Subsystem: 1025:015b
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at 54100300 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 53100000 [disabled] [size=32K]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci

04:00.2 0805: 197b:2381 (prog-if 01)
Subsystem: 1025:015b
Flags: fast devsel, IRQ 19
Memory at 54100200 (32-bit, non-prefetchable) [size=256]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Kernel modules: sdhci-pci

04:00.3 0880: 197b:2383
Subsystem: 1025:015b
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 54100100 (32-bit, non-prefetchable) [size=256]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

04:00.4 0880: 197b:2384
Subsystem: 1025:015b
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 54100000 (32-bit, non-prefetchable) [size=256]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

mejohnsn 10-26-2009 08:47 PM

Quote:

Originally Posted by pljvaldez (Post 3733188)
Can you also post the relevant output from lshw? You might need to install it from the repositories first.

Edit: also can you post the vendor ID and device ID? Should be something like [197b:2382] at the end of the above lines in lspci.

I am not sure which lines you want me to look at the end of. I do realize that such numbers show up only if lspci is executed with "-nv" option (or more verbose), which I have attached to the reply to hurry_hui's post.

Here is the output from lshw:

mejohnsn-netbook
description: Computer
product: AOA110
vendor: Acer
version: 1
serial: LUS030B04384811B502536
width: 32 bits
capabilities: smbios-2.4 dmi-2.4
configuration: boot=normal uuid=008ABA69-BEDF-D411-A868-00238B441C3F
*-core
description: Motherboard
vendor: Acer
physical id: 0
version: Base Board Version
serial: Base Board Serial Number
slot: Base Board Chassis Location
*-firmware
description: BIOS
vendor: Acer
physical id: 0
version: v0.3305 (05/09/2008)
size: 1MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb
*-memory
description: System Memory
physical id: 14
slot: System board or motherboard
size: 1GiB
*-bank:0
description: DIMM Synchronous 533 MHz (1.9 ns)
product: 0x48594D503136345336344350362D59352020
vendor: 0xAD00000000000000
physical id: 0
serial: 0x00000000
slot: J2
size: 512MiB
width: 64 bits
clock: 533MHz (1.9ns)
*-bank:1
description: DIMM Synchronous 533 MHz (1.9 ns)
product: 0x4D342037305436343634515A332D43453620
vendor: 0xCE00000000000000
physical id: 1
serial: 0x76678988
slot: J6H2
size: 512MiB
width: 64 bits
clock: 533MHz (1.9ns)
*-cpu
description: CPU
product: Intel(R) Atom(TM) CPU N270 @ 1.60GHz
vendor: Intel Corp.
physical id: 1c
bus info: cpu@0
version: 6.12.2
serial: 0001-06C2-0000-0000-0000-0000
slot: CPU
size: 1600MHz
capacity: 1600MHz
width: 32 bits
clock: 533MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm lahf_lm nx cpufreq
configuration: id=1
*-cache:0
description: L2 cache
physical id: 1d
slot: Unknown
size: 512KiB
capacity: 512KiB
capabilities: synchronous internal write-back unified
*-cache:1
description: L1 cache
physical id: 1e
slot: Unknown
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-back instruction
*-logicalcpu:0
description: Logical CPU
physical id: 1.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 1.2
width: 32 bits
capabilities: logical
*-pci
description: Host bridge
product: Mobile 945GME Express Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 03
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel module=intel_agp
*-display:0 UNCLAIMED
description: VGA compatible controller
product: Mobile 945GME Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: msi pm bus_master cap_list
configuration: latency=0
*-display:1 UNCLAIMED
description: Display controller
product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel
*-pci:0
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm bus_master cap_list
configuration: driver=pcieport-driver
*-pci:1
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 02
serial: 00:23:8b:44:1c:3f
size: 10MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no module=r8169 multicast=yes port=MII speed=10MB/s
*-pci:2
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 3
vendor: Intel Corporation
physical id: 1c.2
bus info: pci@0000:00:1c.2
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wmaster0
version: 01
serial: 00:24:2b:0a:e6:91
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath5k_pci ip=192.168.2.4 latency=0 module=ath5k multicast=yes wireless=IEEE 802.11bg
*-pci:3
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm bus_master cap_list
configuration: driver=pcieport-driver
*-system:0
description: System peripheral
product: SD/MMC Host Controller
vendor: JMicron Technologies, Inc.
physical id: 0
bus info: pci@0000:04:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=sdhci-pci latency=0 module=sdhci_pci
*-system:1 UNCLAIMED
description: SD Host controller
product: Standard SD Host Controller
vendor: JMicron Technologies, Inc.
physical id: 0.2
bus info: pci@0000:04:00.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi cap_list
configuration: latency=0
*-system:2 UNCLAIMED
description: System peripheral
product: MS Host Controller
vendor: JMicron Technologies, Inc.
physical id: 0.3
bus info: pci@0000:04:00.3
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: latency=0
*-system:3 UNCLAIMED
description: System peripheral
product: xD Host Controller
vendor: JMicron Technologies, Inc.
physical id: 0.4
bus info: pci@0000:04:00.4
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: latency=0
*-usb:0
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:1
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@0000:00:1d.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:2
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@0000:00:1d.2
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:3
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #4
vendor: Intel Corporation
physical id: 1d.3
bus info: pci@0000:00:1d.3
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:4
description: USB Controller
product: 82801G (ICH7 Family) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 02
width: 32 bits
clock: 33MHz
capabilities: pm debug bus_master cap_list
configuration: driver=ehci_hcd latency=0 module=ehci_hcd
*-pci:4
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: e2
width: 32 bits
clock: 33MHz
capabilities: pci bus_master cap_list
*-isa
description: ISA bridge
product: 82801GBM (ICH7-M) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-ide
description: IDE interface
product: 82801GBM/GHM (ICH7 Family) SATA IDE Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi1
version: 02
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list emulated
configuration: driver=ata_piix latency=0
*-disk
description: ATA Disk
product: SSDPAMM0008G1
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: Ver2
serial: CVPA8311826WT
size: 7695MiB (8069MB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=aead4529
*-volume:0
description: EXT3 volume
vendor: Linux
physical id: 1
bus info: scsi@1:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: 27d4b1ef-0894-4b86-8af0-a202f2586d66
size: 7318MiB
capacity: 7318MiB
capabilities: primary bootable journaled extended_attributes large_files ext3 ext2 initialized
configuration: created=2000-12-31 14:07:33 filesystem=ext3 modified=2009-10-26 12:07:52 mount.fstype=ext3 mount.options=rw,relatime,errors=remount-ro,commit=600,data=ordered mounted=2009-10-26 09:28:36 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@1:0.0.0,2
logical name: /dev/sda2
size: 376MiB
capacity: 376MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 376MiB
capabilities: nofs
*-serial UNCLAIMED
description: SMBus
product: 82801G (ICH7 Family) SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 02
width: 32 bits
clock: 33MHz
configuration: latency=0
*-network DISABLED
description: Ethernet interface
physical id: 1
logical name: pan0
serial: ce:47:3f:4b:e1:c1
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

I hope this is more meaningful to you than to me;) And thanks for looking into this.

mejohnsn 10-30-2009 09:37 PM

Quote:

Originally Posted by mejohnsn (Post 3733144)
On my Acer Aspire One, I have no HDD, just two flash drives. The first showed up as a C: drive under windows, and is built-in. The second, D: under WinXP, is a slot for an SD card.

I got fed up with WinXP and replaced it with Linux Mint 7 less than a week ago. Only then did I notice that it is not mounting the SD card at all. Doing a little searching on the net, I found that a similar (if not identical) problem has been in the underlying Ubuntu for a while. I have been unable to verify whether or not it was fixed in the latest Ubuntu.

What I can do is post snippets from syslog and lspci, that give the reader some idea of what the problem is. Surely there is no point in listing the whole file in either case.

From dmesg | tail after inserting SD card:

[ 55.445866] [drm:i915_getparam] *ERROR* Unknown parameter 6
[ 109.207107] mmc0: error -84 whilst initialising SD card
[ 241.143117] mmc0: error -84 whilst initialising SD card
[ 308.083086] mmc0: error -84 whilst initialising SD card

And from lspci:

04:00.0 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
04:00.2 SDHost controller: JMicron Technologies, Inc. Standard SD Host Controller
04:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
04:00.4 System peripheral: JMicron Technologies, Inc. xD Host Controller

So what do I have to do to get it to recognize the SDcard reader as a D: drive? Or do I have to wait until Ubuntu fixes their code to access this particular model for the SD controller?

Oh, and just for good measure:

$ uname -r
2.6.28-11-generic

and:

lsb_release -rd
Description: Linux Mint 7 Gloria - Main Edition
Release: 7

Can anyone at least tell me what code is printing this "-84" or what the error code means?

murankar 10-30-2009 09:44 PM

if it anything like my sony vaio it's the digital right management built into the sd reader. Windows works fine linux in general not so much. Use an external card reader and it should work.

when you do an lspci and it shows up in the readout then it is recognized.
Hope that helps out.

mejohnsn 10-31-2009 02:55 AM

Quote:

Originally Posted by murankar (Post 3738693)
if it anything like my sony vaio it's the digital right management built into the sd reader. Windows works fine linux in general not so much. Use an external card reader and it should work.

when you do an lspci and it shows up in the readout then it is recognized.
Hope that helps out.

What model SD Controller is in your Sony Vaio? How do you know it has DRM built into it?

murankar 10-31-2009 07:33 AM

because it's sony(everything is propriatary, and they think everyone steels). In windows I need to install drivers for it to work right. Since sony does not deal with linux their are no drivers for it.

somewhere on this board i posted to a thread about which laptop would be good for linux. I posted that everything worked out of the box except the sd card slot. some responded with the same issue and informed that it is the drm that sony uses.

BTW just try to plug in a third party reader and see if it works. If it does work(external reader) then there is something acer did that prohibits you from using it (internal reader) under Linux (i.e. specialized drivers). set up a virtualbox ose windows install install all the drivers and pay attention to the drivers as you put them in. Once that is done see if you virtualbox ose windows will use the reader. You may have to add virtualbox ose to the group that handles the media reader. So don't be shocked if it does not work right away.


All times are GMT -5. The time now is 10:09 AM.