From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 07:33:22 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 68A8A1065670 for ; Wed, 2 Apr 2008 07:33:22 +0000 (UTC) (envelope-from stuart@stuartfraser.net) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1EA8FC2A for ; Wed, 2 Apr 2008 07:33:22 +0000 (UTC) (envelope-from stuart@stuartfraser.net) Received: from [172.23.170.142] (helo=anti-virus02-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1JgxTF-0002XE-Ae; Wed, 02 Apr 2008 08:33:21 +0100 Received: from [82.41.24.37] (helo=slayer.stuartfraser.net) by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52) id 1JgxPn-0007Cs-CT; Wed, 02 Apr 2008 08:29:47 +0100 Received: from nyx.stuartfraser.net ([192.168.51.34] helo=nyx) by slayer.stuartfraser.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JgxUd-000FBS-Me; Wed, 02 Apr 2008 08:34:47 +0100 From: "Stuart Fraser" To: References: <0fc501c893c7$dfbf99b0$9f3ecd10$@net> <20080402002729.GA18494@cdnetworks.co.kr> In-Reply-To: <20080402002729.GA18494@cdnetworks.co.kr> Date: Wed, 2 Apr 2008 08:29:27 +0100 Message-ID: <483f01c89493$4b8d8b90$e2a8a2b0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AciUWShZwLU3J3ERQ+yeqLltx/BLKgAOSyNQ Content-Language: en-gb 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 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 07:33:22 -0000 Hi, Here is the dmesg section, it appears to be using UKPHY so as you say if the older chips used a different physical layer perhaps we have a problem in there. -- dmesg -- pci3: on pcib3 vge0: port 0xe800-0xe8ff mem 0xfeaffc00-0xfeaffcff irq 28 at device 0.0 on pci3 miibus0: on vge0 ukphy0: PHY 22 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto vge0: using obsoleted if_watchdog interface vge0: Ethernet address: 00:40:63:f3:7e:28 vge0: [ITHREAD] rgds Stu -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Pyun YongHyeon Sent: 02 April 2008 01:27 To: Stuart Fraser Cc: freebsd-current@freebsd.org Subject: Re: vge(4) driver not working at 1G speeds 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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"