From owner-freebsd-net@FreeBSD.ORG Wed May 26 20:14:12 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CECA4106564A for ; Wed, 26 May 2010 20:14:12 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 67E638FC14 for ; Wed, 26 May 2010 20:14:12 +0000 (UTC) Received: by wyj26 with SMTP id 26so1781496wyj.13 for ; Wed, 26 May 2010 13:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=2XIA+wgfc3unElhTLd5FtIA/meOPViiLkXORUwpKjUE=; b=wpTWJzfnBU1rjW8XdlAAc9VI31M3UiF4NEITvjsvCAgXX2PLmjzqgStOSDRL/cXSRY 1OZ73LoQ10bYHj5QYQxXIDRmk3Z/USrvS1T35fXhl6k3e297yxKJj5FseHe1XBd+tB3g WFQw8gNhw4E3WsK78AoBiiAaY1Wtfw9BEJ9Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=TuN97dOAr7IK2wUTUItQ610tL9zxmBl8k48fCF673GsvmVPCyFtT1hGh9+GkDHWuVf Rzp9BcsBOIYn1pKRlx9+tVGoO0LY6gT4zfrInxryFtbsPs/wHoEt2zA+dZ1o0m9ZGU4u Bzg0fXUt4SLHZboPdlY1qyWBVKFUlE5kYK87s= MIME-Version: 1.0 Received: by 10.227.144.206 with SMTP id a14mr9020960wbv.212.1274903241635; Wed, 26 May 2010 12:47:21 -0700 (PDT) Received: by 10.216.36.135 with HTTP; Wed, 26 May 2010 12:47:21 -0700 (PDT) Date: Wed, 26 May 2010 15:47:21 -0400 Message-ID: From: Ryan Stone To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Jack Vogel Subject: em: "Hardware Initialization Failed" on 8.0-RELEASE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 20:14:12 -0000 8.0-RELEASE is not able to bring up some of the my em interfaces. The error message that I get is: em0: port 0xa800-0xa81f mem 0xce480000-0xce49ffff,0xce460000-0xce47ffff irq 16 at device 0.0 on pci1 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xce480000 em0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 48 em0: using IRQ 256 for MSI em0: Using MSI interrupt em0: Hardware Initialization Failed em0: Unable to initialize the hardware device_attach: em0 attach returned 5 em1: port 0xac00-0xac1f mem 0xce4e0000-0xce4fffff,0xce4c0000-0xce4dffff irq 17 at device 0.1 on pci1 em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xce4e0000 em1: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 48 em1: using IRQ 256 for MSI em1: Using MSI interrupt em1: Hardware Initialization Failed em1: Unable to initialize the hardware device_attach: em1 attach returned 5 I tried enabling all of the debug output I could find in the em driver and got the following output(I truncated most of it because it didn't look interesting). e1000_set_d0_lplu_state_82571 e1000_read_phy_reg_igp e1000_get_hw_semaphore_82571 e1000_write_phy_reg_mdic e1000_read_phy_reg_mdic MDI Error e1000_put_hw_semaphore_generic Error Disabling LPLU D0 e1000_clear_hw_cntrs_82571 e1000_clear_hw_cntrs_base_generic em0: Hardware Initialization Failed em0: Unable to initialize the hardware Here's the pciconf output for the interfaces that are giving me problems: em0@pci0:1:0:0: class=0x020000 card=0x125e8086 chip=0x105e8086 rev=0x00 hdr=0x00 em1@pci0:1:0:1: class=0x020000 card=0x125e8086 chip=0x105e8086 rev=0x00 hdr=0x00 em2@pci0:2:0:0: class=0x020000 card=0x125e8086 chip=0x105e8086 rev=0x00 hdr=0x00 em3@pci0:2:0:1: class=0x020000 card=0x125e8086 chip=0x105e8086 rev=0x00 hdr=0x00 Please let me know if there's anything else that you need. I'm willing to try patches or get more debug output. Thanks, Ryan Stone