[ltp] Fedora on Thinkpads

James McKenzie linux-thinkpad@linux-thinkpad.org
Mon, 10 Nov 2003 19:40:32 -0700


Do you have to recompile the kernel to enable laptop_mode?

I know about the noasync in fstab, but it tends not to work with ext3 
file systems with RH 8.

James McKenzie


Behdad Esfahbod wrote:

>On Mon, 10 Nov 2003, Stephan Herhut wrote:
>
>  
>
>>Am Mo, den 10.11.2003 schrieb Behdad Esfahbod um 17:23:
>>    
>>
>>>>Seems you know about it then;)
>>>>So, does it work with ext3 as my disk spins up periodically, even if it
>>>>is enabled. I am using ACPI, so I have to enable it manually at the
>>>>moment ( I havent dealed with acpid yet). Or is there some kind of howto?
>>>>        
>>>>
>>>Yes, it turns mine off with ext3 pretty good.  All you need to do
>>>is to add a line to /etc/sysctl.conf like this:
>>>
>>>vm.laptop_mode = 1
>>>      
>>>
>>Well, mine keeps on spinning. Every 5 seconds the hd light flashed up
>>just a little bit but I have no idea what program does this. Any idea
>>how to figure out?
>>    
>>
>
>5 second is the flush time for ext3.  Do laptop_mode, and set all
>your partitions as noasync in fstab, should do the job.
>
>  
>
>>Thanks
>>Stephan
>>
>>
>>    
>>