dummynet warnings

Sergey Yaroshevskiy astraserg at gmail.com
Mon Apr 23 08:35:58 UTC 2012


Hello

I've got some warnings from my freebsd 9 box:

...
Apr 23 12:06:10 pipe kernel: copy_obj   (WARN) type 4 inst 65612 have 92 need 96
Apr 23 12:06:10 pipe kernel: copy_obj   (WARN) type 4 inst 65612 have 60 need 96
Apr 23 12:06:10 pipe kernel: copy_obj   (WARN) type 4 inst 65612 have 92 need 96
Apr 23 12:06:10 pipe kernel: copy_obj   (WARN) type 4 inst 65614 have 92 need 96
Apr 23 12:06:10 pipe kernel: copy_obj   (WARN) type 4 inst 65614 have 60 need 96
Apr 23 12:06:10 pipe kernel: copy_obj   (WARN) type 4 inst 65615 have 92 need 96
...

This box is configured as bridge and it's mine function is piping users.
Googling sent me to source of netinet/ipfw/ip_dummynet.c (lines 800-802)
http://www.leidinger.net/FreeBSD/dox/netinet/html/dc/d3a/ip__dummynet_8c_source.html
but i did not understand how to fix this problem

About my system:

pipe# uname -a
FreeBSD pipe.xxxx.ru 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Tue Mar 13
11:50:00 MSK 2012     /usr/obj/usr/src/sys/GENERIC  amd64

pipe# cat /etc/sysctl.conf
net.inet.ip.fw.one_pass=1
net.inet.tcp.tso=0

net.inet.udp.checksum=0

net.inet.ip.fastforwarding=1
net.inet.ip.redirect=0
net.inet.icmp.drop_redirect=1

net.inet.ip.fw.dyn_max=131072
net.inet.ip.fw.dyn_ack_lifetime=200
net.inet.ip.fw.dyn_buckets=131072
net.inet.ip.fw.dyn_syn_lifetime=10
net.inet.ip.fw.dyn_fin_lifetime=2
net.inet.ip.fw.dyn_short_lifetime=10

net.inet.ip.fw.verbose=0

net.link.ether.ipfw=1

net.link.bridge.ipfw=1
net.link.bridge.inherit_mac=1
net.link.bridge.pfil_onlyip=1
#net.link.bridge.pfil_member=1
#net.link.bridge.pfil_bridge=1
net.link.bridge.ipfw_arp=0

net.inet.ip.fw.enable=0

net.inet.ip.dummynet.io_fast=1

net.inet.ip.dummynet.hash_size=2048
net.inet.ip.dummynet.expire=1

pipe# cat /boot/loader.conf
autoboot_delay="2"

net.inet.ip.fw.default_to_accept=1

dummynet_load="YES"
ipfw_load="YES"
if_bridge_load="YES"
bridgestp_load="YES"

net.link.ether.ipfw=1
net.link.bridge.ipfw=1


More information about the freebsd-ipfw mailing list