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

Re: trouble building/loading crypto.ko


From: Stefan Krüger <stadtkind2@xxxxxx>
Date: Mon, 30 Jan 2012 21:30:38 +0100

Crashdump available @ leaf

in /home/cosmicdj/crash/spinlock_crypto_crash.tgz

On Mon, 30 Jan 2012, Alex Hornung wrote:

> Please send the core.N.txt to the list. If you have a leaf account,
> pleasevupload our core dump there.
> 
> Cheers,
> Alex
> 
> 
> 
> On 29 Jan 2012, at 23:15, Stefan Krüger <stadtkind2@gmx.de> wrote:
> 
> > 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]