Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 1995 23:25:51 -0800 (PST)
From:      Julian Elischer <julian@ref.tfs.com>
To:        scrappy@hub.org (Marc G. Fournier)
Cc:        current@freebsd.org
Subject:   Re: w/ps broke...normal?'
Message-ID:  <199511250725.XAA14715@ref.tfs.com>
In-Reply-To: <Pine.BSF.3.91.951125005350.191A-100000@hub.org> from "Marc G. Fournier" at Nov 25, 95 00:56:24 am

next in thread | previous in thread | raw e-mail | index | archive | help
It's not uncommon.. also netstat and a few others often
break..
you must install the new includes from the new kenrel tree
before you can compile new working ps and w

(kernel structures have changed)

> 
> 
> Hi...
> 
> 	Is it normal for w and ps to break after installing a new
> kernel?  I'm getting the following error after rebooting, and I've
> gone to the trouble of recompiling 'w', and get the same error:
> 
> hub# bsdmake
> cc -O   -c /usr/src/usr.bin/w/../../bin/ps/fmt.c
> cc -O   -c pr_time.c
> cc -O   -c proc_compare.c
> cc -O   -c w.c
> cc -O    -o w fmt.o pr_time.o proc_compare.o w.o  -lkvm
> gzip -c uptime.1 > uptime.1.gz
> gzip -c w.1 > w.1.gz
> hub# ./w
> 12:53AM  up 9 mins, 5 users, load averages: 1.45, 0.98, 0.48
> USER     TTY FROM              LOGIN@  IDLE WHAT
> w: proc size mismatch (29008 total, 620 chunks): Undefined error: 0
> hub#
> 
> 	Now, I haven't had a chance to recompile the libraries yet,
> so ...
> 
> 	That's probably it...I need the new -lkvm?
> 
> 	If that's all it is, then I won't panic.  If it isn't supposed
> to fail, then I'll panic :)
> 
> Thanks...
> 
> Marc G. Fournier | Knowledge, Information and Communications, Inc (ki.net)
> scrappy@hub.org  |
>  soon to be:     | 
> scrappy@ki.net   | For more information, send me email.
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511250725.XAA14715>