Hello, I have trouble setting sysctl-values via loader.conf on my 5.4-STABLE from 25.06.2005. This is my /boot/loader.conf: --- 8< ---------- snip --------------- # settings for xine kern.ipc.shmmax=67108864 kern.ipc.shmall=32768 # load sound module # snd_via8233_load="YES" # via8233 for ASRock K7Upgrade-880 hw.ata.atapi_dma=1 vfs.read_max=16 --- 8< ------------------------------- Unfortunately the only one that gets set is hw.ata.atapi_dma=1 what should I do to set the other values and why are they not set accordingly? Changing the settings by hand after boot works without problems, though. After booting this is what I have: hw.ata.atapi_dma: 1 kern.ipc.shmmax: 33554432 kern.ipc.shmall: 8192 vfs.read_max: 8 Side note: loading snd_via8233 does work after boot on this board, but during boot it is messing up the soundchip, resulting in a loud beeping noise (it has no ogain, but wants speaker set to something different than 0). Help appreciated. Regards, Holger Kipp
At 09:35 AM 26/07/2005, Holger Kipp wrote:>Hello, > >I have trouble setting sysctl-values via loader.conf >on my 5.4-STABLE from 25.06.2005. > >This is my /boot/loader.conf: > >--- 8< ---------- snip --------------- ># settings for xine >kern.ipc.shmmax=67108864 >kern.ipc.shmall=32768 > ># load sound module ># snd_via8233_load="YES" # via8233 for ASRock K7Upgrade-880 > >hw.ata.atapi_dma=1>vfs.read_max=16 > >--- 8< ------------------------------- > >Unfortunately the only one that gets set is >hw.ata.atapi_dma=1 >what should I do to set the other values and >why are they not set accordingly? Changing theWhat if you put them in /etc/sysctl.conf e.g. [hippo]% cat /etc/sysctl.conf # $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 vfs.read_max=16 [hippo]%
On Tue, Jul 26, 2005 at 09:42:03AM -0400, Mike Tancsa wrote:> What if you put them in /etc/sysctl.confAh yes, that does work. Strange, I somehow completely missed sysctl.conf. Thank you very much - and sorry for wasting bandwidth on this. Regards, Holger