Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2006 17:05:39 +0400
From:      Igor Robul <igorr@speechpro.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: GJournal (hopefully) final patches.
Message-ID:  <20060816130538.GA76449@sysadm.stc>
In-Reply-To: <20060809125909.GB67566@uk.tiscali.com>
References:  <20060808195202.GA1564@garage.freebsd.pl> <20060809125909.GB67566@uk.tiscali.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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()".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060816130538.GA76449>