From owner-freebsd-ports@FreeBSD.ORG Thu Mar 12 17:31:39 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 5B758A77 for ; Thu, 12 Mar 2015 17:31:39 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (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 2EC13D40 for ; Thu, 12 Mar 2015 17:31:39 +0000 (UTC) Received: by iecsl2 with SMTP id sl2so50675804iec.1 for ; Thu, 12 Mar 2015 10:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=pHGFF8Pcq9rUBon/L1gH4ma0s45ebJyrQV9S4L6cxK8=; b=gnh9m8SC3mL+vZDiuCFzIB1WAUa1cU5lEdokKZOGOK1Xl4QViTkN0ir9y0ZhdLL3Xn 5Gik1xb8Rs7jB5n0uQoDdZU1bLMpxyzGGqVnKV7PtqXsl70u5J1FMj/hWLdh8qbt5f3E QsjtoZmfnFsvQBoFLBOz1etWcCxIIKzi7kEv7VKY9uuLRXi1JqKEPBqduY/fxBzjryWL LrxQjGiAPwfmVLQ06UrCP3SoBDekC5jSyIfDmBOrsp0Dx/RxvngEWZa8Zj7BFA3s3Cw+ 7g5pV+WNdLPIgkBUD02Yd6R3wcXAPh6pS58R0RjJ/uRXsQ6XAGacL/VzlPoLjn5ZtIKv xRIw== MIME-Version: 1.0 X-Received: by 10.43.157.67 with SMTP id lp3mr40294770icc.23.1426181482434; Thu, 12 Mar 2015 10:31:22 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.174.86 with HTTP; Thu, 12 Mar 2015 10:31:22 -0700 (PDT) In-Reply-To: <201503121152.t2CBq8ku054188@mech-as221.men.bris.ac.uk> References: <201503121152.t2CBq8ku054188@mech-as221.men.bris.ac.uk> Date: Thu, 12 Mar 2015 10:31:22 -0700 X-Google-Sender-Auth: XpbjtrqjL5K4vOnvFy63082h2Fc Message-ID: Subject: Re: <118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory From: Kevin Oberman To: mexas@bris.ac.uk Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Ports ML 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 17:31:39 -0000 On Thu, Mar 12, 2015 at 4:52 AM, Anton Shterenlikht wrote: > I'm still trying to figure out why flash > wouldn't work on this particular laptop. > > I see this error/warning: > > $ 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 don't understand what it means. > Boy, has this one run WAY off the rails. After the first response, the relevant part of the report was elided from the thread and I think everyone has missed it. It looks to me like it has nothing to do with whether the module is loaded (it is) and everything to do with how people see what they expect and not what is really there. The error message is telling you that the OID "sysctl compat.linux.osrelease" is unknown, as it should as OIDs may not contain spaces. The real question is why "sysctl -a" is trying to execute "sysctl 'sysctl compat.linux.osrelease'" or some shell specific equivalent. Is "sysctl" aliased to a script or something like it? What do you get for the output of "sysctl -a > somefile"? -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com