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

Notices


Reply
  Search this Thread
Old 02-27-2007, 01:46 PM   #1
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Rep: Reputation: 15
Flash media problem


OK, I've gotten fstab setup correctly, (I think).

The card reader is connected to the motherboard, not a USB reader.

The Slackware FAQ instructed me to veiw dmesg |more for the location of my card reader devices and I found them to be sdb, sdc, sde, and sdf. I edtied fstab to look like this:

/dev/sd* /mnt/memory noauto,user,rw,umask=000 0 0 (where the * would be b-f)

I put a few cards in, and I can see the volumes in dsmeg, but I cannot mount the media. Dmesg says a few problems when viewing the info.

sdd "Invalid media value"
"can't find a valid file system"

sde "Bogus number of reserved sectors"
"can't find a valid file system"

sdf "Unknown partition table"

Now, if I understand right, if the info is only, like, a list of mp3's without a file system, I can't mount it, right? So, how can I get my media off of the flash?

I think I've got fstab setup right and when I "write" to it, I get a window(s) pop up about new media found giving me the option to open in a new window, but nothing comes up.

Slackware 11 2.6.17.13 kernel with "extra" modules installed.

Ststem specs are in my signature.

Last edited by Blitzkreig75; 02-27-2007 at 01:48 PM.
 
Old 02-27-2007, 02:41 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
There is a filesystem on there, but there may also be partitions, might wanna try

'/dev/sd*1'

like '/dev/sda1'
 
Old 02-27-2007, 03:14 PM   #3
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
Ok, Tex. I did just that, but still nothing.

I'm able to get the USB on the card reader working and accessable, (it has 4 multi-function slots and one USB), but the flash cards are what's giving me the problem.

The USB does not need any number after the sd* to work.

Do I need to make a simlink to each device, perhaps? I didn't for the USB drive, though.....
 
Old 02-27-2007, 03:51 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, plug something in and check '/dev/disk/by-id', try mounting something in there.
 
Old 02-27-2007, 04:36 PM   #5
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
OK, I've done that, but I'm a little confused asto mounting what I see.

This is what vim /dev/disk/by-id shws:

scsi-SSEAGATE_ST3366007LC_3JA033ZQ000023014BD2
scsi-SSEAGATE_ST3366007LC_3JA033ZQ000023014BD2-part1
usb-OTi_CF_CARD_Reader_0123456789abcdef
usb-OTi_MS_CARD_Reader_0123456789abcdef
usb-OTi_MS_CARD_Reader_0123456789abcdef-part1
usb-OTi_SD_CARD_Reader_0123456789abcdef
usb-OTi_SD_CARD_Reader_0123456789abcdef-part1
usb-OTi_SM_CARD_Reader_0123456789abcdef

EDIT: The two cards I have in (I think) are shown. One MS-Pro, and an SD card.

Looking at this, do I need to change the setting in fstab?

Last edited by Blitzkreig75; 02-27-2007 at 04:38 PM.
 
Old 02-27-2007, 05:55 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
well, you can mount the things you see there just like other devices ... they're really just symlinks to the right devices.

Code:
mount /dev/disk/by-id/usb-OTi_SD_CARD_Reader_0123456789abcdef-part1 /mnt/tmp
I suppose it is a bit confusing, but try to figure out which goes with which. Not sure about fstab ... you could change it in there if you want.

Last edited by H_TeXMeX_H; 02-27-2007 at 05:56 PM.
 
Old 02-27-2007, 06:48 PM   #7
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
I am able to mount the cards, but only as root, (using that command), and only if there's one in the slot I specify, (I think the later is normal).

I've tried making simlinks, then re-writing to fstab, but still nothing. I tried /dev/flash, /dev/usbOTi, /dev/memory (where it's at now), but none are working. I keep getting the graphic about 'new devices found" but nothing is located when I 'open in new window' and the drives still cannot be mounted. I think I'm just doing something minor wrong.

Anything else I might try? I need the cards to work if I'm to complete my migration to Linux from XP. I have a lot of media I wish to keep, and using the card readers is a near-everyday thing for me so they have to work.

Last edited by Blitzkreig75; 02-27-2007 at 07:28 PM.
 
Old 02-27-2007, 07:27 PM   #8
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
OK, I just tried mounting the sdd, (it's the one containing an SD card), as user, and I got "I could not determine the file sytem type and none was specified". Same result when trying to mount the MS Pro card.
 
Old 02-27-2007, 08:14 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
So have you tried mounting 'usb-OTi_SD_CARD_Reader_0123456789abcdef-part1' and 'usb-OTi_MS_CARD_Reader_0123456789abcdef-part1' ?
 
Old 02-28-2007, 07:34 PM   #10
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
I tried both as root nad user, I tried "mout /mnt/usb-(etc...) and "mount /dev/usb-(etc..) and all attempts say "Cannot find device "...." in /mnt/fstab or /mnt/mstb

I also tried just " mount /usb-OTi_CARD..)etc..)" with the same result.

Last edited by Blitzkreig75; 02-28-2007 at 07:41 PM.
 
Old 02-28-2007, 08:00 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, mount them to a place or it will say that.

So do:

Code:
mount /dev/disk/by-id/usb-OTi_SD_CARD_Reader_0123456789abcdef-part1 /mnt/tmp
(as I said earlier)

mount /source /destination

if you don't provide a destination it will look for one in /mnt/fstab or /mnt/mstb or give you "Cannot find device "...." in /mnt/fstab or /mnt/mstb.

Last edited by H_TeXMeX_H; 02-28-2007 at 08:01 PM.
 
Old 02-28-2007, 08:22 PM   #12
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
ok, it's mounted, but I could only do it as root. I try as user and it says "Only root can do that"

But I'm still not getting into it in the desktop.....Ya think I need to make it "/usb-OTi_CARD_Reader_0123456789abcdef" in fstab?

BTW, I really appriciate your patience and help.

EDIT:

I have found the mounted /tmp in the desktop environment when loged into Xwindow as 'root' and I can see the jpeg and mp3 files. (Yay!!!). So now I need to know how to get them listed where to be able to get to them frm user's Xwindow without needing to temp munt the cards every time I wanna get data. I can get the data as user, too, but I wanna get the thing working properly, and be able to mount the cards as user, like I can do with the USB drive.

Last edited by Blitzkreig75; 02-28-2007 at 09:00 PM.
 
Old 02-28-2007, 09:12 PM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You'd probably have to edit /etc/fstab

You might add:

Code:
/dev/disk/by-id/usb-OTi_SD_CARD_Reader_0123456789abcdef-part1       /media/sdcard   vfat         noauto,rw,umask=000,user  1  0
or something like that. Oh, and you can use /media/whatever as long as the directory exists.

Check here for more:
http://www.tuxfiles.org/linuxhelp/fstab.html
or here:
http://rkrishna.tp.googlepages.com/slackerbasics#usb

Now, I'm not sure exactly how KDE works ... because I don't use it ... but maybe someone else knows or search google or these forums.

Last edited by H_TeXMeX_H; 02-28-2007 at 09:14 PM.
 
Old 02-28-2007, 09:45 PM   #14
Blitzkreig75
Member
 
Registered: Aug 2005
Location: Wichita,Kansas
Distribution: Slackware 11
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks, Tex. I've searched all over and can't seem to find anything specific to my delema. You have been the sole source of my help....and I truely thank you.

I can continue my migration now. There's a few more things I need to get working, but that can be another thread, prolly in a few days.

I'll fiddle with fstab and check the links.

Again, thank you very much for helping me get my data moving.

Oh, and btw, those two links did help me get the USB drive working, but not helping on the card issue.

Last edited by Blitzkreig75; 02-28-2007 at 09:47 PM.
 
Old 02-28-2007, 11:13 PM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
you can try

Code:
ls -l /dev/disk/by-id
that'll give you the exact links, so maybe if you put that it would work.

For example:
Code:
total 0
lrwxrwxrwx 1 root root  9 2007-02-28 08:16 ata-HITACHI_DK23EA-60_FG8339 -> ../../hda
lrwxrwxrwx 1 root root 10 2007-02-28 08:16 ata-HITACHI_DK23EA-60_FG8339-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-02-28 08:16 ata-HITACHI_DK23EA-60_FG8339-part2 -> ../../hda2
lrwxrwxrwx 1 root root  9 2007-02-28 08:16 ata-SONY_DVD_RW_DW-U50A_EA472EA9 -> ../../hdc
lrwxrwxrwx 1 root root  9 2007-02-28 14:16 usb-Sony_USB_Memory_Stick_Slot -> ../../sda
So my memory stick is really at '/dev/sda' (but more likely it will mount from /dev/sda1 when I have stick in there (which is not now otherwise it would say usb-Sony_USB_Memory_Stick_Slot-part1 and sda1))

You can also notice hda1 and hda2 for my HDD, that's because I have 2 partitions (swap and root). I cannot mount /dev/hda because it is not a partition, I can mount /dev/hda1 and /dev/hda2. Similarly I can mount /dev/sda1 but not /dev/sda.

Last edited by H_TeXMeX_H; 02-28-2007 at 11:16 PM.
 
  


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
Use a flash drive as installation media Black Hawk Debian 1 01-08-2007 10:36 AM
Flash media server 2 seagul8 Slackware 1 01-05-2007 01:43 PM
flash media player troubles littlewildcat2004 MEPIS 2 12-05-2006 02:03 PM
flash media server equivalent rcainc Linux - Software 1 09-22-2006 08:36 AM
FC3 Automounting Flash Media? flysideways Fedora 3 11-11-2004 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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