From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 17 20:14:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9538E1065675 for ; Fri, 17 Feb 2012 20:14:38 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0441D8FC0C for ; Fri, 17 Feb 2012 20:14:37 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so3070498wgb.31 for ; Fri, 17 Feb 2012 12:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CR+Ue2y8j2I7kPac7uvMCwm3iAeRTZcu3n30E9fNX5Y=; b=tVKS6W39QC0xDvjAbeHFXnzENLp8V6kz0nwsNJgreRmyQbkNKNBY1BQ6CiqLeaBknr z0EcFQJSDlz7ryX7wBsBgpoXOuDVtl7KDwcxdvtO5t/tHYrvB48eS9LnkIiukUQ2XQ8S a6/mfAc1XM/HoPwKQ5LHrFIpxxPFRhPGfV5Y4= MIME-Version: 1.0 Received: by 10.180.86.198 with SMTP id r6mr204250wiz.22.1329509676994; Fri, 17 Feb 2012 12:14:36 -0800 (PST) Received: by 10.180.106.129 with HTTP; Fri, 17 Feb 2012 12:14:36 -0800 (PST) In-Reply-To: References: <201111081005.43851.jhb@freebsd.org> Date: Fri, 17 Feb 2012 15:14:36 -0500 Message-ID: From: Ryan Stone To: Vijay Singh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: Panic in 8.1 in softclock(): mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2012 20:14:38 -0000 On Wed, Feb 15, 2012 at 10:20 PM, Vijay Singh wrote: > I hit the assert in line 405. So right after locking Giant, it is > found unlocked!!! Try running kldload/kldunload with INVARIANTS enabled. I would suspect that you're hitting a case where the kldload code is unlocking Giant when it doesn't own it.