From owner-freebsd-current@FreeBSD.ORG Sat May 23 08:41:25 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 232E6106566B; Sat, 23 May 2009 08:41:25 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id A8D458FC18; Sat, 23 May 2009 08:41:24 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n4N8fMcg051061 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 23 May 2009 10:41:23 +0200 (CEST) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <226F1AFF-45D8-4E4C-BE7F-D2EDC35EC8F6@lassitu.de> From: Stefan Bethke To: Attilio Rao In-Reply-To: <3bbf2fe10905221846q7fd1fe9cue744de61f9e12612@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sat, 23 May 2009 10:41:22 +0200 References: <746CE32B-BCF8-460A-982D-25341554E8FD@lassitu.de> <3bbf2fe10905221234k12c45932gb1e197143cd74b5d@mail.gmail.com> <20090522230333.X72053@maildrop.int.zabbadoz.net> <3bbf2fe10905221846q7fd1fe9cue744de61f9e12612@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) Cc: "Bjoern A. Zeeb" , FreeBSD Current Subject: Re: spinlock held too long on reboot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2009 08:41:25 -0000 I wrote: > Syncing disks, vnodes remaining...0 done > All buffers synced. > GEOM_MIRROR: Device diesel_root: provider mirror/diesel_root > destroyed. > Uptime: 6m32s > GEOM_MIRROR: Device diesel_root destroyed. > Rebooting... > cpu_reset: Stopping other CPUs > spin lock 0xffffffff8078c900 (sched lock 1) held by > 0xffffff00014d4ab0 (tid 100002) too long > panic: spin lock held too long > cpuid = 0 > KDB: enter: panic > [thread pid 77 tid 100090 ] > Stopped at kdb_enter+0x3d: movq $0,0x48bbd0(%rip) > db> bt > Tracing pid 77 tid 100090 td 0xffffff000457bab0 > kdb_enter() at kdb_enter+0x3d > panic() at panic+0x17b > _mtx_lock_spin_failed() at _mtx_lock_spin_failed+0x39 > _mtx_lock_spin() at _mtx_lock_spin+0x9e > _mtx_lock_spin_flags() at _mtx_lock_spin_flags+0x72 > sched_balance_group() at sched_balance_group+0xc5 > sched_balance_group() at sched_balance_group+0x1f8 > sched_balance() at sched_balance+0xa2 > sched_clock() at sched_clock+0xf6 > statclock() at statclock+0xbd > lapic_handle_timer() at lapic_handle_timer+0x197 > Xtimerint() at Xtimerint+0x8c > --- interrupt, rip = 0xffffffff80541cc4, rsp = 0xffffff80771dba90, > rbp = 0xffffff80771dbab0 --- > DELAY() at DELAY+0x64 > cpu_reset() at cpu_reset+0xdd > boot() at boot+0x2e6 > reboot() at reboot+0x42 > syscall() at syscall+0x1a5 > Xfast_syscall() at Xfast_syscall+0xd0 > --- syscall (55, FreeBSD ELF64, reboot), rip = 0x800788eec, rsp = > 0x7fffffffeca8, rbp = 0 --- I've only seen this once. If I should encounter it again, is there something you'd like me to look at? Stefan -- Stefan Bethke Fon +49 151 14070811