CARP panic

Matthew Dillon dillon at apollo.backplane.com
Wed Jul 2 20:34:01 PDT 2008


:> 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 at backplane.com>





More information about the Bugs mailing list