Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 17:29:11 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Ask =?iso-8859-1?Q?Bj=F8rn?= Hansen <ask@develooper.com>
Cc:        net@freebsd.org, embedded@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re: system locks up with vr driver on alix board
Message-ID:  <20110817002911.GA7614@michelle.cdnetworks.com>
In-Reply-To: <9255C71C-BB78-417E-A900-85140FC2050C@develooper.com>
References:  <D8B41107-90ED-4357-A7DA-4FF987C70567@develooper.com> <4E4AB3BE.4090603@sentex.net> <9255C71C-BB78-417E-A900-85140FC2050C@develooper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 16, 2011 at 05:14:59PM -0700, Ask Bj??rn Hansen wrote:
> 
> On Aug 16, 2011, at 11:15, Mike Tancsa wrote:
> 
> >> An hour or two after the log stopped showing; the system stopped routing packets, but frustratingly kept sending CARP messages out so the secondary firewall didn't pick up the IP addresses to take over.
> >> 
> >> Any ideas?
> > 
> > Not sure if CARP has something to do with it as I have quite a few
> > RELENG_8 boxes out there running on Alix boxes (2 and 3 port as well as
> > Soekris 5501s).
> 
> Yeah, there must be thousands!
> 
> > But I think the 7.4 and 8.2 drivers for vr are essentially the same. That being said, there are some updates in RELENG_8 to the driver. Not sure if that makes any difference to your issue.
> > 
> > http://svnweb.freebsd.org/base?view=revision&revision=223681
> 
> Yeah - none of that looks relevant.  Indeed I'm not even sure that it has anything to do with the vr driver -- that's just the only potential symptom that I could find.  I've stripped down those boxes so they really don't do anything more than routing (from vr interfaces) and firewall (with pf).  The only daemons running (other than getty and sshd) are ntpd and radvd.
> 

Could you show me full dmesg and ifconfig output?
It would also be interesting to know whether vr(4) spewed some logs.
How many PPS or interrupts do you see from vr interface under high
network load?

> One of them just imploded in this way again (and it's a new board, so I'm pretty sure it's not a hardware problem).  I now disabled OpenVPN (it was idle already), an unnecessary VLAN and made the configuration as simple as it can be and still work -- I am including it in full (with un-obfuscated IP addresses to make sure I don't hide any potential problem).
> 
> Some years ago I recall trouble running carp on vlan interfaces.  Is it possible that's back in some way?
> 
> 
>  - ask
> 
> -- 
> http://develooper.com/ - http://askask.com/
> 
> 
> sshd_enable="YES"
> ntpd_enable="YES"
> ntpd_flags="-p /var/run/ntpd.pid -f /etc/ntp/ntpd.drift -g"
> 
> hostname="gw-b.dev"
> ipv6_enable="YES"
> radvd_enable="YES"
> 
> ifconfig_vr0="inet 207.171.2.196/29"
> ipv6_ifconfig_vr0="2607:F238:0:11::4/125"
> ifconfig_vr1="inet 207.171.7.3/24"
> ipv6_ifconfig_vr1="2607:f238:3::3/64"
> 
> ifconfig_vr2="up"
> ifconfig_lo0_alias1="inet 127.0.0.3"
> 
> ifconfig_vlan1="inet 10.77.73.2/29  vlan 103 vlandev vr2"
> ifconfig_vlan2="inet 10.0.100.3/24  vlan 102 vlandev vr2"
> 
> ifconfig_carp0="vhid 110 advskew 120 pass aherjkhfare 207.171.2.194/29"
> ifconfig_carp1="vhid 111 advskew 120 pass j798gyuhjks 207.171.7.1/24"
> ifconfig_carp2="vhid 112 advskew 120 pass 5783jkdfssd 10.0.100.1/24"
> ifconfig_carp4="vhid 114 advskew 120 pass ketrjhstres 10.0.100.254/24"
> 
> ipv6_ifconfig_carp0="2607:F238:0:11::2/125"
> ipv6_ifconfig_carp1="2607:F238:3::1/64"
> 
> defaultrouter="207.171.2.193"
> ipv6_defaultrouter="2607:F238:0:11::1"
> 
> pfsync_enable="YES"
> pfsync_syncdev="vlan1"
> 
> cloned_interfaces="vlan1 vlan2 vlan3 carp0 carp1 carp2 carp3 carp4 carp60 carp61 carp63"
> 
> gateway_enable="YES"
> ipv6_gateway_enable="YES"
> 
> pf_enable="YES"
> pflog_enable="NO"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110817002911.GA7614>