From: Andrew Morton <akpm@osdl.org>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.10-mm1 hang
Date: Wed, 19 Jan 2005 13:31:36 -0800 [thread overview]
Message-ID: <20050119133136.7a1c0454.akpm@osdl.org> (raw)
In-Reply-To: <1106153215.3577.134.camel@dyn318077bld.beaverton.ibm.com>
Badari Pulavarty <pbadari@us.ibm.com> wrote:
>
> I was playing with kexec+kdump and ran into this on 2.6.10-mm1.
> I have seen similar behaviour on 2.6.10.
>
> I am using a 4-way P-III machine. I have a module which tries
> gets same spinlock twice. When I try to "insmod" this module,
> my system hangs. All my windows froze, no more new logins,
> console froze, doesn't respond to sysrq. I wasn't expecting
> a system hang. Why ? Ideas ?
>
Maybe all the other CPUs are stuck trying to send an IPI to this one? An
NMI watchdog trace would tell.
> #include <linux/init.h>
> #include <asm/uaccess.h>
> #include <linux/spinlock.h>
> spinlock_t mylock = SPIN_LOCK_UNLOCKED;
> static int __init panic_init(void)
> {
> spin_lock_irq(&mylock);
> spin_lock_irq(&mylock);
> return 1;
> }
next prev parent reply other threads:[~2005-01-19 21:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-19 16:46 Badari Pulavarty
2005-01-19 21:31 ` Andrew Morton [this message]
2005-01-19 22:01 ` linux-os
2005-01-19 21:44 ` Badari Pulavarty
2005-01-19 22:40 ` Robert Love
2005-01-20 15:26 ` Badari Pulavarty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050119133136.7a1c0454.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbadari@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome