Re: [nfe] NVIDIA nForce4 CK804 MCP9 isn't working

From: Yuri Pankov <y.pankov_at_irbis.net.ru>
Date: Wed, 28 Mar 2007 16:05:33 +0400
On Wed, Mar 28, 2007 at 01:07:17PM +0900, Pyun YongHyeon wrote:
> On Wed, Mar 28, 2007 at 02:18:02AM +0400, Yuri Pankov wrote:
>  > Hi,
>  > 
>  > I've tried to use if_nfe with NVIDIA nForce4 CK804 MCP9 NIC (was
>  > using if_nve before without issues).
>  > 
>  > FreeBSD 7.0-CURRENT #3: Wed Mar 28 00:44:12 MSD 2007 amd64
>  > 
>  > almost GENERIC kernel, only changes are SCHED_ULE and nodevice nve.
>  > 
>  > dmesg:
>  > nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xe800-0xe807
>  > mem 0xf5102000-0xf5102fff irq 23 at device 10.0 on pci0
>  > nfe0: using obsoleted if_watchdog interface
>  > nfe0: bpf attached
>  > nfe0: Ethernet address: 00:0f:ea:7d:f3:20
>  > nfe0: [MPSAFE]
>  > nfe0: [ITHREAD]
>  > miibus1: <MII bus> on nfe0
>  > ciphy0: <Cicada CS8201 10/100/1000TX PHY> PHY 7 on miibus1
>  > 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
>  > 
>  > pciconf:
>  > nfe0_at_pci0:10:0: class=0x068000 card=0xe0001458 chip=0x005710de rev=0xa3
>  > hdr=0x00
>  >     vendor     = 'Nvidia Corp'
>  >     device     = 'nForce4 Ultra NVidia Network Bus Enumerator'
>  >     class      = bridge
>  > 
>  > ifconfig:
>  > nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>  > 1500
>  >         options=2b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU>
>  >         ether 00:0f:ea:7d:f3:20
>  >         inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255
>  >         media: Ethernet autoselect (1000baseTX <full-duplex>)
>  >         status: active
>  > 
>  > ping 10.10.10.2 gives following tcpdump output:
>  > 01:45:37.304300 arp who-has 10.10.10.2 tell 10.10.10.1
>  > 01:45:38.305363 arp who-has 10.10.10.2 tell 10.10.10.1
>  > 01:45:39.306300 arp who-has 10.10.10.2 tell 10.10.10.1
>  > and so on...
>  > 
>  > arp -a:
>  > ? (10.10.10.2) at (incomplete) on nfe0 [ethernet]
>  > 
>  > Manually changing media options, -rxcsum, -txcsum, adding static ARP
>  > entry for 10.10.10.2 doesn't help.
>  > 
>  > (and to mention once more, exactly the same setup, including ethernet
>  > media options, works with if_nve).
>  > 
> 
> How about new nfe(4) in the following URL?
> http://people.freebsd.org/~yongari/nfe/if_nfe.c
> http://people.freebsd.org/~yongari/nfe/if_nfereg.h
> http://people.freebsd.org/~yongari/nfe/if_nfevar.h
> 
> I'm not sure but you may also need to apply attached ciphy(4) patch.
> 
>  > -- 
>  > Yuri
> 
> 
> 
> -- 
> Regards,
> Pyun YongHyeon

I've tried nfe driver from http://people.freebsd.org/~yongari/nfe/,
with and without ciphy patch, still no joy.

nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xe800-0xe807
mem 0xf5102000-0xf5102fff irq 23 at device 10.0 on pci0
nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xf5102000
nfe0: bpf attached
nfe0: Ethernet address: 00:0f:ea:7d:f3:20
nfe0: [MPSAFE]
nfe0: [FILTER]
miibus0: <MII bus> on nfe0
ciphy0: <Cicada CS8201 10/100/1000TX PHY> PHY 7 on miibus0
ciphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
nfe0: link state changed to DOWN
nfe0: link state changed to UP

nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
        options=10b<RXCSUM,TXCSUM,VLAN_MTU,TSO4>
        ether 00:0f:ea:7d:f3:20
        inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active

--
Yuri

Received on Wed Mar 28 2007 - 10:05:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC