From owner-freebsd-net@FreeBSD.ORG Wed Aug 17 18:06:46 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD00106564A; Wed, 17 Aug 2011 18:06:46 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 014558FC19; Wed, 17 Aug 2011 18:06:45 +0000 (UTC) Received: by gxk28 with SMTP id 28so1105922gxk.13 for ; Wed, 17 Aug 2011 11:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=4eh+K5FfHbNByz0qB/jrfAZwquuhqimY3COAzvAMgrQ=; b=HANzrruMLOax7YzJb9orY1mY7Lx47X0VWH5Vz4AB9ZEs3GQzsA5OSnxo2HXiVjIryC 7CKrmX6EgUSY9njlK3094I6QAuWPcNl4OH4W3eGj7BtL//ciZ+S2PkSE4+MHeMWtNwR6 YqxZ5/wpj55G4tZvn5NhluG2CZ1O9HGd2fN9g= Received: by 10.42.159.69 with SMTP id k5mr1136190icx.389.1313604404579; Wed, 17 Aug 2011 11:06:44 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id a9sm547142ibi.26.2011.08.17.11.06.41 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Aug 2011 11:06:42 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 17 Aug 2011 11:06:38 -0700 From: YongHyeon PYUN Date: Wed, 17 Aug 2011 11:06:38 -0700 To: Ask =?iso-8859-1?Q?Bj=F8rn?= Hansen Message-ID: <20110817180638.GA10923@michelle.cdnetworks.com> References: <4E4AB3BE.4090603@sentex.net> <9255C71C-BB78-417E-A900-85140FC2050C@develooper.com> <20110817002911.GA7614@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: net@freebsd.org, embedded@freebsd.org, Mike Tancsa Subject: Re: system locks up with vr driver on alix board X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 18:06:46 -0000 On Tue, Aug 16, 2011 at 06:39:51PM -0700, Ask Bj??rn Hansen wrote: > > On Aug 16, 2011, at 17:29, YongHyeon PYUN wrote: > > Hi -- thank you for asking. It's frustrating to have such an obscure and unlikely problem and I apologies for taking your time with it! > > > Could you show me full dmesg and ifconfig output? > > Included below from a happy system. > > I setup some scripts to monitor those things every second and print out diffs on the console and will post again next time it hangs/crashes/whatever is happening with any data. > > > It would also be interesting to know whether vr(4) spewed some logs. > > Where would they have gone? I didn't see anything in messages (via syslog) or dmesg earlier, for what it's worth. > I thought vr(4) have showed some abnormal messages and it would have been logged via syslog. Initially I suspected link flips and TX/RX MAC restart failure triggered by the flips but it seems you don't see this kind of issue. > > How many PPS or interrupts do you see from vr interface under high > > network load? > > Honestly I'm not sure. I only know how to see the interrupt busy percentage from top … Is there a cheap way to get those numbers? If so then I'll log them every second or two and see if it catches anything. > Apart from systat or vmstat, you could get rough PPS with "netstat -ndI vr0 -w 1" > > - ask > > gw-b.dev# ifconfig -a [...] It seems vlan3 is not configured(i.e. just cloned). Apart from that all looks normal.