[aklug] Trying to recover data from a bad SD card

From: Damien Hull <damien@linuxninjas.tv>
Date: Wed Mar 04 2009 - 08:10:16 AKST

This may be hopeless but I thought I would ask anyway. I'm hoping someone on the list can point me in the right direction. Here's the story.

Micro SD card in my BlackBerry was working fine yesterday. Last night the BlackBerry tells me there's something wrong with the card. This morning I used a USB adapter to connect it to my laptop. The plan was to "dd" the bits off the card. No luck.

Here's what dmesg says.

[53769.148120] usb 7-4: new high speed USB device using ehci_hcd and address 7
[53769.292106] usb 7-4: configuration #1 chosen from 1 choice
[53769.317243] scsi25 : SCSI emulation for USB Mass Storage devices
[53769.327733] usb-storage: device found at 7
[53769.327745] usb-storage: waiting for device to settle before scanning
[53774.324746] usb-storage: device scan complete
[53774.325668] scsi 25:0:0:0: Direct-Access Generic STORAGE DEVICE 9407 PQ: 0 ANSI: 0
[53774.477508] sd 25:0:0:0: [sdb] 15954944 512-byte hardware sectors (8169 MB)
[53774.478649] sd 25:0:0:0: [sdb] Write Protect is off
[53774.478654] sd 25:0:0:0: [sdb] Mode Sense: 03 00 00 00
[53774.478657] sd 25:0:0:0: [sdb] Assuming drive cache: write through
[53774.481643] sd 25:0:0:0: [sdb] 15954944 512-byte hardware sectors (8169 MB)
[53774.482759] sd 25:0:0:0: [sdb] Write Protect is off
[53774.482765] sd 25:0:0:0: [sdb] Mode Sense: 03 00 00 00
[53774.482769] sd 25:0:0:0: [sdb] Assuming drive cache: write through
[53774.482779] sdb: sdb1
[53774.484365] sd 25:0:0:0: [sdb] Attached SCSI removable disk
[53774.484540] sd 25:0:0:0: Attached scsi generic sg2 type 0
[53778.934622] sd 25:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
[53778.934639] sd 25:0:0:0: [sdb] Device not ready: Add. Sense: Medium not present
[53778.934649] end_request: I/O error, dev sdb, sector 12496
[53778.934659] Buffer I/O error on device sdb1, logical block 538
[53778.934673] Buffer I/O error on device sdb1, logical block 539
[53778.934679] Buffer I/O error on device sdb1, logical block 540
[53778.934685] Buffer I/O error on device sdb1, logical block 541
[53778.934691] Buffer I/O error on device sdb1, logical block 542
[53778.934698] Buffer I/O error on device sdb1, logical block 543
[53778.934704] Buffer I/O error on device sdb1, logical block 544
[53778.934710] Buffer I/O error on device sdb1, logical block 545
[53778.938230] sd 25:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
[53778.938247] sd 25:0:0:0: [sdb] Device not ready: Add. Sense: Medium not present
[53778.938257] end_request: I/O error, dev sdb, sector 12496
[53778.938265] Buffer I/O error on device sdb1, logical block 538

Seems to me the block device sdb is created at some point. By the time I get to it with dd it's gone. Ether that or it was never created in the first place. All I know is that dmesg says "sdb" but dd can't access it.

Any suggestions? I just need the bits.

-- 
Damien Hull
Linux Ninja
Open Source Assassin
http://linuxninjas.tv
http://elite.linuxninjas.tv
http://www.digital-overload.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Mar 4 08:10:30 2009

This archive was generated by hypermail 2.1.8 : Wed Mar 04 2009 - 08:10:30 AKST