From zefram@boobookittyfuck.zefram.net  Thu Sep 18 01:59:21 2003
Return-Path: <zefram@boobookittyfuck.zefram.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 232EF16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Sep 2003 01:59:21 -0700 (PDT)
Received: from boobookittyfuck.zefram.net (c-24-91-173-175.ne.client2.attbi.com [24.91.173.175])
	by mx1.FreeBSD.org (Postfix) with SMTP id 3765D43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Sep 2003 01:59:19 -0700 (PDT)
	(envelope-from zefram@boobookittyfuck.zefram.net)
Received: (qmail 501 invoked by uid 1000); 18 Sep 2003 08:59:17 -0000
Message-Id: <20030918085917.500.qmail@boobookittyfuck.zefram.net>
Date: 18 Sep 2003 08:59:17 -0000
From: John Gillis <zefram@zefram.net>
Reply-To: John Gillis <zefram@zefram.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Random panic on reading virtual memory 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56976
>Category:       kern
>Synopsis:       Random panic on reading virtual memory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 18 02:00:34 PDT 2003
>Closed-Date:    Fri Oct 10 22:36:20 PDT 2003
>Last-Modified:  Fri Oct 10 22:36:20 PDT 2003
>Originator:     John Gillis
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD boobookittyfuck.zefram.net 4.8-STABLE FreeBSD 4.8-STABLE #3: Sun Aug 17 04:06:58 EDT 2003 zefram@boobookittyfuck.zefram.net:/usr/obj/usr/src/sys/BOOBOOKITTYFUCK i386
Developer machine running X and KDE, using an nVidia board. nVidia's drivers seem to make X eat alot of memory (nearly 1G before crash). 
AMD XP 2000+ on a ASUS board, 512M DDR 2100 RAM. IBM 15G drive with 512M VM partition. I was using portupgrade at the time of the crash.

	
>Description:
Not much to describe, my computer randomly shut off. Here's some useful information (I hope). First is of course the error from 
/v/l/messages, then I ran nm on the kernel (sorry, it was not in debug). Error appears to happen 44 double words (however long an 
instruction pointer is) into vm_page_lookup. Anything I can do to be of help, please ask. I wonder if it could be a bad sector or some 
such on the hard drive. Any thoughts? Any way to check?

------

Sep 18 04:34:26 boobookittyfuck /kernel: Fatal trap 12: page fault while in kernel mode
Sep 18 04:34:26 boobookittyfuck /kernel: fault virtual address  = 0x13
Sep 18 04:34:26 boobookittyfuck /kernel: fault code             = supervisor read, page not present
Sep 18 04:34:26 boobookittyfuck /kernel: instruction pointer    = 0x8:0xc022ceb0
Sep 18 04:34:26 boobookittyfuck /kernel: stack pointer          = 0x10:0xe05cee34
Sep 18 04:34:26 boobookittyfuck /kernel: frame pointer          = 0x10:0xe05cee3c
Sep 18 04:34:26 boobookittyfuck /kernel: code segment           = base 0x0, limit 0xfffff, type 0x1b
Sep 18 04:34:26 boobookittyfuck /kernel: = DPL 0, pres 1, def32 1, gran 1
Sep 18 04:34:26 boobookittyfuck /kernel: processor eflags       = interrupt enabled, resume, IOPL = 0
Sep 18 04:34:26 boobookittyfuck /kernel: current process                = 90949 (sh)
Sep 18 04:34:26 boobookittyfuck /kernel: interrupt mask         = net bio cam
Sep 18 04:34:26 boobookittyfuck /kernel: trap number            = 12
Sep 18 04:34:26 boobookittyfuck /kernel: panic: page fault

-------

> nm -n /kernel | grep c022ce
c022ce84 T vm_page_lookup
c022cee0 T vm_page_rename

	
>How-To-Repeat:
Running X & KDE for a week and a half, which ate up alot of virtual memory. Then compiling.
	
>Fix:

	


>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: John Gillis <zefram@zefram.net>
Cc: bug-followup@freebsd.org
Subject: Re: kern/56976: Random panic on reading virtual memory 
Date: Thu, 18 Sep 2003 13:13:11 +0400 (MSD)

 There were several bugs in PAE code committed 09/08/2003 and fixed
 after 30/08/2003.  Please upgrade and let me know if the bug is still
 present.
 
 -- 
 Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org

From: Maxim Konovalov <maxim@macomnet.ru>
To: John Gillis <zefram@dante.zefram.net>
Cc: bug-followup@freebsd.org
Subject: Re: kern/56976: Random panic on reading virtual memory 
Date: Sun, 21 Sep 2003 11:12:20 +0400 (MSD)

 John,
 
 On Sat, 20 Sep 2003, 19:00-0400, John Gillis wrote:
 
 > > There were several bugs in PAE code committed 09/08/2003 and fixed
 > > after 30/08/2003.  Please upgrade and let me know if the bug is still
 > > present.
 >
 > 	Okay, I have the latest kernel running, labeled as "4.9-PRERELEASE
 > #7". I'm having a problem though.. I have two sound cards installed in my
 > computer (one onboard, the other PCI). It's worked without a problem since
 > 4.7, but with the latest kernel, it hangs upon detection of the pcm1. This
 > is from 4.8 (where it worked), but it'd stop BEFORE the last line (so, I
 > wouldn't see the codec):
 >
 > nvidia0: <GeForce4 Ti 4600> mem 0xe7800000-0xe787ffff,0xe8000000-0xeFffffff,
 > 0xe5000000-0xe5ffffff irq 11 at device 0.0 on pci1
 > pcm0: <CMedia CMI8738> port 0xd800-0xd8ff irq 10 at device 5.0 on pci0
 > wi0: <Intersil Prism2.5> mem 0xe6800000-0xe6800fff irq 11 at device 13.0 on pci0
 > wi0: 802.11 address: 00:06:25:09:21:77
 > wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
 > wi0: IntErsil Firmware: Primary 1.01.00, Station 1.04.02
 > pcm1: <Creative EMU10K1> port 0xd400-0xd41f irq 10 at device 14.0 on pci0
 > pcm1: <TriTech TR28602 AC97 Codec>
 >
 > 	When I tried enabling PnP OS, the kernel threw up and couldn't
 > register mem address or something like that (sorry, no log of that).
 > Disabling that kld allows me to boot.
 >
 > 	Should I post a new PR or is this a known issue? I'll try to beat
 > down my VM sometime this week, so see if I get the segfault. Thanks,
 
 I believe this is a different issue and you should open a new PR.  I
 will wait for aa week and then close this one.  Thank you!
 
 -- 
 Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Fri Oct 10 22:34:02 PDT 2003 
State-Changed-Why:  
All known PAE related bugs were fixed in early September. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56976 
>Unformatted:
