AOA AOA AOA Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home

  #1 (permalink)  
Old 5th July, 2005, 11:12 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,940
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

USB Flash Drive under Gentoo

Help!

I'm trying to get my 2.6 kernel to recognize my USB flash drive, and I'm having some problems.

Here's what I've got:

The kernel is compiled with support for USB devices. I have an entry in FSTab that looks like:

none, /proc/bus/usb, usbfs, defaults, 1, 1

If I understand this right, then when I attach and mount a usb device, I should have it show up at /proc/bus/usb, right? There's nothing there.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 5th July, 2005, 12:00 PM
Kaitain's Avatar
Member
Mars Rover Champion, Joust Champion
 
Join Date: September 2001
Location: Jubail Industrial City, KSA
Posts: 4,061
Send a message via MSN to Kaitain Send a message via Skype™ to Kaitain

Type "dmesg" (without quotes) into a console right after plugging the usb mass storage device in and it should tell you where it is.

Linux has some trouble with laptops btw.

You'll find that if it's a USB1.1 device then the device will be something like /dev/sda1
If it's USB2 then it'll probably be /dev/uba
If it's on a laptop then give up and go with /dev/discs/disc1/part1 (or whatever the highest disc number on the system is).

If you're going grey very fast, then remember to compile the next kernel to include supermount-ng or similar.
__________________
It is by will alone I set my mind in motion...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 5th July, 2005, 07:48 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,940
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Well, the device is /dev/sdc.

Unfortunately, I can't mount it. Linux doesn't seem to recognize the file system. It is a 256 Meg flash, and according to XP it is formatted as FAT, but neither

mount -t msdos /dev/sdc /mnt/usbstick

nor

mount -t vfat /dev/sdc /mnt/usbstick

work.

They all come back with
"Wrong fs type, bad option, bad superblock on /dev/sdc, or too many mounted file systems."

__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 5th July, 2005, 07:51 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,940
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Sigh. Duh. Case of the terminal stupids.

mount -t vfat /dev/sdc1 /mnt/usbstick

works great. Helps when you specify the partition to mount.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 6th July, 2005, 03:04 AM
Kaitain's Avatar
Member
Mars Rover Champion, Joust Champion
 
Join Date: September 2001
Location: Jubail Industrial City, KSA
Posts: 4,061
Send a message via MSN to Kaitain Send a message via Skype™ to Kaitain

Linux's partition handling does suck quite spectacularly. If you ever try to mount a Zip disc, you need to mount partition 4 for some quite archane reasons...
__________________
It is by will alone I set my mind in motion...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 6th July, 2005, 04:16 AM
Áedán's Avatar
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 12,248

Some USB flash devices are partitioned, some arn't. There seems to be some variation to the specs as to how it's handled.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
gentoo



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TINY Flash Drive fantomfreq Random Nonsense! 1 26th June, 2007 04:57 AM
RITEK Intros Flash Drive with Additional USB Ports Samuknow General Hardware Discussion 0 9th April, 2007 06:13 AM
usb flash drive probs gazzacbr General Hardware Discussion 7 9th June, 2005 03:11 PM
PQI Flash Drive Razorfish General Hardware Discussion 0 3rd July, 2004 02:59 PM
Geforce2 TV Out on Gentoo Áedán OS, Software, Firmware, and BIOS 7 15th February, 2004 01:32 PM


All times are GMT -5. The time now is 10:37 AM.


Copyright ©2001 - 2009, AOA Forums

Search Engine Friendly URLs by vBSEO 3.3.0