From owner-freebsd-current@FreeBSD.ORG Mon Jan 24 07:38:35 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F1D016A4CE for ; Mon, 24 Jan 2005 07:38:35 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 592E443D1D for ; Mon, 24 Jan 2005 07:38:34 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j0O7cWpI054110; Mon, 24 Jan 2005 08:38:32 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Jeremie Le Hen From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 23 Jan 2005 20:01:41 +0100." <20050123190141.GQ36660@obiwan.tataz.chchile.org> Date: Mon, 24 Jan 2005 08:38:32 +0100 Message-ID: <54109.1106552312@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/md md.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 07:38:35 -0000 In message <20050123190141.GQ36660@obiwan.tataz.chchile.org>, Jeremie Le Hen wr ites: >> > Ok: even more asserts. Please try to find out exactly which one >> > explodes. >> >> I'll be able to try this in about 3 hours. For the moment, I just >> disabled soft-updates on /, and the panic disappeared. > >I re-enabled softupdates and added your assertions. Here is the panic: > > panic: mutex Giant not owned at ../../../dev/md/md.c:688 > >You assertions seem to not be triggered or reached. Can you add some more yourself ? We need to find out where Giant is lost, it is picked up here: case MD_VNODE: mtx_lock(&Giant); hasgiant = 1; break; And only dropped again when we exit. Somehow it gets lost on your machine and there is nothing but for us to find out where. Can you try if you can reproduce it with WITNESS enabled ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.