Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2007 10:04:04 +0300
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        FreeBSD <freebsd-stable@freebsd.org>
Subject:   Re: geli and SMP problems?
Message-ID:  <47219164.8080204@bulinfo.net>
In-Reply-To: <4720AE5B.5090205@bulinfo.net>
References:  <4720AE5B.5090205@bulinfo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



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