DragonFly BSD
DragonFly kernel List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

trouble building/loading crypto.ko


From: Stefan Krüger <stadtkind2@xxxxxx>
Date: Mon, 30 Jan 2012 00:15:14 +0100

Hi,

I just tried to build the crypto kernel driver as a module, which failed in
multiple ways:

1) there is no zlib.ko

I fixed this by taking FreeBSDs zlib modules/ Makefile and zlib.c changes,
see http://pastebin.mozilla.org/1467564 for git diff

Next error stopping me from loading crypto.ko was:

link_elf_obj_obj: symbol AES_GMAC_Init undefined

I fixed this by adding "gmac.c" to /usr/src/sys/crypto/Makefile, but now I
get this:

# kldload crypto
cryptosoft0: <software crypto> on motherboard
spin_lock: 0xffffffff830601c0, indefinite wait (1 secs)!
... bunch of indefinite waits
Trace beginning at frame 0xffffffe0a7443be0
spin_lock_contested() at spin_lock_contested+0xd4 0xffffffff8032e989
spin_lock_contested() at spin_lock_contested+0xd4 0xffffffff8032e989
lockmgr() at lockmgr+0x8e 0xffffffff80309317
crypto_ret_proc() at crypto_ret_proc+0x22 0xffffffff8303d43b
... some more indefinite waits
spin_lock: 0xffffffff830601c0, indefinite wait (59 secs)!
panic: spin_lock: 0xffffffff830601c0, indefinite wait!

cpuid = 1
Trace beginning at frame 0xffffffe0a7443b60
panic() at panic+0x1fb 0xffffffff803186ad
panic() at panic+0x1fb 0xffffffff803186ad
spin_lock_contested() at spin_lock_contested+0x104 0xffffffff8032e9b9
lockmgr() at lockmgr+0x8e 0xffffffff80309317
crypto_ret_proc() at crypto_ret_proc+0x22 0xffffffff8303d43b
Debugger("panic")

And I'm pretty stuck on this one :(

More info and/or kernel crashdump available on request



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]