LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-26-2003, 01:54 AM   #1
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Rep: Reputation: 30
Question Where is my Compact-flash drive ?


Hello,

I installed RH 9.0( 2.4.20-8 ) and I see no error in the installation log-file.

I'm unable to locate my Compact flash-drive( USB ). But in the hardware wizard, it does say that USB drive is working properly.

'df -k' details are also confusing...

[root@localhost boot]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda12 49272908 2783108 43986876 6% /
/dev/hda11 101089 9324 86546 10% /boot
none 192292 0 192292 0% /dev/shm

[root@localhost boot]# cd /mnt
[root@localhost mnt]# l
total 12
drwxr-xr-x 2 root root 4096 Oct 25 18:43 floppy
drwxr-xr-x 2 root root 4096 Oct 25 18:43 cdrom1
drwxr-xr-x 2 root root 4096 Oct 25 23:45 cdrom

How can I find or detect my CF-drive. Thanks.

Kramer.
 
Old 10-26-2003, 01:09 AM   #2
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
start KwickDisk, it will find it and mount it for you.
 
Old 10-26-2003, 06:28 AM   #3
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
Even 'kwikdisk' doesn't list anything different, what 'df -k' gives me...

All I see is /cdrom, /cdrom2, /floppy, /boot and / - that's it...

I believe I've to have a device name to tell 'kwikdisk' to instruct it to mount it, isn't.

Thanks.

Last edited by shankariyer; 10-26-2003 at 06:30 AM.
 
Old 10-26-2003, 06:49 PM   #4
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
I tried to follow the instructions in this link, but no luck...

http://www.sonic.net/~rknop/linux/hp215.html

[root@localhost etc]# cat fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda13 swap swap defaults 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=058f ProdID=9360 Rev= 1.00
S: Manufacturer=Generic
S: Product=Mass Storage Device
S: SerialNumber=9203111
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

[root@localhost mnt]# mkdir flash
[root@localhost mnt]# mount -tmsdos /dev/sda1 /mnt/flash
mount: /dev/sda1 is not a valid block device

What am I doing wrong ? Thanks.

Kramer.
 
Old 10-26-2003, 06:59 PM   #5
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
Well, my pcmcia reader for my compact flash device was /dev/hde1 and when i checked it with the hardware browser (and the fact I knew i could use it in windows) i found the file system to be fat16 so I
mkdir /flash
mount /dev/hde1 -t vfat /flash

and it works fine. Maybe this will help.

T.J.
 
Old 10-26-2003, 07:00 PM   #6
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
Basically, what your computer told you was that /dev/sda1 wasn't a valid device. you need to find out which device it is and mount it that way. Another thing, with my CF card, I have yet to be able to write to it...
 
Old 10-26-2003, 07:05 PM   #7
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
Ok,

'Hardware browser' has 2 entries under 'Hard drives'

1. My hard-disk( Maxtor ) and
2. "Drive /dev/sda( Geom: 1024/64/32 ) ( Model: Generic USB SD Driver ).

I tried to do what TJ had suggested...

[root@localhost mnt]# l
total 16
drwxr-xr-x 2 root root 4096 Oct 25 18:43 floppy
drwxr-xr-x 2 root root 4096 Oct 25 18:43 cdrom1
drwxr-xr-x 2 root root 4096 Oct 26 16:17 cdrom
drwxr-xr-x 2 root root 4096 Oct 26 16:48 flash
[root@localhost mnt]# mount /dev/sda -t vfat /mnt/flash
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
[root@localhost mnt]# mount /dev/sda1 -t vfat /mnt/flash
mount: /dev/sda1 is not a valid block device

????

Appreciate all your help. Thanks.
 
Old 10-26-2003, 07:13 PM   #8
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
What else does it say for your #2 entry in your hardware browser? Does it give any other information? I think the problem that time is that usually your device will be /dev/sda, but the actual "logical" drive is going to be /dev/sda# where # is some number. Let me know if there is some more information given for your #2 entry in the hardware browser. It should display the file system type, as well as the logical partition it's setup as. It's also possible, that your flash card isn't partitioned/formatted, in which case you'll have to partition/format it first.

Let me know.

T.J.
 
Old 10-26-2003, 07:17 PM   #9
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
Yay, I actually was able to write to my compact flash card just now.
 
Old 10-26-2003, 07:23 PM   #10
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
TJ,

Is there a way to attach an image file LQ.org ???

Anyway, this is how its organized...

/dev/hda
--> hda2
----> hda5 - hda13( as how I had organized 2 OS( Windoze and Linux )
--> hda1( it reads ) start( 1 ) end( 92 ) size ( 722 MB ) fat 16

This should be the very small partition I had created, while partitioning my hard-drive to avoid the classic "1024 cylinder error".

And in the end I see...

/dev/sda in a seperate line, but no entires for start, end et al.

Thanks.
 
Old 10-26-2003, 07:31 PM   #11
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
You're probably going to need to partition your flash card. You can do that by:

fdisk /dev/sda

push m to display the menu

i would push p to see if there are any partitions
if not, push n to create a new one, make it primary or extended, (i used primary for mine), then push 1 cause it's the first partitions, then select the start and end blocks, and it should be done, then mount /dev/sda1 -t (whatever type, could be linux, could be vfat, depends on what you want it to be) /flash and it should work. Let me know if you have any more questions as well. I'll be here for a while yet.

T.J.
 
Old 10-26-2003, 07:33 PM   #12
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
[root@localhost mnt]# fdisk /dev/sda

Unable to read /dev/sda

How about that ?????

Appreciate your help.
 
Old 10-26-2003, 07:37 PM   #13
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
Hmm, can't say that I'm real sure. It's probably a driver problem. However at this point, I am clueless and I do not have any other suggestions. Sorry man. I'd keep scouring the forums and searching google. It can be a painstaking process, but after 30+ hours I finally got sound, full resolution, and special keys mapped on my laptop, and there's no better feeling that doing all that work and actually getting a working product. Best of luck on the rest of your searches.

Sorry I can't be of more help.

T.J.
 
Old 10-26-2003, 07:39 PM   #14
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
Hey TJ,

Enjoy the 'new environment' )

No problem at all. Really appreciate your help. Thanks.

Kramer.
 
Old 10-27-2003, 09:53 AM   #15
CloudBuilder
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Rep: Reputation: 30
It is a RH9 problem. RH does not support cardreaders that can read more than one card. (multiple lun support).

With Suse 8.2 it is no problem. You have SDA but in case of more cards you should have sda1, sda2 a.s.o.

CB

Forgot to tell you can fix it changing the kernel.

CB

Last edited by CloudBuilder; 10-27-2003 at 09:56 AM.
 
  


Reply



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
Compact flash mngmd Linux - Hardware 2 11-18-2005 09:57 PM
compact flash drive. apenguinlinux Linux - General 1 07-15-2005 03:32 PM
Compact Flash Reader wildwingman Linux - Hardware 1 06-15-2005 12:06 PM
Compact flash and Mandrake 9.1 uljas Linux - Hardware 1 08-04-2003 11:43 AM
PC Card, compact flash figadiablo Linux - Hardware 0 02-21-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:13 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