Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 02:55:58 GMT
From:      Joe K <joe518psu@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/121853: Page fault while in kernel mode. Supervisor read, page not present.
Message-ID:  <200803190255.m2J2tws3034919@www.freebsd.org>
Resent-Message-ID: <200803190300.m2J302Kw043487@freefall.freebsd.org>

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

>Number:         121853
>Category:       i386
>Synopsis:       Page fault while in kernel mode. Supervisor read, page not present.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 19 03:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Joe K
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD host 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
FreeBSD Team:

I recently downloaded the 7.0 RELEASE of FreeBSD.  I installed the operating system on a Dell Dimension XPS T500 (Pentium III, 128MB RAM, ATI 3D Rage Pro Turbo  1X/2X AGP 8MB Video).  I completed an X-Developer (distribution) installation, and added on a few utilities through the ports system and/or sysinstall: gkrellm2 monitors, kde network tools (kppp), kde utilities (konqueror, ksirc, etc.), and fluxbox.  I am using a USR 56k ISAPNP v90 modem.  (Usually) while connected to the internet through KPPP, my system reboots after 1 to 2 hours.  This has happened now a total of 7 times.  After the first 3, I decided to do a fresh installation.  I never installed the audio drivers for my audio card (Aureal Vortex 8830). After the fresh install, I've experienced the same problem 4 more times.  After reviewing the core dumps with kgdb, I get the same error "Page fault while in kernel mode. Supervisor read, page not present."

Initial output of kgdb from vmcore.4 (latest)

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x3
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc079cc84
stack pointer           = 0x28:0xc888a940
frame pointer           = 0x28:0xc888a950
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         = 1599 (fetch)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 2h2m15s
Physical memory: 115 MB
Dumping 51 MB: 36 20 4

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h

This is the kgdb backtrace output of vmcore.4 (latest):

(kgdb) backtrace
#0  doadump () at pcpu.h:195
#1  0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0754719 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0a4905c in trap_fatal (frame=0xc888a900, eva=3)
    at /usr/src/sys/i386/i386/trap.c:899
#4  0xc0a492e0 in trap_pfault (frame=0xc888a900, usermode=0, eva=3)
    at /usr/src/sys/i386/i386/trap.c:812
#5  0xc0a49c8c in trap (frame=0xc888a900) at /usr/src/sys/i386/i386/trap.c:490
#6  0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc079cc84 in putc (chr=79, clistp=0xc1c06838)
    at /usr/src/sys/kern/tty_subr.c:416
#8  0xc07f4bd3 in pppasyncstart (sc=0xc20e5200)
    at /usr/src/sys/net/ppp_tty.c:654
#9  0xc07ef7b2 in pppoutput (ifp=0xc1bca800, m0=0xc1c7b500, dst=0xc2724330, 
    rtp=0xc1d24bb8) at /usr/src/sys/net/if_ppp.c:992
#10 0xc082ee36 in ip_output (m=0xc1c7b500, opt=0x0, ro=0xc888aa20, flags=Variable "flags" is not available.
)
    at /usr/src/sys/netinet/ip_output.c:549
#11 0xc088cede in tcp_output (tp=0xc1d9d1d0)
    at /usr/src/sys/netinet/tcp_output.c:1135
#12 0xc089750b in tcp_usr_rcvd (so=0xc27e74a4, flags=0)
    at /usr/src/sys/netinet/tcp_usrreq.c:738
#13 0xc07a8ca5 in soreceive_generic (so=0xc27e74a4, psa=0x0, uio=0xc888ac60, 
    mp0=0x0, controlp=0x0, flagsp=0x0) at /usr/src/sys/kern/uipc_socket.c:1825
---Type <return> to continue, or q <return> to quit---decipher
#14 0xc07a3988 in soreceive (so=0xc27e74a4, psa=0x0, uio=0xc888ac60, mp0=0x0, 
    controlp=0x0, flagsp=0x0) at /usr/src/sys/kern/uipc_socket.c:1853
#15 0xc078deeb in soo_read (fp=0xc27e9e10, uio=0xc888ac60, 
    active_cred=0xc275ba00, flags=0, td=0xc276c420)
    at /usr/src/sys/kern/sys_socket.c:85
#16 0xc07879e6 in dofileread (td=0xc276c420, fd=3, fp=0xc27e9e10, 
    auio=0xc888ac60, offset=-1, flags=0) at file.h:242
#17 0xc0787d58 in kern_readv (td=0xc276c420, fd=3, auio=0xc888ac60)
    at /usr/src/sys/kern/sys_generic.c:192
#18 0xc0787e3f in read (td=0xc276c420, uap=0xc888acfc)
    at /usr/src/sys/kern/sys_generic.c:108
#19 0xc0a49635 in syscall (frame=0xc888ad38)
    at /usr/src/sys/i386/i386/trap.c:1035
#20 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
#21 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 

>How-To-Repeat:
Use the system for 1-2 hours.
>Fix:
Tried complete reinstallation, no luck.  Also tried deleting the .kde folder from my home directory to reset KPPP. Tried adding options to a new /etc/ppp/options file (instead of using a blank file). This didn't fix the problem either.  Fsck'd all volumes, and fixed all errors in single user mode, no change.  Finally, made sure my user account was added to the wheel, sys, network, and dialer groups (by editing /etc/group).

>Release-Note:
>Audit-Trail:
>Unformatted:



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