Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 22:46:14 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        current@FreeBSD.org
Cc:        ia64@FreeBSD.org
Subject:   rijndael causes unaligned reference in kernel.
Message-ID:  <20031014054614.GA56455@dhcp01.pn.xcllnt.net>

next in thread | raw e-mail | index | archive | help
Gang,

The rijndael code causes an unaligned reference prior to init(8). Sources
as of today. Please fix:

	:
Timecounter "ITC" frequency 800025984 Hz quality 0
Timecounters tick every 10.000 msec

fatal kernel trap (cpu 0):
 
    trap vector = 0x1e (Unaligned Reference)
    cr.iip      = 0xe00000000418b9b0
    cr.ipsr     = 0x1010080a6010 (mfl,ic,i,dt,dfh,rt,cpl=0,it,ri=0,bn)
    cr.isr      = 0x400000000 (code=0,vector=0,r,ei=0)
    cr.ifa      = 0xe0000000046fbf2d
    curthread   = 0xe0000000047029b0
        pid = 0, comm = swapper
 
Stopped at      rijndael_blockEncrypt+0x1f0:    [MMI] ld4 r15=[r16];;
db> trace
rijndael_blockEncrypt(0xe0000000046fbf29, 0xe0000000046fbcf8, 0xe0000000046fbcd8, 0xe00000000467f41c, 0xe0000000046fbcb8) at rijndael_blockEncrypt+0x1f0
yarrow_encrypt(0xe0000000046fbcf8, 0xe0000000046fbcd8, 0xe0000000046fbcb8, 0xe000000004188b60) at yarrow_encrypt+0x40
read_random_real(0xe00000000467f420, 0x20) at read_random_real+0x140
read_random(0xe00000000467f420, 0x20, 0xe0000000043c2b90, 0x38b) at read_random+0x50
arc4_randomstir(0xe00000000467f530, 0xe0000000045f1950, 0x20, 0xe00000007efc18e0) at arc4_randomstir+0x20
arc4rand(0xe00000000467f540, 0x4, 0x0) at arc4rand+0xb0
arc4random() at arc4random+0x30
frag6_init(0xe000000004452930, 0x208, 0xe000000004715100) at frag6_init+0x60
ip6_init(0x18b, 0xe000000004360b60, 0x40b) at ip6_init+0x310
net_init_domain(0xe0000000046c6238, 0xe0000000046c5d28, 0xe0000000046c6230, 0xe0000000046e8528) at net_init_domain+0x170
net_add_domain(0xe0000000046c6208, 0xe000000004291050) at net_add_domain+0x100
mi_startup(0xe0000000045fcce0, 0xe000000004703260, 0xe000000004703268, 0x1) at mi_startup+0x2e0
ia64_init(0xe00000000471c838) at ia64_init+0xca0
__start() at __start+0xa0
db> 

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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