xfs
[Top] [All Lists]

Re: Still module problems

To: GCS <gcs@xxxxxxxxxxxxxxxx>
Subject: Re: Still module problems
From: Ionut Georgescu <george@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Mar 2001 16:54:54 +0100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20010306204248.A845@xxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Ionut Georgescu sends greetings to GCS

>Hello all,
>
>If someone has Debian, please contact me personally. I do not know why, but
>I still have unresolved symbols in all modules. I have deleted the kernel
>source + System.[map|old] + vmlinuz[.old], cvs update, cp -Rd linux /usr/src/,
>mv linux linux-2.4.2-XFS etc.
>After make install, 'ls -l /boot':
>lrwxrwxrwx    1 root     root           20 MÁR  6 20:09 System.map -> 
>System.map-2.4.2-XFS
>-rw-r--r--    1 root     root       269967 DEC 25 15:54 System.map-2.2.18pre21
>-rw-r--r--    1 root     root       405781 MÁR  6 20:09 System.map-2.4.2-XFS
>lrwxrwxrwx    1 root     root           17 MÁR  6 20:09 vmlinuz -> 
>vmlinuz-2.4.2-XFS
>-rwxr-xr-x    1 root     root       985303 DEC 25 15:54 vmlinuz-2.2.18pre21
>-rw-r--r--    1 root     root       703718 MÁR  6 20:09 vmlinuz-2.4.2-XFS
>(Well, I just realized it does not have +x, but ...)
>
>The directory /lib/modules/2.4.2-XFS exists and contains the modules.
>Result -> unresolved symbols, even printk, which is such basic like the air
>for us (imho).
>Then, I unpacked the original kernel source, copied .config into it, and
>built the kernel and booted without problems. :-0 What can it be?
>I could 'tight it down' to this: /var/log/kern.log
>Mar  6 20:06:50 esparrall kernel: Inspecting /boot/System.map
>Mar  6 20:06:51 esparrall kernel: Loaded 14344 symbols from /boot/System.map.
>Mar  6 20:06:51 esparrall kernel: Symbols match kernel version 2.4.2.
>                                 ^-- It should be 2.4.2-XFS, should not be?
>Mar  6 20:06:51 esparrall kernel: No module symbols loaded.
>                                 ^-- Any reason for that?
>Mar  6 20:06:51 esparrall kernel: Linux version 2.4.2-XFS (root@esparrall)

This is a typical case for using the --flavour switch with make-kpkg and
an unpatched Makefile. The original Makefile is not aware of flavours, so
everything will look fine (module dirs, etc ... ) up to the kernel
version. Try giving uname. If it shows only 2.4.2 then this is you. Try to
use the patch given in /usr/share/doc/kernel-packages/Flavours.gz . It
will fail at the 2nd hunk, as it was ment for 2.2 kernels. Look in
Makefile.rej and do it by hand.

Beware! For as far as I remember debian refuses big caps in kernel
version!


>Any help is greatly appreciated. Thanks, Laszlo
>Ps:Previously I had the same problem, but somewhen it began working, and I
>did not care. But now it is the same, and I am very curious...

This happened to me too. Until I patched the Makefile. Then it worked
whatsoever.


***************
* Ionut Georgescu      
* http://www.physik.tu-cottbus.de/~george/
* ICQ: 38973105
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*                can do anything the computer is able to do."



<Prev in Thread] Current Thread [Next in Thread>