Re: wchan in 2.2.0-final

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 25 Jan 1999 10:32:09 -0500 (EST)


Steven N. Hirsch writes:
> On Mon, 25 Jan 1999, Chris Wedgwood wrote:
>
>> On Sat, Jan 23, 1999 at 10:12:00AM -0500, Steven N. Hirsch wrote:
>>
>>> I applied that patch and it did NOT fix the problem I'm seeing.
>>
>> Works here (pre8-cw4) which is the same in the affected areas here...
>
> Ok, I run an RH 5.2 installation with the 2.2.0-preX kernel and System.map
> in the root directory. The 'ps' utility apparently checks /boot first and
> uses the (incorrect) System.map from RedHat's 2.0.x kernel. If both
> system maps are in /boot it's smart enough to grab the correct one,
> though. Thanks for the feedback!

Use a ps that gives you a warning when your System.map file is wrong.
This whole problem would have been obvious had you used a better ps,
such as http://www.cs.uml.edu/~acahalan/linux/procps-990103.tar.gz

$ ps -n /boot/System.map-2.0.31 -o pid,nwchan,wchan,cmd -u luser
Warning: /boot/System.map-2.0.31 has an incorrect kernel version.
PID WCHAN WCHAN CMD
405 116909 116909 su - luser
406 17b75f 17b75f -bash
417 12ced9 12ced9 /usr/lib/netscape/netscape-communicator
427 12ced9 12ced9 (dns helper)

Hmmm, looks like /boot/System.map-2.0.31 has an incorrect kernel version.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/