Date: Fri, 24 May 2002 17:59:26 +0100 From: Ceri Davies <setantae@submonkey.net> To: hackers@FreeBSD.org Subject: Kernel panic on boot with 4.6-PRERELEASE Message-ID: <20020524165926.GA533@submonkey.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi all,
Earlier today I suffered a kernel panic while the system was coming back up
from "shutdown -r now".
This is an SMP system running 4.6-PRERELEASE from May 1st. Here's uname -a :
FreeBSD rhadamanth.private.submonkey.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Wed May 1 21:59:38 BST 2002 setantae@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386
Attached is the output from a script session of gdb; I tried following Michael
Lucas' hints from Big Scary Daemons, but it seems to have hit a bit of a dead
end.
Also attached is the output of dmesg.
Any further information can be provided if you give me instructions on how to
get it.
Thanks,
Ceri
--
get the cool shoe shine
[-- Attachment #2 --]
Script started on Fri May 24 17:50:16 2002
{[1m[4mroot[m@rhadamanth}-{/var/crash} # gdb -k ker
kernel.5 kernel.debug*
{[1m[4mroot[m@rhadamanth}-{/var/crash} # gdb -k kernel.debug vmcore.5
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"...
SMP 2 cpus
IdlePTD at phsyical address 0x0036e000
initial pcb at physical address 0x002d1aa0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 01000000
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x8:0x0
stack pointer = 0x10:0xd5c0ed98
frame pointer = 0x10:0xd5c0eda0
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 = 122 (mountd)
interrupt mask = bio <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 01000003; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
syncing disks...
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000004; cpuid = 1; lapic.id = 01000000
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x8:0x0
stack pointer = 0x10:0xd5c0eb0c
frame pointer = 0x10:0xd5c0eb3c
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 = 122 (mountd)
interrupt mask = bio <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 01000004; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
Uptime: 9s
dumping to dev #ad/0x30021, offset 128
dump ata2: resetting devices .. done
511 510 509 508 507 506 505 504 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 257 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) where
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1 0xc0159ec0 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2 0xc015a341 in panic (fmt=0xc028c5f9 "%s") at /usr/src/sys/kern/kern_shutdown.c:595
#3 0xc024ccba in trap_fatal (frame=0xd5c0eacc, eva=0) at /usr/src/sys/i386/i386/trap.c:966
#4 0xc024c90d in trap_pfault (frame=0xd5c0eacc, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:859
#5 0xc024c453 in trap (frame={tf_fs = -873201640, tf_es = 16, tf_ds = -708837360, tf_edi = -1047104000, tf_esi = 1,
tf_ebp = -708777156, tf_isp = -708777224, tf_ebx = -873146864, tf_edx = -1048536320, tf_ecx = 38, tf_eax = 0,
tf_trapno = 12, tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66067, tf_esp = -1071779575, tf_ss = -708777184})
at /usr/src/sys/i386/i386/trap.c:458
#6 0x0 in ?? ()
(kgdb) q
{[1m[4mroot[m@rhadamanth}-{/var/crash} # ^Dexit
Script done on Fri May 24 17:52:36 2002
[-- Attachment #3 --]
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.6-PRERELEASE #0: Wed May 1 21:59:38 BST 2002
setantae@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (863.68-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 536805376 (524224K bytes)
avail memory = 519118848 (506952K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc034f000.
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00f7220
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 18 -> irq 16
IOAPIC #0 intpin 16 -> irq 17
IOAPIC #0 intpin 17 -> irq 18
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 17
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb800-0xb81f irq 2 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Hewlett-Packard DeskJet 940C, rev 1.10/1.00, addr 2, iclass 7/1
uhci1: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 2 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4
atapci1: <Promise TX2 ATA100 controller> port 0xcc00-0xcc0f,0xd000-0xd003,0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07 mem 0xdfffc000-0xdfffffff irq 16 at device 10.0 on pci0
ata2: at 0xdc00 on atapci1
ata3: at 0xd400 on atapci1
pcm0: <AudioPCI ES1370> port 0xc000-0xc03f irq 2 at device 11.0 on pci0
ed0: <NE2000 PCI Ethernet (NetVin 5000)> port 0xc400-0xc41f irq 17 at device 12.0 on pci0
ed0: address 00:40:95:44:3f:bc, type NE2000 (16 bit)
dc0: <Macronix 98715AEC-C 10/100BaseTX> port 0xc800-0xc8ff mem 0xdfffbf00-0xdfffbfff irq 18 at device 13.0 on pci0
dc0: Ethernet address: 00:50:bf:76:2a:98
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc0000-0xcc7ff,0xcc800-0xcffff on isa0
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
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
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (011031)
SMP: AP CPU #1 Launched!
ad4: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata2-master UDMA100
ad6: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata3-master UDMA100
acd0: CDROM <TOSHIBA CD-ROM XM-6202B> at ata0-slave PIO4
acd1: CD-RW <CREATIVE CD-RW RW1210E> at ata1-slave PIO4
Mounting root from ufs:/dev/ad4s2a
WARNING: / was not properly dismounted
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020524165926.GA533>
