PDA

View Full Version : sysctl.conf


lumiwa
January 10th, 2009, 02:58
Hi!

Again me...
On FreeBSD 7.0 I had in sysctl.conf:
compat.linux.osrelease=2.6.16

I put it that I have sound in Skype. I installed 7.1 (new installation), the same settings as on 7.0, same in sysctl.conf and when I started computer I got a message:

/etc/rc.d/sysctl:WARNING: sysctl compat.linux.osrelease does not exsist

If I run:
sysctl compat.linux.osrelease=2.6.16
compat.linux.osrelease: 2.4.2 -> 2.6.16

It works.
Thanks.

ale
January 10th, 2009, 03:53
How are you loading /boot/kernel/linux.ko ?

kamikaze
January 10th, 2009, 09:03
Du you have linux_load="YES" in your /boot/loader.conf. As ale hints you're probably loading the module after sysctl.conf is processed.

lumiwa
January 10th, 2009, 15:30
Du you have linux_load="YES" in your /boot/loader.conf. As ale hints you're probably loading the module after sysctl.conf is processed.

No, I don't have and I never had. I have and I had just linux_enable="YES" in rc.conf. Thank you. I will do.

lumiwa
January 11th, 2009, 03:01
I save my mistake...
I didn't put linux_load="YES" in /boot/loader.conf but in /etc/sysctl.conf I had "osrealease"...grrrr

I am so sorry.

ninjaslim
January 11th, 2009, 03:31
There is a howto floating around on the net. You may want to look it up.