Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Kevin Kinsey

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.  


[EMAIL PROTECTED] 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 
[EMAIL PROTECTED]:/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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Chris
Doug Poland wrote:
> Hello,
> 
> I've noticed that top and ps are failing on my recently re-built
> 6.0-BETA5 box.  Ordinarilly that means that the "world" and the "kernel"
> are out of sync.  However, I've cvsup'd and rebuilt and installed world
> and GENERIC (several times).  
> 
> Yesterday I rebuilt all my ports and today did a fresh
> cvsup/rebuild/install.  Still seeing the message:
> 
> [EMAIL PROTECTED] top
> kvm_open: kinfo_proc size mismatch (expected 648, got 768)
> top: Out of memory.
> 
> Here's uname: 
> 
>   FreeBSD ammon.polands.org 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Fri Sep 23 
> 12:07:46 CDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> 
> /usr/src/UPDATING says:
> 20050609:
> Changes were made to kinfo_proc in sys/user.h.  Please recompile
> userland, or commands like `fstat', `pkill', `ps', `top' and `w'
> will not behave correctly.
> 
> The API and ABI for hwpmc(4) have changed with the addition
> of sampling support.  Please recompile lib/libpmc(3) and
> usr.sbin/{pmcstat,pmccontrol}
> 
> 
> I've googled the lists but have found nothing on this.  I must be doing
> something wrong.  
> 

I think the issue lies in the order you do things AFTER you cvsup the
src tree.

-- 
Best regards,
Chris

If the assumptions are wrong,
the conclusions aren't likely to be very good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Doug Poland
On Fri, Sep 23, 2005 at 07:41:55PM -0500, Chris wrote:
> 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.  
> >>>
> >>>[EMAIL PROTECTED] 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? make installworld I assume
> 
I searched my command line history and failed to run install world.
I've been doing this for years and can understand forgetting a step once
in awhile, but this is embrassing.

Thanks for pointing that out...

-- 
Regards,
Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Kris Kennaway
On Fri, Sep 23, 2005 at 01:33:40PM -0500, Doug Poland wrote:
> Hello,
> 
> I've noticed that top and ps are failing on my recently re-built
> 6.0-BETA5 box.  Ordinarilly that means that the "world" and the "kernel"
> are out of sync.  However, I've cvsup'd and rebuilt and installed world
> and GENERIC (several times).  

Try a different cvsup server..maybe it has an incomplete set of files.

Kris


pgpUJ87H0suSt.pgp
Description: PGP signature


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Chris Petrovitch
+++ Chris [23/09/05 19:41 -0500]:
> 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.  
> >>>
> >>>[EMAIL PROTECTED] 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? make installworld I assume
> 
> -- 
> Best regards,
> Chris
> 
> The mountain looks closer than it is.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

and mergemaster

-- 


/===\
| Chris Petrovitch  |
| email:  [EMAIL PROTECTED] |
| jabber: [EMAIL PROTECTED] |
\===/ 


pgpthXBIlgZ6T.pgp
Description: PGP signature


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Chris
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.  
>>>
>>>[EMAIL PROTECTED] 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? make installworld I assume

-- 
Best regards,
Chris

The mountain looks closer than it is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Doug Poland
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.  
> > 
> > [EMAIL PROTECTED] 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?

-- 
Regards,
Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top and ps fail on 6.0-BETA5

2005-09-23 Thread Ean Kingston
On September 23, 2005 02:33 pm, Doug Poland wrote:
> Hello,
>
> I've noticed that top and ps are failing on my recently re-built
> 6.0-BETA5 box.  Ordinarilly that means that the "world" and the "kernel"
> are out of sync.  However, I've cvsup'd and rebuilt and installed world
> and GENERIC (several times).

Doug,

Have you been tracking the freebsd-current mailing list? 6 is the bleeding 
edge of FreeBSD and problems with it tend to get discussed much more on 
-current than they do on -questions.

>
> Yesterday I rebuilt all my ports and today did a fresh
> cvsup/rebuild/install.  Still seeing the message:
>
> [EMAIL PROTECTED] top
> kvm_open: kinfo_proc size mismatch (expected 648, got 768)
> top: Out of memory.
>
> Here's uname:
>
>   FreeBSD ammon.polands.org 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Fri Sep 23
> 12:07:46 CDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>
> /usr/src/UPDATING says:
> 20050609:
> Changes were made to kinfo_proc in sys/user.h.  Please recompile
> userland, or commands like `fstat', `pkill', `ps', `top' and `w'
> will not behave correctly.
>
> The API and ABI for hwpmc(4) have changed with the addition
> of sampling support.  Please recompile lib/libpmc(3) and
> usr.sbin/{pmcstat,pmccontrol}
>
>
> I've googled the lists but have found nothing on this.  I must be doing
> something wrong.

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


top and ps fail on 6.0-BETA5

2005-09-23 Thread Doug Poland
Hello,

I've noticed that top and ps are failing on my recently re-built
6.0-BETA5 box.  Ordinarilly that means that the "world" and the "kernel"
are out of sync.  However, I've cvsup'd and rebuilt and installed world
and GENERIC (several times).  

Yesterday I rebuilt all my ports and today did a fresh
cvsup/rebuild/install.  Still seeing the message:

[EMAIL PROTECTED] top
kvm_open: kinfo_proc size mismatch (expected 648, got 768)
top: Out of memory.

Here's uname: 

  FreeBSD ammon.polands.org 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Fri Sep 23 12:07:46 
CDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

/usr/src/UPDATING says:
20050609:
Changes were made to kinfo_proc in sys/user.h.  Please recompile
userland, or commands like `fstat', `pkill', `ps', `top' and `w'
will not behave correctly.

The API and ABI for hwpmc(4) have changed with the addition
of sampling support.  Please recompile lib/libpmc(3) and
usr.sbin/{pmcstat,pmccontrol}


I've googled the lists but have found nothing on this.  I must be doing
something wrong.  

-- 
Regards,
Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"