Mailing List Archive

procps still NG w/ pre-9
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
-
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/
Re: procps still NG w/ pre-9 [ In reply to ]
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.
Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.131 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
Wisdom : It's not a Y2K problem. It's a Y2Day problem.
-
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/
Re: procps still NG w/ pre-9 [ In reply to ]
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.
But things aren't all bad: it will recognise the difference between
(say) System.map-2.0.34 and System.map-2.0.36 and pick the appropriate
one...
Neil
-
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/
Re: procps still NG w/ pre-9 [ In reply to ]
On Fri, 22 Jan 1999, 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.
Hi Dick,
Last time I looked into this, I thought I'd read that the newer procps
utils parse /proc for information. I don't even _have_ a 'psdatabase'
file anywhere and it worked until quite recently.
Still, it's worth another look - thanks!
Steve

-
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/
Re: procps still NG w/ pre-9 [ In reply to ]
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
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
-
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/
Re: procps still NG w/ pre-9 [ In reply to ]
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/