From owner-freebsd-alpha Mon May 28 16:31:37 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from newsguy.com (smtp.newsguy.com [209.155.56.71]) by hub.freebsd.org (Postfix) with ESMTP id 5517A37B424 for ; Mon, 28 May 2001 16:31:33 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (ppp039-bsace7002.telebrasilia.net.br [200.181.81.39]) by newsguy.com (8.11.0/8.9.1) with ESMTP id f4SNTRF60785; Mon, 28 May 2001 16:29:28 -0700 (PDT) Message-ID: <3B12DFAB.79245E9F@newsguy.com> Date: Mon, 28 May 2001 20:30:51 -0300 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en,pt-BR,pt,en-GB,en-US,ja MIME-Version: 1.0 To: Andrew Gallatin Cc: mjacob@feral.com, alpha@FreeBSD.ORG Subject: Re: Latest on ' HEADS UP: loader broken' References: <15122.40043.23892.164757@grasshopper.cs.duke.edu> <15122.40785.294428.276049@grasshopper.cs.duke.edu> <15122.45376.304502.55208@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew Gallatin wrote: > > Well, whatever firmware I'm running on the AS500 has a rather nice > feature -- it seems to have a trap handler installed for unaligned > access traps. > > FreeBSD/alpha SRM disk boot, Revision 1.1 > (gallatin@thunder.cs.duke.edu, Mon May 28 10:56:51 EDT 2001) > Memory: 131072 k > \ > fatal kernel trap: > > trap entry = 0x4 (unaligned access fault) > a0 = 0x2003d9bc > a1 = 0x2d > a2 = 0x0 > pc = 0x200285c4 > ra = 0x200285b8 > curproc = 0xfffffe0008577cc0 > > halted CPU 0 > > If the PC can be trusted, it is somewhere inside of twoConstParen > % nm -n loader.sym > <....> > 0000000020026540 T ficlCompileSoftCore > 0000000020026960 T ficlParseNumber > 00000000200276a0 T constantParen > 0000000020027720 T twoConstParen > 00000000200290c0 T parseStepParen > 000000002002ad20 T ficlTick > 000000002002f100 T ficlWordClassify > <....> > > (gdb) l *0x200285c4 > 0x200285c4 is in store (words.c:990). > 985 CELL *pCell; > 986 #if FICL_ROBUST > 1 > 987 vmCheckStack(pVM, 2, 0); > 988 #endif > 989 pCell = (CELL *)stackPopPtr(pVM->pStack); > 990 *pCell = stackPop(pVM->pStack); > 991 } > 992 > 993 /* > 994 ** two-store CORE ( x1 x2 a-addr -- ) The function twoConstParen has nothing to do with it. It's all the static functions in between. :-) Store, on the other hand, looks a natural candidate to me. I have even some evil nasty suspicions... Could you (or any other alpha user) try replacing the two values with 0 and see if the error persist? If so, it's a good thing your alpha is this nice, because it would take me AGES to even begin to suspect it. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net wow regex humor... I'm a geek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message