Matthew Burgess wrote:
> Yep, here's my '/etc/sysctl.conf':
> 
> net.ipv4.tcp_window_scaling = 0
> dev.rtc.max-user-freq = 1024
> 
> I think that the top two were failing because the relevant
> /proc entries hadn't been created; the devices/interfaces hadn't been
> brought up by the time the sysctl bootscript was run, hence I had to
> move it further on in the boot process.

At least /proc/sys/dev/rtc/max-user-freq does not exist until the rtc
module is loaded.  (As long as "enhanced real-time clock" is configured
as a module, anyway.  Build it into the kernel and the problem goes
away.  ;-P )

This may happen in S05modules, or it may happen in S55hotplug (at least,
I think hotplug is 55).  You'd need to refrain from setting that
particular sysctl until after the rtc module is loaded.

(What I do is put an "echo 1024 >/proc/sys/dev/rtc/max-user-freq" into
S99local, and leave sysctl.conf the way it would otherwise be.  This
isn't great, but it does work.)

I don't know anything about the window-scaling sysctl though.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to