From owner-freebsd-current@FreeBSD.ORG Tue Apr 29 15:26:46 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 8D0201065675 for ; Tue, 29 Apr 2008 15:26:46 +0000 (UTC) (envelope-from stuart@stuartfraser.net) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC918FC1E for ; Tue, 29 Apr 2008 15:26:46 +0000 (UTC) (envelope-from stuart@stuartfraser.net) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1JqrjB-0003xA-4i; Tue, 29 Apr 2008 16:26:45 +0100 Received: from [77.101.3.244] (helo=nas.stuartfraser.net) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1JqrjA-0004Ki-Df; Tue, 29 Apr 2008 16:26:44 +0100 Received: from [192.168.51.100] (helo=nyx) by nas.stuartfraser.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jqri7-0001ey-77; Tue, 29 Apr 2008 16:25:39 +0100 From: "Stuart Fraser" To: "'Jonathan Hogg'" References: <21E3C9BA-8DE2-470C-AEA1-58FE3D192EC7@onegoodidea.com> <4a1601c8a95c$30290860$907b1920$@net> <229835A2-39F7-480D-9560-D27705A16092@onegoodidea.com> In-Reply-To: <229835A2-39F7-480D-9560-D27705A16092@onegoodidea.com> Date: Tue, 29 Apr 2008 16:26:12 +0100 Message-ID: <723601c8aa0d$621c7cb0$26557610$@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: AcipfPt3Sl6Bdf/6Q4qmx+Gv6FWzZgAj/Rmg Content-Language: en-gb Cc: freebsd-current@freebsd.org Subject: RE: vge(4) gigabit on VIA EPIA SN 18000 board (again) 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: Tue, 29 Apr 2008 15:26:46 -0000 Nothing overly complicated just '/sbin/ifconfig vge0 inet 192.168.51.1 netmask 255.255.255.0 media 1000basetx link0 mediaopt full-duplex' Not sure why it likes it here but if its configured as normal in rc.conf it just configs to 100Mb s -----Original Message----- From: Jonathan Hogg [mailto:jonathan@onegoodidea.com] Sent: 28 April 2008 23:14 To: Stuart Fraser Cc: 'FreeBSD Current' Subject: Re: vge(4) gigabit on VIA EPIA SN 18000 board (again) On 28 Apr 2008, at 19:17, Stuart Fraser wrote: > Secondly there is a patch to the vge(4) driver which mostly fixes > the 1G > issues. What I was finding is that if I configured the interface in > rc.conf > it wouldn't come up in 1G mode it would auto select 100FullDuplex. > Anytime > after that it seemed to configure fine - go figure so I just config > it in a > later /usr/local/etc/rc.d script. I have tried to soak test as much > as I can > and it appears stable underload. Cool. I applied the patches (or thought I had) and managed to get gigabit stable for a short while by poking around with ifconfig settings. Unfortunately as soon as I rebooted I'd lost it and couldn't manage to get it back again - I'm not sure what I did in the first place. Instead my poking around was rewarded with a kernel panic. It's late now and I need the machine back on the network, so I've switched back over to the vr(4) port for the moment. Tomorrow I'll check my patching more carefully. Can you tell me though what your rc.d script contains? Thanks for the help so far. Jonathan