nForce3 Internal NIC on FreeBSD

Stephen J. Roznowski sjr at comcast.net
Mon Oct 11 06:23:03 PDT 2004


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: <NVIDIA nForce MCP7 Networking Adapter> 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 <sys/socket.h>
>   #include <sys/sysctl.h>
>   #include <sys/queue.h>
> + #include <sys/module.h>
>   
>   #include <net/if.h>
>   #include <net/if_arp.h>
> 
>    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: <NVIDIA nForce MCP3 Networking Adapter> 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: <MII bus> on nv0
> rlphy0: <RTL8201L 10/100 media interface> 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 at ohnolab.org        URL: http://www.ohnolab.org/~kimoto

-- 
Stephen J. Roznowski    (sjr at comcast.net)


More information about the freebsd-amd64 mailing list