From: Hugh Dickins <hugh@veritas.com>
To: "Richard B. Johnson" <linux-os@analogic.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.6.12
Date: Mon, 20 Jun 2005 14:48:51 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.61.0506201443400.2903@goblin.wat.veritas.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0506200857450.5213@chaos.analogic.com>
Gosh, I thought from the Subject that you'd taken over from Linus,
and were announcing your new release ;)
On Mon, 20 Jun 2005, Richard B. Johnson wrote:
>
> Attempts to run a driver that worked up to 2.6.11.9 shows that
> it aparently is no longer possible to nest calls to `down`.
> In other words, a procedure that has taken a semaphore can't
> then take another semaphore.
>
> down(&first_resource);
> down(&second_resource);
> ...
> ...
> up(&second_resource);
> up(&first_resource);
>
>
> The error is 'sleeping function called from invalid context....'
>
> ------------[ cut here ]------------
> kernel BUG at mm/memory.c:1112!
No, the error is "kernel BUG at mm/memory.c:1112!", which occurs while
it's holding page table lock, from which it doesn't recover very well.
It's the BUG_ON(!pte_none(*pte)) in remap_pte_range. Maybe your page
table is corrupt, maybe your driver is trying to remap_pfn_range on
top of something already mapped.
Hugh
next prev parent reply other threads:[~2005-06-20 13:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 13:07 Linux-2.6.12 Richard B. Johnson
2005-06-20 13:48 ` Hugh Dickins [this message]
2005-06-20 14:22 ` Linux-2.6.12 Richard B. Johnson
2005-06-20 14:41 ` Linux-2.6.12 Hugh Dickins
2005-06-20 15:32 ` Linux-2.6.12 Richard B. Johnson
2005-06-20 16:02 ` Linux-2.6.12 Hugh Dickins
2005-06-21 0:32 ` Linux-2.6.12 Dave Jones
[not found] ` <Pine.LNX.4.61.0506210629110.8815@chaos.analogic.com>
2005-06-21 11:13 ` Linux-2.6.12 Dave Jones
2005-06-21 11:17 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 11:30 ` Linux-2.6.12 Dave Jones
2005-06-21 11:36 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 11:55 ` Linux-2.6.12 Dave Jones
2005-06-21 12:01 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 12:15 ` Linux-2.6.12 Dave Jones
2005-06-21 12:30 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 12:46 ` Linux-2.6.12 Dave Jones
2005-06-21 23:47 ` Linux-2.6.12 Kurt Wall
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=Pine.LNX.4.61.0506201443400.2903@goblin.wat.veritas.com \
--to=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.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
all inboxes | Powered by JetHome®