From owner-freebsd-current Sat Oct 3 12:06:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13808 for freebsd-current-outgoing; Sat, 3 Oct 1998 12:06:07 -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 MAA13783 for ; Sat, 3 Oct 1998 12:05:58 -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 MAA00416; Sat, 3 Oct 1998 12:05:15 -0700 (PDT) (envelope-from mantar@netcom.com) Message-Id: <4.1.19981003120254.00a1de40@192.168.0.1> X-Sender: null@192.168.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sat, 03 Oct 1998 12:05:14 -0700 To: Robert Nordier From: Manfred Antar Subject: Re: CRUSH after recompile kernel... Cc: rnordier@nordier.com, osa@etrust.ru, current@FreeBSD.ORG In-Reply-To: <199810031851.UAA01724@ceia.nordier.com> References: <4.1.19981003111801.00a29100@192.168.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 08:50 PM 10/3/98 +0200, Robert Nordier wrote: >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. > Yes I switched back and it works fine I also tried an aout kernel with /boot/loader and it booted quite a bit further but went into a panic just before mounting the file systems 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