LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-17-2004, 02:48 PM   #1
jonostew
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Rep: Reputation: 0
Problem mount USB devices.


Hi everyone. I'm running Fedora Core 2.0 on a Presario 2100 laptop. At one time my USB devices worked and were detected. However, I think with some software updates the USB system software became misconfigured.

I have followed the USB card install tutorial, including trying to build a new kernel with the proper USB directives. However, this kernel will not boot for me.

When I try to mount my USB device with kernel 2.6.5-,1I get the following error message.

[root@localhost mnt]# mount /mnt/usb
mount: /dev/sda1 is not a valid block device

/etc/fstab contains the following line.
/dev/sda1 /mnt/usb vfat user,rw,noauto 0 0

and I have run
chmod 777 /mnt/usb

dmesg shows nothing about the USB device when I plug it in.

tail -s 3 -f /var/log/messages also show nothing when the USB device is plugged-in or removed.


I know the USB hardware works because my system is dual boot Fedora / Windoze, and the USB port works in Windoze.


I have tried to read various linuxquestions.org posts about loading the proper modules into the kernel, but I have not been able to get my USB devices working.

Can someone out there help me get my USB devices working again? Please?
 
Old 08-18-2004, 02:40 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,273

Rep: Reputation: 119Reputation: 119
This strange thing happened to me too.
I then tried mounting /dev/sda instead of /dev/sda1, this worked in some distro's!
But then I also got errors about reading filesystem etc. I checked the drive (USB memory stick) with fdisk, seems the partitioning is weird.
I think a USB-device can get corrupted if it's not unmounted properly.
 
Old 08-18-2004, 08:34 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Quote:
Originally posted by pingu
I think a USB-device can get corrupted if it's not unmounted properly.
The filesystem can get corrupted in the same way as yanking the cable on an internal drive would; the device itself will still work fine and you should be able to fix the problem with fsck as normal.

Most USB devices come with a FAT filesystem preinstalled, so you may want to make sure that you have the vfat module loaded.

The fact that the USB device isn't being detected is what's causing this problem. Make sure that you have the usb modules loaded (try mounting the /proc/bus/usb directory). Also see the USB-HOWTO from http://www.tldp.org/

Hope that's of some help,

Robert J Lee
 
Old 08-19-2004, 12:03 PM   #4
jonostew
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Fixed

I fixed the problem by inserting a number of usb modules. Im not sure which ones were needed and which ones were unnecessary, but Ill just insert all of them until I can figure out which are essential.

Can anyone tell my how to insert the modules into the kernel at boot time, instead of manually doing it from a terminal window each time after I login?

Thanks!
 
Old 08-20-2004, 12:39 PM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
You can add the instructions to load the modules into your boot.local file (try
Code:
locate boot.local
to find it; it's usually in somewhere like /etc/rc.d/ or /etc/init.d).
 
  


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
Mount points on usb devices (dig. camera, zip drive, external hard disk) Impaler Linux - Hardware 3 05-29-2006 11:08 PM
USB storage devices difficult to mount and use jaakkop Slackware 4 11-16-2005 04:03 PM
Mount usb devices suse 9.2 live Nawas111 Suse/Novell 1 05-30-2005 08:51 AM
How to mount several USB devices (camera + handy-drive)? eneko Linux - Newbie 4 11-05-2003 07:50 PM
How do you mount usb devices on RH9 barrys Red Hat 2 10-19-2003 07:27 AM


All times are GMT -5. The time now is 11:18 PM.

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