From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 14:57:58 2004 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 D10AD16A4CE for ; Sun, 13 Jun 2004 14:57:58 +0000 (GMT) Received: from imap.univie.ac.at (mailbox-lmtp.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F14C543D2F for ; Sun, 13 Jun 2004 14:57:57 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from leelou (adslle.cc.univie.ac.at [131.130.102.11]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i5DEvBhN1060746; Sun, 13 Jun 2004 16:57:14 +0200 Date: Sun, 13 Jun 2004 16:57:11 +0200 (CEST) From: Lukas Ertl To: Christian Hiris <4711@chello.at> In-Reply-To: <200406131519.11988.4711@chello.at> Message-ID: <20040613164837.O39575@leelou.in.tern> References: <20040612232725.N35614@leelou.in.tern> <200406131519.11988.4711@chello.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx8 4248; Body=2 Fuz1=2 Fuz2=2 cc: freebsd-current@FreeBSD.org Subject: Re: HEADSUP: geom_vinum committed [Fatal trap 12 (g_event)] 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: Sun, 13 Jun 2004 14:57:58 -0000 On Sun, 13 Jun 2004, Christian Hiris wrote: > Unmounting the filesystem then panics the machine. I rebooted, did a 'fsck -t > ufs /dev/gvinum/vinum0', which results in a Fatal trap 12. So next I > recompiled kernel with the geom_subr.c.diff patch and debugging symbols. If it's possible for you please turn on INVARIANTS in your kernel, I've spread lots of KASSERTs around the code. > # Vinum configuration of matrix020.matrix.net, saved at Sat May 29 22:46:40 > 2004 > drive vinumdrive1 device /dev/da1s1h > drive vinumdrive0 device /dev/da0s1h > volume vinum0 > plex name vinum0.p0 org striped 558s vol vinum0 > sd name vinum0.p0.s0 drive vinumdrive0 plex vinum0.p0 len 35840340s > driveoffset 265s plexoffset 0s > sd name vinum0.p0.s1 drive vinumdrive1 plex vinum0.p0 len 35840340s > driveoffset 265s plexoffset 558s It would be also helpful if you could send me the on-disk config in private mail. Use something like: dd if=/dev/da1s1h skip=8 count=6 | tr -d '\000-\011\200-\377' to get it. > Stopped at redo_rank+0x70: cmpl $0,0xc(%edx) > db> trace > redo_rank(c2398e80,c1e63d80,d7e65cb0,c051b783,c1e63d80) at redo_rank+0x70 > g_detach(c1e63d80,c2398e80,4,0,d7e65cd8) at g_detach+0x67 > g_wither_geom(c2398e80,6,c20fc660,1,c06eb40d) at g_wither_geom+0xab > g_slice_spoiled(c1e63d80) at g_slice_spoiled+0x30 > g_spoil_event(c1e09400,0) at g_spoil_event+0x30 > one_event(d7e65d20,c051a58d,4b0,320,c1bf1898) at one_event+0x192 > g_run_events(4b0,320,c1bf1898,c051a56c,d7e65d34) at g_run_events+0x9 > g_event_procbody(0,d7e65d48) at g_event_procbody+0x21 Hm, I haven't seen this one before. It would be most helpful if you could get a crashdump and a backtrace from gdb -k to debug this. cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/