From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GexYj-0007Kv-D7 for garchives@archives.gentoo.org; Tue, 31 Oct 2006 17:37:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9VHVtom009514; Tue, 31 Oct 2006 17:31:55 GMT Received: from ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9VHVs7B029604 for ; Tue, 31 Oct 2006 17:31:55 GMT Received: from localhost (localhost [127.0.0.1]) by ilievnet.com (Postfix) with ESMTP id 885F3221918 for ; Tue, 31 Oct 2006 19:31:52 +0200 (EET) X-Virus-Scanned: amavisd-new at ilievnet.com Received: from ilievnet.com ([127.0.0.1]) by localhost (ilievnet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bei4FnA7xwTw for ; Tue, 31 Oct 2006 19:31:47 +0200 (EET) Received: from [10.0.1.1] (mail.ilievnet.com [10.0.1.1]) by ilievnet.com (Postfix) with ESMTP id 477F0221915 for ; Tue, 31 Oct 2006 19:31:47 +0200 (EET) Message-ID: <4547887E.4030606@ilievnet.com> Date: Tue, 31 Oct 2006 19:31:42 +0200 From: Daniel Iliev User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.7) Gecko/20061010 SeaMonkey/1.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] kernel recompile? References: <4547594F.1070406@verizon.net> <45475F98.1070603@pro.onet.pl> <454772F9.5030807@ilievnet.com> <200610311719.44939.Gentoo@kraszewscy.net> <45478234.4050302@verizon.net> In-Reply-To: <45478234.4050302@verizon.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 43402c8e-b558-416a-a89e-e48f3c9bd3c1 X-Archives-Hash: 5933f9359f2df9ced37a997600bd6373 Sean wrote: > > Since my gcc upgrade all my modules fail on boot with an error of > version magic '2.6.16-gentoo-r9 SMP gcc-4.1' should be > '2.6.16.16-gentoo-r9 SMP gcc-3.4' > > However when I try to start the rebuild of my kernel it stops just > after starting with the line > > 'if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F > System.map 2.6.16-gentoo-r9; fi' > > any ideas on the cause? cp /usr/src/linux/.config /usr/src/ # preserve the configuration cd /usr/src/linux/ make mrproper # this puts the kernel source tree in a state as if it was just extracted cp /usr/src/.config . # restore the configuration make && make modules_install Then do what you do to install your new kernel. For example I have 2 boot entries: - "Gentoo" (default after 5 seconds) with kernel "/boot/bzImage" - "Test" with kernel "/boot/bzTest" So the commands in my case are: cp /usr/src/linux/arch/x86_64/boot/bzImage /boot/bzTest cp System.map /boot lilo When I compile a new kernel, I first try it with "Test" and if it works, a do cp /boot/bzTest /boot/bzImage && lilo # to make it default boot option After you are ready with the new kernel and it boots OK (no module problems etc.) you'll have to emerge nvidia-drivers...again. In fewer words: Recompile the kernel to solve its problems and then emerge nvidia-drivers. HTH -- Best regards, Daniel -- gentoo-amd64@gentoo.org mailing list