From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 00:27:38 2008 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 4FB761065672 for ; Wed, 2 Apr 2008 00:27:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.251]) by mx1.freebsd.org (Postfix) with ESMTP id EF2A58FC1D for ; Wed, 2 Apr 2008 00:27:37 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so2027258hsc.11 for ; Tue, 01 Apr 2008 17:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=NRR4IwmKyUSR/n1hKs2z5F16POcy9KVwBFlq6SplvTs=; b=qnIS8HHAXTv0D5Q0/6JeL3S6Ehu3VlPET4mG0sLz3FaaIO4fFd8k/TTIFCCs7NYKe0gFdEyb9ES7yzmXoo0QvzP0IWkxdBzTUvm4HdrkJzunCnFM9DzNgw/kxoZvy9caIf2fl/l6Qw6LAsAYi9zYhYFnQbwilY8r2J7XnoCE6qM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=VRJGrX2xsB308AJpV69YMfHKqSg9YLPgJlCzOkOBaiUyjwzLuUOT6pE5pnHXGc+CqWhVn3BBk5UkC1J/6k/lZKxcU7dvSQ6OpkwqC0/3QQnWJJg0c/1UJA8TGIahsBHkVke6ceSC38ofUQfFswqIJ0puurnwyVNGG8WdyhMq23o= Received: by 10.100.207.5 with SMTP id e5mr20779032ang.113.1207096056946; Tue, 01 Apr 2008 17:27:36 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 8sm981579wra.40.2008.04.01.17.27.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Apr 2008 17:27:35 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m320RUOg018575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 09:27:30 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m320RUsw018574; Wed, 2 Apr 2008 09:27:30 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 2 Apr 2008 09:27:29 +0900 From: Pyun YongHyeon To: Stuart Fraser Message-ID: <20080402002729.GA18494@cdnetworks.co.kr> References: <0fc501c893c7$dfbf99b0$9f3ecd10$@net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0fc501c893c7$dfbf99b0$9f3ecd10$@net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: vge(4) driver not working at 1G speeds 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: Wed, 02 Apr 2008 00:27:38 -0000 On Tue, Apr 01, 2008 at 08:13:19AM +0100, Stuart Fraser wrote: > Hi, > I'm trying to get a Via Velocity Gigabit Networking driver vge(4) to work at > 1000baseTX on a Via EPIA SN18000 Motherboard. > > It will always Auto negotiation and back-off to 100MB Full duplex, which > works > Perfectly (so far). When I try to manually force the card 1000baseTX the > interface > status reports 'no carrier' and I can get not connectivity. I have tried > Ubuntu live disk and it works seamlessly to 1GB, so I'm sure the > cabling/switch etc is fine and the issue is with the driver. > > So I have tried 1000baseTX full and half duplex. I have tried to disable the > hardware handoff using the mediaopt commands -rxcsum and -txcsum. Further I > have tried to use the link0 operation as described in the man page but I > get: > > nas# ifconfig vge0 mediaopt link0 > ifconfig: SIOCSIFMEDIA (media): Device not configured > > Further I have tried Release 7.0 and Stable 7 with the vge driver compiled > In to the kernel also as an external module loaded through boot/loader.conf > and lastly waiting until a full boot has completed and manually loading the > if_vge module. > > The only thing I can see is that the chipset is actually a VT6130 and > perhaps the driver needs 'tweaked' or there is some sysctl somewhere to poke > it into life. As I say it works fine in 100MB mode and I can use 100M for a > while but I'm planning on using this as a NAS so 1G would be preferred. > > Any help, suggestions, thoughts would be appreciated. Anyone got it working > or tried? > Should I report it as a bug? > Would you show me verbosed boot message? Old VIA VT6120/VT6122 controllers used to ciphy(4) but newer PCIe Velocity gigabit controllers, VT6130/VT6132, might use other variants of the PHY. -- Regards, Pyun YongHyeon