Subject: Re: @booted_kernel magic symlink?
To: None <tech-kern@NetBSD.org>
From: Chapman Flack <nblists@anastigmatix.net>
List: tech-kern
Date: 04/27/2006 19:10:03
Simon Burge wrote:
> It's a pity that binutils nm doesn't want to work on /dev/ksyms.
> Commenting out the get_file_size() check in display_file() in
> gnu/dist/binutils/binutils/nm.c does make it work on 3.0 at least.  The
> middle column of the nm output for /dev/ksyms is "A" for absolute value,
> but the symbol names and addresses were exactly the same for /dev/ksyms
> and /netbsd.  Could do a similar check on your 2.0 system?

Same result you got, when I tried it just now: all symbol types changed
to absolute, but with no change to the numeric values. And the 2.0
netstat source shows it is using ksyms.  I'll see about capturing
the next example of netstat bogosity that I see; at the moment I'd
be purely speculating on what was going on last time I saw it.

-Chap