Date: Sun, 04 Oct 1998 14:48:10 -0700 From: Manfred Antar <mantar@netcom.com> To: Mike Smith <mike@smith.net.au> Cc: Mike Smith <mike@smith.net.au>, Robert Nordier <rnordier@nordier.com>, osa@etrust.ru, current@FreeBSD.ORG Subject: Re: CRUSH after recompile kernel... Message-ID: <4.1.19981004144253.00a24b20@192.168.0.1>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19981004144253.00a24b20>