From owner-freebsd-current@freebsd.org Sun May 7 13:42:58 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 035CDD61CBD for ; Sun, 7 May 2017 13:42:58 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 94E7EBBA for ; Sun, 7 May 2017 13:42:57 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6374DD61CBA; Sun, 7 May 2017 13:42:57 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A6D4D61CB9 for ; Sun, 7 May 2017 13:42:57 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (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 65AF0B9F for ; Sun, 7 May 2017 13:42:56 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id l50so25549637wrc.3 for ; Sun, 07 May 2017 06:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=nd5QoP8fmgfY6MlxuuglsqlYDHNQWbA17dzy5vwNDvs=; b=bLNl4qT4A2yL8b9r3g2OxLaaKGwe1iz1Lika+pTsArOs0fvivBqSdvtFv6TP9K8RoL fR7AiUgi9itpgruzuidSlmESAjFlr/i+W5Ly8OlQ/Lqm2PBWSf5Z1zlpQfkXZWumMSYY zIVU+lQpK0uPml57KxECulrWZJZmz/B8BtmhgtYMq80nS9Xuf4mQd5i0Yr/Q1aTlewfU yDIySbNCCD3HEXckh9z88IF++VQew6hFle1Ga3fr4YxvbiDM2VsH+k/S1ccyrUSR477y OFLqxFHSEDKCPX3w/Pb+dvHD53csResReadhmMJCSMxGUbAuP2lGha/sXpo5XqTNXqrH LvLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=nd5QoP8fmgfY6MlxuuglsqlYDHNQWbA17dzy5vwNDvs=; b=ZDnFmOj00RE68zIzj83cr6Ns4CaOOYQrqBBMRHilkevaPVldx0jcGfetU7ok3nU7TR +l8P6Bai/KHyCvZEKyJOEorfGSuB0m7gJycgFmEuzKUepipFRXpPr17e04GHN2NYlTPo UWAZf1t/EIhlCpQm1PI4xuLA41M3JLu098u5GSp758ejX3BTTm38FGWC/8VnK6u51hhg DkeN7OKfJqGiDfVjB70EzDvgoe8yi0wA1cE23bz0si9VaUDInv1/NJ1L8AKbJwFettLM vFO7JH/BDxCKYgpkRGjZrXUfscDpXryYN6iD6a8kv6Fsxs0o8SBD150gybunCUheiT7j 28/A== X-Gm-Message-State: AN3rC/6Jjsb9g//WF+pDTyEACM8CwFzuTsdS3/MK1ibtcQw96VDWJQwd Y+R037e+XTWD/h/I X-Received: by 10.223.148.132 with SMTP id 4mr43532610wrr.119.1494164574644; Sun, 07 May 2017 06:42:54 -0700 (PDT) Received: from ernst.home (p578E3223.dip0.t-ipconnect.de. [87.142.50.35]) by smtp.gmail.com with ESMTPSA id u4sm6547711wmu.0.2017.05.07.06.42.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 May 2017 06:42:54 -0700 (PDT) Date: Sun, 7 May 2017 15:42:54 +0200 From: Gary Jennejohn To: "Jeffrey Bouquet" Cc: "current" Subject: Re: Some precise procedure... Message-ID: <20170507154254.7016461c@ernst.home> In-Reply-To: References: Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2017 13:42:58 -0000 On Sun, 07 May 2017 05:11:13 -0700 (PDT) "Jeffrey Bouquet" wrote: > Given the following procedure: > > svn up /usr/src > make buildworld > make buildkernel > make installkernel > mergmaster > reboot single user > mergemaster > make installworld > pkg install compatN-i386 > reboot > make check-old > make delete-old > > etc [ pardon the missing stuff and out of order, this is from memory] > > At which precise point either > 1... Xorg fails to work > 2... nvidia-driver fails to work? > Because in my experience unless a minor upgrade, it happens every time, and > I am caught unawares.. so am wanting in the summaries in UPDATING > 3a... do not proceed beyond this without backups, as your video driver may not work... > and am slightly confused. > If I svn, but do not buildworld, is nvidia-driver somehow more unusable? etc etc. > looking at it from an entirely newbie frame of mind, because a more authoritative > source than I may know more about the precise how and why an svn OR a buildworld > should not be attempted if one is more concerned about the driver not breaking > or being unusable 'version mismatch' upon upgrade, than the upgrade itself. > > tl;dr > anyone have an expert summary? if not, just thanks for reading, or throw a concept > at me. > 1... Xorg ceases to work and/or > I also use nvidia-driver. I ALWAYS test a new kernel for compatibility with Xorg/nvidia-driver before I decide to make it the default. I have a bash alias called mitk (make install kernel to /boot/test): mikt is aliased to `pushd /usr/src;make -s installkernel KODIR=/boot/test;nbt;popd' nbt is aliased to `nextboot -k test' At the next boot the new test kernel will be loaded. If nvidia-modeset.ko fails to load (that's what the newer nvidia-driver reuires), then I know the kernel is no longer compatible. If starting Xorg fails then I also knaow that the new kernel is no longer compatible. I just do a reboot to get the old, working kernel again. I then have the option to update nvidia-driver, if I consider it to be important to me. Generally, it's not Xorg itself which is failing, but rather the nvidia-driver. If Xorg starts OK then I have a bash shell function called t2k which copies the test kernel to /boot/kernel. Here it is: t2k is a function t2k () { cd /boot; rm -rf kernel.oldold; mv kernel.old kernel.oldold; mv kernel kernel.old; mkdir kernel; cp test/* kernel; touch kernel/linker.hints; cd } -- Gary Jennejohn