From owner-freebsd-current@FreeBSD.ORG Mon Mar 22 16:42:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF05C16A4CE for ; Mon, 22 Mar 2004 16:42:04 -0800 (PST) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B99843D46 for ; Mon, 22 Mar 2004 16:42:04 -0800 (PST) (envelope-from noackjr@alumni.rice.edu) Received: from cmsapps01.cms.usa.net (165.212.11.136) by cmsoutbound.mx.net with SMTP; 23 Mar 2004 00:42:03 -0000 Received: from optimator.noacks.org [65.69.2.38] by cmsapps01.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 539icwaQa0322M36; Tue, 23 Mar 2004 00:42:00 GMT X-USANET-Auth: 65.69.2.38 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 087C26101; Mon, 22 Mar 2004 18:42:00 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27177-03; Mon, 22 Mar 2004 18:41:44 -0600 (CST) Received: from alumni.rice.edu (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 980D360E7; Mon, 22 Mar 2004 18:41:44 -0600 (CST) Message-ID: <405F87C8.4060207@alumni.rice.edu> Date: Mon, 22 Mar 2004 18:41:44 -0600 From: Jon Noack User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roberto Nunnari References: <405F192E.8050305@supsi.ch> In-Reply-To: <405F192E.8050305@supsi.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@freebsd.org Subject: Re: Fatal trap 12 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 00:42:05 -0000 On 3/22/2004 10:49 AM, Roberto Nunnari wrote: > last thursday I was running: > > web.dti.supsi.ch# uname -a > FreeBSD web.dti.supsi.ch 5.2-RELEASE-p1 FreeBSD 5.2-RELEASE-p1 #0: Fri > Jan 30 19:15:51 CET 2004 root@web.dti.supsi.ch:/usr/obj/usr/src/sys/WEB > i386 > > I cvsupped as always, when ssl fix was available with: > ********************************************** > *default tag=RELENG_5_2 > *default host=cvsup2.de.freebsd.org > *default prefix=/usr > *default base=/usr/local/etc/cvsup > *default release=cvs delete use-rel-suffix compress > src-all > doc-all > ports-all tag=. > ********************************************** > > ..., make installworld, mergemaster, bla bla bla.. > > every thing seemed to go well as usual without a problem.. > > but then, when rebooted I got: > > Fratal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xff70ff70 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc055ccc9 > stack pointer = 0x10:0xe40dfb04 > frame pointer = 0x10:0xe40dfb28 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 302 (ifconfig) > trap number = 12 > panic: page fault > cpuid = 0; > boot() called on cpu#0 > > syncing disks... > > That was quite late in the boot process.. in fact was > while configuring the network interface. I could get to > single user mode without problem.. but any time I tried to > go to multiuser I got the the above error. > > I did a limited restore: > /boot, /bin, /etc /lib, /libexec, /sbin > > that was enough to get the system back to multiuser mode > and running great as usual.. > > Yet.. I cannot seam to be able to upgrade the system any more.. Did you try booting with the old kernel before you did the restore? In any case, at the very least we need your kernel config file and a dmesg (preferably a verbose one). Much better would be a crash dump: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html If you're trying to get a crash dump, be sure you have the debugging options enabled in your kernel config file (DEBUG=-g, INVARIANTS, WITNESS, etc.). Jon