geli and SMP problems?

Krassimir Slavchev krassi at bulinfo.net
Thu Oct 25 07:55:27 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHIK5bxJBWvpalMpkRAvS2AKCGQrJdX+MuWVgmrjeVGG0vohKeAACfcCRz
rV6W29tvZUos3Rf9EgJkf/0=
=c1rX
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list