Problem: HDD wakes up himself after some time
|
7th Jan, 2014, 04:21 AM
Post: #16
|
|||
|
|||
RE: HDD wakes up himself after some time
I tried this program however now and as I thought my drive is not supported. Is not even on the list in program.
So I don't know what I should do now. |
|||
7th Jan, 2014, 04:23 AM
Post: #17
|
|||
|
|||
RE: HDD wakes up himself after some time
Hmm... Maybe there is an other software which supports your HDD. Just search on http://www.wdc.com
|
|||
7th Jan, 2014, 11:29 AM
Post: #18
|
|||
|
|||
RE: HDD wakes up himself after some time
@Alcoinus,
can you post what hdparm is actually doing on the drive ? Code: sudo -i the above command will output on screen hdparms action and will run regardles of "nohdparm" setting in /boot/cmdline.txt . (just btw a better solution to let hdparm work on your xbian is putting "FORCE_RUN=yes" line into /etc/default/hdparm as some parameters in cmdline.txt can change with updates) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jan, 2014, 06:01 PM
Post: #19
|
|||
|
|||
RE: HDD wakes up himself after some time
@mk01,
The command outputs the following: Terminal xbian@xbian ~ $ sudo -i [sudo] password for xbian: root@xbian:~# DEVNAME=/dev/sda FORCE_RUN=yes VERBOSE=yes /etc/init.d/hdparm hotplug [ ok v/sda. root@xbian:~# |
|||
7th Jan, 2014, 08:21 PM
Post: #20
|
|||
|
|||
RE: HDD wakes up himself after some time
that means no action. can you please put nohdparm to cmdline.txt, reboot a retry?
either hdparm knows action has been already done or there is really no action. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jan, 2014, 08:39 PM
Post: #21
|
|||
|
|||
RE: HDD wakes up himself after some time
Its the same:
Terminal [sudo] password for xbian: root@xbian:~# DEVNAME=/dev/sda FORCE_RUN=yes VERBOSE=yes /etc/init.d/hdparm hotplug [ ok v/sda. root@xbian:~# DEVNAME=/dev/sda FORCE_RUN=yes VERBOSE=yes /etc/init.d/hdparm hotplug [ ok v/sda. root@xbian:~# |
|||
7th Jan, 2014, 08:54 PM
Post: #22
|
|||
|
|||
RE: HDD wakes up himself after some time
then you can edit /etc/init.d/hdparm
comment "set -e" and insert "set -x" Code: #set -e when you run again, you will see line step by step what is happening. you can upload to pastebin. I will go through it. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jan, 2014, 08:58 PM
Post: #23
|
|||
|
|||
RE: HDD wakes up himself after some time
here it is http://pastebin.com/LZu8YA9M
|
|||
7th Jan, 2014, 09:20 PM
Post: #24
|
|||
|
|||
RE: HDD wakes up himself after some time
can you please re-run it after you take root privileges (sudo -i)
you started it as xbian user and the actions failed. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jan, 2014, 09:28 PM
Post: #25
|
|||
|
|||
RE: HDD wakes up himself after some time
haha ok. here is the new one http://pastebin.com/jyvBVk01
|
|||
7th Jan, 2014, 09:53 PM
Post: #26
|
|||
|
|||
RE: HDD wakes up himself after some time
/sbin/hdparm -q -S60 /dev/sda
the same command as usbmounter. the only difference is that hdparm is called from udev from all block devices (including non-rotational) and trying to set this on SD/USB sticks etc. this was causing system locks, slowdowns and other bad things with some combinations of hardware. XBian is checking /sys/block/sda/queue/rotational to be "1" before that. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jan, 2014, 10:22 PM
Post: #27
|
|||
|
|||
RE: HDD wakes up himself after some time
okay. but what do you want to say with this to me?
|
|||
7th Jan, 2014, 11:23 PM
Post: #28
|
|||
|
|||
RE: HDD wakes up himself after some time
Hmm, I'm reading posts above and I also don't know how it can resolve our problem (or maybe now only mine because you solved it in a different way)
|
|||
7th Jan, 2014, 11:37 PM
Post: #29
|
|||
|
|||
RE: HDD wakes up himself after some time
@Alcoinus
that you should check if the drive is correctly recognized as rotational (as I posted above) and if yes then we have just to find why udev doesn't triggers usbmount as designed and wanted and expected (maybe small bug somewhere) and then this standard setup will work again without researching and hacking. (literally this one issue won't stay between mystery X-Files) @feg unfortunately your issue is different one and probably is related to HDD type and/or firmware. I also have two 1TB usb WD passport drives which are ignoring all kind of trials). Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jan, 2014, 11:54 PM
Post: #30
|
|||
|
|||
RE: HDD wakes up himself after some time
ok. i checked and in /sys/block/sda/queue/rotational is a 1.
|
|||
« Next Oldest | Next Newest »
|