From owner-freebsd-net@FreeBSD.ORG Wed May 26 20:47:50 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 4D13A106566C for ; Wed, 26 May 2010 20:47:50 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id CCF698FC08 for ; Wed, 26 May 2010 20:47:49 +0000 (UTC) Received: by wwe15 with SMTP id 15so1248314wwe.13 for ; Wed, 26 May 2010 13:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=MEmGdwGvR9Ve7J7O/hOr/7pkqUcnbKr2MgwnzDNMxO4=; b=Ma5yEtcWQttkFKq9MAajUxt+ifyG/Zm+i9DQcX2AjMN5pBl+V2sKj5EiWBMNLw3st5 +/7zhl+WhTG9acmcNU/2k6NCpb4X9mzteue7FnBd7STet9d+aekLilOqLQcL5vOYvFQm KNWGVq/lDEZe+yR6eCY8UhDSQK4fmkrjzI0mI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SeN3jBuw4uFilVrbDJ1T+efeEj4IQM3ZuqWI2sUcc9ZaAZbZdMXRnFbvZspdK5TQjN G3GmvDQON/Mfp9tN1GLMRy+7J9UJJIpMni00uXnbXIo3qJvW0cdIOSlPrHlXfjY0pSqZ LPTpZRQjKiig8NIG9tBH4ZeMCbnPLWgwmW9fY= MIME-Version: 1.0 Received: by 10.227.127.145 with SMTP id g17mr8832237wbs.152.1274906865550; Wed, 26 May 2010 13:47:45 -0700 (PDT) Received: by 10.216.29.129 with HTTP; Wed, 26 May 2010 13:47:44 -0700 (PDT) In-Reply-To: References: Date: Wed, 26 May 2010 13:47:44 -0700 Message-ID: From: Jack Vogel To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: 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:47:50 -0000 Maybe its a real hardware problem, never seen this behavior, I suppose you could try the STABLE/8 May snapshot, see if it helps. Jack On Wed, May 26, 2010 at 12:47 PM, Ryan Stone wrote: > 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 >