Results 1 to 10 of 11
Hi,
i've got a multi-card reader and would like to mount it to my linux box
Code:
[root@localhost arief]# dmesg | tail
[<0217a272>] vfs_readdir+0x8a/0xb7
[<0217a6e3>] sys_getdents64+0x64/0xa9
[<0218a560>] set_fs_pwd+0x37/0x5a
Bad EIP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-21-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 11
mouting an SD-card-reader to Linux and acces it
Hi,
i've got a multi-card reader and would like to mount it to my linux box
Code:[root@localhost arief]# dmesg | tail [<0217a272>] vfs_readdir+0x8a/0xb7 [<0217a6e3>] sys_getdents64+0x64/0xa9 [<0218a560>] set_fs_pwd+0x37/0x5a Bad EIP value. <6>usb 1-2: new high speed USB device using address 8 scsi4 : SCSI emulation for USB Mass Storage devices Vendor: USB2.0 Model: CardReader CF Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sdc at scsi4, channel 0, id 0, lun 0 USB Mass Storage device found at 8
Code:[root@localhost arief]# mount -t vfat /dev/sdc /mnt/flash/ mount: No medium found
is it because of the wrong file system ?Code:[root@localhost arief]# /sbin/lsmod | grep usb usblp 12993 0 usb_storage 61321 2 scsi_mod 118417 2 sd_mod,usb_storage
SD card brand is SanDisk
- 03-21-2005 #2
Have you tried this with media in the drive?
dylunio
- 03-25-2005 #3Just Joined!
- Join Date
- Mar 2005
- Posts
- 11
Fuu .. what a long reply from me ...
Hmm, yeah i have an SD card in it. My card reader has 4 ports where u could put several cards on it. When i plug it in, /dev saying that there is only /dev/sdc.
The question is what is the card's filesystem ? ... usually
?.
If there are, say, more than one card is inserted, then i suppose there would be /dev/sdc1,2,3 and so on, No ?
- 03-26-2005 #4
After inserting the card, there should be a message in the dmesg output. You can read those with the command dmesg.
So the card is recognized as /dev/sda1 . I can mount /dev/sda1 now.Code:#dmesg [...] SCSI device sda: 31360 512-byte hdwr sectors (16 MB) sda: assuming Write Enabled sda: assuming drive cache: write through SCSI device sda: 31360 512-byte hdwr sectors (16 MB) sda: assuming Write Enabled sda: assuming drive cache: write through sda: sda1
I\'m so tired .....
#200472
- 03-27-2005 #5Just Joined!
- Join Date
- Mar 2005
- Posts
- 11
That's the thing. it should, but /dev/sda1 doesn't exist
the output of dmesg btw is
i have inserted the card ( SD card ) and hoping /dev/sda1 would pop up ... but it didn't. Any idea ?Code:Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices Vendor: USB2.0 Model: CardReader CF Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 USB Mass Storage device found at 3 usbcore: registered new driver usb-storage USB Mass Storage support registered. Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 usb 1-3: USB disconnect, address 3 usb 1-3: new high speed USB device using address 4 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: USB2.0 Model: CardReader CF Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 USB Mass Storage device found at 4
- 03-27-2005 #6
Try inserting the card before system boots and then following the other's instructions.
- 04-01-2005 #7Just Joined!
- Join Date
- Mar 2005
- Posts
- 11
Hmm ... unfortunately, /dev/sda1 doesn't pop up even after i plug the reader before boot. What do you think ?
- 04-01-2005 #8
/dev/sda1 should be created when it detects the media in this case a SD card. So, have both the card reader and the SD card plugged in before the system boots.
- 04-02-2005 #9Just Joined!
- Join Date
- Mar 2005
- Posts
- 11
Maybe i didn't make myself clear ... I should've written the reader+the card inserted before boot time and /dev/sda1 still doesn't pop up.
Hmmm, ?
- 04-08-2005 #10Just Joined!
- Join Date
- Apr 2005
- Posts
- 1
For info it works for me
It works :
I plug the usb drive and next the SDCard (I have a green led) in the SanDisk
12 in 1.
Next, in root
#mount /dev/sdc1 /media/usbdisk
type is automatically recognized as vfat.
dmesg gave :
usb 1-1: new full speed USB device using uhci_hcd and address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: Generic Model: STORAGE DEVICE Rev: 0001
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Generic Model: STORAGE DEVICE Rev: 0001
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Generic Model: STORAGE DEVICE Rev: 0001
Type: Direct-Access ANSI SCSI revision: 00
Vendor: Generic Model: STORAGE DEVICE Rev: 0001
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3
SCSI device sdc: 121856 512-byte hdwr sectors (62 MB)
sdc: Write Protect is off
sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 121856 512-byte hdwr sectors (62 MB)
sdc: Write Protect is off
sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
sdc: sdc1


Reply With Quote
