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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-20-2003, 10:46 PM
|
#16
|
LQ Newbie
Registered: Apr 2003
Location: Portland Oregon
Posts: 2
Rep:
|
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
|
|
|
04-20-2003, 11:32 PM
|
#17
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
/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
|
|
|
04-21-2003, 12:05 PM
|
#18
|
LQ Newbie
Registered: Apr 2003
Location: Portland Oregon
Posts: 2
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|