From owner-freebsd-net@FreeBSD.ORG Wed Oct 26 16:49:41 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89810106564A for ; Wed, 26 Oct 2011 16:49:41 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 154378FC0A for ; Wed, 26 Oct 2011 16:49:40 +0000 (UTC) Received: by wwi18 with SMTP id 18so2662243wwi.31 for ; Wed, 26 Oct 2011 09:49:40 -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=B/TyuVbD6EqAkhk4xNQBeYhdmRFvYAGRFDlJcm+Zdhk=; b=wnH74n/FUMAS1RkV3KxKh3JNRKInMeh4O4yNhmGt4KsxyBF/O9ZyKlzAtOGc+Q2gRO PTEjYcT+JlcFYkqUzs4xkpn2sqppOda1G5lmd0dMaKgiEFCe5tq2xzQgIewyGm+trzWJ e0lt78AJN4ba21glp5ZiZi0/TYF3I/VuPmAqU= Received: by 10.227.205.76 with SMTP id fp12mr12100881wbb.17.1319647779961; Wed, 26 Oct 2011 09:49:39 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id ei16sm4161744wbb.21.2011.10.26.09.49.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Oct 2011 09:49:38 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 26 Oct 2011 09:48:00 -0700 From: YongHyeon PYUN Date: Wed, 26 Oct 2011 09:48:00 -0700 To: Andrey Smagin Message-ID: <20111026164800.GA13234@michelle.cdnetworks.com> References: <20111025200937.GA9348@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: freebsd-net@freebsd.org Subject: Re: PCI-E VT6130 NIC (if_vge) hang system with gigabit link 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, 26 Oct 2011 16:49:41 -0000 On Wed, Oct 26, 2011 at 01:49:14PM +0400, Andrey Smagin wrote: > Hi ! > vge0@pci0:2:0:0: class=0x020000 card=0x01101106 chip=0x31191106 rev=0x82 hdr=0x00 > vendor = 'VIA Technologies, Inc.' > device = 'VT6120/VT6121/VT6122 Gigabit Ethernet Adapter' > class = network > subclass = ethernet > bar [10] = type I/O Port, range 32, base 0x8000, size 256, enabled > bar [14] = type Memory, range 64, base 0xd4100000, size 256, enabled > cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 > cap 10[90] = PCI-Express 1 endpoint max data 128(128) link x1(x1) > cap 05[c0] = MSI supports 1 message, 64 bit, vector masks enabled with 1 message > ecap 0001[100] = AER 1 0 fatal 1 non-fatal 6 corrected > ecap 0003[130] = Serial 1 0000110600000000 > vge1@pci0:1:0:0: class=0x020000 card=0x01101106 chip=0x31191106 rev=0x82 hdr=0x00 > vendor = 'VIA Technologies, Inc.' > device = 'VT6120/VT6121/VT6122 Gigabit Ethernet Adapter' > class = network > subclass = ethernet > bar [10] = type I/O Port, range 32, base 0x7000, size 256, enabled > bar [14] = type Memory, range 64, base 0xd4000000, size 256, enabled > cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 > cap 10[90] = PCI-Express 1 endpoint max data 128(128) link x1(x1) > cap 05[c0] = MSI supports 1 message, 64 bit, vector masks enabled with 1 message > ecap 0001[100] = AER 1 1 fatal 1 non-fatal 6 corrected > ecap 0003[130] = Serial 1 0000110600000000 > > dmesg is empty Hmm, check whether you have old dmesg file in /var/log directory. At least, I need output of 'devinfo -rv' to know which PHY you have. By chance, are you using manual link configuration instead of relying on auto-negotiation? > > 26 октября 2011, 00:11 от YongHyeon PYUN : > > On Tue, Oct 25, 2011 at 10:44:48AM +0400, Andrey Smagin wrote: > > > Hi ALL ! If I connect gigabit switch to my card - system hang until I unplug patchcord from device. > > > With 100Mbit switch card work good. > > > > Show me the output of dmesg and 'pciconf -lcbv'. > > > > > System: Current - r226163 > > > > > >