[Apologies for breaking threading. I had to re-retrieve this post from the Web archive.]
Pong <[EMAIL PROTECTED]> wrote: >> what i'm really asking is, what is the magic formula for naming >> the System.map? > > that depends on your klogd daemon -- the one that logs kernel messages. > with the sysklogd brand, it searches only under /System.map, and > /boot/System.map. some other klogd brand might search somewhere else. This pretty much can't be right: Searching just /System.map on a system that might have quite a number of kernels installed would be very, very brain-dead. It would mean that only one kernel could have a correct symbols map. That would be really bad design, which seems implausible. > for other software needing the symbol table, it looks for > /usr/src/linux/System.map I doubt this, too: I suspect one must look into the specifics of each such program. > but with loadable modules, it doesnt have anything to do with > System.map. instead it checks under /proc/ksyms. The author was _not saying_ loadable modules use System.map for a listing of exported symbols. Quoting the relevant portion again: Note, there are actually two types of address resolution are performed by klogd. The first is static translation, which uses the System.map file. The second is dynamic translation which is used with some loadable modules and is not relevant here. -- Cheers, The difference between common sense and paranoia is that common sense Rick Moen is thinking everyone is out to get you. That's normal; they are. [EMAIL PROTECTED] Paranoia is thinking they're conspiring. -- J. Kegler _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
