Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 1999 20:07:33 +0200 (SAST)
From:      Khetan Gajjar <khetan@chain.freebsd.os.org.za>
To:        current@freebsd.org
Subject:   Trap 12's with various programs over the last 4 weeks
Message-ID:  <Pine.BSF.4.10.9910031958470.423-100000@chain.freebsd.os.org.za>

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

In the last three weeks, I've been encountering trap 12 panics
caused apparently by different programs, which is odd because
this system has been running -current without a hiccup for
at least a year.

This occurs with a system built after Marcel's sigset_t changes,
and manages to make world in single user mode, which makes
me question hardware failure.

I've included the output from gdb -k kernel.6 vmcore.6
and the dmesg output. If anything else needs to be done to diagnose
this kind of crash, please let me know. I've had it crash
due to gunzip and cron as well. In most cases, the machine
is not in use, and it occurs at night.

I rebuilt X as well. AMD and NFS are running, but are not used.
The system is a Pentium I 200 with 114MB RAM, 3 IDE drives (using
Soren's ATA code), an Adaptec 1542 which has two CD-ROM drives
attached and softupdates enabled on two partitions. There is a 
Vibra 16 sound card, but this hasn't worked since newpcm.

TIA.

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 3534848
initial pcb at 297a00
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x22b274c0
stack pointer	        = 0x10:0xc985bc18
frame pointer	        = 0x10:0xc985bca8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none
panic: from debugger


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x22b274c0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0216340
stack pointer	        = 0x10:0xc985ba90
frame pointer	        = 0x10:0xc985ba94
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 43623 (XF86_S3)
interrupt mask		= none
panic: from debugger

dumping to dev #wd/0x20001, offset 77824
dump 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=1886220131) at ../../kern/kern_shutdown.c:281
281			dumppcb.pcb_cr3 = rcr3();
(kgdb) quit

Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sat Oct  2 14:33:56 SAST 1999
    root@:/usr/src/sys/compile/CHAIN
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 200456082 Hz
CPU: Pentium/P54C (200.46-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 117440512 (114688K bytes)
config> en pcm0
config> ir pcm0 10
config> dr pcm0 3
config> f pcm0 0x17
config> q
avail memory = 110256128 (107672K bytes)
Preloaded elf kernel "kernel" at 0xc034d000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc034d09c.
Preloaded elf module "splash_bmp.ko" at 0xc034d0ec.
Preloaded splash_image_data "/boot/splash.bmp" at 0xc034d190.
Intel Pentium detected, installing workaround for F00F bug
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c1bfc (c0001bfc)
VESA: S3 Incorporated. Trio64V+
ccd0-1: Concatenated disk drivers
devclass_alloc_unit: pcib0 already exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <SiS 5591 host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
ata-pci0: <Unknown PCI IDE controller (generic mode)> irq 14 at device 0.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: unknown card (vendor=0x1039, dev=0x0009) at 1.1
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
pci1: <PCI bus> on pcib2
vga-pci0: <S3 Trio graphics accelerator> irq 5 at device 9.0 on pci0
de0: <Digital 21041 Ethernet> irq 9 at device 11.0 on pci0
de0: SMC 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:f9:2f:c8
devclass_alloc_unit: pci1 already exists, using next available unit number
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
aha0 at port 0x330-0x333 irq 11 drq 6 on isa0
aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pcm0: <SoundBlaster 16 4.13> at irq 10 drq 3 flags 0x17 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0 at port 0x378-0x37f irq 7 on isa0
ppc0: Winbond chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
de0: enabling 10baseT port
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging limited to 100 packets/entry by default
ad0: <WDC AC29100D/J74OA30K> ATA-4 disk at ata0 as master
ad0: 8693MB (17803440 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 31 depth queue, PIO
Creating DISK ad0
Creating DISK wd0
ad1: <WDC AC21000H/21.15T71> ATA-? disk at ata1 as master
ad1: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 0 depth queue, PIO
Creating DISK ad1
Creating DISK wd1
ad2: <QUANTUM FIREBALL1080A/A1M.0900> ATA-? disk at ata1 as slave 
ad2: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S
ad2: 8 secs/int, 0 depth queue, PIO
Creating DISK ad2
Creating DISK wd2
Waiting 2 seconds for SCSI devices to settle
Creating DISK cd0
Creating DISK cd1
changing root device to wd0s1a
WARNING: / was not properly dismounted
cd0 at aha0 bus 0 target 5 lun 0
cd0: <NEC CD-ROM DRIVE:502 2.0r> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at aha0 bus 0 target 6 lun 0
cd1: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device 
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed

#bus devices
controller	isa0
controller	pnp0
controller	pci0
#scsi code + adapter
controller	aha0	at isa? port ? irq ?
controller	scbus0

#processor stuff
machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		CHAIN
options		MATH_EMULATE		#Support for x87 emulation
options         PQ_LARGECACHE         #enable 512kb+ l2 cache support
device          npx0    at nexus? port IO_NPX irq 13                              
#performance stuff
maxusers	128
options		NMBCLUSTERS=4096

#networking
pseudo-device	loop
pseudo-device	ether
pseudo-device	tun	2
options		INET			#InterNETworking

#filesystems
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		SOFTUPDATES

#console stuff
pseudo-device   splash                                                          
pseudo-device	pty	128
options		UCONSOLE		#Allow users to grab the console
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		VESA
options		XSERVER			# support for X server
controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12
device          vga0    at isa? port ? conflicts
device          sc0     at isa? 

#misc kernel tie ins
pseudo-device	gzip		# Exec gzipped a.out's
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		KTRACE
options		DDB
options		SPX_HACK
options         IBCS2          #build ibcs2 into kernel
options         COMPAT_LINUX          #build linux into kernel
makeoptions    DEBUG=-g              #Build kernel with gdb(1) debug symbols

#posix code
options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L

#security stuff
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
options         IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options         IPDIVERT
options         ICMP_BANDLIM                                                  
options         MD5
pseudo-device	bpf	2	#Berkeley packet filter
pseudo-device	snp	2

#disk stuff
pseudo-device	ccd	2
options		QUOTA

#floppy
controller      fdc0    at isa? port IO_FD1 irq 6 drq 2                  
disk		fd0	at fdc0 drive 0

##primary ide channel
#controller	wdc0	at isa? port IO_WD1 irq 14 flags 0xa0ffa0ff
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

#secondary ide channel
#controller	wdc1	at isa? port IO_WD2 irq 15 flags 0xa0ffa0ff
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

controller     ata0
device         atadisk0        # ATA disk drives

#scsi devices
device		da0
device		cd0
#options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device   
device		pass0

#other devices
#network card
device de0
device ed0 at isa? port 0x300 irq 5 iomem 0xd8000
#sound card
device pcm0 at isa? port ? irq 10 drq 3 flags 0x17

#serial port
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
#parallel port
device          ppc0    at isa? port? irq 7
controller      ppbus0
device          lpt0   at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910031958470.423-100000>