LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
Search this Thread
Old 02-02-2005, 05:06 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
flashdrive misbehaving


I've got a USB pendrive that used to automount when connected but that has suddenly started to 'misbehave. After inserting it it doesn't mount and if I try to mount it manually I get the following error message:

# mount /mnt/usb/
mount: special device /dev/sda1 does not exist

my fstab entry:
/dev/sda1 /mnt/usb auto rw,user,noauto 0 0

What might be going wrong?
 
Old 02-02-2005, 05:11 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
What was the last thing that you did - leave it in when booting up windows (it has a nasty habit of fiddeling with drives at startup), or plug some other USB device into the same port, or something else...?

Cheers,

mj
 
Old 02-02-2005, 05:14 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Which Distro?
Which kernel?
Have you done a kernel upgrade?

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 02-02-2005, 11:37 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
FC3, kernel 2.6.9, no kernel upgrade .
Haven't rebooted n a week, but maybe I should (?) to find out if it changes anything.
 
Old 02-03-2005, 04:40 PM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
I remembered I configured gthumb to recognise a digital camera (through USB). How does the system deal with different hardware using the same USB port or the same hardware using a diffrent USB port? (My motherboard comes with 8 USB ports). After reboot (with the USB drive plugged in) everything appears to be back to normal.

However I managed to recreate the error to a certain extent.
Here's what I did:

I logged out but didn't shut down the system. Then I unplugged the USB memory drive, plugged it back in and logged in again: The USB drive no longer appeared on the desktop.

From a console, as normal user I did
$ mount /mnt/usb
and the USB drive reappearedon the desktop, only this time with a different icon (normal disk unit, not USB) and with the name "usb (2)"

It might be that I didn't use the exact same USB port because I have 2 frontal USB ports.
 
Old 02-03-2005, 05:33 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Sounds like there is really no problem, just a minor bug. I current hve fc3 on my system but don't run any of the autodetect hardware for it. Previous Redhat and FC* didn't work to well. So I can't help on this. Sounds like it is getting better. Most issues for USB seems to be in the kernel releases. One kernel release will work with some devices then the next release my not understand them. I kerenl is compiled the same from version to version. So far 2.6.10-rc2 does real well. FC3 RPM of 2.6.10 is not very good. I would stay away from it. Other than that, I would say your system is very well configured.

Have fun
Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 02-03-2005, 06:25 PM   #7
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Have to agree with Brian1 there - the autodetect/hotplug bits for USB can be a bit rough with different pieces of hardware alternatively being plugged into the same port.

Cheers,

mj
 
Old 02-05-2005, 01:49 AM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
something to work on for the developers then. Usb is really important for a lot of people. Maybe I should look out for an auxiliar app to do the mount/unmount fo me?
 
Old 02-05-2005, 04:08 PM   #9
x86havoc
LQ Newbie
 
Registered: May 2001
Location: palatine-franci
Distribution: LFS, PCLOS
Posts: 13

Rep: Reputation: 0
Hi.

Try this:
HowTo Setup Linux AutoFS
http://freespace.sourceforge.net/gui...to/autofs.html

USB automount is still quite a problem, I test (new) hardware and write about it. Terrible.
I think autofs works best, give it a try. Cheers.
 
Old 02-06-2005, 04:32 AM   #10
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
Looks like I have some reading to do. Looks good. Will try!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sed misbehaving? linmix Programming 9 12-04-2005 10:43 AM
A misbehaving ad - Firefox 1.0.7 Orkie LQ Suggestions & Feedback 3 10-27-2005 04:10 PM
ndiswrapper Broadcome wireless misbehaving... tahiche Linux - Wireless Networking 1 10-10-2005 09:46 AM
Cups misbehaving mjrich Debian 2 02-22-2005 04:11 PM
Why is my samba misbehaving? sapphos Linux - Networking 4 10-11-2003 02:27 PM


All times are GMT -5. The time now is 12:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration