From owner-freebsd-stable@FreeBSD.ORG Tue Apr 10 07:20:05 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99D1416A401 for ; Tue, 10 Apr 2007 07:20:05 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.freebsd.org (Postfix) with ESMTP id C636113C44C for ; Tue, 10 Apr 2007 07:20:01 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.8) with ESMTP id l3A6h0uM092898 for ; Tue, 10 Apr 2007 10:43:00 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Tue, 10 Apr 2007 10:43:00 +0400 (MSD) From: Maxim Konovalov To: stable@freebsd.org Message-ID: <20070410103918.N81063@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT Cc: Subject: panic: spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 07:20:05 -0000 Hi, A week old -stable panic trace inlined below. The kernel config file is SMP + KDB/DDB options. Any help to debug futher is appreciated. Unread portion of the kernel message buffer: spin lock smp rendezvous held by 0xca78ed80 for > 5 seconds panic: spin lock held too long cpuid = 2 Uptime: 14h25m47s Dumping 3967 MB (3 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 3966MB (1015280 pages) 3950 3934 3918 3902 3886 3870 3854 3838 3822 3806 3790 3774 3758 3742 3726 3710 3694 3678 3662 3646 3630 3614 3598 3582 3566 3550 3534 3518 3502 3486 3470 3454 3438 3422 3406 3390 3374 3358 3342 3326 3310 3294 3278 3262 3246 3230 3214 3198 3182 3166 3150 3134 3118 3102 3086 3070 3054 3038 3022 3006 2990 2974 2958 2942 2926 2910 2894 2878 2862 2846 2830 2814 2798 2782 2766 2750 2734 2718 2702 2686 2670 2654 2638 2622 2606 2590 2574 2558 2542 2526 2510 2494 2478 2462 2446 2430 2414 2398 2382 2366 2350 2334 2318 2302 2286 2270 2254 2238 2222 2206 2190 2174 2158 2142 2126 2110 2094 2078 2062 2046 2030 2014 1998 1982 1966 1950 1934 1918 1902 1886 1870 1854 1838 1822 1806 1790 1774 1758 1742 1726 1710 1694 1678 1662 1646 1630 1614 1598 1582 1566 1550 1534 1518 1502 1486 1470 1454 1438 1422 1406 1390 1374 1358 1342 1326 1310 1294 1278 1262 1246 1230 1214 1198 1182 1166 1150 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974 958 942 926 910 894 87! 8 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 ... ok chunk 2: 1MB (128 pages) #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h gdb% bt full #0 doadump () at pcpu.h:165 No locals. #1 0xc0695bca in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 first_buf_printf = 1 #2 0xc0695f21 in panic (fmt=0xc093434c "spin lock held too long") at /usr/src/sys/kern/kern_shutdown.c:565 td = (struct thread *) 0xcaabdd80 bootopt = 260 newpanic = 1 ap = 0xcaabdd80 "\030¢ùÏ ýxÊ" buf = "spin lock held too long", '\0' #3 0xc068ceb5 in _mtx_lock_spin (m=0xc0a1c840, tid=3400260992, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:633 i = 60000000 #4 0xc08ab8d2 in smp_tlb_shootdown (vector=244, addr1=0, addr2=0) at /usr/src/sys/i386/i386/mp_machdep.c:1016 _tid = 3400260992 ncpu = 3 __func__ = "smp_tlb_shootdown" #5 0xc08abb13 in smp_invlpg (addr=3880742912) at /usr/src/sys/i386/i386/mp_machdep.c:1083 No locals. #6 0xc08ae8ea in pmap_invalidate_page (pmap=0x0, va=3880742912) at /usr/src/sys/i386/i386/pmap.c:536 other_cpus = 0 #7 0xc08afd46 in pmap_remove_pte (pmap=0xc0a51d80, ptq=0x0, va=3880742912) at /usr/src/sys/i386/i386/pmap.c:1519 oldpte = 686364003 m = 0xbff9d3dc #8 0xc08aff38 in pmap_remove (pmap=0xc0a51d80, sva=3880742912, eva=3881013248) at /usr/src/sys/i386/i386/pmap.c:1639 pdirindex = 0 pdnxt = 3881013248 ptpaddr = 0 ---Type to continue, or q to quit--- pte = (pt_entry_t *) 0xbff9d3dc anyvalid = 0 #9 0xc080e3ed in vm_map_delete (map=0xc14683c0, start=3242623936, end=3881013248) at /usr/src/sys/vm/vm_map.c:2363 next = 0xc14683c0 entry = 0xd0041088 first_entry = 0xd0041088 #10 0xc080bb66 in kmem_free_wakeup (map=0xc14683c0, addr=3880742912, size=0) at /usr/src/sys/vm/vm_kern.c:467 No locals. #11 0xc067b17a in exec_free_args (args=0xed9ddcb4) at /usr/src/sys/kern/kern_exec.c:1062 No locals. #12 0xc0679a81 in execve (td=0xcaabdd80, uap=0x0) at /usr/src/sys/kern/kern_exec.c:190 error = 0 args = { buf = 0xe74f7000
, begin_argv = 0xe74f7000
, begin_envv = 0xe74f701d
, endp = 0xe74f716b
, fname = 0xe7537000 "/usr/libexec/ftpd", stringspace = 261781, argc = 7, envc = 9 } #13 0xc08b4e0f in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 0, tf_esi = 0, tf_ebp = 0, tf_isp = 0, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 0, tf_trapno = 0, tf_err = 0, tf_eip = 671484728, tf_cs = 51, tf_eflags = 514, tf_esp = -1077940896, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:983 params = 0xbfbfdb60
callp = (struct sysent *) 0xc09a5fa4 td = (struct thread *) 0xcaabdd80 ---Type to continue, or q to quit--- p = (struct proc *) 0xcff9a218 orig_tf_eflags = 514 sticks = 0 error = 0 narg = 3 args = {134582464, 134627384, 134587136, 0, 0, 0, 0, -805723624} code = 59 #14 0xc089f0ef in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 No locals. #15 0x00000033 in ?? () No symbol table info available. gdb% Script done on Tue Apr 10 10:33:02 2007 -- Maxim Konovalov