public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Jan Debiec <jan.debiec@jurca.de>
Cc: "'linux-mtd@lists.infradead.org '"
	<linux-mtd@lists.infradead.org>,
	"Alex Lennon @ Arcom" <ajlennon@arcom.co.uk>
Subject: Re: JFFS and RTLinux
Date: Thu, 09 Aug 2001 12:12:13 +0100	[thread overview]
Message-ID: <515.997355533@redhat.com> (raw)
In-Reply-To: <3B726C90.F8A182F5@jurca.de>

jan.debiec@jurca.de said:
>  unfortunately "stext_lock" tells me nothing (is used in head.S),
> sbc_mediagx_map is a structure used for Arcom GXM board

Spinlock deadlock. Check the spin_lock() and spin_unlock() pairs are evenly 
matched in sbc_mediagx.c (they look like they are in the current version of 
sbc_gxx.c).

$ gdb vmlinux
(gdb) disassemble 0xc01986d3

It should be in a loop which looks something like

0xc0263620 <stext_lock+64>:	cmpb   $0x0,0xc02ccdf8
0xc0263627 <stext_lock+71>:	repz nop 
0xc0263629 <stext_lock+73>:	jle    0xc0263620 <stext_lock+64>
0xc026362b <stext_lock+75>:	jmp    0xc0105b3f <__down+111>

The place it's jumping to in the final line is the place that's trying to 
obtain the (blocked) spinlock. 

--
dwmw2

  reply	other threads:[~2001-08-09 11:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-26 12:29 JFFS and RTLinux Vipin Malik
2001-07-30 14:40 ` Jan Debiec
2001-07-30 15:21   ` Vipin Malik
2001-08-07  7:56   ` David Woodhouse
2001-08-09 10:57     ` Jan Debiec
2001-08-09 11:12       ` David Woodhouse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-26 10:08 Jan Debiec

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=515.997355533@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=ajlennon@arcom.co.uk \
    --cc=jan.debiec@jurca.de \
    --cc=linux-mtd@lists.infradead.org \
    /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