From owner-freebsd-stable Mon Dec 9 1:21:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B0737B401 for ; Mon, 9 Dec 2002 01:21:13 -0800 (PST) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7739143EFF for ; Mon, 9 Dec 2002 01:21:11 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.11.6/8.11.6) with ESMTP id gB99L4q18259 for ; Mon, 9 Dec 2002 10:21:04 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.11.6/8.11.6) with ESMTP id gB99L4327499 for ; Mon, 9 Dec 2002 10:21:04 +0100 (MET) Received: (from localhost) by curry.mchp.siemens.de (8.12.6/8.12.6) id gB99L3UY019713; Date: Mon, 9 Dec 2002 10:21:03 +0100 From: Andre Albsmeier To: freebsd-stable@FreeBSD.ORG Cc: Andre.Albsmeier@mchp.siemens.de Subject: panic: page fault on 4.7-STABLE Message-ID: <20021209102103.A43135@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5.1i X-Echelon: 15kg, smuggle, FBI, strike, SEMTEX Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This happened on my server two nights ago (solid machine: Asus P3B-F board, not overclocked, Kingston ECC RAM, Adaptec SCSI controllers, Enermax 430W Power Supply): The box was building a giant tar file on a temporary holding disk so it can be dumped onto the attached DLT-8000 drive (like it does it every night). Today I discovered that it had crashed during this process. Last night everything went well again (as it did for the last years as well :-). root@server:/var/crash>gdb -k /usr/obj/src/src-4/sys/server/kernel.debug vm= core.14 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 condition= s. 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 cal= led at /src/src-4/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxr= ead.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /src/src-4/gnu/usr.bin/binutils/gdb/../../../= ../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x0030e000 initial pcb at physical address 0x0028bf20 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x4c fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0211a50 stack pointer =3D 0x10:0xd6c62c8c frame pointer =3D 0x10:0xd6c62c94 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 14414 (gtar) interrupt mask =3D bio=20 trap number =3D 12 panic: page fault syncing disks... 49 28 27 26 26 26 26 26 26 26 27 25 25 25 25 25 25 25 28 2= 5 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25=20 giving up on 17 buffers Uptime: 7d12h50m6s dumping to dev #da/9, offset 276584 dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 49= 4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4= 75 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 41= 9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4= 00 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 34= 4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3= 25 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 26= 9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2= 50 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 19= 4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1= 75 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 11= 9 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 1= 00 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=20 --- #0 dumpsys () at /src/src-4/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) where #0 dumpsys () at /src/src-4/sys/kern/kern_shutdown.c:487 #1 0xc016242b in boot (howto=3D256) at /src/src-4/sys/kern/kern_shutdown.c= :316 #2 0xc0162850 in poweroff_wait (junk=3D0xc026566c, howto=3D-1071230577) at= /src/src-4/sys/kern/kern_shutdown.c:595 #3 0xc02351c6 in trap_fatal (frame=3D0xd6c62c4c, eva=3D76) at /src/src-4/s= ys/i386/i386/trap.c:974 #4 0xc0234e99 in trap_pfault (frame=3D0xd6c62c4c, usermode=3D0, eva=3D76) = at /src/src-4/sys/i386/i386/trap.c:867 #5 0xc0234a83 in trap (frame=3D{tf_fs =3D 92012560, tf_es =3D 16, tf_ds = =3D -691666928, tf_edi =3D -855842988, tf_esi =3D 3255426, tf_ebp =3D -6916= 55532, tf_isp =3D -691655560, tf_ebx =3D -697071168, tf_edx =3D 56,=20 tf_ecx =3D 1605556592, tf_eax =3D 25783, tf_trapno =3D 12, tf_err =3D= 0, tf_eip =3D -1071572400, tf_cs =3D 8, tf_eflags =3D 66050, tf_esp =3D -1= 062613128, tf_ss =3D 3255426}) at /src/src-4/sys/i386/i386/trap.c:466 #6 0xc0211a50 in vm_page_lookup (object=3D0xd67389c0, pindex=3D3255426) at= /src/src-4/sys/vm/vm_page.c:514 #7 0xc0189f02 in allocbuf (bp=3D0xccfcdf54, size=3D16384) at /src/src-4/sy= s/kern/vfs_bio.c:2510 #8 0xc0189af6 in getblk (vp=3D0xd6d04a40, blkno=3D813856, size=3D16384, sl= pflag=3D0, slptimeo=3D0) at /src/src-4/sys/kern/vfs_bio.c:2292 #9 0xc01f61d2 in ffs_balloc (ap=3D0xd6c62e2c) at /src/src-4/sys/ufs/ffs/ff= s_balloc.c:303 #10 0xc01ff6f1 in ffs_write (ap=3D0xd6c62e64) at vnode_if.h:1056 #11 0xc0197162 in vn_write (fp=3D0xc4897900, uio=3D0xd6c62ed4, cred=3D0xc33= eba80, flags=3D0, p=3D0xd6c59c60) at vnode_if.h:363 #12 0xc0171485 in dofilewrite (p=3D0xd6c59c60, fp=3D0xc4897900, fd=3D3, buf= =3D0x806e400, nbyte=3D10240, offset=3D-1, flags=3D0) at /src/src-4/sys/sys/= file.h:163 #13 0xc017133e in write (p=3D0xd6c59c60, uap=3D0xd6c62f80) at /src/src-4/sy= s/kern/sys_generic.c:329 #14 0xc0235475 in syscall2 (frame=3D{tf_fs =3D -1078001617, tf_es =3D -6916= 66897, tf_ds =3D 47, tf_edi =3D 0, tf_esi =3D 134669312, tf_ebp =3D -107793= 9692, tf_isp =3D -691654700, tf_ebx =3D 10240, tf_edx =3D 134679552,=20 tf_ecx =3D 0, tf_eax =3D 4, tf_trapno =3D 22, tf_err =3D 2, tf_eip = =3D 537907000, tf_cs =3D 31, tf_eflags =3D 659, tf_esp =3D -1077939736, tf_= ss =3D 47}) at /src/src-4/sys/i386/i386/trap.c:1175 #15 0xc02295d5 in Xint0x80_syscall () #16 0x8049fdb in ?? () #17 0x804b0d1 in ?? () #18 0x804bc8d in ?? () #19 0x8049ddd in ?? () #20 0x804e0fa in ?? () #21 0x804f4a6 in ?? () #22 0x804f001 in ?? () #23 0x804f001 in ?? () #24 0x804f001 in ?? () #25 0x804f001 in ?? () #26 0x804f001 in ?? () #27 0x804f001 in ?? () #28 0x804f001 in ?? () #29 0x804f001 in ?? () #30 0x804ea3d in ?? () #31 0x8058fc9 in ?? () #32 0x8049b51 in ?? () (kgdb)=20 If anyone wants me to examine certain data: tell me, I'll keep the core file for a while. Ah, here is the dmesg in case it helps: Copyright (c) 1992-2002 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.7-STABLE #0: Fri Nov 29 09:43:46 CET 2002 root@bali.ofw.tld:/src/obj-4/src/src-4/sys/server Timecounter "i8254" frequency 1193189 Hz Timecounter "TSC" frequency 1029990375 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1000.07-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 Features=3D0x383f9ff real memory =3D 536788992 (524208K bytes) avail memory =3D 519434240 (507260K bytes) Preloaded elf kernel "kernel" at 0xc02ef000. ccd0-2: Concatenated disk drivers Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00f0e80 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 pci0: at 4.1 pci0: at 4.2 intpm0: port 0xe800-0xe80f irq = 9 at device 4.3 on pci0 intpm0: I/O mapped e800 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped e400=20 ahc0: port 0xd000-0xd0ff mem 0xdf0000= 00-0xdf000fff irq 15 at device 9.0 on pci0 ahc0: Bugs (0x0040): SCBCHAN_UPLOAD aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs ahc1: port 0xb800-0xb8ff mem 0xde8000= 00-0xde800fff irq 10 at device 11.0 on pci0 ahc1: Bugs (0x0040): SCBCHAN_UPLOAD aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs pcib2: at device 12.0 on pci0 pci2: on pcib2 fxp0: port 0xa800-0xa81f mem 0xde000000-0= xde0fffff,0xe3000000-0xe3000fff irq 11 at device 4.0 on pci2 fxp0: Ethernet address 00:90:27:d3:16:b7 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xa400-0xa41f mem 0xdd800000-0= xdd8fffff,0xe2800000-0xe2800fff irq 10 at device 5.0 on pci2 fxp1: Ethernet address 00:90:27:d3:16:b8 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc2: port 0x9800-0x98ff mem 0xdd0000= 00-0xdd000fff irq 15 at device 13.0 on pci0 ahc2: Bugs (0x0040): SCBCHAN_UPLOAD aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs ahc3: port 0x9400-0x94ff mem 0xdc8000= 00-0xdc800fff irq 12 at device 14.0 on pci0 ahc3: Bugs (0x0040): SCBCHAN_UPLOAD aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs orm0: