From owner-freebsd-stable@FreeBSD.ORG Tue Mar 10 04:45:05 2015 Return-Path: Delivered-To: freebsd-stable@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 784DD232 for ; Tue, 10 Mar 2015 04:45:05 +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 453A5ACE for ; Tue, 10 Mar 2015 04:45:05 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t2A4kZsw017908; Mon, 9 Mar 2015 21:46:36 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: Freddie Cash In-Reply-To: References: <8b870ff7de0d308b93b9ffb5edc21fce@ultimatedns.net> <20150310005106.GA59888@in-addr.com> <08c23a03a843632af2f105057de45713@ultimatedns.net>, From: "Chris H" Subject: Re: Is there a linux_base available for RELENG_9? Date: Mon, 09 Mar 2015 21:46:36 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <88e79f73155978f7c2c31e8a5ed94a54@ultimatedns.net> 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 04:45:05 -0000 On Mon, 9 Mar 2015 18:41:59 -0700 Freddie Cash wrote > Re-read the error message you pasted into the email. Pay particular > attention to the part after "2.6", the last two digits. :) > > 2.6.16 != 2.6.18 > > The latter is what needs to be in sysctl.conf, or (as you discovered) > entered via sysctl(8). You will need to put the correct values into > sysctl.conf, though, for it to be set correctly at boot. Indeed. Having read UPDATING prior to the attempted upgrade, I followed the advise to add 'compat.linux.osrelease=2.6.18' to sysctl.conf(5). And rebooted. But what turned out to be the *actual* solution, was to use sysctl(8). Applying it directly fixed it. :-) Maybe update UPDATING? ;-) --Chris > > Cheers, > Freddie > On Mar 9, 2015 6:07 PM, "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. > > > > --Chris > > > > > > Regards, > > > > > > Gary > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > > " > > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >