Re: Problems loading modules after compiling for SMP 2.4.22

From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 11/21/03


Date: Fri, 21 Nov 2003 11:03:37 -0500

David wrote:
>
> David Topper wrote:
> > I had read somewhere online that to take full advantage of the new
> > hyperthreading technology, the kernel should be compiled for SMP. Well,
> > I checked the box but then got tons of errors loading modules. Yes, I
> > recompiled the modules too.
> >
> > Is there some other flag I need to set, unset?
> >
> > Below is the ouput of trying to load modules.
>
> Did you run "depmod -a" to update the dependencies file?
> This can also be caused by not running "make mrproper" before you
> run "make {config,menuconfig,xconfig}" sometimes.

Also, did you install the new modules in the same directory as the old
ones? If so, the modules for the new kernel would have overwritten the
existing modules *except* in cases where your selections differ from the
earlier kernel. I.e., if you previously built agpgart (as an example
from the original post) as a module, but have it built-in to the kernel
now, the old module would not get overwritten. Those old modules will
cause depmod to spew "unresolved symbol" errors.

Of course, this doesn't really apply if you've changed kernel versions
along the way. Only in the case where you went from 2.4.22 to 2.4.22
w/SMP without changing the kernel version in any way.



Relevant Pages