Re: procps still NG w/ pre-9

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Sat, 23 Jan 1999 11:12:53 +0100


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/