From owner-freebsd-amd64@FreeBSD.ORG Sat May 13 06:34:18 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4F4316A407 for ; Sat, 13 May 2006 06:34:17 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D74243D46 for ; Sat, 13 May 2006 06:34:16 +0000 (GMT) (envelope-from yuri.pankov@gmail.com) Received: by nf-out-0910.google.com with SMTP id y25so422394nfb for ; Fri, 12 May 2006 23:34:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=IpB0ub4g/3lSomX8IWJ63i/0F3M/wb8Lcem4sDDWCyn7o2BKvpxyCo8Dk7Xh0KSEGzKDIw1WfTiqp/RbI01JAx+s6BfbDf5wq/c6penyx5lx8JsPWc2V69+5L+dPfRxbBF0yOBQiofNHrxdvaEFuVhVn69ao6xGXS4s5/5OAQ94= Received: by 10.48.254.16 with SMTP id b16mr1686532nfi; Fri, 12 May 2006 23:34:15 -0700 (PDT) Received: from klamath.irbis.net.ru ( [85.118.141.6]) by mx.gmail.com with ESMTP id i1sm514711nfe.2006.05.12.23.34.12; Fri, 12 May 2006 23:34:15 -0700 (PDT) From: Yuri Pankov To: Shigeaki Tagashira In-Reply-To: <445B803F.2020808@gmail.com> References: <44506B8B.4090605@se.hiroshima-u.ac.jp> <44507BAF.4070901@gmail.com> <6e01203b0604270141q34ff3137xb027ed8ed9420843@mail.gmail.com> <445097B4.1060400@se.hiroshima-u.ac.jp> <445B803F.2020808@gmail.com> Content-Type: text/plain Date: Sat, 13 May 2006 10:31:48 +0400 Message-Id: <1147501908.50296.4.camel@localhost.localnet> Mime-Version: 1.0 X-Mailer: Evolution 2.7.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org Subject: Re: FreeBSD nfe driver for NVIDIA nForce network adapter X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 06:34:18 -0000 On Fri, 2006-05-05 at 20:41 +0400, Yuri Pankov wrote: > Shigeaki Tagashira wrote: > > Thanks for your reports. > > > > I have not tested the driver on FreeBSD 7.0-CURRENT and on the Cicada phys. > > I'll try it on these platforms. > > > > --- > > S. Tagashira > > > > Tyler Gee wrote: > >> Working like a charm (with the 88E1111 patch ) > >> > >> FreeBSD xxx 6.1-RC FreeBSD 6.1-RC #3: Wed Apr 26 21:50:14 HST 2006 > >> root@so uth:/usr/obj/usr/src/sys/DESKBOT amd64 > >> > >> MS-7207 Motherboard > >> > >> Thanks! > >> Tyler > >> > >> On 4/26/06, Yuri Pankov wrote: > >>> Shigeaki Tagashira wrote: > >>>> I am providing a FreeBSD device driver of NVIDIA nForce network > >>>> adapter. > >>>> It is a native device driver and is based on the OpenBSD nfe driver. > >>>> The latest driver was tested on FreeBSD 6.1-RC/amd64 and seems to > >>>> work stably > >>>> on my machine (ASUS A8N-SLI Premium). > >>>> > >>>> It can be downloaded at the following URL. > >>>> http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html > >>>> > >>>> Best regards > >>>> --- > >>>> S. Tagashira > >>>> > >>> I've tried this driver on recent FreeBSD 7.0-CURRENT/amd64. Driver > >>> compiles, this is what I get after kldload if_nfe: > >>> > >>> nfe0: port 0xe800-0xe807 mem > >>> 0xf5102000-0xf5102fff irq 23 at device 10.0 on pci0 > >>> nfe0: bpf attached > >>> nfe0: Ethernet address: 00:0f:ea:7d:f3:20 > >>> nfe0: [MPSAFE] > >>> pci1: driver added > >>> miibus0: on nfe0 > >>> ciphy0: on miibus0 > >>> ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > >>> 1000baseT-FDX, auto > >>> nfe0: link state changed to DOWN > >>> nfe0: gigabit link up > >>> nfe0: link state changed to UP > >>> > >>> ifconfig output: > >>> > >>> nfe0: flags=8843 mtu 1500 > >>> options=8 > >>> inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 > >>> inet6 fe80::20f:eaff:fe7d:f320%nfe0 prefixlen 64 scopeid 0x3 > >>> ether 00:0f:ea:7d:f3:20 > >>> media: Ethernet autoselect (1000baseTX ) > >>> status: active > >>> > >>> Looks ok, but when I try to ping 10.10.10.2 it says 'host is down'. > >>> Though it works OK with if_nve driver. > >>> > >>> Anyway, thanks for your work! > >>> > >>> Yuri > > Good day. > > After applying ciphy.patch and using driver version 20060428, device is > unable even to detect carrier (or current media settings): > nfe0: flags=8843 mtu 1500 > options=8 > inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 > inet6 fe80::20f:eaff:fe7d:f320%nfe0 prefixlen 64 scopeid 0x3 > ether 00:0f:ea:7d:f3:20 > media: Ethernet autoselect (none) > status: no carrier > > Manually selecting media type (with `ifconfig nfe0 media `) > doesn't help either. > > I'm using Gigabyte K8NXP-SLI m/b. > > nfe0@pci0:10:0: class=0x068000 card=0xe0001458 chip=0x005710de rev=0xa3 > hdr=0x00 > vendor = 'NVIDIA Corporation' > device = 'nForce4 Ethernet Controller' > class = bridge > > Yuri Sorry, it was a brainfart.. everything is working fine with ciphy.patch Yuri