From owner-freebsd-stable@FreeBSD.ORG Tue Aug 4 21:45:13 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A06D10656F3; Tue, 4 Aug 2009 21:45:13 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id C65648FC24; Tue, 4 Aug 2009 21:45:11 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by mail-bw0-f206.google.com with SMTP id 2so3173798bwz.43 for ; Tue, 04 Aug 2009 14:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=4pdMuuznhWgx+zLsV3zF+F/9EnHLYkij496VIlblpmw=; b=hQuEtdV6aqc9okvL+Zdf0kZB590FZABHVxxSBk7SyqWQ9JfeBzrxvBLyxB4F6wzegd rk2KDTe14zSkh9tN4Kz3A6kgBCQ+xf2PWNYestcwuZhFmxcYN3m29erTmqhOGynANB/E UH6Plg58qXkXhdysiHOfAM/7NRmN0UqrRVPd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=byViTRx/m9yKTqf6Mer54GkWoiiumOEa7ndAFXrrAtnN6/bFc0+ZWqGsQkKQ7AqmTT RB88Yc7zZTA7J8eGuR9lrIwvFZlrVgDzPzODvKwkpKVq7GNDB5e9jorwaN3m07pyWxMY AiPInJJYG9al2sXrEhRcuSGJz8FKRbHEquf9w= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.103.69 with SMTP id j5mr3453094fao.46.1249422311169; Tue, 04 Aug 2009 14:45:11 -0700 (PDT) In-Reply-To: <3bbf2fe10907281943m2392a9f9w7c69303e6c3b91d0@mail.gmail.com> References: <746CE32B-BCF8-460A-982D-25341554E8FD@lassitu.de> <3bbf2fe10905221234k12c45932gb1e197143cd74b5d@mail.gmail.com> <20090522230333.X72053@maildrop.int.zabbadoz.net> <3bbf2fe10905221846q7fd1fe9cue744de61f9e12612@mail.gmail.com> <226F1AFF-45D8-4E4C-BE7F-D2EDC35EC8F6@lassitu.de> <3bbf2fe10907281943m2392a9f9w7c69303e6c3b91d0@mail.gmail.com> Date: Tue, 4 Aug 2009 23:45:11 +0200 X-Google-Sender-Auth: 3b60b4f79d3755f2 Message-ID: <3bbf2fe10908041445j2dc4b480kd767f03c62b782c8@mail.gmail.com> From: Attilio Rao To: Stefan Bethke Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable , FreeBSD Current , Giovanni Trematerra , Dan Naumov , barbara , "Bjoern A. Zeeb" , Robert Watson , "C. C. Tang" Subject: Re: spinlock held too long on reboot 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, 04 Aug 2009 21:45:14 -0000 2009/7/29 Attilio Rao : > 2009/5/23 Stefan Bethke : >> 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? > > [ Sorry, trying to add anyone who alredy reported such a problem even > if I know many of you experienced it on -STABLE] If you are experiencing this problem, you would like to test this port from rink@ on 7.2 of the new version of the patch: http://people.freebsd.org/~rink/tmp/ipi_7stable.diff while the -CURRENT version that probabilly is going to be committed soon is here: http://www.freebsd.org/~attilio/stop_nmi2.diff Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein