Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Oct 1998 11:37:49 -0700
From:      Manfred Antar <mantar@netcom.com>
To:        Robert Nordier <rnordier@nordier.com>
Cc:        rnordier@nordier.com, osa@etrust.ru, current@FreeBSD.ORG
Subject:   Re: CRUSH after recompile kernel...
Message-ID:  <4.1.19981003111801.00a29100@192.168.0.1>
In-Reply-To: <199810031811.UAA00922@ceia.nordier.com>
References:  <4.1.19981003090856.00a1c890@192.168.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
At 08:11 PM 10/3/98 +0200, Robert Nordier wrote:
>Manfred Antar wrote:
>> At 02:26 PM 10/3/98 +0200, Robert Nordier wrote:
>> >
>> >Better still, why not try the new i386 loader (/sys/boot/i386/loader),
>> >now that it supports ELF?
>> 
>> How do you go about using  /boot/loader ?
>> I've been using btxboot with elf kernel and it works.
>> I get a kernel symbol not valid when it first starts to boot but the kernel
>> loads OK
>> I'm using  btxboot-0.8.2.
>
>Using the new loader should be as simple as
>
>    cd /sys/boot
>    make
>    mkdir /boot
>    make install
>
>though you should restore your standard boot blocks (ie. don't use
>btxboot).  Then type
>
>    /boot/loader
>
>at the regular
>
>    boot:
>
>prompt.
>
>There's more to it than this, involving /boot/boot.conf files, and
>so on, but that should get you started.

Thanks
Thats what I tried with elf kernels (both SMP an single CPU ones) but I
get a:

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x36719cc7
fault code = supervisor read, page not present
instruction pointer = 0x8:0xf0126294
stack pointer = 0x10:f0291f84
frame pointer = 0x10:f0291f98
code segment = base 0x0, limit 0xfffff, type 0x1b
                     = DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 0 ()
interrupt mask = net tty bio cam
kernel: type 12 trap, code=0
Stopped at 0xf0126294: movl 0(%esi),%ecx
db>

This happens after it starts loading the kernel.
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.19981003111801.00a29100>