Re: [FreeBSD6] kinfo_size mismatch

2005-11-22 Thread Laurent C
2005/11/21, Robert Watson [EMAIL PROTECTED]:

 On Mon, 21 Nov 2005, Laurent C wrote:

  This is almost certainly a mismatch between the kernel version and a
  monitoring tool that is trying to inspect kernel state (specifically,
  retrieve process lists). If your buildworld/installworld doesn't match
  your kernel version, then you need to rebuild and make sure everything
  is in sync. If it does, it's probably a third-party package that is out
  of sync and needs updating.
 
  Ok, I will try to buildworld and builkernel again after a fresh cvsup.
  But for third party packages do you mean the port tree, becouse I
  though that base system and ports were completely separated and can be
  also upgraded separately. Thanks for your reply, -- Laurent

 Yes -- I'd start with the base system just to confirm everything really is
 sync. If the message goes away at that point, then that is good news.
 If everything is in sync, then that pretty much leaves us with a port or
 package as being the culprit.

 For example, if you're running an SNMP agent package that polls system
 state once a second, that could well be the source of the message.
 What's unfortunate is that whatever program it is is not reporting which
 program it is that is generating the error, and apparently not logging it
 via syslog (I assume you checked the system logs to make sure it's not
 also being sent there -- if not, you might want to). That is definitely a
 bug, and should be fixed once we find out the culprit.


Well, after :

deleting /usr/obj
cd /usr/ports
make clean
make cleanworld
cvsup base system and ports
build and install kernel and world
and then portupgrade -f all my ports
[ouf ! :-)]

It works now like a charm and my lovely FreeBSD is again fast and stable.

But I don't know what was the problem, and there was no trace of it on any
logfile.
So its solved !

Thanks both for your support.

See you on the list.

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


Re: [FreeBSD6] kinfo_size mismatch

2005-11-21 Thread Laurent C
2005/11/19, Robert Watson [EMAIL PROTECTED]:


 On Sat, 19 Nov 2005, Laurent wrote:

  I've recently upgraded my AMD64 FreeBSD station from 5.4 to 6.0 using
  the handbook method.
 
  Everything seems to work OK but I have the message after repeating every
  second on tty1 after I log on X :
 
  kvm_open : kinfo_proc size mismatch (expected 912 got 1088).
 
  After some search on Internet I gave an eye to /usr/src/sys/sys/user.h
  for kinfo_proc_size values, but the right value (1088) is already set
  for amd64.
 
  So I don't know how to solve this problem, and I'm quite afraid to touch
  some souce code on my system.

 This is almost certainly a mismatch between the kernel version and a
 monitoring tool that is trying to inspect kernel state (specifically,
 retrieve process lists). If your buildworld/installworld doesn't match
 your kernel version, then you need to rebuild and make sure everything is
 in sync. If it does, it's probably a third-party package that is out of
 sync and needs updating.

 Ok, I will try to buildworld and builkernel again after a fresh cvsup. But
for third party packages do you mean the port tree, becouse I though
that base system and ports were completely separated and can be also
upgraded separately.
 Thanks for your reply,
 --
Laurent
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [FreeBSD6] kinfo_size mismatch

2005-11-21 Thread Laurent C
2005/11/19, Kris Kennaway [EMAIL PROTECTED]:

 On Sat, Nov 19, 2005 at 06:38:29PM +0100, Laurent wrote:
  Hello all,
 
  I've recently upgraded my AMD64 FreeBSD station from 5.4 to 6.0 using
  the handbook method.
 
  Everything seems to work OK but I have the message after repeating every
  second on tty1 after I log on X :
 
  kvm_open : kinfo_proc size mismatch (expected 912 got 1088).
 
  After some search on Internet I gave an eye to /usr/src/sys/sys/user.h
  for kinfo_proc_size values, but the right value (1088) is already set
  for amd64.
 
  So I don't know how to solve this problem, and I'm quite afraid to touch
  some souce code on my system.
 
  %uname -a
  FreeBSD wks02.chez.oim 6.0-STABLE Thu Nov 17 19:40:44 CET 2005 amd64
 
  Thanks.

 The last time you asked this question I answered it, but I didn't see
 any response. Didn't you like my answer? :-)

 Ho I'm sorry, I've first posted my question to [EMAIL PROTECTED] instead
of freebsd-stable@freebsd.org, but it seems my message arrived at the same
place. Sorry for this double-post.
 And yes I like your answer. I tried a portugrade -fua but I had problem
with pkgdb base consistency after some port upgrades, with pkgdb taking a
long time each port to rebuild is database. So my ports are not up-to-date.
 Lets go for redoing all...
 Tank you late for your answer.
 --
Laurent
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [FreeBSD6] kinfo_size mismatch

2005-11-21 Thread Robert Watson

On Mon, 21 Nov 2005, Laurent C wrote:

This is almost certainly a mismatch between the kernel version and a 
monitoring tool that is trying to inspect kernel state (specifically, 
retrieve process lists). If your buildworld/installworld doesn't match 
your kernel version, then you need to rebuild and make sure everything 
is in sync. If it does, it's probably a third-party package that is out 
of sync and needs updating.


Ok, I will try to buildworld and builkernel again after a fresh cvsup. 
But for third party packages do you mean the port tree, becouse I 
though that base system and ports were completely separated and can be 
also upgraded separately. Thanks for your reply, -- Laurent


Yes -- I'd start with the base system just to confirm everything really is 
sync.  If the message goes away at that point, then that is good news. 
If everything is in sync, then that pretty much leaves us with a port or 
package as being the culprit.


For example, if you're running an SNMP agent package that polls system 
state once a second, that could well be the source of the message. 
What's unfortunate is that whatever program it is is not reporting which 
program it is that is generating the error, and apparently not logging it 
via syslog (I assume you checked the system logs to make sure it's not 
also being sent there -- if not, you might want to).  That is definitely a 
bug, and should be fixed once we find out the culprit.


Robert N M Watson
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [FreeBSD6] kinfo_size mismatch

2005-11-19 Thread Robert Watson


On Sat, 19 Nov 2005, Laurent wrote:

I've recently upgraded my AMD64 FreeBSD station from 5.4 to 6.0 using 
the handbook method.


Everything seems to work OK but I have the message after repeating every 
second on tty1 after I log on X :


kvm_open : kinfo_proc size mismatch (expected 912 got 1088).

After some search on Internet I gave an eye to /usr/src/sys/sys/user.h 
for kinfo_proc_size values, but the right value (1088) is already set 
for amd64.


So I don't know how to solve this problem, and I'm quite afraid to touch 
some souce code on my system.


This is almost certainly a mismatch between the kernel version and a 
monitoring tool that is trying to inspect kernel state (specifically, 
retrieve process lists).  If your buildworld/installworld doesn't match 
your kernel version, then you need to rebuild and make sure everything is 
in sync.  If it does, it's probably a third-party package that is out of 
sync and needs updating.


Robert N M Watson
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [FreeBSD6] kinfo_size mismatch

2005-11-19 Thread Kris Kennaway
On Sat, Nov 19, 2005 at 06:38:29PM +0100, Laurent wrote:
 Hello all,
 
 I've recently upgraded my AMD64 FreeBSD station from 5.4 to 6.0 using 
 the handbook method.
 
 Everything seems to work OK but I have the message after repeating every 
 second on tty1 after I log on X :
 
 kvm_open : kinfo_proc size mismatch (expected 912 got 1088).
 
 After some search on Internet I gave an eye to /usr/src/sys/sys/user.h 
 for kinfo_proc_size values, but the right value (1088) is already set 
 for amd64.
 
 So I don't know how to solve this problem, and I'm quite afraid to touch 
 some souce code on my system.
 
 %uname -a
 FreeBSD wks02.chez.oim 6.0-STABLE Thu Nov 17 19:40:44 CET 2005 amd64
 
 Thanks.

The last time you asked this question I answered it, but I didn't see
any response.  Didn't you like my answer? :-)

Kris



pgpK1hpA6J9TJ.pgp
Description: PGP signature


Re: [FreeBSD6] kinfo_size mismatch

2005-11-18 Thread Kris Kennaway
On Fri, Nov 18, 2005 at 10:09:09PM +0100, Laurent wrote:
 Hello all,
 
 I've recently upgraded my AMD64 FreeBSD station from 5.4 to 6.0 using 
 the handbook method.
 
 Everything seems to work OK but I have the message after repeating every 
 second on tty1 after I log on X :
 
 kvm_open : kinfo_proc size mismatch (expected 912 got 1088).
 
 After some search on Internet I gave an eye to /usr/src/sys/sys/user.h 
 for kinfo_proc_size values, but the right value (1088) is already set 
 for amd64.
 
 So I don't know how to solve this problem, and I'm quite afraid to touch 
 some souce code on my system.

This is almost certainly because something on your system needs to be
recompiled.  Did you remember to rebuild all your ports after you
upgraded to 6.0?

Kris


pgp5mI9pVMVmU.pgp
Description: PGP signature