Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2015 11:14:12 +0100
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        "Chris H" <bsd-lists@bsdforge.com>
Cc:        mexas@bris.ac.uk, freebsd-ports@freebsd.org, david@catwhisker.org
Subject:   Re: <118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory
Message-ID:  <20150313111412.20d5aad3@ernst.home>
In-Reply-To: <2eefaea5c4fc8fe5e0372429cdf0ba74@ultimatedns.net>
References:  <201503121249.t2CCnHkV054397@mech-as221.men.bris.ac.uk> <2eefaea5c4fc8fe5e0372429cdf0ba74@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Mar 2015 07:55:01 -0700
"Chris H" <bsd-lists@bsdforge.com> wrote:

> On Thu, 12 Mar 2015 05:49:19 -0700 (PDT) Anton Shterenlikht <mexas@bris.ac.uk>
> wrote
> 
> > >From david@catwhisker.org Thu Mar 12 12:44:43 2015
> > >
> > >What does output of "kldstat | grep linux" look like?
> > >
> > >Expected:
> > >
> > >g1-251(11.0-C)[1] kldstat |grep linux
> > > 2    3 0xc17a4000 74c90    linux.ko
> > >g1-251(11.0-C)[2]=20
> > >
> > >
> > >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 LINPROCFS
> > options LINSYSFS
> > 
> > Perhaps I also need to add
> >  options COMPAT_LINUX ?
> By virtue of the fact that kldstat(8) returns nvidia. You
>

Not necessarily true. My nvidia module was compiled without
Linux support.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150313111412.20d5aad3>