From owner-freebsd-stable@FreeBSD.ORG Thu May 5 18:39:21 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 0C241106566B for ; Thu, 5 May 2011 18:39:21 +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 BC6238FC15 for ; Thu, 5 May 2011 18:39:20 +0000 (UTC) Received: by vxc34 with SMTP id 34so3474593vxc.13 for ; Thu, 05 May 2011 11:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=hyv9FhSYC8bTMfywdAsVFexK8BF7VupTYfFXiekoEz8=; b=K9VlvuKd17MtqEv4GTO6xyFmh42Sz/FapDUimQw0ny1wARvtSGaMDIh1pNDBH2SFCG 4hPQ+HHT9aRDZ7BcXsKpHhCTlG0gQl4VUYI+uEZr23u4ceuO32my7csj2nyB9VtqkDUS jvZ4xlr5+e/V/1FR2cOo1Ahs6zvPSzYaOC/O4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pj4jezARQk9cfR5b1j6T4wW1wgIjwGfpNMVmgSAotbAbIiw7D5IicDmxKsFU1XrTiM 11tyMm+Y9/7TBQXIPOWqDZFAQSvKa23Ac56JOW5N9Vfy70blRz3EExz8YXn8i/n4ddKx SCAYR4coeiJFexMrnpjcyv5PYF5KtScUhd3Yg= MIME-Version: 1.0 Received: by 10.52.98.137 with SMTP id ei9mr3501575vdb.64.1304619099833; Thu, 05 May 2011 11:11:39 -0700 (PDT) Received: by 10.52.157.104 with HTTP; Thu, 5 May 2011 11:11:39 -0700 (PDT) Date: Thu, 5 May 2011 14:11:39 -0400 Message-ID: From: Zaphod Beeblebrox To: FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1 Subject: 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: Thu, 05 May 2011 18:39:21 -0000 The motherboard in question is made by Intel and contains a Xeon 3440 (4 core x 2 HT per core). 16 Gig of RAM is installed and we are installing the 64 bit FreeBSD 8.2 using the PC-BSD installer (to install zfs root faster). The motherboard has 4 "igb" ethernet and one "em" ethernet. The "em" ethernet is shared with an internal "RMM3" remote management card and/or the onboard ILOM. This error happens when rebooting after installation and is repeatable with at least FreeBSD 8.1 and FreeBSD 8.2. The last boot message is "Starting devd" ... so I assume that the active link on em0 might be making devd start dhclient. After this last boot message, the screen reads: Sleeping thread (tid 100195, pid 619) owns a non-sleepable lock panic: sleeping thread cpuid = 2 KDB: stack backtrace: #0 0xffffffff805f4e03 at kdb_backtrace+0x5e #1 0xffffffff805c2d07 at panic+0x187 #2 0xffffffff80601a5d at propagate_priority+0x1cd #3 0xffffffff8060278a at turnstile_wait+0x1aa #4 0xffffffff805b34c0 at _mtx_lock_sleep+0xb0 #5 0xffffffff8032fd97 at em_init_locked+0xce7 #6 0xffffffff80331b8e at em_ioctl+0x5fe #7 0xffffffff80671114 at ifioctl+0x9e4 #8 0xffffffff806043c2 at kern_ioctl+0x102 #9 0xffffffff806045fd at ioctl+0xfd #10 0xffffffffff80600dd5 at syscallenter+0x1e5 #11 0xffffffffff808aca5b at syscall+0x4b #12 0xffffffffff80895292 at Xfast_syscall+0xe2 Now. I assume that booting without link on em0 (inconvenient) or booting without "em" in the kernel will fix things. I'll be checking this out shortly. I can provide (for a limited time) full console access and/or I can test code if someone sees a patch for this.