From owner-freebsd-current@FreeBSD.ORG Sun May 28 09:54:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4573C16C877 for ; Sun, 28 May 2006 09:31:09 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAFEA43D4C for ; Sun, 28 May 2006 09:31:07 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so46107uge for ; Sun, 28 May 2006 02:31:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=uM3D/fAdADf+4EJ28XAxDYTIuGETSvncS2evuEOyUI50t+k/FisCKrTVsQ14QQ0/a3ppPbYiLehY6foKjw4vczaCNJz/oxxRGsifJvgbXirKILZBq6X+qds5PL0MnoRZHwDWx89tS1ZnAsIR0K+RCcBeY/hh1KzmLCkXQtpBS3A= Received: by 10.67.96.14 with SMTP id y14mr918794ugl; Sun, 28 May 2006 02:24:09 -0700 (PDT) Received: by 10.67.101.1 with HTTP; Sun, 28 May 2006 02:24:09 -0700 (PDT) Message-ID: <53cc795f0605280224x36322d3ckd2190f0c1130268@mail.gmail.com> Date: Sun, 28 May 2006 13:24:09 +0400 From: sekes To: "Maxim Konovalov" In-Reply-To: <20060526015344.W74899@mp2.macomnet.net> MIME-Version: 1.0 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Bjoern A. Zeeb" , freebsd-current@freebsd.org, "Christian S.J. Peron" Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 09:54:22 -0000 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 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 >