From: bjl@pttrnl.nl (Ben Lippolt) Subject: Re: fun with gcc2.11c :-( Date: Sun, 7 Jun 1992 10:00:52 GMT
myddryn@hal.gnu.ai.mit.edu (Le Mauvais Sophiste) writes:
>Also, i saw someone post a methode for updating the psdatabase. Essentialy,
>when you rebuild the kernel, the psdatabase need to be rebuilt to. Otherwise
>I get a kmem error. I did this once when i built 0.96a. But now it doesn't
>work. The command I used the first time was: ps U /usr/src/linux/tools/system
>This won;t work anymore.
Some kernel structures changed with patch 2. You have to recompile ps to
match the new kernel. You have to make one minor change in ps.c tho.
The field "alarm" in "task_struct" has been replaced with a whole bunch
of other fields. I don't know what the meaning of all these fields are, so
I have no idea about the consequences, but I patched ps.c in the following
way (see below).
Remember: I don't guarantee anything (but it worked for me).
Maybe someone more knowledgeable could supply a better patch?
Ben Lippolt.