From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N4MKf-0004dt-6k for garchives@archives.gentoo.org; Sat, 31 Oct 2009 22:22:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93AEEE0B20; Sat, 31 Oct 2009 22:21:59 +0000 (UTC) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 51423E0B20 for ; Sat, 31 Oct 2009 22:21:59 +0000 (UTC) Received: by ewy22 with SMTP id 22so365630ewy.14 for ; Sat, 31 Oct 2009 15:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=LLNwsVsiFL3NNI0rHmRGDL3OpoF/LgqZD+IsKs3Qg/0=; b=j8VzUXs5xH4VgdjOwx+C88aKhIQ7v489q/zk+eFuUeonBoPgtuMg/7Hkm13oDKaQXB Mb8TJVeI1VWQUK2EOKyZgog9js5gGBh258brr0fYtG9ihjrF2J3/G++I8RSOF5vKS8sx A5sGF0eKBeVhwofNhUScaPCPi+lVk6VRJM+xg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=LjgF23IOXY6xFf5BK0r4mQCqv25WqoSsDraHV4jN29Cqs3DCxuTlPGo5E/89ZZiyHS GwvW01VZUN9ForTj9eTbCOWdMh5N8GDtq8jtkEGD/0yOQS2+485ysaE0k9PDrcTlRExX SeV90wZbUTryBVt1gtIW0bdjq02PqUi0R51vE= Received: by 10.216.86.83 with SMTP id v61mr2242669wee.80.1257027718723; Sat, 31 Oct 2009 15:21:58 -0700 (PDT) Received: from nazgul.localnet (196-210-153-40-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.40]) by mx.google.com with ESMTPS id 7sm5381172eyb.24.2009.10.31.15.21.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 31 Oct 2009 15:21:57 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Kernel upgrading and linux symlink Date: Sun, 1 Nov 2009 00:20:57 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-zen5; KDE/4.3.2; x86_64; ; ) References: <87hbtfo68r.fsf@newsguy.com> <4AECAB89.6020909@gmail.com> In-Reply-To: <4AECAB89.6020909@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911010020.57136.alan.mckinnon@gmail.com> X-Archives-Salt: 431b9334-8cad-4959-a31f-0daca95b0190 X-Archives-Hash: 50b34fef2a916a7e4ab13f3f7415228e On Saturday 31 October 2009 23:26:33 Dale wrote: > Denis wrote: > > On Sat, Oct 31, 2009 at 12:52 PM, Harry Putnam wrote: > >> And in fact does it really matter if its pointing at the newly > >> installed or actual running kernel, when kernel compiling operations > >> take place? > > > > When I upgrade a kernel, I first change the symlink using eselect to > > point to the source I'm about to install. Then, after I configure and > > compile the kernel, I use the "module-rebuild rebuild" to rebuild any > > kernel modules against the new source. Move the bzImage to /boot, > > reboot, and that's it. I don't know how genkernel changes any of this > > - I use manual menuconfig. > > I'm about the same. I update the symlink, build the kernel, update > nvidia-drivers against the new kernel before I forget, copy bzImage to > /boot and edit grub. I reboot when I get the chance. I'm a forgetful old git. In my world it usually goes like this: emerge, build, install new kernel carry on with work boot into new kernel at some later point observe xdm doing nothing on-screen curse and swear mightily Ctrl-Alt-F1 login as root check symlink module-rebuild rebuild modprobe -r nvidia && modprobe nvidia /etc/init.d/xdm restart && logout takes about 6 minutes total, 6 minutes that I'll never get back :-) -- alan dot mckinnon at gmail dot com