Re: netstat: memstat_sysctl_all: Too many CPUs

2012-03-21 Thread Tom Evans
On Wed, Mar 21, 2012 at 5:57 AM, Ihsan Junaidi Ibrahim
ihsan.juna...@gmail.com wrote:
 Sergey,

 It was upgraded from 8.2-RELEASE via freebsd-update so I'd assume the kernel 
 and world are in sync.


Confirm this, eg by running ident /usr/bin/netstat

You could also try the IDS feature of freebsd-update to check the
status of world - freebsd-update IDS

I'm not sure of the best way of restoring a particular release, but
you could always download {base,doc,games,kernel,ports,src}.txz from
9.0 release and install them over what you already have there.

Cheers

Tom
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


netstat: memstat_sysctl_all: Too many CPUs

2012-03-20 Thread Ihsan Junaidi Ibrahim
Hi folks,

While trying to poke around my mbuf stats, I ran across the following error 
message.

ihsan@sv01:~ $ netstat -m
netstat: memstat_sysctl_all: Too many CPUs

It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM.

I'm on 9.0-RELEASE.

Has anybody encountered this before?


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: netstat: memstat_sysctl_all: Too many CPUs

2012-03-20 Thread Sergey Kandaurov
On 20 March 2012 21:16, Ihsan Junaidi Ibrahim ihsan.juna...@gmail.com wrote:
 Hi folks,

 While trying to poke around my mbuf stats, I ran across the following error 
 message.

 ihsan@sv01:~ $ netstat -m
 netstat: memstat_sysctl_all: Too many CPUs

 It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM.

 I'm on 9.0-RELEASE.

 Has anybody encountered this before?


Well, that means that you are likely running libmemstat(3) library from
RELENG_8. This error message (and a reason for it) was removed in 9.0.
In 8.x and earlier this error was possible when kernel is compiled
with MAXCPU kernel option value greater than 32.
If you upgraded to 9.0 from an earlier release than please
make sure you have kernel and world in sync.

-- 
wbr,
pluknet
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: netstat: memstat_sysctl_all: Too many CPUs

2012-03-20 Thread Ihsan Junaidi Ibrahim
Sergey,

It was upgraded from 8.2-RELEASE via freebsd-update so I'd assume the kernel 
and world are in sync.

Since I'm already on 9.0, is there a way to fix this without going through the 
whole buildworld thing?

This box is on a GENERIC kernel.

ihsan

On Mar 21, 2012, at 2:39 AM, Sergey Kandaurov wrote:

 On 20 March 2012 21:16, Ihsan Junaidi Ibrahim ihsan.juna...@gmail.com wrote:
 Hi folks,
 
 While trying to poke around my mbuf stats, I ran across the following error 
 message.
 
 ihsan@sv01:~ $ netstat -m
 netstat: memstat_sysctl_all: Too many CPUs
 
 It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM.
 
 I'm on 9.0-RELEASE.
 
 Has anybody encountered this before?
 
 
 Well, that means that you are likely running libmemstat(3) library from
 RELENG_8. This error message (and a reason for it) was removed in 9.0.
 In 8.x and earlier this error was possible when kernel is compiled
 with MAXCPU kernel option value greater than 32.
 If you upgraded to 9.0 from an earlier release than please
 make sure you have kernel and world in sync.
 
 -- 
 wbr,
 pluknet

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org