[Xorp-hackers] VRRP error

Li Zhao lizhaous2000 at yahoo.com
Fri Mar 5 07:57:47 PST 2010


The way to fix assert crash I think is in the function 
prepare_advertisement to resize the data.size to VRRP_MAX_PACKET_SIZE
because the last packet sending already resize it to some smaller size.

Then the problem happened in fea because I always saw "NO I/O Link plugin 
to send a link raw packet ...". Anybody knows what this "I/O Link Plugin"
means?

Thanks.

Li

--- On Sat, 2/27/10, Li Zhao <lizhaous2000 at yahoo.com> wrote:

> From: Li Zhao <lizhaous2000 at yahoo.com>
> Subject: Re: [Xorp-hackers] VRRP error
> To: "Ben Greear" <greearb at candelatech.com>
> Cc: xorp-hackers at icir.org
> Date: Saturday, February 27, 2010, 8:23 AM
> I tried to remove those two assertion
> before, but MAC wno't be updated and there were some other
> problems. Now what I found was fea has some thing wrong.
> During debugging, I will post any findings as soon as
> possible.
> 
> Thanks
> 
> --- On Fri, 2/26/10, Ben Greear <greearb at candelatech.com>
> wrote:
> 
> > From: Ben Greear <greearb at candelatech.com>
> > Subject: Re: [Xorp-hackers] VRRP error
> > To: "Li Zhao" <lizhaous2000 at yahoo.com>
> > Cc: "Eric S. Johnson" <esj at cs.fiu.edu>,
> xorp-hackers at icir.org
> > Date: Friday, February 26, 2010, 4:59 PM
> > On 02/26/2010 01:01 PM, Li Zhao
> > wrote:
> > > Actually the configuration is very simple to
> reproduce
> > the problem on Linux.
> > 
> > I tried starting this on my system, and get an
> assertion.
> > 
> > I ran it with:
> > /usr/local/xorp/bin/xorp_rtrmgr -b
> /root/xorp_vrrp.conf
> > 
> > The config file is exactly as you posted.
> > 
> > [ 2010/02/26 13:53:35 WARNING xorp_fea FEA ] Clearing
> > iftree: copy of user-config
> > [ 2010/02/26 13:53:36  FATAL xorp_vrrp:13019 VRRP
> > vrrp_packet.cc:173 finalize ] Assertion (_data.size()
> ==
> > _data.capacity() && _data.size() ==
> > VRRP_MAX_PACKET_SIZE) failed
> > [ 2010/02/26 13:53:36  ERROR xorp_rtrmgr:12925
> RTRMGR
> > module_manager.cc:764 done_cb ] Command
> > "/usr/local/xorp/vrrp/xorp_vrrp": terminated with
> signal 6.
> > 
> > I ran it again with the latest code (mostly changes
> Eric
> > has been testing), and
> > now it crashes:
> > 
> > [ 2010/02/26 13:57:34 WARNING xorp_fea XrlFeaTarget ]
> > Handling method for ifmgr/0.1/create_mac failed:
> XrlCmdError
> > 102 Command failed Cannot add MAC address
> 0:0:5e:0:1:64 on
> > interface eth1: MAC already added
> > [ 2010/02/26 13:57:34  FATAL xorp_vrrp:14729 VRRP
> > vrrp_target.cc:362 xrl_cb ] XRL error: 102 Command
> failed
> > Cannot add MAC address 0:0:5e:0:1:64 on interface
> eth1: MAC
> > already added
> > [ 2010/02/26 13:57:34  ERROR xorp_rtrmgr:14644
> RTRMGR
> > module_manager.cc:764 done_cb ] Command
> > "/usr/local/xorp/vrrp/xorp_vrrp": terminated with
> signal 6.
> > 
> > 
> > Looks like it's time to remove some asserts :P
> > 
> > 
> > Thanks,
> > Ben
> > 
> > -- Ben Greear <greearb at candelatech.com>
> > Candela Technologies Inc  http://www.candelatech.com
> > 
> > 
> 
> 
>       
> 
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
> 


      



More information about the Xorp-hackers mailing list