Subject: kern/579: Kernel suddenly dies
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/18/1994 11:35:03
>Number:         579
>Category:       kern
>Synopsis:       Kernel suddenly dies
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 18 11:35:02 1994
>Originator:     Tatoku Ogaito
Department of Physics, Faculty of Science, Osaka University
>Release:        1.0
dmesg output
NetBSD 1.0 (OSKNTH) #1: Sun Nov 13 05:48:59 JST 1994
CPU: Pentium (GenuineIntel 586-class CPU)
real mem  = 16384000
avail mem = 14245888
using 225 buffers containing 921600 bytes of memory
vt0 at isa0 port 0x60-0x6f irq 1: s3 928, 80/132 col, color, 4 scr, mf2-kbd, [R3.00]
com0 at isa0 port 0x3f8-0x3ff irq 4: ns82450 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns82450 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37f irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 234MB 723 cyl, 13 head, 51 sec <QUANTUM LP240A GM240A01X>
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.2MB 80 cyl, 2 head, 15 sec
fd1 at fdc0 drive 1: 1.44MB 80 cyl, 2 head, 18 sec
bt0 at isa0 port 0x330-0x333 irq 12: version 4.2, sync, parity, 32 mbxs
bt0 targ 0: sync, offset 15, period 200nsec
scsibus0 at bt0
bt0 targ 0 lun 0: <QUANTUM EMPIRE_1080S    1220> SCSI2 direct fixed
sd0 at scsibus0: 1029MB, 2874 cyl, 8 head, 91 sec, 512 bytes/sec
bt0 targ 2 lun 0: <NEC     CD-ROM DRIVE:5002.5 > SCSI2 readonly removable
cd0 at scsibus0: cd present, 234047 x 2048 byte records
ed2 at isa0 port 0x300-0x31f irq 10: address 00:40:33:20:1e:84, type NE2000 (16-bit)
npx0 at isa0 port 0xf0-0xff: using exception 16
biomask 5040 netmask 41a ttymask 1a
changing root device to sd0a

 Aperture driver for XFree86 version 1.1

Kernel Configuration File:
# OSKNTH   configuration for osknth network
#          (NetBSD-1.0)
machine		"i386"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		OSKNTH
timezone	-9
maxusers	12

options		FIFO
options		SYSVMSG
options		SYSVSEM
options		SYSVSHM
options		SHMMAXPGS=1024
options		SCSI
options		FFS
options		MFS
options		NFSSERVER
options		NFSCLIENT
options		MSDOSFS
options		FDESC
options		KERNFS
options		INET
options		"COMPAT_NOMID"
options		"COMPAT_09"
options		"COMPAT_43"
options		"TCP_COMPAT_42"
options		XSERVER
options		UCONSOLE
options		"CD9660"
options		"PCVT_NETBSD=10"
options		"PCVT_NSCREENS=4"
options		"USER_LDT"
options		LKM
options		QUOTA
config		netbsd	root on wd0 swap on wd0 and sd0

controller	isa0

device		vt0	at isa? port "IO_KBD" irq 1

device		com0	at isa? port "IO_COM1" irq 4
device		com1	at isa? port "IO_COM2" irq 3

device		lpt0	at isa? port "IO_LPT1" irq 7
device		lpt1	at isa? port "IO_LPT2"
device		lpt2	at isa? port "IO_LPT3"

controller	wdc0	at isa? port "IO_WD1" irq 14
disk		wd0	at wdc0 drive ?
disk		wd1	at wdc0 drive ?

controller	fdc0	at isa? port "IO_FD1" irq 6 drq 2
disk		fd0	at fdc0 drive ?
disk		fd1	at fdc0 drive ?

controller	bt0	at isa? port "IO_BT0" irq ? drq ?
master		scsibus0 at bt0
disk		sd0	at scsibus0 slave ?
disk		sd1	at scsibus0 slave ?
disk		sd2	at scsibus0 slave ?
disk		sd3	at scsibus0 slave ?
tape		st0	at scsibus0 slave ?
tape		st1	at scsibus0 slave ?
disk		cd0	at scsibus0 slave ?
disk		cd1	at scsibus0 slave ?

device ed2 at isa? port 0x300 irq 10 iomem 0xcc000

device		npx0	at isa? port "IO_NPX" irq 13

pseudo-device	ether
pseudo-device	log
pseudo-device	loop
pseudo-device	pty	32
pseudo-device	sl	1
pseudo-device	speaker
pseudo-device	bpfilter 4
pseudo-device	vn		4

	Some processes, such as cc, gcc-2.6.0, XFree86-3.1 systems
cause panic occasionally and the kernel dies with following messages.

vm-fault(f86f4f00, 0, 1, 0) -> 1
fatal page fault in supervisor mode
trap type 6 code 0 eip f8122547 cs 8 eflags 10246 cr2 674 cpi 0
panic: trap
syncing disks.......

and rebooting.

	It happens under high load average, but NOT always.
So I can not fix when and what condition makes panic.

Thanks in advance.

Tatoku Ogaito		| Email:
Department of Physics	| Tel  : +81 6-850-5346 (dial in)
Osaka University  	| Fax  : +81 6-845-3562