From owner-freebsd-ports@FreeBSD.ORG Thu Mar 12 15:20:58 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 72EFA9D0 for ; Thu, 12 Mar 2015 15:20:58 +0000 (UTC) Received: from eu1sys200aog124.obsmtp.com (eu1sys200aog124.obsmtp.com [207.126.144.157]) (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 C13DD8CC for ; Thu, 12 Mar 2015 15:20:56 +0000 (UTC) Received: from mail-wg0-f47.google.com ([74.125.82.47]) (using TLSv1) by eu1sys200aob124.postini.com ([207.126.147.11]) with SMTP ID DSNKVQGuvGF2H2X+7SXWaSkdZ/AWpxTlKkjL@postini.com; Thu, 12 Mar 2015 15:20:57 UTC Received: by wghn12 with SMTP id n12so17133425wgh.6 for ; Thu, 12 Mar 2015 08:20:28 -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=cl822j9kMiUo4h7BKVAjRx0DPEVqGK98a0y1vRc/4PI=; b=l9pS6ZLNqNsNoI1wBwwW9t7B+576Qj1Q/Z9M1DzALh+i5+S+70Am6JvZiE0spdj21R aiwaYjGIgNy8drjW3vsyfJQfKnRegaZMxceSWS3gTwSw3L/S8q6Mvmp23KGS+l8O6D12 8iqt2F9soobUiNPV2CVuOiKttJvYdOX/Z44J6ZEYqywBz5lLOE3KiANICCAjjz1xknnt IZU3IfIxqfXcCaBKt0Hi6WZ1bS7FtfhegK1Z7KgkIJfXgxLxl3ySjogKFc/NFZJyMhR/ +exWhrG+2F5EdjXNYyNr4XGiOt1n38KrXnpbylOePda/qihMoOi8Sdp0w9UCQnCgvwy/ 1swg== X-Gm-Message-State: ALoCoQlW5XwPf24PLoyuZHJZxlTyGPJ2mDtTfXaOzowLWxX46J0BlfwiFZVmh8T6d6dXv6N6xLEbB3LFEDiC8IMqHnpDL5cBuYMHUD9fmjhVpnMy8J7xpnByccBWfLYgA9fKxQFozq07XImCqonQNrQNRfz8DJxvAw== X-Received: by 10.180.7.134 with SMTP id j6mr17368497wia.11.1426173628579; Thu, 12 Mar 2015 08:20:28 -0700 (PDT) X-Received: by 10.180.7.134 with SMTP id j6mr17368456wia.11.1426173628298; Thu, 12 Mar 2015 08:20:28 -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 hn8sm11163586wib.18.2015.03.12.08.20.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 08:20:27 -0700 (PDT) Date: Thu, 12 Mar 2015 08:20:27 -0700 (PDT) X-Google-Original-Date: Thu, 12 Mar 2015 15:20:25 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 t2CFKPeL055037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 12 Mar 2015 15:20:25 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 t2CFKP1N055036; Thu, 12 Mar 2015 15:20:25 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201503121520.t2CFKP1N055036@mech-as221.men.bris.ac.uk> To: bsd-lists@bsdforge.com, 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: <2eefaea5c4fc8fe5e0372429cdf0ba74@ultimatedns.net> 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 15:20:58 -0000 >From bsd-lists@bsdforge.com Thu Mar 12 15:16:15 2015 >> >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 >can be assured that linux has already been loaded, or >rather, that linux is already available. Which suggests to >me that it is already part of your kernel. dmesg(8) >(/var.run/dmesg.boot) might well reveal that, for you. >Perhaps even in /var/log/messages. $ grep -i linux /var/run/dmesg.boot $ What does this tell me? Thanks Anton