From owner-freebsd-net@FreeBSD.ORG Tue Apr 14 06:18:24 2009 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 BDA65106566B for ; Tue, 14 Apr 2009 06:18:24 +0000 (UTC) (envelope-from rainofchaos@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 75D4B8FC0A for ; Tue, 14 Apr 2009 06:18:24 +0000 (UTC) (envelope-from rainofchaos@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1702356qwb.7 for ; Mon, 13 Apr 2009 23:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gEue7ZtFS2l0/iXXoeNI2W6geLg67S5FNByo8PMVuPc=; b=WLHGmPpV+duk5mGz6t+821rim0DP3b4iHtNQrgILruRL/TbuOY0qcGjLbAZDXIxiZE ETS3QELXczcPBOBcGd5SzpCQIT/S1IeWmeLv0KUeR7h3uDFuYOn+z8jCnsk4YBG07ssI Bem1I6YA7jxIWxT6Jf2ZbM2TOP466kDzaMHcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=m3wFp6voBBTAtVPCp+eS7DEsrLNkIGzwf3Uj0UNRagpLOrehk6l8ZMtmTJPdL3IXxv yEBBre1MYH88D6dqcSahTS8DvDdVsItYdKAlCIwfcMkbhWLYTbqX4HpLbW5iu0b2tuyg 9hnqn79WU3ywzmVkcEQNYLoG//fPEunlgm6+A= MIME-Version: 1.0 Received: by 10.220.76.3 with SMTP id a3mr7357649vck.119.1239689903572; Mon, 13 Apr 2009 23:18:23 -0700 (PDT) In-Reply-To: <20090414050538.GD65724@michelle.cdnetworks.co.kr> References: <20090414050538.GD65724@michelle.cdnetworks.co.kr> Date: Tue, 14 Apr 2009 14:18:23 +0800 Message-ID: From: Leon Feng To: pyunyh@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: [vge] VIA VT6130 only auto negotiating to 1000baseT after down/up X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 06:18:25 -0000 2009/4/14 Pyun YongHyeon : > On Tue, Apr 14, 2009 at 11:55:55AM +0800, Leon Feng wrote: >> Hi, >> >> I am running CURRENT r190987 on VIA EPIA board with VT6130 chip. >> I found two problems: >> >> 1. After normal boot, vge only auto negotiate to 100baseTX. Then >> # ifconfig vge1 down >> # ifconfig vge1 up >> And vge1 will auto negotiate to 1000baseT. >> > > It's normal to see negotiated speed/duplex only after configuring > network interface(At least you have to up the interface to get > valid link). You have configured vge1 in rc.conf, right? > My fault, after add ifconfig_vge1="up", vge1 works great. I see "Link auto-negotiation speed 100M bps full duplex" in the machine connected to it at reboot. Thought it were auto negotiated by FreeBSD. In fact it comes from BIOS. >> 2. After reboot the system, there is an error message: >> " savecore: reboot after panic: mutex vge0 not owned at >> /usr/src/sys/modules/vge/../../dev/vge/if_vge.c:2395" >> > > Hmm, there is no such line number 2395 in if_vge.c. Please make > sure you've updated to latest CURRENT. And if you can see the panic > again show me full back-trace info. > After savecore -c , it is gone. >> Do not know whether these two are related. Any one has an idea? >> > > I think the former has nothing to do with the latter. > Both solved. Great thanks.