PDA

View Full Version : FC4 multicardreader woes



linuxted
26th June 2005, 03:00 AM
I scanned archives and tried some things I learned there but decided I need more help.
My multicardread was working before, not sure what is going on.

I have a multicardreader and it doesn't autodetect when I plug it in (in fact, I don't know how to get to the contents of it anymore). I tried an fdisk -l with the card and media plugged in and it gave the following output:
[root]$/sbin/fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM

Here is some other info:
$cat /proc/scsi/scsi
Attached devices:
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: IC Model: USB Storage-CFC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: IC Model: USB Storage-SMC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: IC Model: USB Storage-MMC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: IC Model: USB Storage-MSC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02

$uname -a
Linux c-24-6-104-90.hsd1.ca.comcast.net 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:56:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

Thank you!

linuxted
26th June 2005, 03:06 AM
I scanned archives and tried some things I learned there but decided I need more help.
My multicardread was working before, not sure what is going on.

I have a multicardreader and it doesn't autodetect when I plug it in (in fact, I don't know how to get to the contents of it anymore). I tried an fdisk -l with the card and media plugged in and it gave the following output:
[root]$/sbin/fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM

Here is some other info:
$cat /proc/scsi/scsi
Attached devices:
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: IC Model: USB Storage-CFC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: IC Model: USB Storage-SMC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: IC Model: USB Storage-MMC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: IC Model: USB Storage-MSC Rev: 322E
Type: Direct-Access ANSI SCSI revision: 02

$uname -a
Linux c-24-6-104-90.hsd1.ca.comcast.net 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:56:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

Thank you!


Restarted the computer and did a dmesg | usb and got some interesting stuff:
usb 2-3: new full speed USB device using ohci_hcd and address 3
usb 2-3: device not accepting address 3, error -110
usb 2-3: new full speed USB device using ohci_hcd and address 4
usb 2-3: device not accepting address 4, error -110
usb 2-3: new full speed USB device using ohci_hcd and address 5
usb 2-3: device descriptor read/64, error -110
usb 2-3: device descriptor read/64, error -110
usb 2-3: new full speed USB device using ohci_hcd and address 6
usb 2-3: device descriptor read/64, error -110
usb 2-3: device descriptor read/64, error -110

linuxted
26th June 2005, 03:13 AM
Restarted the computer and did a dmesg | usb and got some interesting stuff:
usb 2-3: new full speed USB device using ohci_hcd and address 3
usb 2-3: device not accepting address 3, error -110
usb 2-3: new full speed USB device using ohci_hcd and address 4
usb 2-3: device not accepting address 4, error -110
usb 2-3: new full speed USB device using ohci_hcd and address 5
usb 2-3: device descriptor read/64, error -110
usb 2-3: device descriptor read/64, error -110
usb 2-3: new full speed USB device using ohci_hcd and address 6
usb 2-3: device descriptor read/64, error -110
usb 2-3: device descriptor read/64, error -110

Ok, this is really weird, but when I put a SD card in as well as the problematic Compact Flash card, it now detects the compact flash. Very strange!

linuxted
26th June 2005, 06:59 AM
Ok, this is really weird, but when I put a SD card in as well as the problematic Compact Flash card, it now detects the compact flash. Very strange!

IT STOPPED WORKING WITH THIS TECHNIQUE. :(


I need help! Any thoughts?

linuxted
26th June 2005, 07:02 AM
IT STOPPED WORKING WITH THIS TECHNIQUE. :(


I need help! Any thoughts?

Here's some more info.... the result from /sbin/fdisk -l:

[root]$/sbin/fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM

Disk /dev/sda: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 977 125040 6 FAT16

Disk /dev/sdc: 63 MB, 63570432 bytes
8 heads, 32 sectors/track, 485 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 485 62060+ 6 FAT16


It is the /dev/sda1 that is not accessible

linuxted
26th June 2005, 03:41 PM
After much reading and experimentation I found the problem and the solution. My compact flash card was formatted by its external device (a Fostex MR8) as FAT16. Apparently this is not supported by Linux so I tried the next best thing and it worked.... vfat.

Here's what worked for me in case it might help someone in the future:
1)mkdir /mnt/cardreader
2) Connect the cardreader and do an /sbin/fdisk -l
to see where the address is for the cardreader
3) using that address, type

mount -t vfat /dev/sda1 /mnt/cardreader
(where /dev/sda1 is the address shown by the fdisk command)

Thanks for bearing with me while I went through the learning curve :)