From owner-freebsd-stable@FreeBSD.ORG Fri Oct 26 07:04:09 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4737616A468 for ; Fri, 26 Oct 2007 07:04:09 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id F335B13C480 for ; Fri, 26 Oct 2007 07:04:08 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 4703F377C7 for ; Fri, 26 Oct 2007 10:04:07 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01427-10 for ; Fri, 26 Oct 2007 10:04:04 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id B87F937218 for ; Fri, 26 Oct 2007 10:04:04 +0300 (EEST) Message-ID: <47219164.8080204@bulinfo.net> Date: Fri, 26 Oct 2007 10:04:04 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.6 (X11/20070927) MIME-Version: 1.0 To: FreeBSD References: <4720AE5B.5090205@bulinfo.net> In-Reply-To: <4720AE5B.5090205@bulinfo.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Subject: Re: geli and SMP problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 07:04:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Setting kern.geom.eli.threads="1" from loader.conf solves the problem. This looks like similar to kern/104669 but not fixed. Krassimir Slavchev wrote: > Hi, > > I have problems with geli and SMP kernel: > > ... > Enter passphrase for md0: > GEOM_ELI: Device md0.eli created. > GEOM_ELI: Encryption: Blowfish-CBC 128 > GEOM_ELI: Crypto: software > kernel trap 12 with interrupts disabled > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xf9 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0590004 > stack pointer = 0x28:0xe7fc1c5c > frame pointer = 0x28:0xe7fc1c7c > code segment = base 0x0, limit 0xffff, type0x1b > = DPL 0, pres 1, def 32 1, gran 1 > processor eflafs = resume, IOPL = 0 > current process = 44 (g_eli[1] md0) > trap number = 12 > panic: page fault > cpuid = 0 > ..... > > > If I add these lines to kernel config file: > > makeoptions DEBUG=-g > options DDB > options KDB > options BREAK_TO_DEBUGGER > options ALT_BREAK_TO_DEBUGGER > > I can't attach the provider at boot: > > dmesg: > Enter passphrase for md0: > GEOM_ELI: Cannot decrypt Master Key for md0 (error=22) > > This is on 6.2-STABLE from Jun/5/2007 > g_eli.c version 1.3.2.13 > > Any ideas how to debug this? > > > Best Regards > _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHIZFkxJBWvpalMpkRAj1mAJ0Rzn6eg66BN/+HqxjK94bU2mrnQwCdEm+/ qmkp8i4J0RXPtT8b9FSoN8M= =mkOM -----END PGP SIGNATURE-----