lkml.org 
[lkml]   [2008]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel OOPS and panic on boot in advantech watchdog init
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


\
 
 \ /
  Last update: 2008-09-20 00:31    [W:0.228 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site