Marc Haber wrote:
> On Tue, Jul 29, 2008 at 08:35:10PM +0200, Bart Samwel wrote:
>> Marc Haber wrote:
>>> On Tue, Jul 29, 2008 at 04:45:23PM +0200, Bart Samwel wrote:
>>>> Marc Haber wrote:
>>>>> Why is laptop-mode-tools trying to remount the file
>>>>> systems in the first place?
>>>> Let me try to explain. Ext3 file systems (and some other journalling 
>>>> file systems) write to disc periodically, to flush its journal 
>>>> transactions. When laptop mode is enabled, laptop mode tools must tweak 
>>>> the mount options for ext3 to make the flush intervals larger, so that 
>>>> the disc doesn't spin up every 30 seconds. At resume time, some of the 
>>>> settings are forgotten by the hardware and/or the kernel, so laptop mode 
>>>> tools has to forcibly reapply all settings, including the mount options.
>>> Can this behavior of laptop-mode-tools be disabled by configuration?
>> Well, you can set CONTROL_MOUNT_OPTIONS to 0 in laptop-mode.conf. But
>> that does mean that laptop mode won't work anymore. If you're going to
>> do that, you might as well uninstall it...
> 
> So this option will completely disable all features of laptop-mode,
> not only the remount upon power loss?

Weeeeeellll... not quite. It will not disable all features of
laptop-mode-tools, but it will disable the remount on power loss, yes.
And that will make the spin-down-the-hard-drive option (a.k.a. "laptop
mode") fail to work, because changing the mount options is required if
the hard drives need to spin down. You can still use the other modules.

Anyway, you could try and report this for the upstream kernel at:

http://bugzilla.kernel.org/

They should be able to debug and fix this! I could do it myself BTW, but
since I can't reproduce the problem it's better if you report it and
help them find out what's going on. Keep me posted -- I want to know
what happens with this, because it definitely isn't nice. :-/

Cheers,
Bart



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to