public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "Yinghai Lu" <yhlu.kernel@gmail.com>,
	"Ingo Molnar" <mingo@elte.hu>,
	"the arch/x86 maintainers" <x86@kernel.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: ioremap panic
Date: Wed, 20 Aug 2008 12:08:05 +0200	[thread overview]
Message-ID: <871w0kyp6i.fsf@basil.nowhere.org> (raw)
In-Reply-To: <20080819235106.d6776abc.akpm@linux-foundation.org> (Andrew Morton's message of "Tue, 19 Aug 2008 23:51:06 -0700")

Andrew Morton <akpm@linux-foundation.org> writes:
>
> Please work out what address qla2x00_probe_one() passed into ioremap(),

Note that ioremap doesn't get a virtual address, but a bus/phys one.
The virtual address checked in the BUG above comes internally
out of vmalloc's address space allocation.

> then see if you can work out what was already at that virtual address
> (/proc/iomem, dmesg output, etc).

The bug is more likely that either the kernel page tables or the 
vmalloc vmlist are inconsistent somehow. In particularly it looks
like vmalloc gave out an address for ioremap on which there was
already a mapping.

I doubt it is qla2x00's fault.

-Andi

  reply	other threads:[~2008-08-20 10:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-17  3:49 ioremap panic Yinghai Lu
2008-08-20  6:51 ` Andrew Morton
2008-08-20 10:08   ` Andi Kleen [this message]
2008-08-20 17:09   ` Yinghai Lu

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=871w0kyp6i.fsf@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=x86@kernel.org \
    --cc=yhlu.kernel@gmail.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