Subject: lib/20915: ps won't work against dead current kernels, libkvm out of date
To: None <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 03/27/2003 23:08:46
>Synopsis: ps won't work against dead current kernels, libkvm out of date
>Arrival-Date: Thu Mar 27 20:09:00 PST 2003
>Release: 1.6Q as of 20030325, kernel and userland
System: NetBSD this 1.6Q NetBSD 1.6Q (THAT) #172: Thu Mar 27 10:39:51 EST 2003
my laptop panicked (see kern/20914) and once i made enough space for
the dump (see bin/20913), i tried to run ps on the dead kernel to find
out what pid 686 was. ps said:
ps: _deadproc: no such symbol: Undefined error: 0
nm /netbsd | grep deadproc says that it's now deadprocs, so i changed
libkvm to look for that instead and then ps gave me output. i think
that's probably very wrong, though (the change, not the output), so i
changed it back and filed this pr.
crash. savecore. run ps at the corpse.
i can change "_deadproc" to "_deadprocs" in libkvm, but i suspect
there's a lot more work to it than that. besides, it would be nice
not to lose the ability to read older crash dumps with a newer libkvm,
so we really need support for both.