Re: kernel symbol problem, 2.1.108ac2

Michael L. Galbraith (mikeg@weiden.de)
Sat, 11 Jul 1998 06:33:59 +0200 (MET DST)


On Fri, 10 Jul 1998, Neil Conway wrote:

> I have compiled with kernel module versioning on, so /proc/ksyms has
> stuff like:
> c010b7a8 __global_cli_Rsmp_64576b05
> c010b8dc __global_sti_Rsmp_da4456dd
> c010b910 __global_save_flags_Rsmp_5d902e96
> c010b94c __global_restore_flags_Rsmp_54dd1dcb
>
> in it.
>
> However, the modules don't seem to agree with this: modprobe 3c59x.o
> gives:
> /lib/modules/2.1.108/net/3c59x.o: unresolved symbol
> __global_restore_flags
> /lib/modules/2.1.108/net/3c59x.o: unresolved symbol
> check_region_R522f4d72
> /lib/modules/2.1.108/net/3c59x.o: unresolved symbol jiffies_R0da02d67
>
> so it looks like stuff is really inconsistent here (some of the symbols
> have version stuff on them and others don't. I can't figure out why...

I've seen some of this also. If I build without ktracer enabled and
then rebuild with it enabled (eg), make dep && make clean && make bzImage
&& make modules isn't enough.. I have to start with a make mrproper.

It seems that something is a little bent in dependency generation. I'd
almost bet that a make mrproper/rebuild will fix it for you as well.

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html