i386/80580: 4.11 router panic in lockmgr: locking against myself (coredump bt included)

Vadim Goncharov vadim_nuclight at mail.ru
Sun May 29 04:50:06 PDT 2005


The following reply was made to PR i386/80580; it has been noted by GNATS.

From: Vadim Goncharov <vadim_nuclight at mail.ru>
To: bug-followup at FreeBSD.org, vadim_nuclight at mail.ru
Cc:  
Subject: Re: i386/80580: 4.11 router panic in lockmgr: locking against myself (coredump bt included)
Date: Sun, 29 May 2005 18:41:31 +0700

 Hello bug-followup,
 
   Kernel panic repeated on the same machine. Nothing changed in
   configuration except source update and world rebuilt (on 9 May).
   It seems (from my inexperienced point of view) from new coredump
   backtrace that problem is not random but repeats under certain
   unclear circumstances. Here follows new coredump backtrace (both
   coredumps are still saved on my machine for possible contact).
 
 >=== backtrace begin ===
 router:crash# gdb -k /usr/obj/usr/src/sys/ROUTER/kernel.debug vmcore.1            0/p0 [18:26:34]
 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 physical address 0x00418000
 initial pcb at physical address 0x00361760
 panicstr: lockmgr: locking against myself
 panic messages:
 ---
 panic: lockmgr: locking against myself
 
 syncing disks... 8
 done
 Uptime: 20d9h37m21s
 
 dumping to dev #ad/0x20001, offset 1083016
 dump ata0: resetting devices .. done
 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 3
 ---
 #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  0xc017239f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc01727c4 in poweroff_wait (junk=0xc02fa660, howto=-1070122324)
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc016cbeb in lockmgr (lkp=0xc0373adc, flags=2, interlkp=0x0, p=0xde876d80)
     at /usr/src/sys/kern/kern_lock.c:337
 #4  0xc0298ee4 in vm_map_remove (map=0xc0373aac, start=3750952960, end=3767533568)
     at /usr/src/sys/vm/vm_map.c:2219
 #5  0xc0296a29 in kmem_free (map=0xc0373aac, addr=3750952960, size=16580608)
     at /usr/src/sys/vm/vm_kern.c:233
 #6  0xc02dec4c in vesa_unmap_buffer (vaddr=3750952960, size=16580608)
     at /usr/src/sys/i386/isa/vesa.c:807
 #7  0xc02df00a in vesa_set_mode (adp=0xc0379b20, mode=24) at /usr/src/sys/i386/isa/vesa.c:994
 #8  0xc02c2730 in set_mode (scp=0xc037b760) at /usr/src/sys/dev/syscons/syscons.c:3302
 #9  0xc02c0b62 in restore_scrn_saver_mode (scp=0xc037b760, changemode=1)
     at /usr/src/sys/dev/syscons/syscons.c:1999
 #10 0xc02c0974 in scsplash_saver (sc=0xc0381100, show=0)
     at /usr/src/sys/dev/syscons/syscons.c:1886
 #11 0xc02c0bcb in stop_scrn_saver (sc=0xc0381100, saver=0xc02c08bc <scsplash_saver>)
     at /usr/src/sys/dev/syscons/syscons.c:2017
 #12 0xc02c0422 in scrn_timer (arg=0xc0381100) at /usr/src/sys/dev/syscons/syscons.c:1658
 #13 0xc0178475 in softclock () at /usr/src/sys/kern/kern_timeout.c:131
 #14 0xc02c7b53 in doreti_swi ()
 #15 0xc02d225c in pmap_remove_pte (pmap=0xc03808e0, ptq=0xbff7a558, va=3734331392)
     at /usr/src/sys/i386/i386/pmap.c:1607
 #16 0xc02d2380 in pmap_remove (pmap=0xc03808e0, sva=3734331392, eva=3734347776)
     at /usr/src/sys/i386/i386/pmap.c:1714
 #17 0xc0298e17 in vm_map_delete (map=0xc0373aac, start=3734331392, end=3734347776)
     at /usr/src/sys/vm/vm_map.c:2173
 #18 0xc0298f0a in vm_map_remove (map=0xc0373aac, start=3734331392, end=3734347776)
     at /usr/src/sys/vm/vm_map.c:2221
 #19 0xc0296a29 in kmem_free (map=0xc0373aac, addr=3734331392, size=16384)
     at /usr/src/sys/vm/vm_kern.c:233
 ---Type <return> to continue, or q <return> to quit---
 #20 0xc0183a1c in pipe_free_kmem (cpipe=0xde6fc760) at /usr/src/sys/kern/sys_pipe.c:1167
 #21 0xc0183b92 in pipeclose (cpipe=0xde6fc760) at /usr/src/sys/kern/sys_pipe.c:1223
 #22 0xc01839e1 in pipe_close (fp=0xc2e0ab00, p=0xde876d80) at /usr/src/sys/kern/sys_pipe.c:1154
 #23 0xc0167e57 in fdrop (fp=0xc2e0ab00, p=0xde876d80) at /usr/src/sys/sys/file.h:218
 #24 0xc0167da0 in closef (fp=0xc2e0ab00, p=0xde876d80) at /usr/src/sys/kern/kern_descrip.c:1441
 #25 0xc0166ed7 in close (p=0xde876d80, uap=0xdeaabf80) at /usr/src/sys/kern/kern_descrip.c:623
 #26 0xc02d56c1 in syscall2 (frame={tf_fs = 134807599, tf_es = 134938671, tf_ds = -1078001617,
       tf_edi = 134961325, tf_esi = -1077938691, tf_ebp = -1077938576, tf_isp = -559235116,
       tf_ebx = 0, tf_edx = -1077938720, tf_ecx = 1, tf_eax = 6, tf_trapno = 7, tf_err = 2,
       tf_eip = 134833092, tf_cs = 31, tf_eflags = 643, tf_esp = -1077938812, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1175
 #27 0xc02c6735 in Xint0x80_syscall ()
 #28 0x804d3fb in ?? ()
 #29 0x804d176 in ?? ()
 #30 0x804b4fb in ?? ()
 #31 0x804ac40 in ?? ()
 #32 0x804ab9a in ?? ()
 #33 0x804aa7d in ?? ()
 #34 0x804acd1 in ?? ()
 #35 0x804abad in ?? ()
 #36 0x804ab9a in ?? ()
 #37 0x804ab9a in ?? ()
 #38 0x804ba39 in ?? ()
 #39 0x804ac40 in ?? ()
 #40 0x80526b6 in ?? ()
 #41 0x8052622 in ?? ()
 #42 0x804813e in ?? ()
 >=== coredump backtrace end ===
 
 -- 
 Best regards,
  Vadim Goncharov   ICQ UIN 166852181   mailto:vadim_nuclight at mail.ru
 


More information about the freebsd-i386 mailing list