From nobody@FreeBSD.ORG  Sat Jun  3 01:43:53 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 8262737B9B5; Sat,  3 Jun 2000 01:43:53 -0700 (PDT)
Message-Id: <20000603084353.8262737B9B5@hub.freebsd.org>
Date: Sat,  3 Jun 2000 01:43:53 -0700 (PDT)
From: pushf@mail.dotcom.fr
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: make buildworld freezes my machine with a kernel panic "Fatal trap 12: page fault while in kernel mode..."
X-Send-Pr-Version: www-1.0

>Number:         18982
>Category:       kern
>Synopsis:       make buildworld freezes my machine with a kernel panic "Fatal trap 12: page fault while in kernel mode..."
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 03 01:50:00 PDT 2000
>Closed-Date:    Tue Feb 20 11:31:14 PST 2001
>Last-Modified:  Tue Feb 20 11:31:27 PST 2001
>Originator:     Pierre-Francois LAURAND
>Release:        4.0-STABLE
>Organization:
>Environment:
FreeBSD fury 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun May 28 15:39:26 CEST 2000     root@fury:/space/export/site/cvsup/FreeBSD/src/stable-4.X/src/sys/compile/FURY-F4  i386

the machine is a pentium II 300 with 160 Mo of RAM.
>Description:
"make buildworld" crash my machine with a "kernel panic" 
with message:
Fatal trap 12: page fault while in kernel mode; Supervisor read: Page not present

here is my kernel config:
##
## FURY-F4 for kernel configuration file in /sys/i386/conf/FURY-F4
## 
## Made by Pierre-Francois LAURAND Pf
## Login   <pf@laurand.net>
## 
## Started on  Sun May 21 08:31:33 2000 Pierre-Francois LAURAND pushf
## Last update Sat May 27 00:47:42 2000 Pierre-Francois LAURAND Root
##

machine         i386
ident           FURY-F4
maxusers        32

makeoptions     KERNEL=FURY-F4

options         INCLUDE_CONFIG_FILE
#options        ROOTDEVNAME=\"ufs:da0s2a\"

cpu             I686_CPU

#####################################################################
# COMPATIBILITY OPTIONS  
#####################################################################

options         COMPAT_43
#options        USER_LDT
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         MD5

#####################################################################
# DEBUGGING OPTIONS
#####################################################################

options         KTRACE
options         PERFMON
options         UCONSOLE
options         USERCONFIG
options         VISUAL_USERCONFIG

#####################################################################
# NETWORKING OPTIONS
#####################################################################

options         INET
options         INET6
options         IPSEC
options         IPSEC_ESP
options         IPSEC_IPV6FWD
options         IPSEC_DEBUG

### Netgraph related:
options         NETGRAPH
options         NETGRAPH_ASYNC
options         NETGRAPH_BPF
options         NETGRAPH_CISCO
options         NETGRAPH_ECHO
options         NETGRAPH_FRAME_RELAY
options         NETGRAPH_HOLE
options         NETGRAPH_IFACE
options         NETGRAPH_KSOCKET
options         NETGRAPH_LMI
#options        NETGRAPH_MPPC_COMPRESSION
options         NETGRAPH_MPPC_ENCRYPTION
options         NETGRAPH_PPP
options         NETGRAPH_PPPOE
options         NETGRAPH_PPTPGRE
options         NETGRAPH_RFC1490
options         NETGRAPH_SOCKET
options         NETGRAPH_TEE
options         NETGRAPH_TTY
options         NETGRAPH_UI
options         NETGRAPH_VJC
pseudo-device   ether
pseudo-device   loop
pseudo-device   bpf
pseudo-device   disc
pseudo-device   tun
pseudo-device   sl      2
pseudo-device   ppp     2
options         PPP_BSDCOMP
options         PPP_DEFLATE
options         PPP_FILTER

pseudo-device   gif     4       #IPv6 and IPv4 tunneling
pseudo-device   faith   1       #for IPv6 and IPv4 translation

#options        MROUTING
### IPv4 Firewall:
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_FORWARD
### IPv6 Firewall:
options         IPV6FIREWALL
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_VERBOSE_LIMIT=100
options         IPDIVERT
options         IPFILTER
options         IPFILTER_LOG
options         IPSTEALTH
options         TCP_DROP_SYNFIN
options         TCP_RESTRICT_RST
options         ICMP_BANDLIM
options         DUMMYNET
#options        BRIDGE

#####################################################################
# FILESYSTEM OPTIONS
#####################################################################

### Mandatory Files System:
options         FFS
options         MFS
options         NFS
options         CD9660

### STD FS:
options         FDESC
options         KERNFS
#options        MSDOSFS
#options        NTFS
options         CD9660_ROOT
options         FFS_ROOT
options         NFS_ROOT
#options        DEVFS
options         PROCFS
options         SOFTUPDATES
options         NSWAPDEV=3
options         QUOTA
options         SUIDDIR
options         NFS_MINATTRTIMO=3
options         NFS_MAXATTRTIMO=60
options         NFS_MINDIRATTRTIMO=30
options         NFS_MAXDIRATTRTIMO=60
options         NFS_GATHERDELAY=10
options         NFS_UIDHASHSIZ=29
options         NFS_WDELAYHASHSIZ=16
options         NFS_MUIDHASHSIZ=63

### Coda FS:
options         CODA
pseudo-device   vcoda   4
#options        EXT2FS
#####################################################################
# POSIX P1003.1B
#####################################################################

options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L

#####################################################################
# SCSI DEVICES
#####################################################################

device          scbus
device          pass
device          cd
device          pt
#options        CAMDEBUG
#options        CAM_DEBUG_BUS=-1
#options        CAM_DEBUG_TARGET=-1
#options        CAM_DEBUG_LUN=-1
#options        CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
#options        CAM_MAX_HIGHPOWER=4
#options        SCSI_NO_SENSE_STRINGS
#options        SCSI_NO_OP_STRINGS
options         SCSI_DELAY=10000
#options        CHANGER_MIN_BUSY_SECONDS=2
#options        CHANGER_MAX_BUSY_SECONDS=10
#options        SCSI_PT_DEFAULT_TIMEOUT="60"

#####################################################################
# MISCELLANEOUS DEVICES AND OPTIONS
#####################################################################

pseudo-device   pty
pseudo-device   speaker
pseudo-device   gzip
pseudo-device   vn
pseudo-device   md
pseudo-device   snp     3
#pseudo-device  ccd     4
#pseudo-device  vinum
#options        VINUMDEBUG

#####################################################################
# HARDWARE DEVICE CONFIGURATION
#####################################################################

device          isa
options         AUTO_EOI_1
#options        AUTO_EOI_2
#options        MAXMEM="(160*1024)"
#options        PPS_SYNC

### Keyboard:
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
options         ATKBD_DFLT_KEYMAP
makeoptions     ATKBD_DFLT_KEYMAP="fr.iso.acc"

### Mouse:
device          psm0 at atkbdc? irq 12
options         PSM_HOOKRESUME
options         PSM_RESETAFTERSUSPEND

### VGA device:
device          vga0 at isa?
options         VGA_WIDTH90
options         VESA

### Splash Screen supoort:
pseudo-device   splash

### SCO Console device:
device          sc0 at isa?
options         MAXCONS=16
options         SC_ALT_MOUSE_IMAGE
options         SC_DFLT_FONT
makeoptions     SC_DFLT_FONT=iso
options         SC_HISTORY_SIZE=300
options         SC_PIXEL_MODE
#options        SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
options         SC_NORM_REV_ATTR="(FG_YELLOW|BG_RED)"
options         SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
options         SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"

### NPX:
device          npx0 at nexus? port IO_NPX flags 0x0 irq 13

### ATA Devices:
device          ata
device          atadisk
device          atapicd
options         ATA_ENABLE_ATAPI_DMA
device          ata0 at isa? port IO_WD1 irq 14
device          ata1 at isa? port IO_WD2 irq 15

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

### Serial Port:
device          sio0 at isa? port IO_COM1 flags 0x10 irq 4
device          sio1 at isa? port IO_COM2 irq 3

### VOXWARE Sound:
#device         snd
#device         sb0 at isa? port 0x220 irq 5 drq 1
#device         sbxvi0 at isa? drq 5
#device         sbmidi0 at isa? port 0x330
#device         awe0 at isa? port 0x620
#device         opl0 at isa? port 0x388

### PCM Sound:
#device         pcm0 at isa? irq 10 drq 1 flags 0x0
device          pcm
device          sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15

### PCA sound:
device          pca0 at isa? port IO_TIMER1

### APM:
#device         apm0 at nexus? flags 0x20
device          apm0 at nexus?

### Joystick:
device          joy0 at isa? port IO_GAME

### EISA devices:
device          eisa

### PCI Devices and PCI options:
device          pci
device          ahc
#device         miibus
device          de
device          bktr
device          intpm
device          smb
device          smbus
device          iicbus
device          iicbb
device          ic
device          iic
device          iicsmb
options         OVERRIDE_CARD=CARD_MIRO
options         OVERRIDE_TUNER=PHILIPS_SECAM
#options        OVERRIDE_MSP=
#options        OVERRIDE_DBX=
#options        BKTR_USE_PLL
#options        BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL

### Parallel Port Bus:
device          ppbus
device          ppc0 at isa? irq 7
#device         vpo
device          lpt
device          plip
device          ppi
device          pps
device          lpbb

### Misc options:
options         HW_WDOG
options         PANIC_REBOOT_WAIT_TIME=30
#options        PNPBIOS

##########################################################


>How-To-Repeat:
cvsup FreeBSD src 4.0 STABLE, make buildworld
or even with shutdown now ; make buildworld.

>Fix:


>Release-Note:
>Audit-Trail:

From: David Malone <dwmalone@maths.tcd.ie>
To: pushf@mail.dotcom.fr
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/18982: make buildworld freezes my machine with a kernel panic "Fatal trap 12: page fault while in kernel mode..."
Date: Sat, 3 Jun 2000 20:43:48 +0100

 On Sat, Jun 03, 2000 at 01:43:53AM -0700, pushf@mail.dotcom.fr wrote:
 
 > the machine is a pentium II 300 with 160 Mo of RAM.
 > >Description:
 > "make buildworld" crash my machine with a "kernel panic" 
 > with message:
 > Fatal trap 12: page fault while in kernel mode; Supervisor read: Page not present
 
 The first thing to check is your hardware - we've seen problems
 like this if the processor is overheating (which it's more likely
 to do during a buildworld than if it is idle). Bad ram or oveclocking
 is another possiblilty.
 
 The second thing to check is that your modules were built at the
 same time as your kernel.
 
 If neither of these help you'll need to take down the full message
 printed after the "Fatal trap" message and post it here...
 
 	David.
 

From: Johan Karlsson <k@numeri.campus.luth.se>
To: pushf@mail.dotcom.fr
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/18982: make buildworld freezes my machine with a kernel panic 
 "Fatal trap 12: page fault while in kernel mode..."
Date: Fri, 04 Aug 2000 21:07:04 +0200

 Hi Pierre-Francois
 
 A while back you sent a problem report regarding buildworld problems, see 
 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18982
 
 Did you manage to get things going?
 
 If not did you try the suggestions from David Malone, 
 see the PR.
 
 Please let us know how things turned out.
 
 Thanks
 Johan K
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Mon Aug 7 01:49:14 PDT 2000 
State-Changed-Why:  
Waiting for feedback in response to dwmalone's suggestions. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18982 
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Tue Feb 20 11:31:14 PST 2001 
State-Changed-Why:  
No response from originator. 

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