LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-29-2005, 10:27 PM   #1
crowden58
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Question usb thumbdrive issues


Hi this is the first time posting so i'm sorry if its in the wrong spot. I have looked all around the site for problems like mine, but they don't seem to pertain to me exactly. My problem is that i can mount my usb thumbdrive only sometimes. after boot up, I'll put the drive into the port and it won't show up, then i'll pull it out and put it back in and it shows up sometimes. All the drivers are loaded, i believe, because once it shows up i can have full read write access to it. I have a fstab entry and a device link on my desktop also. I guess my main problem is that i have to plug in and unplug the usb drive about three times everytime i want to use it, before i get access to it. If someone could let me know if i'm doing something wrong, or if this is just how it should work i would appreciate it.

fstab:

/dev/sda1 /mnt/usbdrive ext3 noauto,users,rw 0 0

i have usb-storage loaded.


Thanks
 
Old 04-29-2005, 11:15 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
That will depend on if hotplug assigns sda1 to the device when you plug it in. It also depends on if you are using udev or the older /dev filesystem. With udev, you can create a rule to force it to always be /dev/sda1, but if your letting the hotplug system assign it a device node, then it might not always be /dev/sda1.

Do you know if you are using Udev or the older /dev filesystem?
 
Old 04-29-2005, 11:15 PM   #3
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
Change "noauto" to "auto" so it auto mounts when you put it in. If not I don't really know what else to say.

Sorry

also make sure u mount it as a user so you can access it. If you mount as root it will be blocked to you!
 
Old 04-29-2005, 11:20 PM   #4
crowden58
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
I think i narrowed it down to usb address problems. I'm using kernel 2.4 . This is the output from

Dmesg:

hub.c: new USB device 00:02.2-7, assigned address 27
usb.c: USB device not accepting new address=27 (error=-71)
hub.c: new USB device 00:02.2-7, assigned address 28
usb.c: USB device not accepting new address=28 (error=-71)
hub.c: new USB device 00:02.2-8, assigned address 29
usb.c: USB device not accepting new address=29 (error=-71)
hub.c: new USB device 00:02.2-8, assigned address 30
usb.c: USB device not accepting new address=30 (error=-71)
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
hub.c: new USB device 00:02.2-7, assigned address 31
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 31



For some reason it only works when it gets a usb address it likes? I guess this will have to do unless someone knows whats up??

thanks again
 
Old 04-29-2005, 11:34 PM   #5
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
Is the filesystem on your drive ext3? Usually they are fat32 paritions. Could that be an issue?
 
Old 04-30-2005, 01:27 PM   #6
crowden58
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
The fat32 and ext3 both worked with the same problems. i thought it might have been a fat32 issue so i formated to ext3 with the same problems.
 
  


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
USB ThumbDrive UmneyDurak Fedora 1 03-08-2005 10:07 PM
Memorex USB Thumbdrive will not mount on RH9 - USB conflict Tsatellite81 Linux - Hardware 1 02-24-2005 01:01 PM
USB ThumbDrive hp46168 Linux - Hardware 3 08-31-2004 11:43 AM
Usb Thumbdrive TheGreatPissant Linux - Hardware 1 10-26-2003 02:09 AM
usb thumbdrive! somebody help me!! xdrake Linux - Hardware 1 07-16-2003 10:52 PM

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

All times are GMT -5. The time now is 01:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration