NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: snmpd: sysctl vm.bufmem failed (errno 12)



Hi,


> Jan 2 19:31:00 dns2 snmpd[136]: sysctl vm.bufmem failed (errno 12)
> Anyone noticed something similar?


Yes, same problem here. I already sent a patch to pkgsrc maintainer but no news.

You have to change one line in  agent/mibgroup/hardware/memory/memory_netbsd.c, 
line 42:

replace:
   unsigned int    bufspace;
by:
   unsigned long int    bufspace;

And rebuild. This was needed for all my NetBSD-6.0/amd64 (even Xen domU). I 
have no other hardware to test this change..



best,
jym


Home | Main Index | Thread Index | Old Index