Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Storage - Again
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
starnix
Guru
Guru


Joined: 02 Mar 2003
Posts: 530

PostPosted: Tue Dec 02, 2003 11:16 pm    Post subject: USB Storage - Again Reply with quote

Ok, I have an 80gb Maxtor USB hard drive that i just connected to my computer. I cant for the life of me figure out how to mount this thing. This is the output I get from dmesg:

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Maxtor Model: 5000LE v01.00.00 Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 160084992 512-byte hdwr sectors (81964 MB)
/dev/scsi/host1/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: IOMEGA Model: ZIP 100 Rev: 11.V
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x12 0x00 0x00 0x00 0x00 0x3a
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
sdb : block size assumed to be 512 bytes, disk size 1GB.
/dev/scsi/host2/bus0/target0/lun0: I/O error: dev 08:10, sector 0
I/O error: dev 08:10, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
.
.
.

There is nothing in /dev/usb and there are no /dev/sd* files. I am at a loss.

Any ideas?
Back to top
View user's profile Send private message
stm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 88

PostPosted: Tue Dec 02, 2003 11:20 pm    Post subject: Reply with quote

i'm afraid i can't help you, i'm having a problem with my usb storage too. if you can get it to work please let me know. you may want to read me (no answers yet) thread here:https://forums.gentoo.org/viewtopic.php?t=111313[/url]
Back to top
View user's profile Send private message
tuxlover
Apprentice
Apprentice


Joined: 21 Oct 2003
Posts: 297
Location: weltweit

PostPosted: Wed Dec 03, 2003 1:01 am    Post subject: Re: USB Storage - Again Reply with quote

starnix wrote:

...
/dev/scsi/host1/bus0/target0/lun0: p1
...
There is nothing in /dev/usb and there are no /dev/sd* files.

What about /dev/scsi/host1/bus0/target0/lun0? What's inside that?

Which modules do you have loaded (post output of lsmod)? Is this supposed to be a usb 1(.1) or 2 connection (post output of lspci -v)?

Have you tried using the hotplug script:
Code:
emerge hotplug
rc-update add hotplug default

It requires usb things as modules as far as I know.
Back to top
View user's profile Send private message
starnix
Guru
Guru


Joined: 02 Mar 2003
Posts: 530

PostPosted: Wed Dec 03, 2003 4:00 am    Post subject: Reply with quote

Ok, I emerged hotplug and after alot of messing around I finally got the USB HD to mount. However, when I installed hotplug I got something about fxload. Do I need to install that? If so, how do I configure it. Or does it just work after being installed? Thanks for all the help.
Back to top
View user's profile Send private message
mengle
n00b
n00b


Joined: 23 Nov 2003
Posts: 64

PostPosted: Wed Dec 03, 2003 7:37 am    Post subject: Reply with quote

Quote:
It requires usb things as modules as far as I know.


D'oh. 8O I just selected yes in my kernel because I knew I wanted them. I wonder why they have to modules.
Back to top
View user's profile Send private message
starnix
Guru
Guru


Joined: 02 Mar 2003
Posts: 530

PostPosted: Wed Dec 03, 2003 8:15 am    Post subject: Reply with quote

Ok, now I got it mounted. Now it wont unmount. How can I find out what is accessing the drive? I logged out and that still didnt work. Any ideas?
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Wed Dec 03, 2003 10:30 am    Post subject: Reply with quote

mengle wrote:

D'oh. 8O I just selected yes in my kernel because I knew I wanted them. I wonder why they have to modules.

Even if you know so, that's not a reason to put things in the kernel rather than as modules, keep the kernel small & modular, especially with usb/firewire and other "modern" hotpluggable things :)
Back to top
View user's profile Send private message
tuxlover
Apprentice
Apprentice


Joined: 21 Oct 2003
Posts: 297
Location: weltweit

PostPosted: Wed Dec 03, 2003 5:07 pm    Post subject: Reply with quote

starnix wrote:
However, when I installed hotplug I got something about fxload. Do I need to install that?

I don't know; I don't have it. Mine is working ok without it as far as I can tell.

starnix wrote:
Now it wont unmount. How can I find out what is accessing the drive?

I don't know how to find out what is accessing it. But you could try unmounting it with the lazy option:
Code:
# umount -l <mountpoint>

which will simply wait until the device isn't busy anymore as I understand it. If you really want to umount, try to force it with -f:
Code:
# umount -f <mountpoint>

I don't know how dangerous that is, though. Tell me how it goes :) I'd say if you have a decent fs on it that is quickly checked (ext3, reiserfs), it shouldn't be a problem to do that.
Back to top
View user's profile Send private message
starnix
Guru
Guru


Joined: 02 Mar 2003
Posts: 530

PostPosted: Wed Dec 03, 2003 5:19 pm    Post subject: Reply with quote

Turns out fam was using it. Everytime I mount it, fam takes it over and I cant unmount it. Anyone have any ideas why?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum