GJournal (hopefully) final patches.

Igor Robul igorr at speechpro.com
Wed Aug 16 13:05:41 UTC 2006


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()".


More information about the freebsd-fs mailing list