Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
I see no explicit errors. The following is the entire event related to connecting the drive via usb and subsequently disconnecting it.
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: 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: 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: 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.