FreeBSD nfe driver for NVIDIA nForce network adapter

Yuri Pankov yuri.pankov at gmail.com
Sat May 13 06:34:18 UTC 2006


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 at so uth:/usr/obj/usr/src/sys/DESKBOT  amd64
> >>
> >> MS-7207 Motherboard
> >>
> >> Thanks!
> >> Tyler
> >>
> >> On 4/26/06, Yuri Pankov <yuri.pankov at gmail.com> 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: <NVIDIA nForce MCP9 Networking Adapter> 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: <MII bus> on nfe0
> >>> ciphy0: <Cicada CS8201 10/100/1000TX PHY> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >>>         options=8<VLAN_MTU>
> >>>         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 <full-duplex>)
> >>>         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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          options=8<VLAN_MTU>
>          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 <whatever>`) 
> doesn't help either.
> 
> I'm using Gigabyte K8NXP-SLI m/b.
> 
> nfe0 at 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



More information about the freebsd-amd64 mailing list