Skip to contentSkip to conversation

2.4.21-rc7 SMP module unresolved symbols

DISCUSSION Dan Christian 5 participants 7 messages Jun 4, 2003

lore
Share & tools
lore
#0 lore raw

I can build a 2.4.21-rc7 Athlon single processor kernel and modules without problem.

When I enable SMP, most (but not all) modules have unresolved symbols. This is basic stuff like prink and kmalloc. I've tried both with and without symbol versioning.

The build line was:
make clean && make dep && make bzImage && make modules && make modules_install

I'm building on RedHat 7.3.
#rpm -q gcc binutils modutils
gcc-2.96-113
binutils-2.11.93.0.2-11
modutils-2.4.18-3.7x

I'm not on the list. Please CC me.

-Dan

#1 lore raw

On Wednesday 04 June 2003 02:28, Dan Christian wrote:

Hi Dan,

Quoted 6 lines

I can build a 2.4.21-rc7 Athlon single processor kernel and modules without problem.
When I enable SMP, most (but not all) modules have unresolved symbols. This is basic stuff like prink and kmalloc. I've tried both with and without symbol versioning.
The build line was:

Quoted 8 lines

make clean && make dep && make bzImage && make modules && make modules_install
I'm building on RedHat 7.3.
#rpm -q gcc binutils modutils
gcc-2.96-113
binutils-2.11.93.0.2-11
modutils-2.4.18-3.7x
I'm not on the list. Please CC me.

w/o your .config a most impossible mission to fix this up.

Just a guess: Did you switch from UP to SMP with out doing "make mrproper"?

ciao, Marc

#2 lore raw
Quoted 4 lines · Marc-Christian Petersen

Just a guess: Did you switch from UP to SMP with out doing "make mrproper"?

ciao, Marc

No, I didn't do "make mrproper". I'll try that.

It used to be that it wasn't needed and it liked to blow away .config (an extreme mis-feature if I ever saw one).

Thanks,
-Dan

#3 lore raw
In reply to Dan Christian
Quoted 4 lines · Dan Christian

I can build a 2.4.21-rc7 Athlon single processor kernel and modules without problem.

When I enable SMP, most (but not all) modules have unresolved symbols.

On 2.4 kernels, you must make mrproper when switching between SMP and UP.

#4 lore raw
In reply to Dan Christian
Quoted 11 lines · Dan Christian

I can build a 2.4.21-rc7 Athlon single processor kernel and modules without problem.

When I enable SMP, most (but not all) modules have unresolved symbols. This is basic stuff like prink and kmalloc. I've tried both with and without symbol versioning.

The build line was:
make clean && make dep && make bzImage && make modules && make modules_install

You're missing a make install, I think ( at least this is what I do, perhaps something is redundant:

make clean
make dep
make bzImage
make install <<<<<<<<<<<<<<<<
make modules
make modules_install

Wthout the make install yu don't have nor the new kernel nor the System.map in /boot.

Signature · 4 lines
J.A. Magallon <[email protected]>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.21-rc7-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-1mdk))
#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · J.A. Magallon

You're missing a make install, I think ( at least this is what I do, perhaps something is redundant:

make install only works if you have something like "install_kernel.sh" script available in your system. not all systems have that. so it might just fail. and there is no problem by copying the System.map and bzImage by hand to the /boot directory

- --
Clemens Schwaighofer - IT Engineer & System Administration
==========================================================
Tequila Japan, 6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN
Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343
http://www.tequila.jp
==========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+3b0WjBz/yQjBxz8RAj+3AKDJj10rIQqgCSlBJbqUbp4GImoU5QCdFswF z+rzMeBmzsWZOxscKODMNNg=
=AmJW
-----END PGP SIGNATURE-----

#6 lore raw
Quoted 8 lines · Clemens Schwaighofer
Quoted 2 lines · J.A. Magallon

You're missing a make install, I think ( at least this is what I do, perhaps something is redundant:

make install only works if you have something like "install_kernel.sh" script available in your system. not all systems have that. so it might just fail. and there is no problem by copying the System.map and bzImage by hand to the /boot directory

Right. I just copy by hand.

The kernel will boot just fine, but it can't load most of it's modules.

-Dan