SD Memory card 2GB not recognized

Asked by Yvan Chartrand on 2006-12-05

Until now, any SD memory cards 64MB, 128 MB or 256 MB that I have used have been detected and worked fine in Edgy but after purchasing a 2GB SD memory card and inserting it nothing happens. It does not show up in Storage Media at all. I have tested the card itself on the same computer using Windows (dual boot system) and the memory card and hardware worked fine.

Is this a bug or do I need to change some system settings?

Thanks.
Yvan

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2006-12-09
Last reply:
2006-12-26

What is the make and model of SD card reader? Is it built into the computer or is it an external USB type device?

To find out some more details could you please paste the results from the following command via Applications --> Accessories --> Terminal:-

lspci

Also if you could do this procedure for one card that works and one that doesn't it would help:-

dmesg | tail

Then insert a card, then repeat the command again. Note (copy/paste) the new lines that have appeared. It should mention your card reader and the card details. Do the one that works, then repeat the procedure for the card that doesn't.

Bulwinkle (benjamin-moore-sug) said : #2

My reader detects the card correctly:
tifm_7xx1: xd card detected in socket 2

Looks like it is due to the block size of the card (2GB):
mmcblk2: unable to set block size to 1024: 4
mmcblk: probe of mmc3:1234 failed with error -22

A good one looks like this (16MB):
mmcblk4: mmc3:a95 SD016 14400KiB
mmcblk4: p1
Does this help?

Bulwinkle (benjamin-moore-sug) said : #3

http://marc.theaimsgroup.com/?l=linux-kernel&m=114980773206129&w=2

Looks like this is inherent to the mmc_block driver.

Alan,

Here is the result of the procedure lspci without a SD card inserted in the internal SD card reader of my Toshiba dynabook

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)
01:0b.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.1 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
01:0b.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller

Here is the result of the procedure lspci with a 250 mb SD card inserted in the internal SD card reader of my Toshiba dynabook

The device is loaded in /dev/mmcdlkop1

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)
01:0b.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.1 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
01:0b.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller

Here is the result of the procedure lspci with the 2gb SD card inserted in the internal SD card reader of my Toshiba dynabook

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)
01:0b.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.1 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
01:0b.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller

Now, I borrowed an external usb card reader and inserted the 2gb card and it was recognized in
/dev/sdc1

here is the result of the Ispci procedure

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)
01:0b.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.1 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:0b.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
01:0b.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller

As you requested here is the result for the dmesg | tail procedure.

Here is the result of the procedure dmesg | tail without a SD card inserted in the internal SD card reader of my Toshiba dynabook

17185815.716000] Buffer I/O error on device mmcblk0p1, logical block 128
[17185815.716000] lost page write due to I/O error on mmcblk0p1
[17185815.720000] mmcblk0: error 1 sending read/write command
[17185815.720000] end_request: I/O error, dev mmcblk0, sector 230
[17185815.720000] Buffer I/O error on device mmcblk0p1, logical block 129
[17185815.720000] lost page write due to I/O error on mmcblk0p1
[17185815.720000] mmcblk0: error 1 sending read/write command
[17185815.720000] end_request: I/O error, dev mmcblk0, sector 231
[17185815.720000] Buffer I/O error on device mmcblk0p1, logical block 130
[17185815.720000] lost page write due to I/O error on mmcblk0p1

Here is the result of the procedure ldmesg | tail with a 250 mb SD card inserted in the internal SD card reader of my Toshiba dynabook

[17185815.720000] end_request: I/O error, dev mmcblk0, sector 230
[17185815.720000] Buffer I/O error on device mmcblk0p1, logical block 129
[17185815.720000] lost page write due to I/O error on mmcblk0p1
[17185815.720000] mmcblk0: error 1 sending read/write command
[17185815.720000] end_request: I/O error, dev mmcblk0, sector 231
[17185815.720000] Buffer I/O error on device mmcblk0p1, logical block 130
[17185815.720000] lost page write due to I/O error on mmcblk0p1
[17186073.844000] mmcblk0: mmc2:0001 SD256 248832KiB
[17186073.844000] mmcblk0: p1
[17186074.420000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

Here is the result of the procedure ldmesg | tail with the 2gb SD card inserted in the internal SD card reader of my Toshiba dynabook

[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)
[17186175.976000] generic_make_request: Trying to access nonexistent block-device mmcblk0 (0)

external usb card reader with the 2gb sd card

[17186247.656000] SCSI device sdc: 3978240 512-byte hdwr sectors (2037 MB)
[17186247.656000] sdc: Write Protect is off
[17186247.656000] sdc: Mode Sense: 4b 00 00 08
[17186247.656000] sdc: assuming drive cache: write through
[17186247.656000] sdc: sdc1
[17186247.660000] sd 2:0:0:2: Attached scsi removable disk sdc
[17186247.660000] sd 2:0:0:2: Attached scsi generic sg2 type 0
[17186247.664000] sd 2:0:0:3: Attached scsi removable disk sdd
[17186247.664000] sd 2:0:0:3: Attached scsi generic sg3 type 0
[17186248.436000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

Hope this info help, at least I can use the 2gb sd card in the external card reader but it would be nice to use it in my laptop integrated sd card reader.

thanks for you help

Yvan chartrand

On Wednesday 06 December 2006 21:14, you wrote:
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Alan
> Pope
> Sent: Wednesday, December 06, 2006 7:34 PM
> To: <email address hidden>
> Subject: [Support #2700]: Re: SD Memory card 2GB not recognized
>
> Your support request #2700 on Ubuntu changed:
> https://launchpad.net/distros/ubuntu/+ticket/2700
>
> Status: Open => Needs information
>
> Alan Pope requested for more information:
> What is the make and model of SD card reader? Is it built into the computer
> or is it an external USB type device?
>
> To find out some more details could you please paste the results from the
> following command via Applications --> Accessories --> Terminal:-
>
> lspci
>
> Also if you could do this procedure for one card that works and one that
> doesn't it would help:-
>
> dmesg | tail
>
> Then insert a card, then repeat the command again. Note (copy/paste) the new
> lines that have appeared. It should mention your card reader and the card
> details. Do the one that works, then repeat the procedure for the card that
> doesn't.
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to this
> email or enter your reply at the following page:
> https://launchpad.net/distros/ubuntu/+ticket/2700
>
>
>
>

Justin Sunseri (jmsunseri) said : #5

I just got a 2 gig SanDisk SD card and it crashes my edgy system.

This seems to be a mix of bugs and requests. Please make bug reports where you believe Ubuntu is failing to do something it should do. If you then want help getting around the problem, make a support request. Developers, the people who fix bugs, do not read support requests.

Can you help with this problem?

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

To post a message you must log in.