LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-20-2003, 10:46 PM   #16
Airneil
LQ Newbie
 
Registered: Apr 2003
Location: Portland Oregon
Posts: 2

Rep: Reputation: 0

Well, I too am having a similar issue, using Mandrake 9.1, but I do get the card reader listed in cdrecord -scanbus:

[root@sthelens dev]# cdrecord -scanbus
Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) 'SONY ' 'SDT-9000 ' '0200' Removable Tape
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'SOYO ' 'USB Storage-CFC ' '0216' Removable Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus2:
2,0,0 200) 'CREATIVE' 'CD-RW RW1210E ' 'LCS6' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *

I also see that my stuff is listed by the sg-utils, so after going through the drill, I find that the reader is at /dev/sda. However, the partition devices don't exist, so I get this:

[root@sthelens dev]# mount -t vfat /dev/sda /local/memory
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
 
Old 04-20-2003, 11:32 PM   #17
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
/dev/sda is the whole device itself, the partitions are from there up... it looks like you might have a the cf reader on /dev/sdb1 as its the second registered chain, the first being the tape drive and the third being the cd-rw. Check through dmesg for a partition scan, it should look like:

Code:
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: SIIG      Model: CompactFlash Car  Rev: 0113
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 15873 512-byte hdwr sectors (8 MB)
sda: test WP failed, assume Write Enabled
 sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered
The important part being the seventh line down in that.

Cheers,

Finegan
 
Old 04-21-2003, 12:05 PM   #18
Airneil
LQ Newbie
 
Registered: Apr 2003
Location: Portland Oregon
Posts: 2

Rep: Reputation: 0
None of the /dev/sda* or /dev/sdb* devices existed except the root device. So on a hunch, I rebooted with a smart media card in the reader.

The devices now exist, but I get a message saying that the device is not a valid block device. I know the card has data and is formatted, as my camera can view the picks, and Windows can see the pics from explorer. Windows sees these slots as drives.

Here's my /dev output and my attempts to mount:

[root@sthelens root]# ls -la /dev/sdb*
brw-rw---- 1 root disk 8, 16 Apr 21 02:29 /dev/sdb
brw-rw---- 1 root disk 8, 17 Apr 21 02:29 /dev/sdb1
brw-rw---- 1 root disk 8, 26 Apr 21 02:29 /dev/sdb10
brw-rw---- 1 root disk 8, 27 Apr 21 02:29 /dev/sdb11
brw-rw---- 1 root disk 8, 28 Apr 21 02:29 /dev/sdb12
brw-rw---- 1 root disk 8, 29 Apr 21 02:29 /dev/sdb13
brw-rw---- 1 root disk 8, 30 Apr 21 02:29 /dev/sdb14
brw-rw---- 1 root disk 8, 31 Apr 21 02:29 /dev/sdb15
brw-rw---- 1 root disk 8, 18 Apr 21 02:29 /dev/sdb2
brw-rw---- 1 root disk 8, 19 Apr 21 02:29 /dev/sdb3
brw-rw---- 1 root disk 8, 20 Apr 21 02:29 /dev/sdb4
brw-rw---- 1 root disk 8, 21 Apr 21 02:29 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Apr 21 02:29 /dev/sdb6
brw-rw---- 1 root disk 8, 23 Apr 21 02:29 /dev/sdb7
brw-rw---- 1 root disk 8, 24 Apr 21 02:29 /dev/sdb8
brw-rw---- 1 root disk 8, 25 Apr 21 02:29 /dev/sdb9
[root@sthelens root]# mount /dev/sdb1 /local/memory/
mount: /dev/sdb1 is not a valid block device
[root@sthelens root]# ls -la /dev/sda*
lr-xr-xr-x 1 root root 33 Apr 21 09:49 /dev/sda -> scsi/host1/bus0/target0/lun0/disc
brw-rw---- 1 root disk 8, 1 Apr 21 02:29 /dev/sda1
brw-rw---- 1 root disk 8, 10 Apr 21 02:29 /dev/sda10
brw-rw---- 1 root disk 8, 11 Apr 21 02:29 /dev/sda11
brw-rw---- 1 root disk 8, 12 Apr 21 02:29 /dev/sda12
brw-rw---- 1 root disk 8, 13 Apr 21 02:29 /dev/sda13
brw-rw---- 1 root disk 8, 14 Apr 21 02:29 /dev/sda14
brw-rw---- 1 root disk 8, 15 Apr 21 02:29 /dev/sda15
brw-rw---- 1 root disk 8, 2 Apr 21 02:29 /dev/sda2
brw-rw---- 1 root disk 8, 3 Apr 21 02:29 /dev/sda3
brw-rw---- 1 root disk 8, 4 Apr 21 02:29 /dev/sda4
brw-rw---- 1 root disk 8, 5 Apr 21 02:29 /dev/sda5
brw-rw---- 1 root disk 8, 6 Apr 21 02:29 /dev/sda6
brw-rw---- 1 root disk 8, 7 Apr 21 02:29 /dev/sda7
brw-rw---- 1 root disk 8, 8 Apr 21 02:29 /dev/sda8
brw-rw---- 1 root disk 8, 9 Apr 21 02:29 /dev/sda9
[root@sthelens root]# mount /dev/sda1 /local/memory/
mount: /dev/sda1 is not a valid block device

Also, here's my dmesg output:

scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: SOYO Model: USB Storage-CFC Rev: 0216
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux won't boot in removable drive tray. But has no poblem in Internal bay. Mike Hotel Linux - Laptop and Netbook 0 06-16-2004 05:28 PM
2nd Hard Drive Adapter in Expansion Bay gbourzikas Linux - Laptop and Netbook 0 06-03-2003 08:34 PM
install a pcmcia/usb ibm bay and mount the drive ridha Linux - Hardware 0 05-28-2003 10:19 AM
Soyo Bay One CF Reader KLuE Linux - Hardware 6 04-28-2003 09:43 AM
Turtle Beach Montego Bay 2 Sound Card Bigun Linux - Hardware 2 09-16-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration