From owner-freebsd-current@FreeBSD.ORG Sat Aug 30 00:22:12 2003 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 EE0C516A4BF for ; Sat, 30 Aug 2003 00:22:12 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F107943FB1 for ; Sat, 30 Aug 2003 00:22:11 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h7U7MAi8003822; Sat, 30 Aug 2003 09:22:11 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: "Kenneth D. Merry" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 29 Aug 2003 22:03:57 MDT." <20030830040357.GA42770@panzer.kdm.org> Date: Sat, 30 Aug 2003 09:22:10 +0200 Message-ID: <3821.1062228130@critter.freebsd.dk> cc: current@FreeBSD.org Subject: Re: need some debugging help 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: Sat, 30 Aug 2003 07:22:13 -0000 In message <20030830040357.GA42770@panzer.kdm.org>, "Kenneth D. Merry" writes: >I think I have everything setup correctly, but I keep getting panics inside >the GEOM code with these patches. (Memory modified after free.) I don't >know whether I've just exposed some race condition, or whether I've done >something wrong. Do you have any idea what goes on at/right before the panic ? Ie: has drives been created [disk_create()] or removed [disk_destroy()] right before ? My best shot, would be that disk_destroy() was called and something somehow fiddled the related structures subsequently. You may want to set kern.geom.debugflags=N and see if that offers any clues. N |= 1 topology events N |= 2 bio processing (ie: many lines for each I/O) N |= 4 access processing (open/close) -- 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.