Tejun Heo wrote: > > Can you try the following instead of hdparm? > > echo 1 > /sys/bus/scsi/devices/1:0:0:0/power/state > > It will make libata involved in putting the disk to sleep and waking it > up, and, when waking, it will kick the drive in the ass by resetting the > channel. Please try with the latest -rc kernel. > Sorry to say, but this did not work: # echo 1 > /sys/bus/scsi/devices/0:0:0:0/power/state bash: echo: write error: Invalid argument # ll !$ ll /sys/bus/scsi/devices/0:0:0:0/power/state -rw-r--r-- 1 root root 0 Aug 1 20:00 /sys/bus/scsi/devices/0:0:0:0/power/state # cat !$ cat /sys/bus/scsi/devices/0:0:0:0/power/state 0 # uname -a Linux bugs 2.6.18-rc3 #2 PREEMPT Sun Jul 30 16:26:22 CEST 2006 i686 GNU/Linux Regards Harri
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: 2.6.18-rc2, problem to wake up spinned down drive?
- From: Tejun Heo <[email protected]>
- Re: 2.6.18-rc2, problem to wake up spinned down drive?
- References:
- 2.6.18-rc2, problem to wake up spinned down drive?
- From: Harald Dunkel <[email protected]>
- Re: 2.6.18-rc2, problem to wake up spinned down drive?
- From: Tejun Heo <[email protected]>
- 2.6.18-rc2, problem to wake up spinned down drive?
- Prev by Date: Re: [Patch] kernel: bug fixing for kernel/kmod.c
- Next by Date: Re: deprecate and convert some sleep_on variants.
- Previous by thread: Re: 2.6.18-rc2, problem to wake up spinned down drive?
- Next by thread: Re: 2.6.18-rc2, problem to wake up spinned down drive?
- Index(es):