[Aurora-sparc-devel] openafs: Unknown symbol do_settimeofday

Dean Anderson dean at av8.com
Tue Apr 11 01:28:09 EDT 2006


Here's a puzzler.  When loading the openafs kernel module, it get the above 
listed error. However, according to /proc/kallsyms, do_settimeofday is exported:

0000000000444034 T do_settimeofday

According the source, the capital "T" means it is global/exported. However,
perusing the 2.6.13 kernel sources supplied with aurora 2.0 beta 2, it seems
impossible that this symbol is exported, since nowhere in the source (except for
sparc/kernel/time.c, which isn't used in the sparc64 build) this symbol is not
exported. It does exist in kernel/time.c, but doesn't seem to be exported from
there, though its somewhat hard to tell, since the EXPORT_SYMBOL could be
anywhere. So:

Why is /proc/kallsyms different from what is really exported?

Or is it possible that it was some other symbol that isn't found (ie, is it a
wrong report in dmesg?)

What happened to the ksyms program?

How can one find the list of exported symbols without ksyms?

I also see some questions on the linux-kernel list about whether do_settimeofday
should be exported: someone asserts that "there is no module use of
do_settimeofday"(!)  This leads me to wonder: with whom do they check out these
assertions?  How did they manage to miss the openafs project?  Getting a set of
3rd party modules used on various platforms and checking them for undefined
symbols shouldn't be all that hard.

Thanks, 

		--Dean

-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 344 9000   




More information about the Aurora-sparc-devel mailing list