Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 15:13:53 +0400
From:      "Sergey A. Osokin" <osa@freebsd.org.ru>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 4.8-STABLE Kernel Panic with dummynet options.
Message-ID:  <20030409111353.GO37669@freebsd.org.ru>
In-Reply-To: <3E9309DC.1090407@tenebras.com>
References:  <1AF4070E0F26474A80DA4CA886ECE0C101300366@gtsexchange.gts.dk> <3E9309DC.1090407@tenebras.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 08, 2003 at 10:41:48AM -0700, Michael Sierchio wrote:
> Johan Christiansen wrote:
> >I first met this problem when our (60 students) internetgateway refused to
> >boot its new kernel, it was a 4.7-RELEASE. Then i loaded the old kernel and
> >went home to check if my 4.8-STABLE does likewise. And the answer was yes!
> >Both kernels were GENERIC + these options taken from the dummynet man 
> >pages:
> >
> >options         DUMMYNET
> >options         NMBCLUSTERS
> >options         HZ
> 
> Not quite...  some of these take numeric arguments
> 
> 
> options     IPFIREWALL
> options     DUMMYNET
> options     HZ=2000          # choose and appropriate value
> options     DEVICE_POLLING   # in 4.8+ this may help net perf
> 
> # if you need to mess with these, read the kernel LINT file!
> 
> options    NMBCLUSTERS=1024
> options    NMBUFS=4096

What is the NMBUFS? You talk about NSFBUFS?
Anyway, NMBCLUSTERS and NSFBUFS maybe set at boot-time.
Remove them from kernel config file and just add two following lines
into your /boot/loader.conf.local:
kern.ipc.nmbclusters="32768"
kern.ipc.nsfbufs="32768"

AFAIK 1024 is very-very small value for NMBCLUSTERS.
-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \



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