From owner-freebsd-current Sun Oct 4 14:49:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04351 for freebsd-current-outgoing; Sun, 4 Oct 1998 14:49:39 -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 OAA04336 for ; Sun, 4 Oct 1998 14:49:22 -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 OAA00337; Sun, 4 Oct 1998 14:48:10 -0700 (PDT) (envelope-from mantar@netcom.com) Message-Id: <4.1.19981004144253.00a24b20@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 14:48:10 -0700 To: Mike Smith From: Manfred Antar Subject: Re: CRUSH after recompile kernel... Cc: Mike Smith , Robert Nordier , osa@etrust.ru, current@FreeBSD.ORG 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. I just built a loader from the latest elf_freebsd.c (ver 1.5) and it boots a elf kernel fine. I can't seem to get it to boot in single user mode though. This is what I've tried. boot -s boot /kernel -s boot kernel -s Every one of the above boots , but not into single user mode somehow the -s is not getting passed on. Is there a new syntax for this ? Thanks 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