View previous topic :: View next topic |
Author |
Message |
starnix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Cars/8.gif)
Joined: 02 Mar 2003 Posts: 530
|
Posted: Tue Dec 02, 2003 11:16 pm Post subject: USB Storage - Again |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
stm Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 19 Aug 2003 Posts: 88
|
Posted: Tue Dec 02, 2003 11:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tuxlover Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Wed Dec 03, 2003 1:01 am Post subject: Re: USB Storage - Again |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
starnix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Cars/8.gif)
Joined: 02 Mar 2003 Posts: 530
|
Posted: Wed Dec 03, 2003 4:00 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mengle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/13656200184039aba34c7bf.png)
Joined: 23 Nov 2003 Posts: 64
|
Posted: Wed Dec 03, 2003 7:37 am Post subject: |
|
|
Quote: | It requires usb things as modules as far as I know.
|
D'oh. I just selected yes in my kernel because I knew I wanted them. I wonder why they have to modules. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
starnix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Cars/8.gif)
Joined: 02 Mar 2003 Posts: 530
|
Posted: Wed Dec 03, 2003 8:15 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cylgalad Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Wed Dec 03, 2003 10:30 am Post subject: |
|
|
mengle wrote: |
D'oh. 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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxlover Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Wed Dec 03, 2003 5:07 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
starnix Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Cars/8.gif)
Joined: 02 Mar 2003 Posts: 530
|
Posted: Wed Dec 03, 2003 5:19 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|