Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2007 16:05:33 +0400
From:      Yuri Pankov <y.pankov@irbis.net.ru>
To:        Pyun YongHyeon <pyunyh@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [nfe] NVIDIA nForce4 CK804 MCP9 isn't working
Message-ID:  <20070328120531.GA732@darklight.abyss.local>
In-Reply-To: <20070328040717.GA56450@cdnetworks.co.kr>
References:  <20070327221801.GA957@darklight.abyss.local> <20070328040717.GA56450@cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
>  >=20
>  > I've tried to use if_nfe with NVIDIA nForce4 CK804 MCP9 NIC (was
>  > using if_nve before without issues).
>  >=20
>  > FreeBSD 7.0-CURRENT #3: Wed Mar 28 00:44:12 MSD 2007 amd64
>  >=20
>  > almost GENERIC kernel, only changes are SCHED_ULE and nodevice nve.
>  >=20
>  > 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
>  >=20
>  > pciconf:
>  > nfe0@pci0:10:0: class=3D0x068000 card=3D0xe0001458 chip=3D0x005710de r=
ev=3D0xa3
>  > hdr=3D0x00
>  >     vendor     =3D 'Nvidia Corp'
>  >     device     =3D 'nForce4 Ultra NVidia Network Bus Enumerator'
>  >     class      =3D bridge
>  >=20
>  > ifconfig:
>  > nfe0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>  > 1500
>  >         options=3D2b<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
>  >=20
>  > 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...
>  >=20
>  > arp -a:
>  > ? (10.10.10.2) at (incomplete) on nfe0 [ethernet]
>  >=20
>  > Manually changing media options, -rxcsum, -txcsum, adding static ARP
>  > entry for 10.10.10.2 doesn't help.
>  >=20
>  > (and to mention once more, exactly the same setup, including ethernet
>  > media options, works with if_nve).
>  >=20
>=20
> 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
>=20
> I'm not sure but you may also need to apply attached ciphy(4) patch.
>=20
>  > --=20
>  > Yuri
>=20
>=20
>=20
> --=20
> 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=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
        options=3D10b<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

--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGCloL8hBlB0qMSXYRAjJdAJ9nUZcqU7ssTtlX1an6ItOCJJ/qRgCgsS8b
glHt9/j9JEEjzJVfyvkEcPA=
=DzZ4
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070328120531.GA732>