Racoon breakage with recent kernel - what NOT to do

Mike Durian durian at boogie.com
Thu Sep 9 13:59:01 PDT 2004


On Thursday 09 September 2004 02:01 pm, Hannes Mehnert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> On Thu, Sep 09, 2004 at 08:29:55PM +0100, Brian Somers wrote:
> > On Wed, 14 Jul 2004 20:52:48 +0200, Hannes Mehnert <hannes at mehnert.org> 
wrote:
> > > On Mon, Jul 12, 2004 at 03:32:18PM -0600, Mike Durian wrote:
> > > > This is just a follow-up to say the problem still exists in a
> > > > -current system I built from source yesterday (7/11/04).  Does anyone
> > > > know what's going on?
> > > >
> > > > And to clarify, the URL listed above does show the same problem I'm
> > > > seeing.
> > >
> > > A workaround is setting MSIZE to 320 in your kernel config:
> > > options		MSIZE=320
> >
> > Well, I applied this tweak to my kernel config file (some time ago!) and
> > it fixed the racoon issue.... **BUT** doing this badly breaks dtom() -
> > all sorts of issues turn up when a data pointer can't be turned back into
> > its owning mbuf pointer.
>
> I'm currently using MSIZE=512 and get no panic.

I agree.  I too received kernel panics when I used MSIZE=320.  After
changing it to MSIZE=512 my panics disappeared and racoon started to work.
Maybe this MSIZE change should become the default.

mike



More information about the freebsd-net mailing list