Gentoo Archives: gentoo-amd64

From: Daniel Iliev <danny@××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] kernel recompile?
Date: Tue, 31 Oct 2006 18:25:01
Message-Id: 45479430.6060304@ilievnet.com
In Reply to: Re: [gentoo-amd64] kernel recompile? by Sean
1 Sean wrote:
2 > Daniel Iliev wrote:
3 >> Sean wrote:
4 >>> Since my gcc upgrade all my modules fail on boot with an error of
5 >>> version magic '2.6.16-gentoo-r9 SMP gcc-4.1' should be
6 >>> '2.6.16.16-gentoo-r9 SMP gcc-3.4'
7 >>>
8 >>> However when I try to start the rebuild of my kernel it stops just
9 >>> after starting with the line
10 >>>
11 >>> 'if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
12 >>> System.map 2.6.16-gentoo-r9; fi'
13 >>>
14 >>> any ideas on the cause?
15 >>
16 >>
17 >> cp /usr/src/linux/.config /usr/src/ # preserve the configuration
18 >> cd /usr/src/linux/
19 >> make mrproper # this puts the kernel source tree in a state as if it
20 >> was just extracted
21 >> cp /usr/src/.config . # restore the configuration
22 >> make && make modules_install
23 >>
24 >
25 > Well from your email and Mathieu it has helped a bit. I have tried to
26 > rebuild the kernel several times and after the line
27 >
28 > INSTALL sound/soundcore.ko
29 >
30 > it always displays the line
31 > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
32 > System.map 2.6.16-gentoo-r9; fi
33 >
34 > then just a prompt display.
35
36
37 --
38 Best regards,
39 Daniel
40
41
42 --
43 gentoo-amd64@g.o mailing list