From owner-freebsd-ports@FreeBSD.ORG Fri Mar 13 10:14:17 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48150AE2 for ; Fri, 13 Mar 2015 10:14:17 +0000 (UTC) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAB65F9E for ; Fri, 13 Mar 2015 10:14:16 +0000 (UTC) Received: by wesw62 with SMTP id w62so22194998wes.8 for ; Fri, 13 Mar 2015 03:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=IXEecUkdehCmew99mjm+E+RZICl+OmtnkPBD4cVz7ME=; b=YGtPhtuK4tz8MolfjdRj6d8VPrA+CI5hyOaQsPuW4pQ7xpasQ8HcSTDtKlc2FhH3lm MEvmcY2OnCSmhpLcBBz1V9wI7ew4qrtqPSDRiETCOhrvY9uXqSJ1km2Jnl6o5y7rn7BM CX9kcpgq4J819N0PreY4Ur9OQJe/6tJ+J+CIlZVLuq+eyIXLsxwywN6RM4q7F/vUx84a TbL2nJB0sQgOOqL7MTTqq40ktwrXeqOAia3I0rd1rH2aCG4hjIK2hDS+710JpGyNb0W8 xQLJbTvg0zWPNT9fAi5TARinQkUSBPSAFuJrn6jSx0zkp5s76UbPV0I6MyUurFltO6oH 6A+w== X-Received: by 10.194.57.170 with SMTP id j10mr22156653wjq.102.1426241655328; Fri, 13 Mar 2015 03:14:15 -0700 (PDT) Received: from ernst.home (p578E3C94.dip0.t-ipconnect.de. [87.142.60.148]) by mx.google.com with ESMTPSA id y14sm2131577wjr.39.2015.03.13.03.14.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 03:14:14 -0700 (PDT) Date: Fri, 13 Mar 2015 11:14:12 +0100 From: Gary Jennejohn To: "Chris H" 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> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mexas@bris.ac.uk, freebsd-ports@freebsd.org, david@catwhisker.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2015 10:14:17 -0000 On Thu, 12 Mar 2015 07:55:01 -0700 "Chris H" wrote: > On Thu, 12 Mar 2015 05:49:19 -0700 (PDT) Anton Shterenlikht > 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