From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 11:36:15 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 A470A106566C for ; Wed, 2 Apr 2008 11:36:15 +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 412EC8FC24 for ; Wed, 2 Apr 2008 11:36:15 +0000 (UTC) (envelope-from stuart@stuartfraser.net) Received: from [172.23.170.146] (helo=anti-virus03-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1Jh1GI-0006qr-M5; Wed, 02 Apr 2008 12:36:14 +0100 Received: from [82.41.24.37] (helo=slayer.stuartfraser.net) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1Jh1Cr-0001Ui-8B; Wed, 02 Apr 2008 12:32:41 +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 1Jh1Hh-000FMK-F5; Wed, 02 Apr 2008 12:37:41 +0100 From: "Stuart Fraser" To: References: <0fc501c893c7$dfbf99b0$9f3ecd10$@net> <20080402002729.GA18494@cdnetworks.co.kr> <483f01c89493$4b8d8b90$e2a8a2b0$@net> <20080402081643.GC18494@cdnetworks.co.kr> <48a901c8949b$d88166e0$898434a0$@net> <20080402085207.GD18494@cdnetworks.co.kr> In-Reply-To: <20080402085207.GD18494@cdnetworks.co.kr> Date: Wed, 2 Apr 2008 12:32:20 +0100 Message-ID: <48bc01c894b5$39a22c20$ace68460$@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: AciUn5m7y+e1TGlNRV2fdSRcNyNs7wAEhPyw 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 11:36:15 -0000 Afraid, that didn't do it. The patch files didn't work at first but a did it by hand adding the relevant lines. It compiled and installed fine. So what we see is that things have changed but are not yet working, if not actually worse. Here are my findings (all using the vge driver compiled into kernel) -first we fail if ifconfig media is set to auto, ifconfig reports media Ethernet autoselect (none), status: active. No difference if LINK0 set. -100BaseTX-FDX appears not to send, if I try to ping any other than the local IP I 'ping: sendto: No buffer space available'. If I tcpdump on the interface I see the traffic I would expect on the local subnet. -1000BaseTX, still no carrier The detailed dmesg snip shows that ip1000phy did connect rather than ukphy pcib3: slot 0 INTA hardwired to IRQ 28 vge0: port 0xe800-0xe8ff mem 0xfeaffc00-0xfeaffcff irq 28 at device 0 .0 on pci3 vge0: Reserved 0x100 bytes for rid 0x14 type 3 at 0xfeaffc00 miibus0: on vge0 ip1000phy0: PHY 22 on miibus0 ip1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto vge0: using obsoleted if_watchdog interface vge0: bpf attached vge0: Ethernet address: 00:40:63:f3:7e:28 ioapic1: routing intpin 4 (PCI IRQ 28) to vector 49 vge0: [MPSAFE] vge0: [ITHREAD] thanks again for the help, what next? S -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Pyun YongHyeon Sent: 02 April 2008 09:52 To: Stuart Fraser Cc: freebsd-current@freebsd.org Subject: Re: vge(4) driver not working at 1G speeds On Wed, Apr 02, 2008 at 09:30:40AM +0100, Stuart Fraser wrote: > Oops, no coffee yet, here you go. > > pcib3: slot 0 INTA hardwired to IRQ 28 > vge0: port 0xe800-0xe8ff mem > 0xfeaffc00-0xfeaffcff irq 28 at device 0.0 on pci3 > vge0: Reserved 0x100 bytes for rid 0x14 type 3 at 0xfeaffc00 > miibus0: on vge0 > ukphy0: PHY 22 on miibus0 > ukphy0: OUI 0x0090c3, model 0x0019, rev. 0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > vge0: using obsoleted if_watchdog interface > vge0: bpf attached > vge0: Ethernet address: 00:40:63:f3:7e:28 > ioapic1: routing intpin 4 (PCI IRQ 28) to vector 49 > vge0: [MPSAFE] > vge0: [ITHREAD] > Thanks a lot! Try attached patch and let me know how it goes. -- Regards, Pyun YongHyeon