From owner-freebsd-amd64@FreeBSD.ORG Mon Oct 11 13:23:03 2004 Return-Path: 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 46FAF16A4CE for ; Mon, 11 Oct 2004 13:23:03 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3E9D43D46 for ; Mon, 11 Oct 2004 13:23:02 +0000 (GMT) (envelope-from sjr@comcast.net) Received: from istari.comcast.net (pcp08127824pcs.nrockv01.md.comcast.net[69.138.220.134](misconfigured sender)) by comcast.net (sccrmhc13) with ESMTP id <2004101113230101600c7qe1e>; Mon, 11 Oct 2004 13:23:01 +0000 Received: from istari.comcast.net (localhost [127.0.0.1]) by istari.comcast.net (8.12.11/8.12.11) with ESMTP id i9BDMrh1042923; Mon, 11 Oct 2004 09:22:55 -0400 (EDT) (envelope-from sjr@istari.comcast.net) Message-Id: <200410111322.i9BDMrh1042923@istari.comcast.net> Date: Mon, 11 Oct 2004 09:22:53 -0400 (EDT) From: "Stephen J. Roznowski" To: kimoto@ohnolab.org In-Reply-To: <20041011.122837.66052966.kimoto@ohnolab.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: q@onthenet.com.au cc: markus.kovero@netsonic.fi cc: nakaji@jp.freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: nForce3 Internal NIC on FreeBSD X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 13:23:03 -0000 On 11 Oct, Masahiko KIMOTO wrote: I tried the following, but it didn't work. Instead I downloaded http://download.nvidia.com/XFree86/nforce/amd64/1.0-0283/NFORCE-Linux-x86_64-1.0-0283-pkg1.run extracted the contents ("sh NFORCE-Linux-x86_64-1.0-0283-pkg1.run -x"), moved the NFORCE-Linux-x86_64-1.0-0283-pkg1/nvnet subdirectory to nforce/nvnet, then followed the rest of the directions. The device shows up as: nv0: port 0xdc00-0xdc07 mem 0xfebfe000-0xfebfefff irq 3 at device 5.0 on pci0 Thanks, -SR > Dear nForce3 users: > > Now that FreeBSD 5.3 can use kernel modules even on amd64. We can > compile nvnet as kernel module. > > 1. Obtain nvnet-src-20040813.tar.gz > http://www.onthenet.com.au/~q/nvnet/nvnet-src-20040813.tar.gz > and NVIDIA_nforce-1.0-0275.tar.gz (for amd 64). > http://www.onthenet.com.au/~q/nvnet/NVIDIA_nforce-1.0-0275.tar.gz > 2. Extract both tar.gz and apply a patch to nvnet/src/if_nv.c > (this is only one line patch). > *** if_nv.c.orig Mon Oct 11 12:04:44 2004 > --- if_nv.c Mon Oct 11 11:57:07 2004 > *************** > *** 86,91 **** > --- 86,92 ---- > #include > #include > #include > + #include > > #include > #include > > 3. Run make in nvnet/, then you can get if_nv.ko. > 4. Copy if_nv.ko into appropriate directory and 'kldload if_nv.c'. > 5. nForce3 ethernet will be recognized like as follows. > > nv0: port 0xb400-0xb407 mem 0xe8000000-0xe8000fff irq 10 at device 5.0 on pci0 > nv0: Ethernet address 00:30:1b:b3:b8:1d > nv0: Ethernet address: 00:30:1b:b3:b8:1d > nv0: [GIANT-LOCKED] > miibus1: on nv0 > rlphy0: on miibus1 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > > For GbE users: > Current if_nv.c may not recongnize newer chipset. Please try attached > patch for if_nv.c and if_nvregs.h. > > Best Regards, > > ---------------------------------------------------------------------- > Masahiko KIMOTO, Ph. D. > E-mail: kimoto@ohnolab.org URL: http://www.ohnolab.org/~kimoto -- Stephen J. Roznowski (sjr@comcast.net)