Gentoo Archives: gentoo-amd64

From: Mathieu Seigneurin <mseigneurin@×××××××.fr>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] kernel recompile?
Date: Tue, 31 Oct 2006 17:23:52
Message-Id: 200610311818.53412.mseigneurin@tiscali.fr
In Reply to: Re: [gentoo-amd64] kernel recompile? by Sean
1 On Tuesday 31 October 2006 18:04, Sean wrote:
2 > Pawel Kraszewski wrote:
3 > > No. In this case you'd need new NVidia kernel driver each time kernel's
4 > > version changes.
5 > >
6 > > During installation NVidia's kernel module (in compiler's meaning - .o
7 > > file provided by NVidia) is linked against a freshly compiled stub
8 > > adopting it to running kernel and making kernel module (in kernel's
9 > > meaning - .ko file).
10 > >
11 > > If you compile kernel and kernel module (.ko) with different compilers,
12 > > you'll get 'invalid module format' and modprobe/insmod fails.
13 >
14 > Since my gcc upgrade all my modules fail on boot with an error of
15 > version magic '2.6.16-gentoo-r9 SMP gcc-4.1' should be
16 > '2.6.16.16-gentoo-r9 SMP gcc-3.4'
17 >
18 > However when I try to start the rebuild of my kernel it stops just after
19 > starting with the line
20 >
21 > 'if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
22 > System.map 2.6.16-gentoo-r9; fi'
23 >
24 > any ideas on the cause?
25
26 You need to "make clean" before you "make". Backup your .config, not sure
27 how much cleaning "make clean" does.
28 --
29 gentoo-amd64@g.o mailing list