top and ps fail on 6.0-BETA5

Kevin Kinsey kdk at daleco.biz
Fri Sep 23 19:44:56 PDT 2005


Doug Poland wrote:

>On Fri, Sep 23, 2005 at 05:46:27PM -0500, Chris wrote:
>  
>
>>Doug Poland wrote:
>>    
>>
>>>Hello,
>>>
>>>I've noticed that top and ps are failing on my recently re-built
>>>6.0-BETA5 box.  
>>>
>>>djp at ammon% top
>>>kvm_open: kinfo_proc size mismatch (expected 648, got 768)
>>>top: Out of memory.
>>>
>>>      
>>>
>>I think the issue lies in the order you do things AFTER you cvsup the
>>src tree.
>>
>>    
>>
>I cvsup the sources then I follow the handbook's recommendation in:
>
>20.4.1 The Canonical Way to Update Your System
>
># make buildworld
># make buildkernel
># make installkernel
># reboot
>
>Is that not correct?
>
>  
>
Followed by "mergemaster -p", and then, as Chris said,
"make installworld" and "mergemaster".

But mergemaster probably isn't at issue.

Are you sure all the steps are completing properly?
I got myself in trouble once by scripting the process
without checking whether the previous operation
was successful......

FWIW, top and ps seem fine to me:

FreeBSD archangel.daleco.biz 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Thu Sep 22 
18:17:26 CDT 2005     
root at archangel.daleco.biz:/usr/obj/usr/src/sys/GENERIC  i386

So if someone has broken it, which I doubt, it happened
today or late yesterday.  I've seen nothing on current,
but I've not searched for a PR, nor the releng "to do" list.

You didn't show your supfile; but I guess<?> that the output
of uname indicates that you got the right source....

What about `which top`  && `which ps`  and ls -l same?

Kevin Kinsey


More information about the freebsd-questions mailing list