Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 13:38:29 -0700 (PDT)
From:      jamie@arpa.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/14547: FreeBSD 3.3 box repeated crashes
Message-ID:  <19991026203829.13DD314CC4@hub.freebsd.org>

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

>Number:         14547
>Category:       kern
>Synopsis:       FreeBSD 3.3 box repeated crashes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 26 13:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jamie Rishaw
>Release:        3.3-R
>Organization:
arpa
>Environment:
FreeBSD x.arpa.com 3.3-RELEASE FreeBSD 3.3-RELEASE #2: Thu Oct 21 14:31:18 PDT 1999     jamie@x.arpa.com:/usr/src/sys/compile/x  i386
>Description:
Repeated crash dumps on 3.3-R box.  I have captured two core/vm's.

Here is output from gdb and nm:


---------------------------------------------------------------------------
---------------------------------------------------------------------------
x# gdb -k kernel /var/crash/vmcore.0
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"...
IdlePTD 2891776
initial pcb at 242c68
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01d43b0
stack pointer           = 0x10:0xd4ddfa00
frame pointer           = 0x10:0xd4ddfa08
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         = 302 (httpd)
interrupt mask          =  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1

syncing disks... 

Fatal trap 12: page fault while in kernel mode
mp_lock = 01000004; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x10039
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01678a2
stack pointer           = 0x10:0xd4ddf8dc
frame pointer           = 0x10:0xd4ddf8f4
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         = 302 (httpd)
interrupt mask          =  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 01000004; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1

dumping to dev 20401, offset 0
dump 512 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  0xc014156b in boot ()
(kgdb) where
#0  0xc014156b in boot ()
#1  0xc0141839 in panic ()
#2  0xc0201af0 in trap_fatal ()
#3  0xc020176b in trap_pfault ()
#4  0xc02013ca in trap ()
#5  0xc01678a2 in vfs_msync ()
#6  0xc0168a6c in sync ()
#7  0xc01413b1 in boot ()
#8  0xc0141839 in panic ()
#9  0xc0201af0 in trap_fatal ()
#10 0xc020176b in trap_pfault ()
#11 0xc02013ca in trap ()
#12 0xc01d43b0 in vm_map_lookup_entry ()
#13 0xc01d6cbe in vm_map_lookup ()
#14 0xc01d25b7 in vm_fault ()
#15 0xc0201718 in trap_pfault ()
#16 0xc02013ca in trap ()
#17 0xc0210584 in skpc ()
#18 0xc01c3d14 in ffs_nodealloccg ()
#19 0xc01c2db8 in ffs_hashalloc ()
#20 0xc01c29d9 in ffs_valloc ()
#21 0xc01cffb2 in ufs_makeinode ()
#22 0xc01cd776 in ufs_create ()
#23 0xc01d017d in ufs_vnoperate ()
#24 0xc016c40b in vn_open ()
#25 0xc0142ce1 in coredump ()
#26 0xc0142a54 in sigexit ()
#27 0xc0142913 in postsig ()
#28 0xc0201e3c in syscall ()
#29 0xbfbfdfee in ?? ()
#30 0x80931c5 in ?? ()
#31 0x809394b in ?? ()
#32 0x804f875 in ?? ()

and nm: (from instruction pointer     = 0x8:0xc01678a2)

x# nm /kernel | grep c01d43 
c01d4348 t vm_map_entry_create
c01d431c t vm_map_entry_dispose
c01d43e0 T vm_map_insert
c01d4374 T vm_map_lookup_entry
x# nm /kernel | grep c01d4 
c01d4a9c t _vm_map_clip_end
c01d49d0 t _vm_map_clip_start
c01d40cc t gcc2_compiled.
c01d4058 T kmem_init
c01d4198 T vm_init2
c01d4294 T vm_map_create
c01d4348 t vm_map_entry_create
c01d431c t vm_map_entry_dispose
c01d4734 T vm_map_find
c01d4684 T vm_map_findspace
c01d42c8 T vm_map_init
c01d43e0 T vm_map_insert
c01d4374 T vm_map_lookup_entry
c01d4f40 T vm_map_madvise
c01d4c64 T vm_map_protect
c01d4840 T vm_map_simplify_entry
c01d40cc T vm_map_startup
c01d4b50 T vm_map_submap
c01d4140 T vmspace_alloc
c01d421c T vmspace_free

and nm: (from instruction pointer     = 0x8:0xc01678a2)

x# nm /kernel | grep c01678 
c0167808 T vfs_export_lookup
c016785c T vfs_msync
x# nm /kernel | grep c0167 
c0167f14 t gcc2_compiled.
c0167124 t lockedvnodes
c0167f14 T mount
c0167de8 t sync_fsync
c0167e78 t sync_inactive
c0167ed8 t sync_print
c0167e8c t sync_reclaim
c0167270 t sysctl_ovfs_conf
c0167b60 T vbusy
c0167a94 t vfree
c0167d0c T vfs_allocate_syncvnode
c0167624 T vfs_export
c0167808 T vfs_export_lookup
c01675d8 t vfs_free_addrlist
c01675b0 t vfs_free_netcred
c01673ec t vfs_hang_addrlist
c01672d4 T vfs_mountedon
c016785c T vfs_msync
c0167964 T vfs_object_create
c01676a4 T vfs_setpublicfs
c01671e4 t vfs_sysctl
c0167354 T vfs_unmountall
c0167c68 T vn_pollevent
c0167cc0 T vn_pollgone
c0167bf4 T vn_pollrecord
---------------------------------------------------------------------------
---------------------------------------------------------------------------

And a crash dump from yesterday:

x# gdb -k kernel /var/crash/vmcore.0
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"...
IdlePTD 2891776
initial pcb at 242c68
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 00000002; cpuid = 0; lapic.id = 01000000
fault virtual address   = 0x8046f720
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01da9d8
stack pointer           = 0x10:0xd4f6ce7c
frame pointer           = 0x10:0xd4f6ce80
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         = 31036 (bash)
interrupt mask          = net bio cam  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 00000002; cpuid = 0; lapic.id = 01000000
boot() called on cpu#0

syncing disks... 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 giving up

dumping to dev 20401, offset 0
dump 512 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 4
91 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 4
46 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 4
01 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 3
56 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 3
11 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 2
21 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 1
76 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 1
31 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  0xc014156b in boot ()

(kgdb) where
#0  0xc014156b in boot ()
#1  0xc0141839 in panic ()
#2  0xc0201af0 in trap_fatal ()
#3  0xc020176b in trap_pfault ()
#4  0xc02013ca in trap ()
#5  0xc01da9d8 in vm_page_remove ()
#6  0xc01daf7c in vm_page_alloc ()
#7  0xc01d285e in vm_fault ()
#8  0xc02016fe in trap_pfault ()
#9  0xc020124e in trap ()
#10 0x281392dc in ?? ()
#11 0x80709aa in ?? ()
#12 0x805cee2 in ?? ()
#13 0x805d80c in ?? ()
#14 0x8057e00 in ?? ()
#15 0x8057765 in ?? ()
#16 0x80552b4 in ?? ()
#17 0x8054b79 in ?? ()
#18 0x804d15f in ?? ()
#19 0x804bb34 in ?? ()
#20 0x804b4c5 in ?? ()


nm output --->  "instruction pointer     = 0x8:0xc01da9d8"

jamie@x.arpa.com /staff/jamie: nm /kernel | grep c01da9                       17:50
c01da948 T vm_page_remove
jamie@x.arpa.com /staff/jamie: nm /kernel | grep c01da                        17:50
c01da3bc t gcc2_compiled.
#14 0x8057e00 in ?? ()
#15 0x8057765 in ?? ()
#16 0x80552b4 in ?? ()
#17 0x8054b79 in ?? ()
#18 0x804d15f in ?? ()
#19 0x804bb34 in ?? ()
#20 0x804b4c5 in ?? ()


nm output --->  "instruction pointer     = 0x8:0xc01da9d8"

jamie@x.arpa.com /staff/jamie: nm /kernel | grep c01da9                       17:50
c01da948 T vm_page_remove
jamie@x.arpa.com /staff/jamie: nm /kernel | grep c01da                        17:50
c01da3bc t gcc2_compiled.
c01da0c0 t vm_object_check
c01da204 T vm_object_print
c01da21c t vm_object_print_pages
c01da124 t vm_object_print_static
c01dae18 T vm_page_alloc
c01da8b0 T vm_page_insert
c01dab94 T vm_page_list_find
c01daa1c T vm_page_lookup
c01da3bc t vm_page_queue_init
c01da948 T vm_page_remove
c01daa9c T vm_page_rename
c01dac24 T vm_page_select
c01dac40 t vm_page_select_cache
c01dac90 t vm_page_select_free
c01da554 T vm_page_startup
c01dab18 T vm_page_unqueue
c01daad0 T vm_page_unqueue_nowakeup
c01da4e4 T vm_set_page_size
>How-To-Repeat:
Don't know.
>Fix:
Don't know.


>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?19991026203829.13DD314CC4>