From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 17 20:19:33 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 420FE106566B for ; Fri, 17 Feb 2012 20:19:33 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 973D98FC0C for ; Fri, 17 Feb 2012 20:19:32 +0000 (UTC) Received: by werm13 with SMTP id m13so3271143wer.13 for ; Fri, 17 Feb 2012 12:19:31 -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:content-transfer-encoding; bh=btH2bTxVH1aleKItKzyA51NF4U2lR76v2j+J7l3kIVY=; b=ByZoiOYHn7StrhaPMp3RX9RfAbGo29lUT/ToAr3ssU/Pm9jLmfkYtN03KLgw9LcosK 5ViBa2cNW+pMpXZiv0YubQ3k86pRGrx7oYnHpUiiIwj3Suh3fD1af5N3fc38aZ9esvBu U1uKO5CYu0qiSzPyUsAaZ5zcZkuPDcZsGZtQ4= MIME-Version: 1.0 Received: by 10.216.145.207 with SMTP id p57mr3873361wej.29.1329509971435; Fri, 17 Feb 2012 12:19:31 -0800 (PST) Received: by 10.180.106.129 with HTTP; Fri, 17 Feb 2012 12:19:31 -0800 (PST) In-Reply-To: References: <201111081005.43851.jhb@freebsd.org> Date: Fri, 17 Feb 2012 15:19:31 -0500 Message-ID: From: Ryan Stone To: Vijay Singh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:19:33 -0000 On Fri, Feb 17, 2012 at 3:14 PM, Ryan Stone wrote: > On Wed, Feb 15, 2012 at 10:20 PM, Vijay Singh wro= te: >> I hit the assert in line 405. So right after locking Giant, it is >> found unlocked!!! > > Try running kldload/kldunload with INVARIANTS enabled. =A0I would > suspect that you're hitting a case where the kldload code is unlocking > Giant when it doesn't own it. Wait, never mind, you're already running with INVARIANTS. In that case I have no idea.