<118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory

Anton Shterenlikht mexas at bris.ac.uk
Thu Mar 12 13:19:41 UTC 2015

>From david at catwhisker.org Thu Mar 12 12:44:43 2015
>What does output of "kldstat | grep linux" look like?
>g1-251(11.0-C)[1] kldstat |grep linux
> 2    3 0xc17a4000 74c90    linux.ko
>But if it's not loaded, I suspect that might be a valid reason for
>the OID to fail to be recognized

# kldstat
Id Refs Address            Size     Name
 1    9 0xffffffff80200000 e33630   kernel
 2    1 0xffffffff81034000 e10350   nvidia.ko
 3    1 0xffffffff81e45000 2ba58    bwn_v4_ucode.ko
# kldload linux
kldload: can't load linux: module already loaded or in kernel

I have in the kernel config file:

options COMPAT_43
options COMPAT_LINUX32
options LINSYSFS

Perhaps I also need to add
 options COMPAT_LINUX ?



More information about the freebsd-ports mailing list