From owner-freebsd-ports@FreeBSD.ORG Thu Mar 12 13:19:40 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E058CABF for ; Thu, 12 Mar 2015 13:19:40 +0000 (UTC) Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com [207.126.144.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C3157F9 for ; Thu, 12 Mar 2015 13:19:39 +0000 (UTC) Received: from mail-wi0-f172.google.com ([209.85.212.172]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKVQGSU4d02RbyX72H0HJpfmM8FMMxetH8@postini.com; Thu, 12 Mar 2015 13:19:40 UTC Received: by wiwl15 with SMTP id l15so3879886wiw.1 for ; Thu, 12 Mar 2015 06:19:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=bjb9y37QqoIIk5suYlAM5dh9iEHAdpRcDcr10meanRM=; b=M0Dv2pA8alccUV8Bq8iczoyiZFRcxBzK+qGfkM+wZcaQgJUHOlcNRoo6wPfw/OdEFQ Eubtg70E9CV2GRjfTGOAL7AV/VbFJBuLtkMhRwF+q/waPpqbJ4PCFnGrRIE8DxQxSva9 S9YBkSFQtIuHXK++xNpbnbgPTMCspgqhAGNvX+6jCml5+jhU4z2KVOI8oMdRUNbtsXvC uHa1lyN2EmOyuZe5djghj0M1XOpvrY1mOduvGJaqou7sIWKKMdUGCR8U+oxumf4221EL 7oSgvTt147Rm1bgosiqHtlpW/yC9ZkCHozYZrx3vXwrA3s4rQW03eSPlBSMigeDFT242 cmkw== X-Received: by 10.194.237.34 with SMTP id uz2mr85341177wjc.157.1426164561474; Thu, 12 Mar 2015 05:49:21 -0700 (PDT) X-Gm-Message-State: ALoCoQmaoafBdNdeMiRl1iU7EjqU7I9wVctBkX25Au79QqXCc4r797QjmT44DCR5RA4UxDQ2uKwuuyH9kOd5kjfOGEtj5qU6FS6Zs/OifjZ/jYax39CnvUPYVwFfQaxLTDtsXEseT7QItXQ40i9mki6pjod8ZDMkxA== X-Received: by 10.194.237.34 with SMTP id uz2mr85341160wjc.157.1426164561361; Thu, 12 Mar 2015 05:49:21 -0700 (PDT) Received: from mech-as221.men.bris.ac.uk (misc-users-pat-19-131.isys.bris.ac.uk. [137.222.19.131]) by mx.google.com with ESMTPSA id ha10sm9881295wjc.37.2015.03.12.05.49.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 05:49:19 -0700 (PDT) Date: Thu, 12 Mar 2015 05:49:19 -0700 (PDT) X-Google-Original-Date: Thu, 12 Mar 2015 12:49:17 GMT Received: from mech-as221.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as221.men.bris.ac.uk (8.14.9/8.14.9) with ESMTP id t2CCnIQA054398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 12 Mar 2015 12:49:18 GMT (envelope-from mexas@mech-as221.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as221.men.bris.ac.uk (8.14.9/8.14.9/Submit) id t2CCnHkV054397; Thu, 12 Mar 2015 12:49:17 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201503121249.t2CCnHkV054397@mech-as221.men.bris.ac.uk> To: david@catwhisker.org, mexas@bris.ac.uk Subject: Re: <118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory Reply-To: mexas@bris.ac.uk In-Reply-To: <20150312122324.GL1225@albert.catwhisker.org> Cc: freebsd-ports@freebsd.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: Thu, 12 Mar 2015 13:19:41 -0000 >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 ? Thanks Anton