DragonFly bugs List (threaded) for 2008-07
DragonFly BSD
DragonFly bugs List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: CARP panic


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jul 2008 20:33:43 -0700 (PDT)

:> Hey there,
:>
:>  Can someone please do something about the CARP panic on SMP boxes before the
:>  release? Ive got a box pending to go in production, but i cant because of the
:>  panic.
:>
:>  Thanks so much to anyone who can do it.
:
:Since you are using bge(4), I suggest you do following things:
:- Add options ETHER_INPUT_CHAIN and options ETHER_INPUT2 in your
:kernel config file
:- Change line 2119 in netinet/ip_carp.c
:  from:
:  #define CARP_LOCK_INIT(cif) lockinit(&(cif)->vhif_lock, "carp_if",
:0,  LK_NOWAIT);
:  to:
:  #define CARP_LOCK_INIT(cif) lockinit(&(cif)->vhif_lock, "carp_if", 0,  0);
:  i.e. strip the LK_NOWAIT
:
:Hope it will work for you.
:
:Best Regards,
:sephe

    If that doesn't work post another traceback and I'll try to track
    it down.  It kinda looks like one thread is locking and another is
    unlocking, which isn't legal without setting the lock holder to a
    special value.  But it could also have been due to that LK_NOWAIT.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]