From owner-freebsd-current@FreeBSD.ORG Thu Jun 11 13:03:24 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53D041065692 for ; Thu, 11 Jun 2009 13:03:24 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB238FC19 for ; Thu, 11 Jun 2009 13:03:23 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id k40so490125rvb.43 for ; Thu, 11 Jun 2009 06:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=mGSLRVPXA4VhzT3xiGMA7s3D0jLXJ+jFMviC2EFaZOU=; b=rjvdu8fSk3WL1lG4oVeTuMpqJKpzSE/PCVJ4e7cLhDZX+jkR8LNH6vsF2vpY6M+IvI k2zuiiyxn1ssQ0yjAnvOy7JPSIVNbpqLy13G0PppqaaIHVm7n7ewm3hkPP59/vRSzkGb 75qVDn8/xIRXKaDyyh2KZhbrk9ED1GMTYQZnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xhDlvLj13vbrGbqZv22gTsnwUaFnHC6VS/uCReY9msLfkvoddW+xN9OBc8Q2DRddqx ouIz2dga3XiJNoOKznR7iKkcWQWWS1y1DNMZPmTo+gGI7QGYfTqomY8Pa14AQv1rIDXd 2d/NOqVFn72EzidoFnjHoSlpzd6BvvxRjBIws= Received: by 10.140.136.19 with SMTP id j19mr2059755rvd.21.1244725403665; Thu, 11 Jun 2009 06:03:23 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id g31sm40945rvb.13.2009.06.11.06.03.21 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Jun 2009 06:03:22 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Thu, 11 Jun 2009 22:05:57 +0900 From: Pyun YongHyeon Date: Thu, 11 Jun 2009 22:05:57 +0900 To: Thomas Lotterer Message-ID: <20090611130557.GB68519@michelle.cdnetworks.co.kr> References: <4A2DA8D9.2030300@lotterer.net> <20090610024959.GD63941@michelle.cdnetworks.co.kr> <4A2FF8E3.4060501@lotterer.net> <20090611002923.GA68519@michelle.cdnetworks.co.kr> <4A30FD94.4030409@lotterer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A30FD94.4030409@lotterer.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: suspect bug in vge(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 13:03:24 -0000 On Thu, Jun 11, 2009 at 02:50:28PM +0200, Thomas Lotterer wrote: > Pyun YongHyeon wrote: > >On Wed, Jun 10, 2009 at 08:18:11PM +0200, Thomas Lotterer wrote: > >>Pyun YongHyeon wrote: > >>>http://people.freebsd.org/~yongari/vge/if_vge.c > >>>http://people.freebsd.org/~yongari/vge/if_vgereg.h > >>>http://people.freebsd.org/~yongari/vge/if_vgevar.h > >>> > >>These files contain a CVS Id dating them 2007-11-22 while CURRENT has > >>2009-05-30. > > > >You can ignore the date. > > > I tried these driver files. > > From a user/admin perspective, they do not work at all. No Network > link, no traffic at all. > Sorry, the WIP version wasn't tested on real hardware. :-( > From a developers perspective, things look promising: > > vge0: flags=8802 metric 0 mtu 1500 > options=389b > ether 00:40:63:xx:xx:xx > inet [...] > media: Ethernet autoselect > > New WOL options are a proof the new driver is loaded. It detects the NIC > and reads the correct Ethernet MAC address. The media indicator shows > what's reality - no link. > > In /var/log/messages I found continuously repeating patterns of > > vge0: link state changed to UP > vge0: watchdog timeout > vge0: unable to stop Rx/Tx MAC(0x09)! > vge0: soft reset timed out > vge0: link state changed to DOWN > Perhaps there is a bug in Tx path, not sure where it is. > Attempting to manually bring the interface down and back up did not > change anything. In fact, it seems to me that the command did not make > it to the hardware. Usually, the link indicators on the NIC and switch > cycle off/on but this time no flickering at all. Could you show me dmesg output(only vge(4) related one)?