Date: Fri, 11 Jan 2002 10:10:12 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: "Stephen D. Spencer" <bsd-alpha@boneyard.lawrence.ks.us> Cc: freebsd-alpha@FreeBSD.ORG Subject: RE: /boot/loader failure 4.5-PR Message-ID: <XFMail.020111101012.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.10.10201110811490.49738-100000@madeline.boneyard.lawrence.ks.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11-Jan-02 Stephen D. Spencer wrote: > On Fri, 11 Jan 2002, John Baldwin wrote: > >> > [...] >> > halt code = 2 >> > kernel stack not valid halt >> > PC = 545532080018 >> > boot failure >> >> Works fine on my DS20 here: >> >> FreeBSD/alpha SRM disk boot, Revision 1.0 >> (john@sema.baldwin.cx, Wed Jan 9 11:58:18 PST 2002) >> Memory: 1048576 k >> Loading /boot/defaults/loader.conf >> /kernel data=0x2ad7d8+0x23e02 syms=[0x8+0x39f90+0x8+0x2a0f5] >> >> Your PC is way wacked out. What's your SP and RA? ("e sp", "e ra" at the >> SRM >> prompt) >> > > Just for kicks, I rolled my source tree back to Sept. 16 (the day the 4.4-R > ISO's were created) and recompiled /boot/loader. It still exhibits the > same problem. > > Here is the information you requested: > > PC = 545532080018 > boot failure >>>>e sp > gpr: 1E ( R30) 0000000020044000 >>>>e ra > gpr: 1A ( R26) 000000002000073C > > I'm going to take a hard look at the build process for the loader binary > to try to ascertain what might be borked on this box. Are there any known > issues with using CPU flags for compiling world (such as ev6 or ev56) When > I rebuilt this system yesterday, it was done with a compiler/world that > was compiled with it set to ev6 (even though the build was ev4) Hmm, none that I know of. Can you do this, can you build a debug loader (clean sys/boot and then compile it with -g in CFLAGS). Strip the loader before you install it though, and then repeat this and get the ra again (ra is the return address), then reboot the system, fire up gdb on the debug loader binary with all the symbols, and do 'l *0x<value of ra>'. For example, in this case you would do 'l *0x2000073C' except that your loader binary probably doesn't have symbols. -- John Baldwin <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020111101012.jhb>