LinuxQuestions.org
Visit the LQ Articles and Editorials 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
 
LinkBack Search this Thread
Old 07-06-2005, 11:29 PM   #1
powersakthi
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
USB thumbdrive makes my redhat 7.2 pc hangs as soon as i insert


Hi,
I have a USb Thumbdrive which i need to use to move files of larger size from my P.C to my friends p.c both we are using Redhat 7.2 but the problem is that when i insert my thumbdrive my p.c gets hangs plz. provide assistance
 
Old 07-07-2005, 12:48 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Please show kernel version - you realise that you will probably be advised to upgrade your distro? RH7 is very outdated.
 
Old 08-01-2005, 03:49 AM   #3
powersakthi
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
My Kernel Version

My Kernel version is 2.4.
 
Old 08-01-2005, 05:29 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Kernel version is the output of "uname -r". There are more numbers. Later versions of the 2.4 series kernels have better USB support. eg. I had RH9 with 2.4.20-6 and poor usb support - especially for newer devices. Changing to 2.4.22 fixed this. I changed to FC2 and 2.6.10 and quite good support. Now I have FC4 and 2.6.11-1.1369_FC4 and incredibly amazing USB support.

Does your friend have the same problem?

Have you tried other usb storage devices?

Have you tried this as root?

Have you googled for issues with your pendrive and RH7? (I see you've searched the forums ... good on you - though you could have indicated this in your post.)

Have your tried "modprobe usb_storage" before inserting the thumbdrive?

Have you tried rebooting with the drive inserted?

You may have better luck by editing your /etc/fstab file - this way you are telling linux what it is and what to do with it. The hang may just be your kernel trying to figure what the hell it is that you just plugged in. (The kernel may not even support hotplugging for these things!)
Add the following to the bottom of your /etc/fstab ...
Code:
/dev/sda1  /mnt/usb  vfat  defaults,rw,noauto,users,sync  0 0
that should help (you'll need to create the directory: /mnt/usb too.)
You may even get an entry in the user mount tool.

However: I strongly urge you and your freind to upgrade to a recent linux distro. If you like Red Hat - I suggest Fedora Core 3 or 4. That is, unless you have some incredibly old dinosaur of a machine ... but at least RH9. If you have trouble getting hold of distro iso's (slow connection for eg) then try contacting a Linux Users Group in your area ... they will almost certainly help. Or you can usually get a cybercafe to download an iso for you (for a fee - usually a couple of $US per CD). Good single disk distros are Ubuntu and Yoper (please no flames.)

BTW: Please edit your profile to show your distro and some idea of your location. ( Do My LQ (on the right) > Edit Profile)
 
Old 08-03-2005, 10:17 AM   #5
powersakthi
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Simon Bridge!

Thanks for your prompt reply, simon i will try the same and get back to you ASAP.

Sakthi
 
Old 08-04-2005, 03:58 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
The same what? Upgrade? <prays> please let it be the upgrade </prays>
You havn't edited your prifile yet ...
 
Old 08-08-2005, 07:27 AM   #7
powersakthi
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Simon

Hi Simon,
I got a object file named pl2303.o and i copied to /lib/modules/2.4.18-3/kernel/drivers/usb/serial/pl2303.o
and then i edited the /etc/modules.conf file and add the following entry
alias usb-controller usb-uhci
and then i added the following line in /etc/modules.conf
alias usb-controller2 usbserial
Then i executed a command insmod pl2303.o in the command prompt.
and Rebooted the machine.
After rebooting i executed the command lsmod in the command prompt
the lsmod command gave me some kind of table.
Module size Used
Usbserial (anysize) 1
so i shows that it is up and working.

So it worked fine, this i got from a sysadmin, if you want the file give me a chance to upload to any of your FTP or search the same in any FTP servers of linux,

Thanks Simon for helping and if you have any good tutorial or documents of linux for beginners you are welcomed to send it across to me.

I am sakthi.c working as testing engr in telecom networking manufacturing company.

Bye!
Sakthivel.C
 
Old 08-09-2005, 03:33 AM   #8
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Please place your location and distro in your profile If you are close to one of us we may be able to pop over and give you a lesson.

Sounds like you were using a 2.2 kernel if you didn't have the module usb support is bad for anything below 2.4.20 (AFAIK).

For your next project, try installing something from rpm, and something else from source. Upgrade the kernel, gcc and development packages.... aw hell - install Fedora
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memorex USB Thumbdrive will not mount on RH9 - USB conflict Tsatellite81 Linux - Hardware 1 02-24-2005 12:01 PM
USB Thumbdrive and/or External CD Drive on Redhat 6.2..and maybe some other questions pantner Red Hat 0 10-30-2004 10:30 PM
Usb Thumbdrive TheGreatPissant Linux - Hardware 1 10-26-2003 01:09 AM
Redhat 9 installer hangs on USB 2.0... B1TW1SE Linux - Software 2 08-21-2003 09:35 AM
usb thumbdrive! somebody help me!! xdrake Linux - Hardware 1 07-16-2003 09:52 PM


All times are GMT -5. The time now is 12:12 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
Open Source Consulting | Domain Registration