1 |
Hi, |
2 |
IMO when performing "make" after make clean and make menuconfig (assuming |
3 |
you want to change something in kernel) builds kernel image and modules as |
4 |
well. After that I run rm -rf /lib/modules/<kernel dir> and make && make |
5 |
modules_install. Then there shouldn't be any problem. (also [emerge -av |
6 |
$(qdepends -CNQ virtual/linux-sources)] would be nice). |
7 |
|
8 |
Kfiaciarka |
9 |
|
10 |
2008/6/3 Duncan <1i5t5.duncan@×××.net>: |
11 |
|
12 |
> Beso <givemesugarr@×××××.com> posted |
13 |
> d257c3560806030201y23df89fdy1cf12ae0bb3b772a@××××××××××.com, excerpted |
14 |
> below, on Tue, 03 Jun 2008 09:01:04 +0000: |
15 |
> |
16 |
> > the problem is that with the old normal config the kernel detects one |
17 |
> > processor and one core and it works, loading the modules, but when |
18 |
> > enabling simetric multiprocessing the kernel detects just one processor |
19 |
> > and one core and then it fails to load modules because of a different |
20 |
> > executable format in the modules. |
21 |
> |
22 |
> This indicates that the modules and the kernel aren't matched. IOW, you |
23 |
> apparently compiled the new kernel but failed to compile the matching |
24 |
> modules, so it's trying to use the old ones, which don't match the new |
25 |
> kernel, so it won't load them. |
26 |
> |
27 |
> Even if it's the exact same kernel you compiled, if you change options, |
28 |
> particularly something as big as SMP, you'll need to recompile the kernel |
29 |
> modules as well. |
30 |
> |
31 |
> Also note that if you use an initrd/initramfs, you'll need to redo it, |
32 |
> loading the new modules as appropriate into it as well as placing them in |
33 |
> the normal /lib/modules/<kern-ver>/ dir. I don't run an initramfs/ |
34 |
> initrd, so have never learned the technical intricacies thereof, but |
35 |
> wherever it's trying to load them from, you don't have the right ones |
36 |
> there for it to load. |
37 |
> |
38 |
> One way or the other, with or without the initrd/initramfs, the kernel is |
39 |
> trying to load modules that don't match the kernel, and failing. Correct |
40 |
> that, and you will have fixed at least that problem, altho it's possible |
41 |
> you'll then have others to fix as well. |
42 |
> |
43 |
> -- |
44 |
> Duncan - List replies preferred. No HTML msgs. |
45 |
> "Every nonfree program has a lord, a master -- |
46 |
> and if you use the program, he is your master." Richard Stallman |
47 |
> |
48 |
> -- |
49 |
> gentoo-amd64@l.g.o mailing list |
50 |
> |
51 |
> |
52 |
|
53 |
|
54 |
-- |
55 |
pozdrawiam |
56 |
Konrad Okurowski <dm.konrad@×××××.com> |
57 |
Key Fingerprint = D993 3823 F20D 3B8D 2719 3012 2FE8 |