From owner-freebsd-current@FreeBSD.ORG Wed Mar 28 12:05:42 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9D5616A405 for ; Wed, 28 Mar 2007 12:05:42 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from mail.irbis.net.ru (mail.irbis.net.ru [194.186.18.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2E68513C480 for ; Wed, 28 Mar 2007 12:05:42 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from darklight.abyss.local (darklight.abyss.local [192.168.0.64]) by mail.irbis.net.ru (Postfix) with ESMTP id 8F52962D455; Wed, 28 Mar 2007 16:05:40 +0400 (MSD) Received: from darklight.abyss.local (yuri@localhost [127.0.0.1]) by darklight.abyss.local (8.13.8/8.13.8) with ESMTP id l2SC5aNt003978; Wed, 28 Mar 2007 16:05:37 +0400 (MSD) (envelope-from y.pankov@irbis.net.ru) Received: (from yuri@localhost) by darklight.abyss.local (8.13.8/8.13.8/Submit) id l2SC5XpN003961; Wed, 28 Mar 2007 16:05:33 +0400 (MSD) (envelope-from y.pankov@irbis.net.ru) X-Authentication-Warning: darklight.abyss.local: yuri set sender to y.pankov@irbis.net.ru using -f Date: Wed, 28 Mar 2007 16:05:33 +0400 From: Yuri Pankov To: Pyun YongHyeon Message-ID: <20070328120531.GA732@darklight.abyss.local> References: <20070327221801.GA957@darklight.abyss.local> <20070328040717.GA56450@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <20070328040717.GA56450@cdnetworks.co.kr> User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: ClamAV 0.90.1/2946/Wed Mar 28 13:36:58 2007 on mail.irbis.net.ru X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.irbis.net.ru [194.186.18.2]); Wed, 28 Mar 2007 16:05:41 +0400 (MSD) Cc: freebsd-current@freebsd.org Subject: Re: [nfe] NVIDIA nForce4 CK804 MCP9 isn't working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 12:05:42 -0000 --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: 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: on nfe0 > > ciphy0: 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 metric 0 mtu > > 1500 > > options=3D2b > > ether 00:0f:ea:7d:f3:20 > > inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 > > media: Ethernet autoselect (1000baseTX ) > > 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: 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: on nfe0 ciphy0: 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 metric 0 mtu 1500 options=3D10b ether 00:0f:ea:7d:f3:20 inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 media: Ethernet autoselect (1000baseTX ) 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--