Bug 198544

Summary: <118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory
Product: Base System Reporter: Anton Shterenlikht <as>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Works As Intended    
Severity: Affects Only Me    
Priority: ---    
Version: 10.1-STABLE   
Hardware: amd64   
OS: Any   

Description Anton Shterenlikht 2015-03-12 15:54:08 UTC
$ grep linux /etc/sysctl.conf
compat.linux.osrelease=2.6.18

$ sysctl -a | grep "compat.linux.os"
<118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory
compat.linux.osname: Linux
compat.linux.osrelease: 2.6.18
compat.linux.oss_version: 198144

I think the error/warning message above is
indicative of some problem.

$ kldstat
Id Refs Address            Size     Name
 1    9 0xffffffff80200000 e33630   kernel
 3    1 0xffffffff81b98000 2ba58    bwn_v4_ucode.ko
 4    1 0xffffffff81c11000 9628b6   nvidia.ko

My kernel:

$ grep -i linux /root/kernels/MINKY 
makeoptions     MODULES_OVERRIDE=linux
options COMPAT_LINUX32

linux ports:

$ pkg info -xo linux
linux-c6-atk-1.30.0            accessibility/linux-c6-atk
linux-c6-cairo-1.8.8_1         graphics/linux-c6-cairo
linux-c6-expat-2.0.1_1         textproc/linux-c6-expat
linux-c6-fontconfig-2.8.0_1    x11-fonts/linux-c6-fontconfig
linux-c6-gdk-pixbuf2-2.24.1    graphics/linux-c6-gdk-pixbuf2
linux-c6-gtk2-2.24.23_1        x11-toolkits/linux-c6-gtk2
linux-c6-jpeg-1.2.1_1          graphics/linux-c6-jpeg
linux-c6-pango-1.28.1_1        x11-toolkits/linux-c6-pango
linux-c6-png-1.2.49_1          graphics/linux-c6-png
linux-c6-tiff-3.9.4_1          graphics/linux-c6-tiff
linux-c6-xorg-libs-7.4_1       x11/linux-c6-xorg-libs
linux_base-c6-6.6_3            emulators/linux_base-c6
Comment 1 Anton Shterenlikht 2015-03-13 10:57:28 UTC
Resolved with the help from ports@.
This is not a bug, works as intended,
just my mis-interpretation.