From owner-freebsd-questions Wed Oct 18 11:26: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id AFE0437B4D7 for ; Wed, 18 Oct 2000 11:26:01 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id LAA03318; Wed, 18 Oct 2000 11:25:55 -0700 Message-ID: <39EDEB33.C250F23B@urx.com> Date: Wed, 18 Oct 2000 11:25:55 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 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... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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