mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Bryan Donlan <bdonlan@gmail.com>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Kernel OOPS and panic on boot in advantech watchdog init
Date: Fri, 19 Sep 2008 15:28:28 -0700	[thread overview]
Message-ID: <48D4278C.8020409@goop.org> (raw)
In-Reply-To: <20080919113356.111ce79f@lxorguk.ukuu.org.uk>

Alan Cox wrote:
> Looks like yet another Xen bug
>   

No, we've been over this before.

>> [   30.328280] BUG: unable to handle kernel paging request at d6023220
>> [   30.332244] IP: [<c021f6f3>] xen_set_pte+0x3/0x10
>>     
>
> sc520 tries to make an ioremap to read 0xfffefcb0
>
>   
>> [   30.332244]  [<c037be42>] ioremap_page_range+0x1e2/0x280
>> [   30.332244]  [<c023d311>] __ioremap_caller+0x1e1/0x340
>>     
>
> The Xen glue should have either permitted the mapping or failed the
> ioremap attempt with NULL.

Xen glue doesn't get in at that level.  The first Xen knows about the
mapping is the attempt to set a pte with meaningless contents.

I still think the sc520 driver should make some rudimentary attempt to
see if its actually running on a relevant system (ie, an AMD Elan)
before creating iomappings.  I don't know if DMI, cpuid or some other
mechanism would be best though.

    J

      reply	other threads:[~2008-09-19 22:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19  2:02 Bryan Donlan
2008-09-19  2:09 ` Jeremy Fitzhardinge
2008-09-19 10:33 ` Alan Cox
2008-09-19 22:28   ` Jeremy Fitzhardinge [this message]

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=48D4278C.8020409@goop.org \
    --to=jeremy@goop.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bdonlan@gmail.com \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome