LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-04-2007, 01:05 PM   #1
Kenny5445
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
Micro SD Card, cant read at all


Hi, I've got a 1 GB Micro SD card that has been used in a R4 card in a ds.

It was removed whilst on and I think may be knackered.

I cant read the card at all and /var/log/messages shows the following (at bottom of post..

I've tried testdisc and parted but neither can read/write to the disc, testdisc can see the size of the disk.

Any ideas are welcome.

Thanks

Kenny


Nov 4 18:51:39 linuxbigbox kernel: end_request: I/O error, dev sdc, sector 0
Nov 4 18:51:39 linuxbigbox kernel: ldm_validate_partition_table(): Disk read failed.
Nov 4 18:51:39 linuxbigbox kernel: unable to read partition table
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] 2012160 512-byte hardware sectors (1030 MB)
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] Write Protect is off
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] Mode Sense: 03 00 00 00
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] 2012160 512-byte hardware sectors (1030 MB)
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] Write Protect is off
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] Mode Sense: 03 00 00 00
Nov 4 18:51:40 linuxbigbox kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through
Nov 4 18:51:41 linuxbigbox kernel: sdc:<6>sd 8:0:0:0: [sdc] Device not ready: <6>: Sense Key : Not Ready [current]
Nov 4 18:51:41 linuxbigbox kernel: : <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Nov 4 18:51:41 linuxbigbox kernel: end_request: I/O error, dev sdc, sector 0
Nov 4 18:51:41 linuxbigbox kernel: sd 8:0:0:0: [sdc] Device not ready: <6>: Sense Key : Not Ready [current]
Nov 4 18:51:41 linuxbigbox kernel: : <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Nov 4 18:51:41 linuxbigbox kernel: end_request: I/O error, dev sdc, sector 0
Nov 4 18:51:41 linuxbigbox kernel: end_request: I/O error, dev sdc, sector 0
Nov 4 18:51:41 linuxbigbox kernel: ldm_validate_partition_table(): Disk read failed.
Nov 4 18:51:41 linuxbigbox kernel: unable to read partition table
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] 2012160 512-byte hardware sectors (1030 MB)
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] Write Protect is off
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] Mode Sense: 03 00 00 00
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] 2012160 512-byte hardware sectors (1030 MB)
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] Write Protect is off
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] Mode Sense: 03 00 00 00
Nov 4 18:51:42 linuxbigbox kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through
Nov 4 18:51:43 linuxbigbox kernel: sdc:<6>sd 8:0:0:0: [sdc] Device not ready: <6>: Sense Key : Not Ready [current]
Nov 4 18:51:43 linuxbigbox kernel: : <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Nov 4 18:51:43 linuxbigbox kernel: end_request: I/O error, dev sdc, sector 0
Nov 4 18:51:43 linuxbigbox kernel: printk: 38 messages suppressed.
Nov 4 18:51:43 linuxbigbox kernel: Buffer I/O error on device sdc, logical block 0
Nov 4 18:51:43 linuxbigbox kernel: sd 8:0:0:0: [sdc] Device not ready: <6>: Sense Key : Not Ready [current]
Nov 4 18:51:43 linuxbigbox kernel: : <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Nov 4 18:51:43 linuxbigbox kernel: end_request: I/O error, dev sdc, sector 0
 
Old 11-04-2007, 01:44 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I don't know what thr R4 card is. What are you using to read it in Linux? Linux can see it and knows the capacity but can't read the partition table. If this is correct the card just needs to be reformatted. I say "if" because it's also possible that your cad reader could have problems.

Now, for formatting, the tools you tried were unsuccessful. Since Linux is able to assign the device to sdc you might try "zero"ing the card first, like this:
Code:
dd if=/dev/zero of=/dev/sdc
and wait for it to reach the end. With 1GB it'll take a few minutes. Then try your partitioning tool, I use cfdisk myself, then make the filesystem vfat.
 
Old 11-04-2007, 02:00 PM   #3
Kenny5445
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi, thanks for the quick reply. the dd dint work guess its knackerd not to worry they are about £8 online...

Thanks

Kenny

dd if=/dev/zero of=/dev/sdc
dd: writing to `/dev/sdc': Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 1.57025 s, 0.0 kB/s



Quote:
Originally Posted by dracolich View Post
I don't know what thr R4 card is. What are you using to read it in Linux? Linux can see it and knows the capacity but can't read the partition table. If this is correct the card just needs to be reformatted. I say "if" because it's also possible that your cad reader could have problems.

Now, for formatting, the tools you tried were unsuccessful. Since Linux is able to assign the device to sdc you might try "zero"ing the card first, like this:
Code:
dd if=/dev/zero of=/dev/sdc
and wait for it to reach the end. With 1GB it'll take a few minutes. Then try your partitioning tool, I use cfdisk myself, then make the filesystem vfat.
 
Old 11-04-2007, 02:29 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I had one that would not read and let it set for about a year. Gave it another try and it worked. try it in a Windows machine and see what it does.

Brian
 
Old 11-04-2007, 02:33 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Quote:
dd: writing to `/dev/sdc': Input/output error
Ouch! I guess it is knackered, as you put it. If you have access to a Windows machine you can try formatting it from there. That's worked for me more than once. If you have different card readers try one. I've also seen some digital cameras and pdas that will format the memory card. With a miniSD or SD adapter that might work. For only 8 I guess it doesn't hurt to buy a replacement, but I wouldn't discard the old one right away. You may get some more ideas later.
 
Old 11-04-2007, 02:43 PM   #6
Kenny5445
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi, windows machine cant read it either....


Quote:
Originally Posted by Brian1 View Post
I had one that would not read and let it set for about a year. Gave it another try and it worked. try it in a Windows machine and see what it does.

Brian
 
Old 11-04-2007, 03:39 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Sounds knackered all right. It might be under a warranty if not too old.

Brian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
People who call it M$ or Micro$oft or Micro$loth lowpro2k3 General 48 12-24-2007 12:19 AM
o2 micro SD card reader in suse 10.1 Fezar Linux - Hardware 0 11-01-2006 08:17 AM
How can I read from my multimedia card reader ceeleelewis Linux - Laptop and Netbook 5 08-29-2006 06:31 PM
LXer: Imation 4GB Micro Hard Drive: Still Micro on the Outside, More Giga on the Inside LXer Syndicated Linux News 0 12-28-2005 06:16 PM
Can't read SD card.. kponenation Slackware 8 05-30-2005 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration