From owner-freebsd-net@FreeBSD.ORG Thu Jun 12 16:11:48 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4772B9C8 for ; Thu, 12 Jun 2014 16:11:48 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1368E2CEA for ; Thu, 12 Jun 2014 16:11:48 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id tr6so1281215ieb.24 for ; Thu, 12 Jun 2014 09:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Vkc2qe/V/1E+1MrtUY5dwPLY2IIaCAi8q1oKrbBDxMM=; b=VgZAI/0kC/UmJr9WQVY970MViU0PufEvKRRm07QYf/B+LW6LjPZX+FiaFp0u2dcJ+I CsvbV2NyXtZ5SezZ+x73xB8Q5OCCUKw4m+WKKSBZoajSwxzkhnfjILwwhkkIuCRMPBL9 14VgXC6gzUbD6txYw5CcNJ6G1MEtDLmQLw14hYB3adzkH7bKSO+8Ls35VMmx8M6Q1kv0 L8WhYnUr5nCQ9g6otjBcJQ92ADI61sSsGvnGj6JxfCsYmJidUiMeG6G1TCjBCQ9pvaf+ qOchsC11QiUpZdpiIjbX7w9yCAWzbzbXn6xG1FmOZ2IXWfxYKVhDOlAtq5bNToqyR1z6 1LzQ== X-Received: by 10.50.114.197 with SMTP id ji5mr8382442igb.48.1402589507494; Thu, 12 Jun 2014 09:11:47 -0700 (PDT) Received: from [10.1.68.236] (gs-sv-1-49-ac1.gsfc.nasa.gov. [198.119.56.43]) by mx.google.com with ESMTPSA id m1sm6372638ige.22.2014.06.12.09.11.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Jun 2014 09:11:46 -0700 (PDT) Message-ID: <5399D141.1020600@gmail.com> Date: Thu, 12 Jun 2014 12:11:45 -0400 From: John Jasem User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: em driver: netif hangs the system if interface is cabled and configured but there is no link X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 16:11:48 -0000 I'm configuring a system that's destined to be a multi-homed server, using Intel dual port 1GbE cards that rely on the em driver. em0 has link, and only needed configuration. In an attempt to be ahead of the game, I pre-configured em2, plugged in my side of the cable to be ready when the other side plugged theirs in, and rebooted the box. In this state, it appears the box will hang as netif works through interfaces defined in rc.conf. I'm not sure if permanently, but I'm willing to call 20 minutes 'permanent' for the purposes of this exercise. I eventually was able to narrow it down to the configurations for em2, and em2 not having link WHILE a cable was plugged in. I was able to replicate the expected condition by unplugging the cable, and was able to replicate the failure condition on em1 and em3 by moving the cable and configurations. Any thoughts? Am I missing something? -- John Jasen (jjasen@gmail.com)