LinuxQuestions.org
Register a domain and help support LQ
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 06-11-2010, 07:22 PM   #1
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Rep: Reputation: 17
Unhappy Repair Corrupted microSD Card


So I dropped my blackberry today and the battery fell out, but it appeared to be generally unharmed. I turned it back on and it seemed to work, except for the fact that it said there was an error with the sd card, and that it needed to be inserted into a computer and fixed. So I put it into a windows machine and low and behold, windows acted like nothing was there. So then I tried with my linux machine. I inserted the card and nothing happened, no new device was added, and dmesg did not record anything. Literally nothing. Any idea what's going wrong? Is this card salvageable, is there something I can do? Help is appreciated. Thanks.
 
Old 06-11-2010, 07:49 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You'd normally expect to see something in the syslog (dmesg) when you insert the card. Check its contacts - but it seems likely that the accident may have jarred internal connections loose. Prognosis - the card is dead. Salvaging would involve physically opening the card up.
 
Old 06-12-2010, 06:24 AM   #3
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Original Poster
Rep: Reputation: 17
Wait, sorry. I tried again, and I got this as what dmesg recognized now:
Code:
sd 5:0:0:2: [sdd] 1 512-byte logical blocks: (512 B/512 B)
sd 5:0:0:2: [sdd] Write Protect is on
sd 5:0:0:2: [sdd] Mode Sense: 43 00 80 00
sd 5:0:0:2: [sdd] Assuming drive cache: write through
sd 5:0:0:2: [sdd] Assuming drive cache: write through
 sdd:
But when I try to mount it using
mount /dev/sdd /mnt/sdd
mount just stalls. Any ideas?
And if I try to get any information about partitions using fdisk -l it also stalls.
 
Old 06-12-2010, 06:32 AM   #4
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Original Poster
Rep: Reputation: 17
And after trying to mount and using fdisk -l I get this in dmesg:
Code:
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
Dev sdd: unable to read RDB block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
sd 5:0:0:2: [sdd] Unhandled error code
sd 5:0:0:2: [sdd] Result: hostbyte=0x00 driverbyte=0x00
sd 5:0:0:2: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sdd, sector 0
Buffer I/O error on device sdd, logical block 0
 unable to read partition table
 
Old 06-12-2010, 10:06 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
you can try to run testdisk or magic rescue on sdd.
http://sysblogd.wordpress.com/2008/0...-roms-or-dvds/
 
Old 06-14-2010, 12:18 PM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,299

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Allow me to repeat the obvious - it's dead :-(. Probably physical damage. Unless you are a very rich guy caught out very badly by this, replace it. This is much more final than a hard disk dying.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mint 8: regular user can't access ext3 partition on mounted microSD card joe.attaboy Linux - General 7 01-23-2011 11:37 PM
Ubuntu 9.x install corrupted NTFS partition; repair corrupted TrueCrypt partition halfer Linux - General 1 06-30-2009 02:59 PM
repair corrupted ext3 filesystem rvijay17 Linux - General 3 06-20-2009 11:35 AM
Corrupted bootloader - can't repair it. Adrian Baker Linux - General 8 04-26-2006 01:00 AM
corrupted reiserfs, can't repair antipop Linux - Newbie 8 05-04-2004 09:14 PM


All times are GMT -5. The time now is 01:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration