Symbol table

Richard B. Johnson (root@analogic.com)
Fri, 11 Apr 1997 13:18:15 -0400 (EDT)


Two identical machines except this has 2 processors and runs SMP.
This is the klogd daemon startup (it's fine).

Apr 11 11:23:09 quark syslogd 1.3-0#: restart.
Apr 11 11:23:09 quark kernel: klogd 1.3-0, log source = /proc/kmsg started.
Apr 11 11:23:09 quark kernel: Loaded 5262 symbols from /System.map.
Apr 11 11:23:09 quark kernel: Symbols match kernel version.

This machine has only one processor and the code was not compiled for SMP.

Apr 11 11:17:24 chaos syslogd 1.3-0#: restart.
Apr 11 11:17:24 chaos kernel: klogd 1.3-0, log source = /proc/kmsg started.
Apr 11 11:17:24 chaos kernel: Error in symbol table input.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The symbol table on the non-smp machine shows two "U" Symbols. Does this
mean two "Unresolved" symbols, i.e., no address?

U tqueue_lock
U waitqueue_lock
c0100000 T _stext
c0100000 T stext
c0100000 t startup_32
c01000d4 t isnew
c010012e t is486
c010013f t is386
c010018b t L6
c010018d t check_x87

Both tqueue_lock and waitqueue_lock are in .../linux/kernel/sched.c they
seem to be global and quite well defined, outside any __SMP__ conditionals.

However, in ../linux/include/asm/spinlock.h, the definition of type
spinlock_t type is inside __SMP__ conditionals. Therefore, they don't
seem to have any storage type or class. Compiling doesn't produce any
errors when referencing these objects...

sched.c:199: warning: `runqueue_lock' defined but not used
sched.c:735: warning: `timerlist_lock' defined but not used

This seems strange..... I am using GCC Version 2.7.2.

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.33 on an i586 machine (66.15 BogoMips).
Warning : I read unsolicited mail for $350.00 per hour. Supply billing address.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-