Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2009 14:49:25 GMT
From:      Terry <plethora87@aim.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/133490: 'kmem_map too small' panic on Dell r900 when bpf_bufsize and bpf_maxbufsize are increased
Message-ID:  <200904081449.n38EnPUY058086@www.freebsd.org>
Resent-Message-ID: <200904081450.n38Eo4Rc042577@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904081449.n38EnPUY058086>