ifconfig carp1 destroy = kernel panic

Anton Yuzhaninov citrin at citrin.ru
Mon Feb 5 18:38:24 UTC 2007


Hello Stefan,

You wrote on Monday, February 5, 2007, 9:26:44 PM:

SL> Hi all,

SL> Anton Yuzhaninov wrote:
>> Hello Stefan,
>>
>> You wrote on Monday, February 5, 2007, 7:06:16 PM:
>>
>> SL> ifconfig bge0 192.168.1.1 netmask 255.255.255.0
>> SL> ifconfig bge0 alias 10.1.1.1 netmask 255.255.255.0
>> SL> ifconfig carp create
>> SL> ifconfig carp create
>> SL> ifconfig carp0 192.168.1.222/24 vhid 1 advskew 0 pass somekey
>> SL> ifconfig carp1 10.1.1.222/24 vhid 2 advskew 0 pass somekey
>> SL> - to this point everything is ok -
>> SL> ifconfig carp1 destroy - at this point this will cause kernel panic.
>> SL> I tested with ifconfig carp1 delete before destroy but the result is the
>> SL> same.
>>
>> It seems to be fixed in CURRENT - src/sys/netinet/ip_carp.c Revision 1.47
>>
>>   
SL> Sorry if this sound too stupid, but do you think, that if I download 
SL> rev. 1.47 (or latest rev. 1.48)
SL> of src/sys/netinet/ip_carp.c and I recompile the kernel this will/can 
SL> fix the problem ?

ip_carp.c from current can contain code which don't work in RELENG_6
Instead try to merge only this changes to ip_carp.c:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip_carp.c.diff?r1=1.46&r2=1.47

-- 
 Anton Yuzhaninov.


More information about the freebsd-stable mailing list