Re: procps still NG w/ pre-9

Mailing lists (lists@cnti.uanet.kharkov.ua)
Sat, 23 Jan 1999 16:13:47 +0200


In message <19990123111253.E16884@turtle.tat.physik.uni-tuebingen.de>
Harald Koenig writes:

>On Jan 22, Richard B. Johnson wrote:

>> On Fri, 22 Jan 1999, Steven N. Hirsch wrote:
>>
>> > All,
>> >
>> > Even with Stephen Tweedie's patch applied, I'm seeing everything as 'end'
>> > in WCHAN. This is on a RH 5.2 install (props-1.2.9).
>> >
>> > Steve
>> >
>> I just installed Red Hat on a PC at home. I had this same problem.
>> The version of procps that RH uses, apparently doesn't use the
>> /etc/psdatabase any more (which you update with `psupdate`). Instead
>> it expects to see /boot/System.map and read its symbols directly.
>> Therefore, you must copy ../linux/System.map to /boot.

>doesn't matter! even with correct System.map file I get only empty WCHAN fields
>with 2.2.0-final too:

> # ps lp 1
> FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
> 100 0 1 0 0 0 824 64 S ? 0:04 init [2]
> ^^^^^^^
>with strace clearly showing that it's using the correct map:

> open("/boot/System.map-2.2.0-final", O_RDONLY) = 3

Yes, its true. Look for my letter about this. In 2.2.0-9 in file /proc/pid#/stat
field which indicate WCHAN _always_ zero. For now I have not enough time to look kernel
sources about this.

SY, Stanislav Voronyi.

-
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/