Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2002 17:02:39 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Hiten Pandya <hiten@uk.FreeBSD.org>
Cc:        FreeBSD-ia64@FreeBSD.ORG
Subject:   Re: Traps in SKI
Message-ID:  <20020616000239.GA1465@dhcp01.pn.xcllnt.net>
In-Reply-To: <20020615230730.GA929@hpdi.ath.cx>
References:  <20020615230730.GA929@hpdi.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 16, 2002 at 12:07:31AM +0100, Hiten Pandya wrote:
> Splitting [0x24a000-0x500000]
> 
> fatal kernel trap (cpu 0):
> 
>     trap vector = 0x18 (General Exception)
>     cr.iip      = 0xe00000000072ad10
>     cr.ipsr     = 0x101008022010 (mfl,ic,dt,rt,cpl=0,it,ri=0,bn)
>     cr.isr      = 0x0 (code=0,vector=0,ei=0)
>     cr.ifa      = 0xe0000000007ef9c8
>     cr.iim      = 0x0
>     curthread   = 0xe0000000007c4248
>         pid = 0, comm = 
> 
> Stopped at      0xe00000000072ad10:     [MMI] mov.m ar.fcr=r17;;

This is caused by a bug in SKI. Try the following patch:

Index: swtch.s
===================================================================
RCS file: /home/ncvs/src/sys/ia64/ia64/swtch.s,v
retrieving revision 1.21
diff -u -r1.21 swtch.s
--- swtch.s	7 May 2002 05:52:27 -0000	1.21
+++ swtch.s	16 Jun 2002 00:01:24 -0000
@@ -355,7 +355,7 @@
 	mov	ar.fsr=r16
 	;; 
 	ld8	r16=[r15],8		// ar.fir
-	mov	ar.fcr=r17
+	// mov	ar.fcr=r17
 	;; 
 	ld8	r17=[r15],8		// ar.fdr
 	mov	ar.fir=r16

Note that this breaks IA32 support. Patch is untested.

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




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