Re: USB card reader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A.J. Bonnema wrote:
Scott Burns wrote:

A.J. Bonnema wrote:

Try this:
   dd if=/dev/sda1 of=test bs=1024 count=2
   file test

This will copy the first 2k of the card and put it in a file. file will then tell you what it thinks it is.


Thanks for this explanation. It didn't work though. For /dev/sda it gives "dd opening '/dev/sda1': no such device or address.
For /dev/sda it gives:


"
dd: reading '/dev/sda': Intput/output error
0+0 records in
0+0 records out
"

I found out some more from /var/log/message in reaction to 'fdisk -l /dev/sda'. The output follows:


Nov 24 02:00:55 abonnema kernel: sda: Unit Not Ready, sense:
Nov 24 02:00:55 abonnema kernel: Current 00:00: sense key Not Ready
Nov 24 02:00:55 abonnema kernel: Additional sense indicates Medium not present
Nov 24 02:00:55 abonnema kernel: sda : READ CAPACITY failed.
Nov 24 02:00:55 abonnema kernel: sda : status = 1, message = 00, host = 0, driver = 08
Nov 24 02:00:55 abonnema kernel: Current sd00:00: sense key Not Ready
Nov 24 02:00:55 abonnema kernel: Additional sense indicates Medium not present
Nov 24 02:00:55 abonnema kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Nov 24 02:00:55 abonnema kernel: sda: Write Protect is off
Nov 24 02:00:55 abonnema kernel: sda: I/O error: dev 08:00, sector 0
Nov 24 02:00:55 abonnema kernel: I/O error: dev 08:00, sector 0
Nov 24 02:00:55 abonnema kernel: unable to read partition table
Nov 24 02:01:14 abonnema kernel: sda: Unit Not Ready, sense:
Nov 24 02:01:14 abonnema kernel: Current 00:00: sense key Not Ready
Nov 24 02:01:14 abonnema kernel: Additional sense indicates Medium not present
Nov 24 02:01:14 abonnema kernel: sda : READ CAPACITY failed.
Nov 24 02:01:14 abonnema kernel: sda : status = 1, message = 00, host = 0, driver = 08
Nov 24 02:01:14 abonnema kernel: Current sd00:00: sense key Not Ready
Nov 24 02:01:14 abonnema kernel: Additional sense indicates Medium not present
Nov 24 02:01:14 abonnema kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Nov 24 02:01:14 abonnema kernel: sda: Write Protect is off
Nov 24 02:01:14 abonnema kernel: sda: I/O error: dev 08:00, sector 0
Nov 24 02:01:14 abonnema kernel: I/O error: dev 08:00, sector 0
Nov 24 02:01:14 abonnema kernel: unable to read partition table
Nov 24 02:01:14 abonnema kernel: Device not ready. Make sure there is a disc in the drive.
Nov 24 02:01:14 abonnema kernel: I/O error: dev 08:00, sector 0


Does anyone know what is going on? I *can* reach the same disk from windows.

Guus.
--
A.J. Bonnema, Leiden The Netherlands,
user #328198 (Linux Counter)




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux