Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 17:20:13 -0800 (PST)
From:      Giovanni Picoli Tirloni <tirloni@users.sourceforge.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/32995: Kernel panic (fatal trap 12): page fault while in kernel mode
Message-ID:  <200112190120.fBJ1KDK09636@freefall.freebsd.org>

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

>Number:         32995
>Category:       kern
>Synopsis:       Kernel panic (fatal trap 12): page fault while in kernel mode
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 17:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Giovanni Picoli Tirloni
>Release:        4.4-STABLE
>Organization:
BS2 Sistemas para Internet Ltda.
>Environment:
FreeBSD mink.ath.cx 4.4-STABLE FreeBSD 4.4-STABLE #1: Tue Dec 18 10:01:23 BRST 20001 root@mink.ath.cx:/usr/src/sys/compile/MINK i386
>Description:
      After updating to 4.4-STABLE of day Dec 18 I recompiled world and kernel. All won't fine until the reboot. For some reason when any application tries to use some network related kernel function (I guess) the kernel panics. It happens just after I run ppp(8) because I've ntpdate in ppp.linkup or even if I'm not connected but I open Opera 5.05, which tries to open the home page, the kernel panics. In general, if I do anything related after tun0 is up. That doesn't happen with lo0 or any other device. I don't have ethernet support compiled, by the way. So I think it's something really related to a modification someone did in the networking stack or in ppp(8) itself. But crashing even when tun0 isn't up get me annoyed. I compiled the kernel many many times with and without optimizations (-O and -O3), removed some options like USER_LDT, LINUX, EXT2FS, PPP_DEFLATE, RANDOM_IP, etc with no luck. 

My kernel config follows:

machine    i386
cpu        I586_CPU
ident      MINK
maxusers   48

options    COMPAT_LINUX
options    INET
options    EXT2FS
options    FFS_ROOT
options    SOFTUPDATES
options    MSDOSFS
options    CD9660
options    PROCFS
options    COMPAT_43
options    UCONSOLE
options    SYSVSHM
options    SYSVMSG
options    SYSVSEM
options    P1003_1B
options    _KPOSIX_PRIORITY_SCHEDULING
options    KBD_INSTALL_CDEV
options    TCP_DROP_SYNFIN

device     isa
device     pci

device     fdc0 at isa? port IO_FD1 irq 6 drq 2
device     fd0 at fdc0 drive 0

device     ata0 at isa? port IO_WD1 irq 14
device     ata1 at isa? port IO_WD2 irq 15
device     ata
device     atadisk
device     atapicd
device     atapifd
options    ATA_STATIC_ID

device     atkbdc0 at isa? port IO_KBD
device     atkbd0 at atkbdc? irq 1 flags 0x1

device     vga0 at isa?
options    VESA
pseudo-device splash

device     sc0 at isa? flags 0x100

device npx0 at nexus? port IO_NPX irq 13

device    sio0 at isa? port IO_COM1 flags 0x10 irq 4
device    sio1 at isa? port IO_COM2 irq 3

pseudo-device  loop
pseudo-device  tun
pseudo-device  pty
pseudo-device  vn
pseudo-device  ether
pseudo-device  tap
pseudo-device  snp

pseudo-device  bpf

device         pcm0

options        IPFILTER
options        IPFILTER_LOG
options        IPFILTER_DEFAULT_BLOCK
options        PPP_DEFLATE
options        PPP_BSDCOMP
options        RANDOM_IP_ID
options        UFS_DIRHASH

My system is a Pentium 200Mhz MMX, 48M EDO RAM, 4G+2G+800M HDDs, Modem USR 56k v90/x2 ISA, No ethernet.

The same configurations stopped to work after the cvsup.
>How-To-Repeat:
      Use a kernel (and world) from Tue Dec 18 2001 or so, get your tun0 iface up with ppp(8) and try any app that use that iface. I was unable to try with other iface types though.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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