Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 11:37:02 -0600 (CST)
From:      Larry Rosenman <ler@lerctr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/46100: Random panic.
Message-ID:  <200212081737.gB8Hb2pU027758@lerlaptop.lerctr.org>

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

>Number:         46100
>Category:       i386
>Synopsis:       Random panic.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 08 09:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Larry Rosenman
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD lerlaptop.lerctr.org 4.7-STABLE FreeBSD 4.7-STABLE #25: Fri Dec 6 21:06:38 CST 2002 ler@lerlaptop.lerctr.org:/usr/obj/usr/src/sys/LERLAPTOP i386


Kernel config:

    #
    #
    # For more information on this file, please read the handbook section on
    # Kernel Configuration Files:
    #
    #    http://www.FreeBSD.org/handbook/kernelconfig-config.html
    #
    # The handbook is also available locally in /usr/share/doc/handbook
    # if you've installed the doc distribution, otherwise always see the
    # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
    # latest information.
    #
    # An exhaustive list of options and more detailed explanations of the
    # device lines is also present in the ./LINT configuration file. If you are
    # in doubt as to the purpose or necessity of a line, check first in LINT.
    #
    machine		i386
    cpu		I686_CPU
    ident		LERLAPTOP
    maxusers	0
    
    makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
    
    options 	INET			#InterNETworking
    options 	INET6			#IPv6 communications protocols
    options 	IPSEC			#IP security
    options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
    #options 	IPSEC_DEBUG		#debug for IP security
    options 	FFS			#Berkeley Fast Filesystem
    options 	FFS_ROOT		#FFS usable as root device [keep this!]
    options 	SOFTUPDATES		#Enable FFS soft updates support
    options 	UFS_DIRHASH		#Improve performance on big directories
    options 	PROCFS			#Process filesystem
    options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
    options 	SCSI_DELAY=5000	#Delay (in ms) before probing SCSI
    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
    options		PNPBIOS
    options		PERFMON
    # CPU_ENABLE_SSE enables SSE/MMX2 instructions support.
    options 	CPU_ENABLE_SSE
    
    
    device		isa
    device		pci
    
    # Floppy drives
    device		fdc0	at isa? port IO_FD1 irq 6 drq 2
    device		fd0	at fdc0 drive 0
    #
    
    # 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
    device		atapifd			# ATAPI floppy drives
    device		atapist			# ATAPI tape drives
    device		atapicam
    options 	ATA_STATIC_ID		#Static device numbering
    
    # SCSI peripherals
    device		scbus		# SCSI bus (required)
    device		da		# Direct Access (disks)
    device		sa		# Sequential Access (tape etc)
    device		cd		# CD
    device		pass		# Passthrough device (direct SCSI access)
    
    
    # atkbdc0 controls both the keyboard and the PS/2 mouse
    device		atkbdc0	at isa? port IO_KBD
    device		atkbd0	at atkbdc? irq 1 flags 0x1
    device		psm0	at atkbdc? irq 12
    options 	PSM_HOOKRESUME		#hook the system resume event, useful
                                            #for some laptops
    options 	PSM_RESETAFTERSUSPEND	#reset the device at the resume event
    
    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
    
    # Power management support (see LINT for more options)
    ########################################vvvv was 0x20
    device		apm0    at nexus? flags 0x00 # Advanced Power Management
    
    # PCCARD (PCMCIA) support
    device		card
    device		pcic0	at isa? irq 0 port 0x3e0 iomem 0xd0000
    device		pcic1	at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
    
    # Serial (COM) ports
    device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
    
    # Parallel port
    device		ppc0	at isa? irq 7
    device		ppbus		# Parallel port bus (required)
    device		lpt		# Printer
    #device		plip		# TCP/IP over parallel
    #device		ppi		# Parallel port interface device
    #device		vpo		# Requires scbus and da
    
    
    # PCI Ethernet NICs.
    device		miibus		# MII bus support
    device		rl		# RealTek 8129/8139
    
    # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
    # exists only as a PCMCIA device, so there is no ISA attachment needed
    # and resources will always be dynamically assigned by the pccard code.
    device		wi
    
    # Pseudo devices - the number indicates how many units to allocate.
    pseudo-device	loop		# Network loopback
    pseudo-device	ether		# Ethernet support
    #pseudo-device	sl	1	# Kernel SLIP
    #pseudo-device	ppp	1	# Kernel PPP
    pseudo-device	tun		# Packet tunnel.
    pseudo-device	pty		# Pseudo-ttys (telnet etc)
    pseudo-device	gif		# IPv6 and IPv4 tunneling
    pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
    
    # The `bpf' pseudo-device enables the Berkeley Packet Filter.
    # Be aware of the administrative consequences of enabling this!
    pseudo-device	bpf		#Berkeley packet filter
    
    # USB support
    device		uhci		# UHCI PCI->USB interface
    device		ohci		# UHCI PCI->USB interface
    device		usb		# USB Bus (required)
    device		ugen		# Generic
    device		uhid		# "Human Interface Devices"
    device		ukbd		# Keyboard
    device		ulpt		# Printer
    device		ucom		# Printer
    device		uvisor		# Printer
    #device		umass		# Disks/Mass storage - Requires scbus and da
    #device		ums		# Mouse
    #device		uscanner	# Scanners
    #device		urio		# Diamond Rio MP3 Player
    options		USB_DEBUG	# usb debugging sysctl's
    # USB com devices
    #device		ucom
    #device		uplcom
    #device		uvscom
    #device		uvisor
    
    # USB Ethernet, requires mii
    device		aue		# ADMtek USB ethernet
    device		cue		# CATC USB ethernet
    device		kue		# Kawasaki LSI USB ethernet
    #####LER
    device		pcm		# sound?
    device		smbus
    device		iicbus
    device		iicbb
    device		intpm
    device		ichsmb
    device		smb
    device		iic
    device		ic
    device		pca
    device		firewire
    device		sbp
    device		fwe
    pseudo-device	speaker
    options		MAXDSIZ="(1024*1024*1024)"
    options		MAXSSIZ="(256*1024*1024)"
    options		SC_PIXEL_MODE
>Description:
	I have been experiencing random page not present panics for 
a while.  Here is one backtrace (I have the vmcore available, and can 
put up for FTP). 


    Script started on Sun Dec  8 11:31:43 2002
    lerlaptop# gdb -k kernel.debug.6 vmcore.6
    GNU gdb 4.18 (FreeBSD)
    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"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
    Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
    
    IdlePTD at phsyical address 0x00427000
    initial pcb at physical address 0x003576e0
    panicstr: page fault
    panic messages:
    ---
    Fatal trap 12: page fault while in kernel mode
    fault virtual address	= 0xffffff
    fault code		= supervisor read, page not present
    instruction pointer	= 0x8:0xc0182af7
    stack pointer	        = 0x10:0xdee7fb50
    frame pointer	        = 0x10:0xdee7fb5c
    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		= 3192 (killall)
    interrupt mask		= none
    trap number		= 12
    panic: page fault
    
    syncing disks... 36 8 3 
    done
    Uptime: 6h15m47s
    
    dumping to dev #ad/0x20001, offset 1065984
    dump ata0: resetting devices .. done
    503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 419 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 400 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 2!
 57 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 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 
    ---
    #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
    487		if (dumping++) {
    (kgdb) bt
    #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
    #1  0xc0185ce7 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
    #2  0xc018610c in poweroff_wait (junk=0xc030ad2c, howto=-1070553009)
        at /usr/src/sys/kern/kern_shutdown.c:595
    #3  0xc02aca5e in trap_fatal (frame=0xdee7fb10, eva=16777215)
        at /usr/src/sys/i386/i386/trap.c:974
    #4  0xc02ac731 in trap_pfault (frame=0xdee7fb10, usermode=0, eva=16777215)
        at /usr/src/sys/i386/i386/trap.c:867
    #5  0xc02ac31b in trap (frame={tf_fs = -555286512, tf_es = -1071448048, 
          tf_ds = -554762224, tf_edi = -555222036, tf_esi = 16777215, 
          tf_ebp = -555222180, tf_isp = -555222212, tf_ebx = -555222152, 
          tf_edx = -731243840, tf_ecx = 11, tf_eax = -731243840, tf_trapno = 12, 
          tf_err = 0, tf_eip = -1072157961, tf_cs = 8, tf_eflags = 66054, 
          tf_esp = -555221392, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466
    #6  0xc0182af7 in fill_eproc (p=0xd46a1ac0, ep=0xdee7fb78)
        at /usr/src/sys/kern/kern_proc.c:368
    #7  0xc0182caa in sysctl_out_proc (p=0xd46a1ac0, req=0xdee7fe70, doingzomb=0)
        at /usr/src/sys/kern/kern_proc.c:425
    #8  0xc0182eaa in sysctl_kern_proc (oidp=0xc031e040, arg1=0x0, arg2=0, 
        req=0xdee7fe70) at /usr/src/sys/kern/kern_proc.c:526
    #9  0xc018ab44 in sysctl_root (oidp=0x0, arg1=0xdee7fef8, arg2=3, 
        req=0xdee7fe70) at /usr/src/sys/kern/kern_sysctl.c:1063
    #10 0xc018ace9 in userland_sysctl (p=0xd469e380, name=0xdee7fef8, namelen=3, 
    ---Type <return> to continue, or q <return> to quit---
        old=0x0, oldlenp=0xbfbffbd4, inkernel=0, new=0x0, newlen=0, 
        retval=0xdee7fef4) at /usr/src/sys/kern/kern_sysctl.c:1156
    #11 0xc018aba8 in __sysctl (p=0xd469e380, uap=0xdee7ff80)
        at /usr/src/sys/kern/kern_sysctl.c:1092
    #12 0xc02acd0d in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
          tf_edi = 3, tf_esi = -1077937188, tf_ebp = -1077937344, 
          tf_isp = -555221036, tf_ebx = 1208926188, tf_edx = 0, tf_ecx = 0, 
          tf_eax = 202, tf_trapno = 12, tf_err = 2, tf_eip = 1208607000, 
          tf_cs = 31, tf_eflags = 659, tf_esp = -1077937404, tf_ss = 47})
        at /usr/src/sys/i386/i386/trap.c:1175
    #13 0xc02a0685 in Xint0x80_syscall ()
    #14 0x80491e8 in ?? ()
    #15 0x8048a92 in ?? ()
    (kgdb) lerlaptop# 
    
    Script done on Sun Dec  8 11:32:16 2002
>How-To-Repeat:
It's random, unfortunately. 
>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?200212081737.gB8Hb2pU027758>