From owner-freebsd-current@FreeBSD.ORG Fri Feb 17 05:54:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBEC816A420 for ; Fri, 17 Feb 2006 05:54:59 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48E6243D46 for ; Fri, 17 Feb 2006 05:54:58 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp5-g19.free.fr (Postfix) with ESMTP id 21D3817F00 for ; Fri, 17 Feb 2006 06:54:57 +0100 (CET) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k1H5spuc030626 for ; Fri, 17 Feb 2006 06:54:56 +0100 (CET) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Fri, 17 Feb 2006 06:54:44 +0100 User-Agent: KMail/1.9.1 X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602170654.45364.thierry@herbelot.com> Subject: panic at reboot (spin lock held too long) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 05:55:00 -0000 Hello, on reboot after installing the new world, I get a familiar panic : (this is with a straight current -Current GENERIC kernel on an SMP oldish BP6) TfH cpu_reset: Stopping other CPUs spin lock sched lock held by 0xc16ec340 for > 5 seconds panic: spin lock held too long cpuid = 0 KDB: enter: panic [thread pid 19061 tid 100100 ] Stopped at kdb_enter+0x2b: nop db> where Tracing pid 19061 tid 100100 td 0xc19714e0 kdb_enter(c08878d2) at kdb_enter+0x2b panic(c0886b94,c09547b0,c16ec340,c0886b6b,c0886cc5) at panic+0x127 _mtx_lock_spin(c09547b0,c19714e0,2,c08834f6,cb) at _mtx_lock_spin+0xa8 _mtx_lock_spin_flags(c09547b0,2,c08834f6,cb) at _mtx_lock_spin_flags+0xaa hardclock_cpu(0,c09d4de0,0,c7656ba4,c080d121) at hardclock_cpu+0x25 hardclock(0,c081cf1e) at hardclock+0x13 lapic_handle_timer(8,28,c16b0028,c16ba00c,0) at lapic_handle_timer+0x71 Xtimerint() at Xtimerint+0x1e --- interrupt, eip = 0xc081cf1e, esp = 0xc7656bec, ebp = 0xc7656c10 --- DELAY(f4240) at DELAY+0x92 cpu_reset(f4240,c0887ab9,c7656c68,c0656e57,0) at cpu_reset+0xc8 shutdown_reset(0,0,c16ba00c,0,c08878f6) at shutdown_reset+0x1c boot(0,c09547c8,0,c08878f6,a2) at boot+0x55b reboot(c19714e0,c7656d04,c7656ccc,c065da4c,c19714e0) at reboot+0x32 syscall(3b,3b,3b,0,2) at syscall+0x27a Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (55, FreeBSD ELF32, reboot), eip = 0x280adf6f, esp = 0xbfbfedcc, ebp = 0xbfbfee18 --- db> sh locks exclusive sleep mutex Giant r = 0 (0xc09547c8) locked @ /files1/src/sys/kern/vfs_syscalls.c:124 db> ps pid proc uid ppid pgrp flag stat wmesg wchan cmd 19061 c1f0f448 0 1 19061 0004002 [CPU 0] reboot 41 c18a5ab4 0 0 0 0000204 [SLPQ - 0xc72cfd04][SLP] schedcpu 40 c18a5cd8 0 0 0 0000204 [SLPQ - 0xc09a8cac][SLP] nfsiod 3 39 c18a7000 0 0 0 0000204 [SLPQ - 0xc09a8ca8][SLP] nfsiod 2 38 c17adcd8 0 0 0 0000204 [SLPQ - 0xc09a8ca4][SLP] nfsiod 1 37 c182c000 0 0 0 0000204 [SLPQ - 0xc09a8ca0][SLP] nfsiod 0 36 c182c224 0 0 0 0000204 [SLPQ ktsusp 0xc182c2a8][SLP] vnlru 35 c182c448 0 0 0 0000204 [SLPQ ktsusp 0xc182c4cc][SLP] syncer 34 c182c66c 0 0 0 0000204 [SLPQ ktsusp 0xc182c6f0][SLP] bufdaemon 33 c182c890 0 0 0 000020c [SLPQ pgzero 0xc09b6bd0][SLP] pagezero 32 c182cab4 0 0 0 0000204 [SLPQ psleep 0xc09aeafc][SLP] vmdaemon 31 c182ccd8 0 0 0 0000204 [SLPQ psleep 0xc09aeabc][SLP] pagedaemon 30 c182f448 0 0 0 0000204 [IWAIT] irq5: pcm1 7 c170166c 0 0 0 0000204 [SLPQ - 0xc16d2c3c][SLP] fdc0 29 c1701890 0 0 0 0000204 [IWAIT] swi0: sio 28 c1701ab4 0 0 0 0000204 [IWAIT] irq7: ppc0 27 c1701cd8 0 0 0 0000204 [IWAIT] irq1: atkbd0 26 c17ad000 0 0 0 0000204 [IWAIT] irq17: atapci1 25 c17ad224 0 0 0 0000204 [IWAIT] irq18: pcm0++ 24 c17ad448 0 0 0 0000204 [SLPQ usbtsk 0xc09525a4][SLP] usbtask 23 c17ad66c 0 0 0 0000204 [SLPQ usbevt 0xc16be210][SLP] usb0 22 c17ad890 0 0 0 0000204 [IWAIT] irq19: dc0 uhci0 21 c17adab4 0 0 0 0000204 [IWAIT] irq15: ata1 20 c16f0224 0 0 0 0000204 [IWAIT] irq14: ata0 19 c16f0448 0 0 0 0000204 [IWAIT] swi2: cambio 18 c16f066c 0 0 0 0000204 [IWAIT] swi5: + 6 c16f0890 0 0 0 0000204 [SLPQ - 0xc179f500][SLP] thread taskq 17 c16f0ab4 0 0 0 0000204 [IWAIT] swi6: Giant taskq 16 c16f0cd8 0 0 0 0000204 [IWAIT] swi6: task queue 5 c1701000 0 0 0 0000204 [SLPQ - 0xc16ea580][SLP] kqueue taskq 15 c1701224 0 0 0 0000204 [SLPQ - 0xc0950200][SLP] yarrow 4 c1701448 0 0 0 0000204 [SLPQ - 0xc0952d1c][SLP] g_down 3 c16eb000 0 0 0 0000204 [SLPQ - 0xc0952d18][SLP] g_up 2 c16eb224 0 0 0 0000204 [RUNQ] g_event 14 c16eb448 0 0 0 0000204 [IWAIT] swi1: net 13 c16eb66c 0 0 0 0000204 [IWAIT] swi3: vm 12 c16eb890 0 0 0 000020c [LOCK Giant c1824c80] swi4: clock sio 11 c16ebab4 0 0 0 000020c [Can run] idle: cpu0 10 c16ebcd8 0 0 0 000020c [Can run] idle: cpu1 1 c16f0000 0 0 1 0004200 [CPU 1] init 0 c0952e20 0 0 0 0000200 [IWAIT] swapper 8 c182f224 0 1 0 0002204 zomb[INACTIVE] g_mirror gm0s1 db>