From owner-freebsd-current@FreeBSD.ORG Sun May 4 11:53:06 2003 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 74A9A37B404 for ; Sun, 4 May 2003 11:53:06 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB8FD43FCB for ; Sun, 4 May 2003 11:53:05 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0293.cvx40-bradley.dialup.earthlink.net ([216.244.43.38] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19CObf-00007i-00; Sun, 04 May 2003 11:53:04 -0700 Message-ID: <3EB56147.A4CBEB0A@mindspring.com> Date: Sun, 04 May 2003 11:51:51 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Cliff L. Biffle" References: <200305040004.40214.cbiffle@safety.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4e5151b3c18bb16eda3f2887a5a829b6d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org Subject: Re: Reproduceable kernel panic on boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 18:53:06 -0000 "Cliff L. Biffle" wrote: > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc1c1bd75 NULL pointer dereference. You probably want to post a traceback. If you have a debug kernel available, you probably want to gdb -k it, and then look at the code at 0xc1c1bd75; that will give you the exact line with the error. > I'd like to attach my kernel configuration, but have no working kernel on the > machine. Yay. It's basically GENERIC configured for I586 with at least the > following added: > options GEOM_AES, GEOM_BDE, GEOM_BSD, GEOM_GPT, GEOM_MBR, GEOM_VOL > options PSM_RESETAFTERSUSPEND > options CPU_SUSP_HLT, CPU_WT_ALLOC, NO_F00F_HACK, NO_MEMORY_HOLE > > The machine is a K6-2; I've uncommented the CFLAGS and COPTFLAGS in make.conf > but left them unchanged, and set cputype to k6-2. It's generally a bad idea to set the CPU type (see the recent discussion on -current about the guy who shot his foot off). In general, GCC tends to generate buggy code if you set the CPU type; of course, if you can live with buggy code... > > While I am using ccache, I've cleared and reset my caches and the problem > still occurs. > > Please, help! Now I get to see if I remember how to revert the entire tree to > a couple days ago. :-) Try also DISABLE_PSE and DISABLE_PG_G. AMD K6's are known to have the same CPU bug as Intel Xeons, P3's, and P4's. This is probably not what's happening in this case, as that's generally not a NULL pointer dereference problem, but it could have been in the page table code (to know for sure, you would have to post a traceback). -- Terry