From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 16 04:35:00 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 718A11065670; Thu, 16 Feb 2012 04:35:00 +0000 (UTC) (envelope-from vijju.singh@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 10A0E8FC1C; Thu, 16 Feb 2012 04:34:59 +0000 (UTC) Received: by vcmm1 with SMTP id m1so1829916vcm.13 for ; Wed, 15 Feb 2012 20:34:59 -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=i9BGTRakjOUlKoqHwemleQoqsoNND5G0JvC1QgmSPnU=; b=RQfCxuecXBya8FZdxlD7RQI9O+Kdqs/w7I9BAEPZWnAvCphBrZWvtHobc8ffTTb/w8 uw5BKLfAcXtTsB1fj+fBWh6OcKdI3pIx6AMJx5HMrDpssrP9FwLWyCDIFIgB1qhRaWDB SEbum3v6qCZrZLs5y4e0GiOgBuku+q5CJ+m4w= MIME-Version: 1.0 Received: by 10.52.34.4 with SMTP id v4mr354315vdi.85.1329366899394; Wed, 15 Feb 2012 20:34:59 -0800 (PST) Received: by 10.220.179.131 with HTTP; Wed, 15 Feb 2012 20:34:59 -0800 (PST) In-Reply-To: References: <201111081005.43851.jhb@freebsd.org> Date: Wed, 15 Feb 2012 20:34:59 -0800 Message-ID: From: Vijay Singh To: Arnaud Lacombe 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: Thu, 16 Feb 2012 04:35:00 -0000 > Out of curiosity, where does your code comes from ? The same snippet > from the =A0`release/8.1.0' branch does not refer to `Giant' at all, it > only reads: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (c_lock !=3D NULL) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 class->lc_lock(c_lock, shared= lock); Arnaud, I added that code to track down the issue. I was originally hitting the panic much later after the callout had been executed. -vijay