From owner-freebsd-stable@FreeBSD.ORG Sun May 8 03:27:36 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0F23106566B for ; Sun, 8 May 2011 03:27:36 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7239F8FC13 for ; Sun, 8 May 2011 03:27:36 +0000 (UTC) Received: by vxc34 with SMTP id 34so6352539vxc.13 for ; Sat, 07 May 2011 20:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7IWlmPdZ59/R2GM5OVcsDfvBxytLJQsnjlrh19/q7Mw=; b=BOJkeYywKQ5ipFMDqUPWdqCGLzGff6AXafqb0w4LRRvEuU7ibi9oHc8CAuoHSjWdTa DmIyNuimtx/fEPSZlq7BMltkpj5dH21cM9nYMFGokJ+BHDifEqj1ENGhjv9Vbq541PCb paRRUvPeBBZX6aX9XArOAHOoZk0XU0O+GC8UQ= 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=fU9O84VKLpcr1jUjHzenZjP8WFVaYZEGIbBxdR+HZO9Tb5seJv5xE+YobR6SvyuBHD iaOSdwszpow3vgIYxzeYa5dOM9QZDuxLZHBreykwUcFYFKwGQBkpEBoCxuJRNMP8DiAg hoI6NXvrByNEequQ+US+QgdCyvZlVG9iEI2l0= MIME-Version: 1.0 Received: by 10.52.99.197 with SMTP id es5mr1775401vdb.144.1304825255521; Sat, 07 May 2011 20:27:35 -0700 (PDT) Received: by 10.52.157.104 with HTTP; Sat, 7 May 2011 20:27:35 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 May 2011 23:27:35 -0400 Message-ID: From: Zaphod Beeblebrox To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Stable Subject: Re: Intel "em" driver sleeps with non-sleepable lock. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 03:27:36 -0000 On Thu, May 5, 2011 at 4:44 PM, Jack Vogel wrote: > So, this happens EVERY time after an install of 8.2 ?? > > Give me details about the hardware please. Having had more time to experiment, it seems it happens whenever ifconfig_em0="DHCP" is in rc.conf --- which happens after using the PC-BSD installer to install FreeBSD. It also happens if you put that in there manually. NB: em0 must also have link. So... conditions: 1) FreeBSD 8.1 or 8.2 installed 2) ifconfig_em0="DHCP" 3) em0 has link. If any of those are missing, things work fine. OK... hardware again. Intel S3240HGPRX motherboard. Xeon X3440 processor. 4 "igb" chipset ethernet onboard plus one "em" chipset ethernet. The "em" chipset ethernet is "shared" with the onboard ILOM which, in this case is augmented by an RMM3 module (which provides full video console and remote mount media). The initial probe for the "em" device says: em0: port 0x1000-0x101f mem 0xb1900000-0xb191ffff,0xb1920000-0xb1923fff irq 16 at device 0.0 on pci12 em0: Using MSIX interrupts with 3 vectors em0: [ITHREAD] em0: [ITHREAD] em0: [ITHREAD] em0: Ethernet address: 00:15:17:e8:53:1e ... but that same port is shared with the ILOM and it uses the mac address: 00:15:17:e8:53:20 pciconf -lv says: em0@pci0:12:0:0: class=0x020000 card=0x34f28086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet I'm just actually looking at a PDF from Intel on this chip --- they talk about it having "sideband" communications with the BMC (baseboard management controller) at as much as 100 megabit (but possibly through smbus --- which is quite slow). They also talk about it having hardware timestamping of packets for more accurate timekeeping --- which is cool. Since I can reproduce this, how do I trace this other thread?