is it possible to save kernel crashdumps on swap device encrypted with geli? 1. i added this lines to the rc.conf: dumpdev="/dev/ad0s1b.eli" dumpdir="/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_at_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=0 > > geom_eli_load="YES" > > dummynet_load="YES" > > ipdivert_load="YES" > > > > uname -a > > FreeBSD xnet.nnov.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu May 25 > 09:30:55 > > MSD 2006 root_at_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 = 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 >Received on Sun May 28 2006 - 07:54:11 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC