Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 13:24:09 +0400
From:      sekes <gexlie@gmail.com>
To:        "Maxim Konovalov" <maxim@macomnet.ru>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-current@freebsd.org, "Christian S.J. Peron" <csjp@freebsd.org>
Subject:   Re: deadlock every 15-20 min
Message-ID:  <53cc795f0605280224x36322d3ckd2190f0c1130268@mail.gmail.com>
In-Reply-To: <20060526015344.W74899@mp2.macomnet.net>
References:  <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <20060514062825.W54242@maildrop.int.zabbadoz.net> <53cc795f0605140348u769b6b0bkc62d28652b6b3ec3@mail.gmail.com> <44674BDA.7040300@FreeBSD.org> <53cc795f0605251000w7aa13370mcfbf6f8e4f259f6d@mail.gmail.com> <20060526015344.W74899@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
is it possible to save kernel crashdumps on swap device encrypted with geli=
?

1. i added this lines to the rc.conf:
dumpdev=3D"/dev/ad0s1b.eli"
dumpdir=3D"/var/crash"

2. mkdir /var/crash;chmod 700 /var/crash
3. then i ran ppp and got panic with a deadlock.
4. cause nothing happennig during a bit of time i pushed reset button.
5. on next boot i got message with impossibillity to save kernel crashdump

GEOM_ELI: Device ad0s1b.eli created.
GEOM_ELI:     Cipher: AES
GEOM_ELI: Key length: 256
GEOM_ELI:     Crypto: software
swapon: adding /dev/ad0s1b.eli as swap device

Starting syslogd.
May 28 13:13:19 xnet syslogd: kernel boot file is /boot/kernel/kernel
Checking for core dump on /dev/ad0s1b.eli...
savecore: error reading last dump header at offset 1048571904 in
/dev/ad0s1b.eli: Invalid argument
May 28 13:13:19 xnet savecore: error reading last dump header at offset
1048571904 in /dev/ad0s1b.eli: Invalid argument
savecore: no dumps found


what my mistake?


On 5/26/06, Maxim Konovalov <maxim@macomnet.ru> wrote:
>
> On Thu, 25 May 2006, 21:00+0400, sekes wrote:
>
> > today after several weeks i upgraded the box and that's my results:
> >
> > in /boot/loader.conf:
> >
> > debug.mpsafenet=3D0
> > geom_eli_load=3D"YES"
> > dummynet_load=3D"YES"
> > ipdivert_load=3D"YES"
> >
> > uname -a
> > FreeBSD xnet.nnov.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu May 25
> 09:30:55
> > MSD 2006     root@xnet.nnov.ru:/usr/obj/usr/src/sys/GENERIC  i386
> >
> >
> > during the boot everything is fine.
> > but when i type `ppp -ddial myprovider` i'm getting this:
> >
> > WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
> > panic: mutex Giant not owned at /usr/src/sys/net/if.c:2209
> > cpuid =3D 0
> > KDB: enter: panic
> > [ thread pid 12 tid 10004 ]
> > Stopped at kdb_enter+0x2b: nop
>
> Read
>
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
>
> obtain kernel crashdump and stack backtrace ("bt full" for a start).
>
> --
> Maxim Konovalov
>



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