Trying to rescue data from a bad SD card

jivefunk chris at jandaltech.com
Mon Jun 29 07:23:41 UTC 2009


Hi,

Running Arch Linux on an eee pc 701. 

uname -a = Linux beeearch 2.6.30eee #1 PREEMPT Wed Jun 24 14:39:47 NZST 2009
i686 Intel(R) Celeron(R) M processor 900MHz GenuineIntel GNU/Linux, kernel
recompiled to enable support for wine.

I'm getting the same thing with a USB drive (, except the Buffer I/O error
does not occur every time. It threw an error -110, but I don't still have
the message (several reboots and an automated browser history clear ago) add
it's not happening any more.

The drive is a 2GB generic stick, lsusb shows as Bus 001 Device 005: ID
1307:0163 Transcend Information, Inc. 512MB/1GB Flash Drive. It is (or was)
one large primary partition, formatted FAT32.

Now all I have in my /var/log/messages is 

Jun 29 19:09:32 beeearch kernel: usb 1-3: new high speed USB device using
ehci_hcd and address 5
Jun 29 19:09:32 beeearch kernel: usb 1-3: configuration #1 chosen from 1
choice
Jun 29 19:09:32 beeearch kernel: scsi4 : SCSI emulation for USB Mass Storage
devices
Jun 29 19:09:37 beeearch kernel: scsi 4:0:0:0: Direct-Access     USBest  
USB2FlashStorage 0.00 PQ: 0 ANSI: 2
Jun 29 19:09:37 beeearch kernel: sd 4:0:0:0: Attached scsi generic sg2 type
0
Jun 29 19:09:37 beeearch kernel: sd 4:0:0:0: [sdc] Attached SCSI removable
disk

Listing devices in parted doesn't show my drive.

$ sudo fdisk /dev/sdc
Unable to open /dev/sdc

The drive also doesn't mount...
$ sudo mount -t vfat /dev/sdc tmp/
mount: no medium found on /dev/sdc

...or scan
$ fsck.vfat /dev/sdc
dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN
open /dev/sdc:No medium found

Just about to give up, but the information on this is pretty important and
I'm clutching at straws.

If anyone can spread some light on this or suggest anything else I'd be
really grateful, and if you've stumbled on this with the same problem,
believe me, I feel your pain.

Chris


Thorny-2 wrote:
> 
> On Wed, 04 Mar 2009 08:44:36 -0900, Damien Hull wrote:
> 
>>[...]
>> [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
>> 
> 
> This looks very much like a hint to me. Did you by chance run a file
> system check on the unmounted device? Don't know if that would help or not
> but might be worth trying. 
> 
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Trying-to-rescue-data-from-a-bad-SD-card-tp22335352p24249517.html
Sent from the ubuntu-users mailing list archive at Nabble.com.





More information about the ubuntu-users mailing list