Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 11:25:55 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        lamaster@nas.nasa.gov
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: build/run (4.1.1) -STABLE kernel: fatal trap 12: page fault while...
Message-ID:  <39EDEB33.C250F23B@urx.com>
References:  <Pine.SOL.4.21.0010181025110.16762-100000@marcy.nas.nasa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help


Hugh LaMaster wrote:
> 
> On booting a newly built kernel from freshly CV'supped -STABLE
> source tree, I get this:
> 
> fatal trap 12: page fault while in kernel mode
> 
> 0x24
> supervisor read, page not present
> 
> :
> 
> panic: page fault
> 
> I was following the procedure in /usr/src/UPDATING:
> 
>         make buildworld
>         make buildkernel KERNEL=YOUR_KERNEL_HERE
>         make installkernel KERNEL=YOUR_KERNEL_HERE
>         reboot  (in single user) [1]
> 
> Breaks here ^
> However, after booting old kernel, make installworld
> done anyway:
> 
>         make installworld
>         mergemaster
>         reboot
> 
> The make installworld didn't change anything.  Same result with my
> own custom kernel config file (includes ATM stuff) and the GENERIC
> kernel (note, system is still running 4.1-RELEASE kernel after the
> "make world").
> 
> So, I have built kernels directly with config/make depend/make/make
> install, and, via make buildkernel.  After my own kernels broke,
> I tried GENERIC, with the same result every time.
> 
> uname -a doesn't tell you much since this is still the 4.1-RELEASE
> kernel running:
> 
> 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000
> jkh@ref4.freebsd.org:/usr/src/sys/compile/GENERIC  i386

It tells us that you didn't do what you think you did. If the
installworld and the kernel config and install had worked, you
wouldn't be seeing a release kernel. I just finished running a script
that I call upworld. It is

jade# m upworld
#! /bin/sh
cd /root/cvsup
#cvsup -g -L 2 4.x-stable-supfile 2>&1 | tee cvsup.log

# Now convert the log to html`
#cvsuplog < cvsup.log > cvsup-`date "+%Y%m%d-%H%M"`.html

cd /usr/src
make buildworld 2>&1 | tee bworld-`date "+%Y%m%d-%H%M"`.log
make buildkernel KERNEL=JADE 2>&1 | tee bkernel-`date
"+%Y%m%d-%H%M"`.log
make installkernel KERNEL=JADE 2>&1 | tee ikernel-`date
"+%Y%m%d-%H%M"`.log
make installworld  2>&1 | tee iworld-`date "+%Y%m%d-%H%M"`.log

I ran mergemaster manually at this point and rebooted. A uname -a
following the reboot shows

jade# uname -a
FreeBSD jade.kbs.com 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Wed Oct 18
10:58:34 PDT 2000     root@jade.kbs.com:/usr/obj/usr/src/sys/JADE 
i386

Kent

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39EDEB33.C250F23B>