Skip site navigation (1)Skip section navigation (2)
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

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


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

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=typescript
Content-Transfer-Encoding: quoted-printable

Script started on Fri May 24 17:50:16 2002
{=1B[1m=1B[4mroot=1B[m@rhadamanth}-{/var/crash} # gdb -k ker=07=0D=0D
kernel.5      kernel.debug* =0D=0D
{=1B[1m=1B[4mroot=1B[m@rhadamanth}-{/var/crash} # gdb -k kernel.debug vmcor=
e.5 =0D=0D
GNU gdb 4.18=0D
Copyright 1998 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-unknown-freebsd"...=0D
SMP 2 cpus=0D
IdlePTD at phsyical address 0x0036e000=0D
initial pcb at physical address 0x002d1aa0=0D
panicstr: page fault=0D
panic messages:=0D
---=0D
Fatal trap 12: page fault while in kernel mode=0D
mp_lock =3D 01000003; cpuid =3D 1; lapic.id =3D 01000000=0D
fault virtual address	=3D 0x0=0D
fault code		=3D supervisor read, page not present=0D
instruction pointer	=3D 0x8:0x0=0D
stack pointer	        =3D 0x10:0xd5c0ed98=0D
frame pointer	        =3D 0x10:0xd5c0eda0=0D
code segment		=3D base 0x0, limit 0xfffff, type 0x1b=0D
			=3D DPL 0, pres 1, def32 1, gran 1=0D
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0=0D
current process		=3D 122 (mountd)=0D
interrupt mask		=3D bio  <- SMP: XXX=0D
trap number		=3D 12=0D
panic: page fault=0D
mp_lock =3D 01000003; cpuid =3D 1; lapic.id =3D 01000000=0D
boot() called on cpu#1=0D
=0D
syncing disks... =0D
=0D
Fatal trap 12: page fault while in kernel mode=0D
mp_lock =3D 01000004; cpuid =3D 1; lapic.id =3D 01000000=0D
fault virtual address	=3D 0x0=0D
fault code		=3D supervisor read, page not present=0D
instruction pointer	=3D 0x8:0x0=0D
stack pointer	        =3D 0x10:0xd5c0eb0c=0D
frame pointer	        =3D 0x10:0xd5c0eb3c=0D
code segment		=3D base 0x0, limit 0xfffff, type 0x1b=0D
			=3D DPL 0, pres 1, def32 1, gran 1=0D
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0=0D
current process		=3D 122 (mountd)=0D
interrupt mask		=3D bio  <- SMP: XXX=0D
trap number		=3D 12=0D
panic: page fault=0D
mp_lock =3D 01000004; cpuid =3D 1; lapic.id =3D 01000000=0D
boot() called on cpu#1=0D
Uptime: 9s=0D
=0D
dumping to dev #ad/0x30021, offset 128=0D
dump ata2: resetting devices .. done=0D
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 47=
4 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 4=
55 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 39=
9 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 3=
80 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 32=
4 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 3=
05 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 24=
9 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 2=
30 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 17=
4 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 1=
55 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 =0D
---=0D
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487=0D
487		if (dumping++) {=0D
(kgdb) where=0D
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487=0D
#1  0xc0159ec0 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
16=0D
#2  0xc015a341 in panic (fmt=3D0xc028c5f9 "%s") at /usr/src/sys/kern/kern_s=
hutdown.c:595=0D
#3  0xc024ccba in trap_fatal (frame=3D0xd5c0eacc, eva=3D0) at /usr/src/sys/=
i386/i386/trap.c:966=0D
#4  0xc024c90d in trap_pfault (frame=3D0xd5c0eacc, usermode=3D0, eva=3D0) a=
t /usr/src/sys/i386/i386/trap.c:859=0D
#5  0xc024c453 in trap (frame=3D{tf_fs =3D -873201640, tf_es =3D 16, tf_ds =
=3D -708837360, tf_edi =3D -1047104000, tf_esi =3D 1, =0D
      tf_ebp =3D -708777156, tf_isp =3D -708777224, tf_ebx =3D -873146864, =
tf_edx =3D -1048536320, tf_ecx =3D 38, tf_eax =3D 0, =0D
      tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D 0, tf_cs =3D 8, tf_eflags =
=3D 66067, tf_esp =3D -1071779575, tf_ss =3D -708777184})=0D
    at /usr/src/sys/i386/i386/trap.c:458=0D
#6  0x0 in ?? ()=0D
(kgdb) q=0D
{=1B[1m=1B[4mroot=1B[m@rhadamanth}-{/var/crash} # ^D=08=08exit=0D

Script done on Fri May 24 17:52:36 2002

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.boot"

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

--uAKRQypu60I7Lcqm--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020524165926.GA533>