From owner-freebsd-current Sun Oct 4 12:08:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12604 for freebsd-current-outgoing; Sun, 4 Oct 1998 12:08:13 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pozo.pozo.com (pozo.pozo.com [207.201.8.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12568 for ; Sun, 4 Oct 1998 12:08:01 -0700 (PDT) (envelope-from mantar@netcom.com) Received: from dual (DUAL [192.168.0.2]) by pozo.pozo.com (8.9.1/8.9.1) with SMTP id MAA00273; Sun, 4 Oct 1998 12:06:50 -0700 (PDT) (envelope-from mantar@netcom.com) Message-Id: <4.1.19981004120024.00a3dd10@192.168.0.1> X-Sender: null@192.168.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sun, 04 Oct 1998 12:06:50 -0700 To: Mike Smith From: Manfred Antar Subject: Re: CRUSH after recompile kernel... Cc: Mike Smith , Robert Nordier , osa@etrust.ru, current@FreeBSD.ORG In-Reply-To: <199810040115.SAA00490@dingo.cdrom.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 06:15 PM 10/3/98 -0700, Mike Smith wrote: >> > >> Just out of curiosity I built an elf kernel without the debugger and >> tried the /boot/loader. >> It worked fine. >> so the problem had something to do with the debugger code. >> I'll test it more Sunday. > >Ok. I have a pretty good idea as to what might be going on now; >thanks for the input. If you want to do something really helpful, >print the values of bootinfo.bi_symtab and bootinfo.bi_esymtab in the >non-debugger kernel, and then load it with btxboot and the loader. > >Put a printf somewhere in machdep.c, eg. around about where it tests to >call userconfig(). > >My guess is that there's something wrong with the symbol table >information coming in, and it causes ddb to explode. > > I'm not sure how to do the above. But I have been following this thread and put esym = ssym = 0; in line 81 of /sys/i386/libi386/elf_freebsd.c and I can now boot a current elf kernel with the standard bootblocks with /boot/loader. Manfred ============================== || mantar@netcom.com || || pozo@infinex.com || || Ph. (415) 681-6235 || ============================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message