LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-10-2003, 05:21 PM   #1
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
unable to mount usb pen drive in redhat 9.0


Hello all,

I would greatly appreciate any help you can give concerning this issue. I have a usb pen drive which i can mount just fine under Mandrake 9.0, but I need to mount it under RedHat 9.0 also.

Under Mandrake, I use:

mount -t vfat /dev/sda /mnt/flash

to mount the pen drive and it works fine.

Under RedHat, I get the following message when I attempt to use the same command:

mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file sytems

Also, when I plug the drive in, I get the following messages in /var/log/messages:

Nov 10 18:13:04 buz devlabel: devlabel service started/restarted
Nov 10 18:13:07 buz kernel: hub.c: new USB device 00:1f.4-1, assigned address 10
Nov 10 18:13:07 buz kernel: hub.c: USB hub found
Nov 10 18:13:07 buz kernel: hub.c: 1 port detected
Nov 10 18:13:07 buz kernel: usb-uhci.c: interrupt, status 3, frame# 340
Nov 10 18:13:07 buz kernel: hub.c: new USB device 00:1f.4-1.1, assigned address 11
Nov 10 18:13:10 buz /etc/hotplug/usb.agent: Setup usbcore for USB product 67b/2515/1
Nov 10 18:13:10 buz /etc/hotplug/usb.agent: Setup usbcore for USB product 67b/2515/1
Nov 10 18:13:10 buz kernel: sda : READ CAPACITY failed.
Nov 10 18:13:10 buz kernel: sda : status = 1, message = 00, host = 0, driver = 08
Nov 10 18:13:10 buz kernel: Current sd00:00: sense key Not Ready
Nov 10 18:13:10 buz kernel: Additional sense indicates Medium not present
Nov 10 18:13:10 buz kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Nov 10 18:13:10 buz kernel: sda: Write Protect is off
Nov 10 18:13:10 buz kernel: sda: I/O error: dev 08:00, sector 0
Nov 10 18:13:10 buz kernel: I/O error: dev 08:00, sector 0
Nov 10 18:13:10 buz kernel: unable to read partition table

Thanks for any help
 
Old 11-10-2003, 06:14 PM   #2
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
weird. do you have the same kernel versions on both distros?
 
Old 11-10-2003, 06:49 PM   #3
droctagon
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Rep: Reputation: 0
Smile

I had the same problem with an USB drive in Redhat 9.
I did not try Mandrake, but I suspect it has something to do with a difference in vfat support implementation.
Here's what I did:
I used fdisk in Redhat to erase the vfat partition, I created an new vfat partition and formatted it.
After I mounted then, I had access and it worked.
It also still worked in Wincrap.

Hope this solves your prob,

 
Old 11-10-2003, 07:03 PM   #4
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
Thanks for the thoughts. I originally formatted the pen drive using windows, so attempting to partition it using fdisk seems like a good idea. That would also explain the unable to read partition message in the log file. I was also going to attempt to update the redhat kernel using up2date to see if that changes anything.

Any other thoughts on theis would be much appreciated
 
Old 11-10-2003, 07:50 PM   #5
enigma99n
LQ Newbie
 
Registered: Oct 2003
Location: New Zealand
Distribution: Fedora Core
Posts: 12

Rep: Reputation: 0
Just a thought - You might have the dev number wrong
mount -t vfat /dev/sda /mnt/flash
should be:
mount -t vfat /dev/sda1 /mnt/flash

Try that. That is what I used.
 
Old 11-10-2003, 08:06 PM   #6
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
I already thought of that enigma...forgot to mention it. I've tried sda1-4, sdb1-4, etc. i mount the drive fine as just plain sda under the mandrake system (no other scsi devices connected). there are no scsi devices on the redhat system either. plus the log file tells me that the pen drive is being enumerated under /dev/sda.
 
Old 11-11-2003, 07:38 PM   #7
michael@actrix
Member
 
Registered: Jul 2003
Location: New Zealand
Distribution: OpenSUSE Tumbleweed
Posts: 68
Blog Entries: 1

Rep: Reputation: 20
Windows treats usb devices like floppy disks and doesn't seem to require a valid partition table. Linux treats them as disk-drives and requires a valid partition table. You may also have problems due to bad usb implementations on some makes of drives.
See my web page for a blow by blow account of getting one brand of drive to work...

http://users.actrix.co.nz/michael/usbmount.html
 
Old 11-12-2003, 10:35 PM   #8
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
in case anyone else runs in to this problem, the easiest solution I discovered was to update the redhat linux kernel to the latest version. i guess something was broken with the default kernel shipped with rh9. peace.
 
Old 01-25-2007, 01:15 PM   #9
krishss2k6
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Removable device issue in Red Hat Linux 9

Hi,

I too had the issue in adding a device with the computer.
I could view the device, but unable to transfer the data or any other contents after performing several steps.

Please help me in this regard,

Yours - Krish.
 
Old 01-25-2007, 09:07 PM   #10
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Krishss2k6 - this thread is over 3 years old now. You should have started a new thread instead of bringing this one back to life.

Redhat 9 is also very old - Redhat stopped supporting it in May 2004. I strongly recommend that you get a more recent distro. Fedora Core is the successor to the community Redhat releases, and the current release is Core 6. Alternatively, Ubuntu is an excellent distro for newbies.

I think you will find that updgrading to any recent distro will solve your problem. You will also get a much better "experience", since all the software has been updated.

I hope this helps
--Ian
 
  


Reply



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
can't mount usb pen drive with hotplug dori Slackware 8 03-02-2007 02:22 AM
hey i am not able to mount usb pen drive amolgupta Linux - Hardware 1 05-07-2005 01:51 AM
Unable to mount new USB pen erraticassassin Linux - Hardware 10 02-16-2005 02:36 AM
Difficulty to mount USB Pen Drive fatra2 Linux - Hardware 5 09-10-2004 01:58 AM
howto mount usb pen drive? name_in_use450 Linux - Hardware 2 08-24-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration