From owner-freebsd-alpha Mon Sep 18 15:42: 9 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 2374C37B423 for ; Mon, 18 Sep 2000 15:42:06 -0700 (PDT) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e8IMg2i07702; Mon, 18 Sep 2000 15:42:02 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.0/8.11.0) id e8IMdiv74189; Mon, 18 Sep 2000 15:39:44 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 18 Sep 2000 15:39:44 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Matthew Jacob Subject: RE: cvs commit: src/sys/boot/alpha/common main.c Cc: alpha@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ moved to -alpha ] On 18-Sep-00 Matthew Jacob wrote: > >> >> On 18-Sep-00 Matthew Jacob wrote: >> > >> > Really? >> > >> > Hmm. Thought we got this one for the moment. >> > >> > Are you sure you remembered to disklabel -B the new boot1? >> >> Yep. :( I have the ra's from the old loader that used to >> work (although I don't have a loader.sym for that) and for >> the new loader. I'll see what I can do with that. > > Does i die in loader or in boot1? Loader: 0x2001cce0 : mov a0,v0 0x2001cce4 : ble a2,0x2001cf34 0x2001cce8 : subq a0,a1,t5 0x2001ccec : cmpult t5,a2,t5 0x2001ccf0 : bne t5,0x2001ce88 0x2001ccf4 : addq a1,a2,a3 0x2001ccf8 : ldq_u t2,0(a1) 0x2001ccfc : xor a1,a0,t0 0x2001cd00 : and t0,0x7,t0 0x2001cd04 : and a0,0x7,t1 0x2001cd08 : bne t0,0x2001cd70 0x2001cd0c : beq t1,0x2001cd24 0x2001cd10 : ldq_u t3,0(a0) 0x2001cd14 : addq a2,t1,a2 0x2001cd18 : mskqh t2,a1,t2 It dies with PC = 0 at that last address I guess it is dereferencing a NULL pointer or something silly like that? Hmm, looking in src/libc/alpha/string/bcopy.S: /* src & dst have same alignment */ beq t1,bcopy_all_aligned ldq_u t3,0(DSTREG) addq SIZEREG,t1,SIZEREG mskqh t2,SRCREG,t2 mskql t3,SRCREG,t3 or t2,t3,t2 So it looks like possibly a NULL source? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message