Folks,

Patch to skip redo recovery is here:
http://leaf.dragonflybsd.org/~tuxillo/archive/patches/hammer_skipredo02.patch

I've built an i386 kernel + modules with that patch, and it can be
downloaded from here:
http://leaf.dragonflybsd.org/~tuxillo/archive/temp/kernel_skip_redo.tar.bz2

Pierre, patch above adds a tunable that can be used to skip redo recovery
during a normal hammer mount. You need to set vfs.hammer.skip_redo to what
you actually need in your /boot/loader.conf. Possible values are:

0 - Run redo recovery normally and fail to mount if
    the operation fails (default).
1 - Run redo recovery, but don't fail to mount if the
    operation fails.
2 - Completely skip redo recovery (only for severe error
    conditions and/or debugging.

You may want to start setting it to 1 and if it doesn't mount, then set it
to 2.
Let us know how it goes.

Cheers,
Antonio Huete

2012/8/14 Pierre Abbat <p...@phma.optus.nu>

> On Monday 13 August 2012 20:46:19 Matthew Dillon wrote:
> >     Hmm.  Well, that's clearly a software bug but I'm not sure what
> >     is causing the lock to be lost.  The debugger backtrace isn't
> >     consistent.  I would love to get a kernel core out of this but
> >     it's too early in the boot sequence.
> >
> >     Antonio will have a patch for a boot-time tunable that will bypass
> >     the hammer2 recovery code tomorrow sometime.
>
> OK, thanks. Could you or he compile the kernel and put it somewhere where I
> can download it? I can't compile the kernel until I can mount root on that
> box. It's a 32-bit Pentium with multiple cores; I'm using the generic
> build.
>
> I just got it to mount the encrypted partition :) There's a program I was
> working on shortly before it rebooted, and the latest code is there, and
> only
> there.
>
> Pierre
> --
> gau do li'i co'e kei do
>

Reply via email to