Author Topic: Disappearing External Hard Drive.  (Read 4391 times)

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6198
Re: Disappearing External Hard Drive.
« Reply #45 on: June 18, 2012, 10:54:41 AM »

as root open a script at "/etc/rc.local" with a text editor of your liking and add the line in it.

This script runs just before the GUI comes up and its a place to add any command to be executed as root at start up
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline wobf58

  • Full Member
  • ***
  • Posts: 52
Re: Disappearing External Hard Drive.
« Reply #46 on: June 18, 2012, 11:03:46 AM »
I discovered that after an unmount of the drive I have to detach and attach it again to the laptop.  else its not working.  But this is still better than working with Virtualbox.  So I am confident that at some time I will find a way that its just working than other drives.
Dell Latitude E6500, 4GB, 500GB HD, NVIDIA NVS160, PCLinuxOS KDE4.9.2 32bit

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6198
Re: Disappearing External Hard Drive.
« Reply #47 on: June 18, 2012, 11:57:14 AM »
I discovered that after an unmount of the drive I have to detach and attach it again to the laptop.  else its not working.  But this is still better than working with Virtualbox.  So I am confident that at some time I will find a way that its just working than other drives.

This workaround is better than the vb one especially for those who can not run vb. We are all thankful you chose to stick with the drive and are still working to make it work as expected and you are sharing your findings.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline wobf58

  • Full Member
  • ***
  • Posts: 52
Re: Disappearing External Hard Drive.
« Reply #48 on: June 20, 2012, 06:50:32 PM »
Thanks a lot.  I love to dig in and find out why things are not working.  Right now I am only using PCLinuxOS KDE 64bit on my laptop as well as on my netbook.  I would like to share my findings and questions there as well in the testing forum but the reply button isn't showing up when I am going there, so I can't add anything there.  Anyway, this is a different subject, but without all your help I don't would be able to go that far in the first place.
Dell Latitude E6500, 4GB, 500GB HD, NVIDIA NVS160, PCLinuxOS KDE4.9.2 32bit

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10599
  • MLUs Forever!
Re: Disappearing External Hard Drive.
« Reply #49 on: June 20, 2012, 06:58:49 PM »
Thanks a lot.  I love to dig in and find out why things are not working.  Right now I am only using PCLinuxOS KDE 64bit on my laptop as well as on my netbook.  I would like to share my findings and questions there as well in the testing forum but the reply button isn't showing up when I am going there, so I can't add anything there.  Anyway, this is a different subject, but without all your help I don't would be able to go that far in the first place.

You must register as a tester to be able to post, I understand
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: Disappearing External Hard Drive.
« Reply #50 on: June 27, 2012, 05:13:17 PM »
Ok, i've finally figured it out.  If I understand it correctly, the problem lies in the slow initialization of the drive's firmware to be ready to be scanned by the usb_storage kernel module. If you look at the output of "cat /sys/module/usb_storage/parameters/delay_use" it shows the value "1" (second). The default value for the kernel 3.3 should be "5"

My old LXDE has a value of 5, my newer LXDE has a value of 1, as you mentioned.
All my USB's are working  at the value of 1 as well as 5.

I've read where future kernel adjustments would be changed from 1 to 5.   They called
it "precharge should be changed from 1 to 5" in their changelog.   Hope that is the
same and pertinent info req'd for your hardware, and would give the best permanent
solution.

Just FYI.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: Disappearing External Hard Drive.
« Reply #51 on: December 31, 2012, 02:56:17 PM »
Haven't heard of your problem as solved...

But, I have seen on a machine where adding

waitusb=5:

Adding that on the end of the initrd line in menu.lst could do the trick.
That would force usb's to wait the 5 seconds when plugged in at boot.
Hope so.   Mine work so I don't have a way to test it 100%.    If not, no
harm done, just erase that then.

FYI.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE