From owner-freebsd-stable@FreeBSD.ORG Tue Mar 10 01:19:22 2015 Return-Path: Delivered-To: freebsd-stable@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 11A3E33A; Tue, 10 Mar 2015 01:19:22 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (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 D5E52FB3; Tue, 10 Mar 2015 01:19:21 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t2A1KqjW005304; Mon, 9 Mar 2015 18:20:52 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: Gary Palmer In-Reply-To: <20150310011110.GA45784@in-addr.com> References: <8b870ff7de0d308b93b9ffb5edc21fce@ultimatedns.net> <20150310005106.GA59888@in-addr.com> <08c23a03a843632af2f105057de45713@ultimatedns.net>, <20150310011110.GA45784@in-addr.com> From: "Chris H" Subject: Re: Is there a linux_base available for RELENG_9? Date: Mon, 09 Mar 2015 18:20:52 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit Cc: FreeBSD STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 01:19:22 -0000 On Tue, 10 Mar 2015 01:11:10 +0000 Gary Palmer wrote > On Mon, Mar 09, 2015 at 06:09:04PM -0700, Chris H wrote: > > On Tue, 10 Mar 2015 00:51:06 +0000 Gary Palmer wrote > > > > > On Mon, Mar 09, 2015 at 05:44:55PM -0700, Chris H wrote: > > > > I performed av svn update for both src (r279796), > > > > and ports (r380829) last night. building/installing > > > > world/kernel, went as one would hope. Upgrading ports > > > > was a different story. Given this box has an nVidia card. > > > > I usually start by upgrading emulators/linux_base; which > > > > according to UPDATING; meant linux_base-f10 --> linux_base-c6. > > > > I deinstalled x11/nvidia-driver, followed by > > > > emulators/linux_base-f10. I then attempted to make install > > > > emulators/linux_base-c6, which resulted in a message > > > > that it wasn't supported. So I simply cd'd to > > > > emulators/linux_base-f10, followed by make install. Which > > > > resulted in a CVE message; indicating it was vulnerable > > > > to glib issues. I'm now stuck w/o hardware support for > > > > my video card, and unable to effectively follow > > > > a safe port upgrade path, that enables me to keep the > > > > options I have chosen for my currently installed ports. > > > > Is there a *safe* linux_base available? > > > > > > > > Thank you for all your time, and consideration. > > > > > > If you set > > > > > > sysctl compat.linux.osrelease=2.6.18 > > > > > > you can install linux_base-c6 on RELENG_9 > > > > > > It works well enough at least for nvidia-driver, as my main desktop > > > is 9.3-RELEASE-p9 and has nvidia-driver and linux_base-c6-6.6_3 > > > installed > > > > > > Remember to put > > > > > > compat.linux.osrelease=2.6.18 > > > > > > into /etc/sysctl.conf so it's preserved on startup > > > > > > I believe if you read the message from linux_base-c6 that's basically > > > what it told you to do. > > Thanks for the reply, Gary. > > Right you are. That's exactly what I did to stage for the upgrade; > > entered 'compat.linux.osrelease=2.6.18' into etc/sysctl.conf > > rebooted, deinstalled x11/nvidia-driver, emulators/linux_base-f10, > > cd emulators/linux_base-c6; make install > > which led to: > > ===> linux_base-c6-6.6_3 compat.linux.osrelease: 2.6.16 is not supported, > > please use 2.6.18, BEWARE this is highly experimental. > > *** [all] Error code 1 > > > > Stop in /usr/ports/emulators/linux_base-c6. > > > > Thanks! and sorry for not being more detailed in the first place. > > For some reason your sysctl.conf setting didn't take. You should > investigate why and resolve that and then the port should work. > > A temporary work around would be to run > > sysctl compat.linux.osrelease=2.6.18 > > from a root shell, but it won't last past reboot. LOL right you are *again*. Immediately after replying to your last response, I checked the current status of 'compat.linux.osrelease' which, as you might have guessed, returned 2.18. So I simply entered it manually, followed by cd'ing to emulators/linux_base-c6;make install. Which went beautifully. SO. In my humble defense; UPDATING indicated sysctl.conf(5), when it *actually* meant sysctl(8). :-) Thank you very much, for taking the time to respond, Gary! --Chris > > Regards, > > Gary