LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-16-2005, 12:56 PM   #1
compujas
LQ Newbie
 
Registered: Jul 2005
Location: New Jersey, US
Distribution: Ubuntu, Debian
Posts: 8

Rep: Reputation: 0
Cannot reconnect external firewire/usb drive


I have a Seagate 160GB IDE drive that I put into a Macally PHR-100AC external enclosure (Firewire400/USB2.0 3.5" case). It works beautifully...until I disconnect it and try reconnecting it. I can use it perfectly either through firewire or usb with no problems, but after I unmount the drive and disconnect the cable, it will no longer work unless I reboot the machine (which basically defeats the purpose of an external drive).

The first question I'm sure everyone would ask is "Do I unmount the drive before disconnecting it?" and yes I do. After I disconnect it and then reconnect it, there is no mention of the machine finding it or scanning or anything according to dmesg. I plug it back in and it's as if I didn't. I do have the proper modules loaded (ohci1394, ieee1394, usbcore, usb_storage, ehci_hcd, uhci_hcd, etc.).

Also, if I connect it as firewire and disconnect it, then connect it as usb, it will work again, but after I disconnect the usb, it doesn't work on either. Any help would be great because this is quite annoying. Thanks.

PS: If anyone wants to hop on over to my other post as well (I am being told that I cannot post a URL as I have too few posts under my belt, so please just search for my other posts), I am having another problem that no one seems to be responding to. Thanks again.
 
Old 08-16-2005, 02:37 PM   #2
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
you should unmount usb drive. don't know details about firewire,
if you want to reconnect usb. try to use

#mount /dev/sdb1 /media/usb

if first using /dev/sda1
 
Old 08-16-2005, 03:05 PM   #3
compujas
LQ Newbie
 
Registered: Jul 2005
Location: New Jersey, US
Distribution: Ubuntu, Debian
Posts: 8

Original Poster
Rep: Reputation: 0
As I said, I do unmount the drive before disconnecting. The problem is that after I reconnect the drive, it isn't recongnized as being reconnected, hence there is no device node to mount it with.
 
Old 08-16-2005, 03:15 PM   #4
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
are you able to unmount it properly with out getting error in /var/log/messages , if so you first need to stop using it (from any process) and then you can re-connect it.
 
Old 08-16-2005, 03:39 PM   #5
compujas
LQ Newbie
 
Registered: Jul 2005
Location: New Jersey, US
Distribution: Ubuntu, Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I see no explicit errors. The following is the entire event related to connecting the drive via usb and subsequently disconnecting it.

Code:
Aug 16 13:40:18 localhost kernel: usb 4-1: new high speed USB device using ehci_hcd and address 14
Aug 16 13:40:19 localhost kernel: Initializing USB Mass Storage driver...
Aug 16 13:40:19 localhost usb.agent[23312]:      usb-storage: loaded successfully
Aug 16 13:40:19 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Aug 16 13:40:19 localhost kernel: usbcore: registered new driver usb-storage
Aug 16 13:40:19 localhost kernel: USB Mass Storage support registered.
Aug 16 13:40:24 localhost kernel:   Vendor: ST316002  Model: 3A                Rev:  0 0
Aug 16 13:40:24 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Aug 16 13:40:39 localhost hal.hotplug[23418]: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:1d.7/usb4/4-1/4-1:1.0/host1/target1:0:0/1:0:0:0
Aug 16 13:40:49 localhost scsi.agent[23423]: Attribute /sys/devices/pci0000:00/0000:00:1d.7/usb4/4-1/4-1:1.0/host1/target1:0:0/1:0:0:0/type does not exist
Aug 16 13:40:49 localhost kernel: usb 4-1: USB disconnect, address 14
Not sure what that really means before the disconnect. But other than that, when I unmount the drive, it appears to unmount cleanly. If any processes were actively using the drive, it would not allow me to unmount it which leads me to believe that it is fine.
 
Old 08-19-2005, 09:17 AM   #6
compujas
LQ Newbie
 
Registered: Jul 2005
Location: New Jersey, US
Distribution: Ubuntu, Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Anyone have any more ideas? It's really quite annoying to have to restart to reconnect an external drive.
 
Old 08-30-2005, 06:24 AM   #7
SMiTTY_Cali
LQ Newbie
 
Registered: Aug 2005
Location: Brentwood, CA
Posts: 3

Rep: Reputation: 0
I believe you want to look at '/sbin/usbmodules' and '/sbin/hotplug' ... I'll give it a go on my RH box and post up what I find.

- SMiTTY

Just tried on my RHEL 4 box and it works without issues. I have a Maxtor 300G. I plug it in, and it automounts. I unmount, unplug, wait 5 secs, plug back in and it automounts.

Is 'dbus-daemon-1' running on your box? If not, I'm betting that's your problem.
Let us know.

SMiTTY

Last edited by SMiTTY_Cali; 08-30-2005 at 07:19 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help mounting an external firewire drive Stevetgn Linux - Newbie 0 10-16-2005 02:46 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
External Firewire or USB 2.0 ? reefer77 Linux - Hardware 1 04-17-2004 07:43 AM
Is it possible to install to a FireWire external drive? ManweoftheValar Linux - Newbie 4 09-30-2003 05:54 PM
Installing Slackware 9 to external FireWire drive Atdeb Linux - General 1 06-13-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:55 PM.

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