i386/133490: 'kmem_map too small' panic on Dell r900 when bpf_bufsize and bpf_maxbufsize are increased

Terry plethora87 at aim.com
Wed Apr 8 07:50:07 PDT 2009


>Number:         133490
>Category:       i386
>Synopsis:       'kmem_map too small' panic on Dell r900 when bpf_bufsize and bpf_maxbufsize are increased
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 14:50:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Terry
>Release:        7.1
>Organization:
Army
>Environment:
FreeBSD schnozz-nap-a 7.1-RELEASE FreeBSD 7.1-RELEASE #3: Wed Apr  1 11:04:28 EDT 2009     root at schnozz-nap-a:/usr/obj/usr/src/sys/CCSP-KERNEL  i386
>Description:
When increasing bpf_bufsize and bpf_maxbufsize to, say, 4MB in sysctl.conf, the machine immediately panics upon getting to the "login" prompt on reboot.  

The system is quad-core Xeon with two Intel 10GE NICs (82598EB).  Kernel is standard except for:

options         DEVICE_POLLING  
options         HZ=1000

Just increasing bpf_bufsize doesn't cause the problem.  It only panics when both values are increased.

Apr  8 10:17:32 schnozz-nap-a savecore: reboot after panic: kmem_malloc(4194304): kmem_map too small: 333324288 total allocated

>How-To-Repeat:
In sysctl.conf:

net.bpf.bufsize=4194304
net.bpf.maxbufsize=4194304

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list