Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 11:48:42 +0800 (CST)
From:      eddie@eagle.seed.net.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/24334: random kernel panic
Message-ID:  <200101150348.f0F3mgA12050@DARTH.seed.net.tw>

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

>Number:         24334
>Category:       kern
>Synopsis:       random kernel panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 14 19:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Eddie Wang
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Digital United Inc.
>Environment:
FreeBSD DARTH.seed.net.tw 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Jan 13 15:26:41
CST 2001     security@DARTH.seed.net.tw:/usr/src/sys/compile/DARTH  i386

It was build base on CTM:src-4.0398 source tree.
dmesg output:
-----------------------
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.2-STABLE #0: Sat Jan 13 15:26:41 CST 2001
    security@DARTH.seed.net.tw:/usr/src/sys/compile/DARTH
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 651481206 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (651.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268435456 (262144K bytes)
avail memory = 258383872 (252328K bytes)
Preloaded elf kernel "kernel" at 0xc02d0000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe400-0xe43f mem 0xeb900000-0xeb9fffff,0xeba11000-0xeba11fff irq 10 at device 17.0 on pci0
fxp0: Ethernet address 00:d0:b7:db:9c:ce
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xe800-0xe83f mem 0xeb800000-0xeb8fffff,0xeba10000-0xeba10fff irq 11 at device 18.0 on pci0
fxp1: Ethernet address 00:d0:b7:90:11:66
pci0: <SiS 6326 SVGA controller> at 19.0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
DUMMYNET initialized (000608)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 14594MB <ST315320A> [29651/16/63] at ata0-master UDMA33
acd0: CDROM <CD-540E> at ata1-master using UDMA33
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
-----------------------

>Description:
A series of reboots occurred to this machine. Sometimes the machine reset 
automatically without kernel coredump left over, sometimes it just frose.
We had changed a new computer and had changed ipfw to ipfilter, but it
didn't work.
This is one of those coredumps which was saved after authomatic reboot.
It runs ipfw and natd as a firewall.
-----------------------
DARTH:/var/crash# gdb -k kernel.4 vmcore.4
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"...
(no debugging symbols found)...
IdlePTD 3076096
initial pcb at 268340
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xa5c01900
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc015199c
stack pointer           = 0x10:0xc024b438
frame pointer           = 0x10:0xc024b444
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         = Idle
interrupt mask          = net
trap number             = 12
panic: page fault

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01cd5a0
stack pointer           = 0x10:0xc024b268
frame pointer           = 0x10:0xc024b26c
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         = Idle
interrupt mask          = net bio cam
trap number             = 12
panic: page fault
Uptime: 1m24s

dumping to dev #ad/0x20001, offset 691857
dump ata0: resetting devices .. done
256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237
236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217
216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197
196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177
176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157
156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137
136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117
116 115 114 113 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 4
2 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  0xc01324d6 in dumpsys ()
(kgdb) bt
#0  0xc01324d6 in dumpsys ()
#1  0xc01322f7 in boot ()
#2  0xc0132674 in poweroff_wait ()
#3  0xc0216f55 in trap_fatal ()
#4  0xc0216c2d in trap_pfault ()
#5  0xc0216813 in trap ()
#6  0xc01cd5a0 in acquire_lock ()
#7  0xc01d1354 in softdep_update_inodeblock ()
#8  0xc01cc87d in ffs_update ()
#9  0xc01d45e0 in ffs_sync ()
#10 0xc016045b in sync ()
#11 0xc01320ca in boot ()
#12 0xc0132674 in poweroff_wait ()
#13 0xc0216f55 in trap_fatal ()
#14 0xc0216c2d in trap_pfault ()
#15 0xc0216813 in trap ()
#16 0xc015199c in sbappendaddr ()
#17 0xc017c47d in divert_packet ()
#18 0xc0182e84 in ip_input ()
#19 0xc0182f3b in ipintr ()
(kgdb)
-----------------------

kernel config file:
-----------------------
machine		i386
cpu		I686_CPU
ident		DARTH
maxusers	128

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev


device		isa
device		pci

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

# ATA and ATAPI devices
#device		ata0	at isa? port IO_WD1 irq 14
#device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# PCI Ethernet NICs.
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device   vn
pseudo-device   snp	4

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options 	IPFIREWALL_FORWARD	#enable transparent proxy support
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
options 	IPDIVERT		#divert sockets

options 	IPSTEALTH		#support for stealth forwarding
options 	TCPDEBUG
options 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
options 	TCP_RESTRICT_RST	#restrict emission of TCP RST
options 	DUMMYNET
-----------------------

>How-To-Repeat:

>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?200101150348.f0F3mgA12050>