You are not logged in.

#1 2005-09-14 20:57:38

Wubbeneezer
Member
From: Northern California
Registered: 2005-03-12
Posts: 13

Yet another USB Key Drive problem

I just did a fresh re-install of Arch and am trying to get my Lexar USB drive working. I have done a number of keyword searches on the forum, followed the Wiki instructions, and Googled to no avail.

The Situation: I am running the stock 2.6.12 ARCH kernel plus udev and hotplug.  I followed the 'USB Storage Devices' instructions on the Wiki:
**********************************
Mounting USB memory

After inserting the stick you can mount the device as root with

# mount /dev/sda1 /mnt/usbstick

Note that the directory you mount the stick into must exist before you issue the mount command.
*******************************

In my case I created the directory /mnt/lexusb and added the following line to my /etc/fstab:

/dev/sda1   /mnt/lexusb   vfat   rw,user,noauto,sync,umask=0 0 0 

When I follow the wiki instructions this is what happens:

[root@pepper ~]#  mount /dev/sda1 /mnt/lexusb
mount: you must specify the filesystem type

When I specify the filesystem, this happens:

[root@pepper ~]#  mount -t vfat /dev/sda1 /mnt/lexusb
mount: special device /dev/sda1 does not exist

I have also tried entering auto as the filesystem in /etc/fstab (and specifying it when mounting) to no avail. I tried suggestions from other USB drive threads, including mounting as /dev/sda, with no luck.

(After changing /etc/fstab entry to /dev/sda):

[root@pepper ~]#  mount /dev/sda /mnt/lexusb
mount: you must specify the filesystem type
[root@pepper ~]#  mount -t vfat /dev/sda /mnt/lexusb
mount: No medium found

I have also tried different options settings in /etc/fstab, but none have worked

Here is the output of lsusb:

[root@pepper ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 058f:9360 Alcor Micro Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 015: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 002 Device 014: ID 03f0:6204 Hewlett-Packard DeskJet 5150c
Bus 002 Device 013: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 002 Device 012: ID 05dc:a400 Lexar Media, Inc.
Bus 002 Device 011: ID 10d5:0001 Uni Class Technology Co., Ltd
Bus 002 Device 010: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 002 Device 009: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

so I know that the Lexar Media device shows up.

Here's relevant lsmod output:

[root@pepper ~]# lsmod | grep usb
usblp                  13440  0
usbhid                 48416  0
usb_storage            66752  0
usbcore               127740  7 ohci_hcd,ehci_hcd,usblp,usbhid,uhci_hcd,usb_storage

Looks like the modules needed are in order--I've tried loading them manually (in /etc/rc.conf) and via hotplug. When I plug/unplug the drive with the computer on the drive's light flashes but I still can't mount it.

The drive show up fine in Windoze and is automatically found by my Fedora Core and Mepis installations. I have manually configured it in the past to work with other distros--Arch is the first distro that's not behaving. After solving this I want to get my USB digital camera working in Arch. Please help--thanks.


When all is said and done,
There's nothing left to say or do.

Offline

#2 2005-09-14 21:02:49

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Yet another USB Key Drive problem

It's probably not being created as /dev/sda* - you'll need to fing out where it is being created

Offline

#3 2005-09-14 21:27:23

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Yet another USB Key Drive problem

try plug the device in, and then fdisk -l see if the pute picks it up.

It may be on /dev/sdb1 /dev/sdc1 etc.

and lsmod to check you have usb_storage and also
usbcore   which has  usb_storage,ohci_hcd,ehci_hcd,usbhid,uhci_hcd,usbserial

You may also need to load up the vfat module.

i also leave hotplug in the daemons section (rc.conf) even though it throws up shpchp errors, cant rem if i needed it when i grabbed a usbpen tho. too idle to take it out and test.

Offline

#4 2006-02-17 22:21:18

synorgy
Member
From: $HOME
Registered: 2005-07-11
Posts: 272
Website

Re: Yet another USB Key Drive problem

Hey!

I have that same thumb drive (and have it working)

Not sure - but I think you are doing two things wrong. My thumb drive mounts at /dev/sdb1 (not /dev/sda1 as you mentioned) and you need to specify the "-t vfat" switch (if the device is formatted in fat32, as mine is).


the command (for me) looks like this:

mount -t vfat /dev/sdb1 /mnt/pen

[/code]


"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)

Offline

#5 2006-02-18 00:10:43

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Yet another USB Key Drive problem

pmount may be a simpilar solution. pmount /dev/sdb1 flash (or whatever name you choose) will mount to /media/flash and pumount flash will unmount it.

Offline

Board footer

Powered by FluxBB