From owner-freebsd-fs@FreeBSD.ORG Wed Aug 16 13:05:41 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD5C716A4E8 for ; Wed, 16 Aug 2006 13:05:41 +0000 (UTC) (envelope-from igorr@speechpro.com) Received: from speechpro.ru (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25F843D60 for ; Wed, 16 Aug 2006 13:05:37 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from [192.168.2.26] (helo=sysadm.stc) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1GDL5U-000A3A-La for freebsd-fs@freebsd.org; Wed, 16 Aug 2006 17:05:36 +0400 Received: from localhost.stc ([127.0.0.1] helo=sysadm.stc) by sysadm.stc with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GDL5X-000Juy-GU for freebsd-fs@freebsd.org; Wed, 16 Aug 2006 17:05:39 +0400 Received: (from igorr@localhost) by sysadm.stc (8.13.6/8.13.6/Submit) id k7GD5dCD076567 for freebsd-fs@freebsd.org; Wed, 16 Aug 2006 17:05:39 +0400 (MSD) (envelope-from igorr) Date: Wed, 16 Aug 2006 17:05:39 +0400 From: Igor Robul To: freebsd-fs@freebsd.org Message-ID: <20060816130538.GA76449@sysadm.stc> References: <20060808195202.GA1564@garage.freebsd.pl> <20060809125909.GB67566@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060809125909.GB67566@uk.tiscali.com> User-Agent: Mutt/1.5.12-2006-07-14 X-Archived: Yes Subject: Re: GJournal (hopefully) final patches. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 13:05:41 -0000 Hello, I have compiled world with gjournal patches on FreeBSD-AMD64, than I wished to try gjournal, but I'm not brave to try it on real filesystem, also I wished to try it with geom_mirror, so I decided to try it with md(4) devices: # dd if=/dev/zero of=d1 bs=1m count=2000 # dd if=/dev/zero of=d2 bs=1m count=2000 # dd if=/dev/zero of=j1 bs=1m count=100 # mdconfig -a -t vnode -f d1 # mdconfig -a -t vnode -f d2 # mdconfig -a -t vnode -f j1 # gmirror label gm0 /dev/md0 /dev/md1 # gmirror load so far so good # gjournal label /dev/mirror/gm0 /dev/md2 # gjournal load and now I have got panic without kernel dump on my workstation :-( So I have decided to try this in QEMU (so I can take screenshot, and dont lose my files :-) ) I have installed 6.1-AMD64 onto 15Gb qemu hd image, then got -STABLE sources, then patched with gjournal patches ... rebuilt world (around 18 hours in emulated x86_64 :-) ) You can get screenshot of panic at ftp://su.speechpro.com/p/gjournal.png it is md(4) related as I can see: GEOM_JOURNAL: Journal mirror/gm0 clean. panic: wrong BIO_OP in mdstart_vnode Kernel was compiled with options DDB options KDB options KDB_UNATTENDED there was dumpdev enabled, but after panic there is no crashdump creation, so I have hit Ctrl+Alt+ESC to go to ddb. So what can I do? I have done "call doadump()".