Re: 2.4.20-pre9: oopses on PPC

From: Keith Owens (kaos@ocs.com.au)
Date: Sun Oct 06 2002 - 09:27:30 EST


On Sat, 5 Oct 2002 19:14:28 +0300 (EEST),
Meelis Roos <mroos@linux.ee> wrote:
>Looks like PPC oops output does not contain code, so ksymoops complains.
>No idea though why it complains about sunrpc symbols.

Thanks to Meelis Roos for diagnostics off list.

>Warning (compare_maps): mismatch on symbol xchg_u32 , ksyms_base says c000b88c, System.map says c0006424.

Two functions called xchg_u32, one static, one global. ksyms contains
c000b88c, System.map contains both c0006424 (arch/ppc/kernel/misc.S,
global) and c000b88c (include/asm-ppc/system.h, static). Just to
confuse things even more, it is the static version that is exported to
modules.

Kernel coding error, having two functions with the same name but
different scope is just asking for trouble. Fix the ppc code.

>Warning (compare_maps): mismatch on symbol nlmsvc_ops
>Warning (compare_maps): mismatch on symbol nfs_debug
>Warning (compare_maps): mismatch on symbol nfsd_debug
>Warning (compare_maps): mismatch on symbol nlm_debug
>Warning (compare_maps): mismatch on symbol rpc_debug
>Warning (compare_maps): mismatch on symbol packet_socks_nr
>Warning (compare_maps): mismatch on symbol usb_devfs_handle

Exported symbols that are in sbss, rather than bss. Neither modutils
nor ksymoops handle sbss, they only handle bss. I will do new versions
of both packages to handle sbss.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:54 EST