From owner-freebsd-net@FreeBSD.ORG Tue Dec 17 16:29:12 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D78BD481 for ; Tue, 17 Dec 2013 16:29:12 +0000 (UTC) Received: from mail01.cae.com (mail01.cae.com [142.39.204.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A3DAD1435 for ; Tue, 17 Dec 2013 16:29:12 +0000 (UTC) Received: from caehub03.caecorp.cae.com (caehub03.caecorp.cae.com [142.39.249.107]) by mail01.cae.com (8.14.4/8.14.4) with ESMTP id rBHGRSTt014750 for ; Tue, 17 Dec 2013 11:27:28 -0500 Received: from caehub01.caecorp.cae.com (142.39.21.50) by caehub03.caecorp.cae.com (142.39.249.107) with Microsoft SMTP Server (TLS) id 8.3.342.0; Tue, 17 Dec 2013 11:27:28 -0500 Received: from CAEMEX81.caecorp.cae.com ([142.39.19.46]) by caehub01.caecorp.cae.com ([142.39.21.50]) with mapi; Tue, 17 Dec 2013 11:27:28 -0500 From: Claude Marinier To: "freebsd-net@freebsd.org" Date: Tue, 17 Dec 2013 11:27:38 -0500 Subject: em3 no carrier Thread-Topic: em3 no carrier Thread-Index: Ac77RLxbzAmisN0hSYezwlxENoWNSA== Message-ID: <34E38D657499684D9EBAA6D73CD2D1E21958EE48F8@CAEMEX81.caecorp.cae.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-TM-AS-Product-Ver: SMEX-10.2.0.3176-7.000.1014-20368.000 X-TM-AS-Result: No--5.607900-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 16:29:12 -0000 Hi, This is a WAN emulator (ipfw, DummyNet, and BIRD). FreeBSD 9.2 Release (amd= 64) is running on DL360 G5 with a new NC364T quad-port Ethernet NIC. I inst= alled the new NIC yesterday. The four ports are connected to routers in a l= ab. FreeBSD WAMemu 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50= :31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Dec 16 17:13:19 WANemu kernel: em3: port 0x6020-0x603f mem 0xfdee0000-0xfdefffff,0xfde00000-0xfde7ffff ir= q 17 at device 0.1 on pci22 Dec 16 17:13:19 WANemu kernel: em3: Using an MSI interrupt Dec 16 17:13:19 WANemu kernel: em3: Ethernet address: e8:39:35:13:21:6e The four em interfaces are configured the same way (lines in rc.conf are id= entical except for IP address. ifconfig_em3=3D"inet x.y.113.197/29 media 100baseTX mediaopt full-duplex" ifconfig_em0=3D"inet x.y.113.14/29 media 100baseTX mediaopt full-duplex" ifconfig_em2=3D"inet x.y.113.109/29 media 100baseTX mediaopt full-duplex" ifconfig_em1=3D"inet x.y.113.189/29 media 100baseTX mediaopt full-duplex" The GE 0/1 port on the Cisco 2821 shows no link and ifconfig shows "no carr= ier" for em3. Oddly, it also shows autoselect. em0: flags=3D8843 metric 0 mtu 1500 options=3D4019b ether e8:39:35:13:21:6d inet x.y.113.14 netmask 0xfffffff8 broadcast x.y.113.15 inet6 fe80::ea39:35ff:fe13:216d%em0 prefixlen 64 scopeid 0x1 nd6 options=3D29 media: Ethernet 100baseTX status: active em1: flags=3D8843 metric 0 mtu 1500 options=3D4019b ether e8:39:35:13:21:6c inet x.y.113.189 netmask 0xfffffff8 broadcast x.y.113.191 inet6 fe80::ea39:35ff:fe13:216c%em1 prefixlen 64 scopeid 0x2 nd6 options=3D29 media: Ethernet 100baseTX status: active em2: flags=3D8843 metric 0 mtu 1500 options=3D4019b ether e8:39:35:13:21:6f inet 131.140.113.109 netmask 0xfffffff8 broadcast 131.140.113.111 inet6 fe80::ea39:35ff:fe13:216f%em2 prefixlen 64 scopeid 0x3 nd6 options=3D29 media: Ethernet 100baseTX status: active em3: flags=3D8843 metric 0 mtu 1500 options=3D4019b ether e8:39:35:13:21:6e inet 131.140.113.197 netmask 0xfffffff8 broadcast 131.140.113.199 inet6 fe80::ea39:35ff:fe13:216e%em3 prefixlen 64 scopeid 0x4 nd6 options=3D29 media: Ethernet 100baseTX (autoselect) status: no carrier I have tried three Ethernet cables with no difference. This morning, I brie= fly booted Puppy Linux from USB and manually configured the four Ethernet i= nterfaces. They all work (ping good to all four routers); the Cisco on em3 = shows happy lights. I then booted back into FreeBSD, the problem with em3 r= emains. I have not had any success searching with Google; I may not have us= ed suitable search terms. One more odd symptom: bmon has trouble with these interfaces. em0=E895^S!m on WANemu Name qqqqqqqqqqqqqqqqqqqqqqqq WANemu (local) 0 em0=E895^S!m 1 em1=E895^S!l 2 em2=E895^S!o 3 em3=E895^S!n 4 usbus0 5 usbus1 6 usbus2 7 usbus3 8 usbus4 9 usbus5 10 ipfw0 11 lo0 It looks like FreeBSD is somehow mishandling these interfaces. Before purch= asing it, I searched with Google and found reports of people using this dev= ice without problems. I do not know how to proceed. Thank you for your help. -- C Marinier