Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 1998 20:50:58 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        mantar@netcom.com (Manfred Antar)
Cc:        rnordier@nordier.com, osa@etrust.ru, current@FreeBSD.ORG
Subject:   Re: CRUSH after recompile kernel...
Message-ID:  <199810031851.UAA01724@ceia.nordier.com>
In-Reply-To: <4.1.19981003111801.00a29100@192.168.0.1> from Manfred Antar at "Oct 3, 98 11:37:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Manfred Antar wrote:
> 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.

Hmm, I haven't seen that here.

Well, not reason not to keep using btxboot if it works.

I expect there should be a fix for this in a day or so.

-- 
Robert Nordier

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?199810031851.UAA01724>