Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB hard drive
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
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Fri Oct 31, 2003 8:44 pm    Post subject: USB hard drive Reply with quote

Hi all. :D My USB hard drive isn't showing up in dev.
dmesg
Code:
hub.c: new USB device 00:02.2-2, assigned address 4
usb.c: USB device not accepting new address=4 (error=-71)
hub.c: new USB device 00:02.2-2, assigned address 5
usb.c: USB device not accepting new address=5 (error=-71)

lsmod
Code:
floppy                 50684   0  (autoclean)
nvidia               1624512  11  (autoclean)
printer                 7488   0  (unused)
hid                    13992   0  (unused)
usb-ohci               17480   0  (unused)
ehci-hcd               14568   0  (unused)
nvnet                  26048   1
i810_audio             22952   1
soundcore               3940   2  [i810_audio]
ac97_codec             11080   0  [i810_audio]
serial                 46788   0  (autoclean) (unused)
usbcore                62176   1  [printer hid usb-ohci ehci-hcd]
nls_cp437               4348   1  (autoclean)
vfat                   10668   1  (autoclean)
fat                    32440   0  (autoclean) [vfat]
joydev                  5824   0

I'm hoping for an angel :-)
_________________
BitWise Chat
Back to top
View user's profile Send private message
lazarusrat
Guru
Guru


Joined: 17 Jul 2002
Posts: 305
Location: Lafayette, IN

PostPosted: Fri Oct 31, 2003 9:00 pm    Post subject: Reply with quote

Other modules you'll need:
usb-storage (USB mass storage)
sd_mod (SCSI disk support, which implies of course SCSI support)
Possibly sg (SCSI generic)
_________________
obpiper: pipe menu generator for openbox
obtheme: pipe menu to switch openbox themes
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Tue Nov 04, 2003 3:47 am    Post subject: Reply with quote

Didn't install any other modules, but it (/dev/sda) showed up on reboot (grr)
Anyway, now that it's "working" I can mount the hard drive, but it hangs on a lot of commands
Like ls!!

If the hard drive is just hanging, is there a way to unmount it
By the way, fuser /dev/sda reports nothing
:-(
_________________
BitWise Chat
Back to top
View user's profile Send private message
lazarusrat
Guru
Guru


Joined: 17 Jul 2002
Posts: 305
Location: Lafayette, IN

PostPosted: Tue Nov 04, 2003 12:59 pm    Post subject: Reply with quote

That I don't know. The only usb storage device I use is a digital camera, and I've never had problems with it so I've never had to track anything down. :?
_________________
obpiper: pipe menu generator for openbox
obtheme: pipe menu to switch openbox themes
Back to top
View user's profile Send private message
volospin
Apprentice
Apprentice


Joined: 06 Aug 2002
Posts: 156
Location: Hong Kong

PostPosted: Tue Nov 04, 2003 3:26 pm    Post subject: Reply with quote

lazarusrat wrote:
Other modules you'll need:
usb-storage (USB mass storage)
sd_mod (SCSI disk support, which implies of course SCSI support)
Possibly sg (SCSI generic)


I saw somewhere that SCSI Emulation is also needed in kernel...
_________________
PIII-S 1.4G / 512MB / TUSL2-M / 3C920 x 2 / Seagate Barracuda IV 40GB
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Tue Nov 04, 2003 4:05 pm    Post subject: Reply with quote

I have several USB devices running nicely, including a USB 2.0 hard drive, a USB 2.0 CD-RW, a printer, a compact flash MP3 player and a Logitech Rumblepad. However my camera, a Coolpix 995, spit out a similar error to yours.

Google to the rescue! This produces lots of results, most of which don't help. But this one looked worth trying. Here are the results of switching it off and on while tailing syslog:
Code:

1035 root@mimi ~
> tail -f /var/log/syslog
Nov  4 10:35:02 mimi kernel: usb.c: USB device not accepting new address=7 (error=-110)
Nov  4 10:38:51 mimi kernel: hub.c: new USB device 02:06.0-2.5, assigned address 8
Nov  4 10:38:51 mimi kernel: usb.c: USB device not accepting new address=8 (error=-110)
Nov  4 10:38:52 mimi kernel: hub.c: new USB device 02:06.0-2.5, assigned address 9
Nov  4 10:38:52 mimi kernel: usb.c: USB device not accepting new address=9 (error=-110)
Nov  4 10:39:10 mimi kernel: hub.c: new USB device 02:06.0-2.5, assigned address 10
Nov  4 10:39:10 mimi kernel: usb.c: USB device not accepting new address=10 (error=-110)
Nov  4 10:39:10 mimi kernel: hub.c: new USB device 02:06.0-2.5, assigned address 11
Nov  4 10:39:10 mimi kernel: usb.c: USB device not accepting new address=11 (error=-110)
Nov  4 10:39:27 mimi kernel: hub.c: new USB device 02:06.0-2.5, assigned address 12
Nov  4 10:39:27 mimi kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Nov  4 10:39:27 mimi kernel:   Vendor: NIKON     Model: NIKON DSC E995    Rev: 1.00
Nov  4 10:39:27 mimi kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Nov  4 10:39:27 mimi kernel: Attached scsi removable disk sde at scsi5, channel 0, id 0, lun 0
Nov  4 10:39:27 mimi kernel: SCSI device sde: 500736 512-byte hdwr sectors (256 MB)
Nov  4 10:39:27 mimi kernel: sde: Write Protect is off
Nov  4 10:39:27 mimi kernel:  /dev/scsi/host5/bus0/target0/lun0: p1
Nov  4 10:39:27 mimi kernel: WARNING: USB Mass Storage data integrity not assured
Nov  4 10:39:27 mimi kernel: USB Mass Storage device found at 12

As you can see, the sixth time was the charm :) None of my other devices have this problem, so I would guess that it is specific to certain hardware.

All of my internal drives, with the exception of an ATAPI DVD, are SCSI so I have sd_mod and other stuff built into the kernel. But I don't think modules are your problem. The failure to accept an address looks like your hang point. Give it a try.

For the record, IDE SCSI emulation is not set, SCSI disk support is set, USB mass storage is a module. You shouldn't need sg_mod or sr_mod for the HDD, an external burner will need those.
Back to top
View user's profile Send private message
sarnold
Developer
Developer


Joined: 28 Nov 2002
Posts: 115
Location: California

PostPosted: Sat Dec 20, 2003 4:17 am    Post subject: no ID error here Reply with quote

Mine doesn't have a problem with the SCSI ID, in fact everything appears fine (at first). However, it seems to fail under load, as in un-tarring the stage1 tarball, or doing the initial "emerge sync" makes it hang in the middle of said operation. And when it hangs, it hangs hard, and none of the associated processes are killable (even with the dreaded signal of death).

Are there any possible device tuning paramters here? It's a Toshiba hard drive in a Sharp MM10 that docs in a USB 2.0 cradle. I'm running WOLK 4.9s on a new ECS motherboard with SiS chipset (with VIA USB chip).

Any help would be appreciated...
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