WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Unknown interrupt on x86_64 Xen on ES7000 x86_64

To: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Unknown interrupt on x86_64 Xen on ES7000 x86_64
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Tue, 9 Aug 2005 22:57:32 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Davis, Jason" <jason.davis@xxxxxxxxxx>, "Magolan, John F" <John.Magolan@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: Wed, 10 Aug 2005 05:55:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWdAZeo7cFZVA22QViz6u3TsjtZZwAR8SiAAAapuMAAAlRYsAAAp0Yg
Thread-topic: [Xen-devel] Unknown interrupt on x86_64 Xen on ES7000 x86_64
Puthiyaparambil, Aravindh wrote:
>> I have the same problem "Unknown Interrupt" on a DP machine. Looks
>> like #PF is happening at => when xen is built with debug=y.
>> 
>> static void map_alloc(unsigned long first_page, unsigned long
>>     nr_pages) { ...
>>     curr_idx  = first_page / PAGES_PER_MAPWORD;
>>     start_off = first_page & (PAGES_PER_MAPWORD-1);
>>     end_idx   = (first_page + nr_pages) / PAGES_PER_MAPWORD;
>>     end_off   = (first_page + nr_pages) & (PAGES_PER_MAPWORD-1);
>> 
>>     if ( curr_idx == end_idx )
>>     {
>>         alloc_bitmap[curr_idx] &= -(1UL<<end_off) |
>>     ((1UL<<start_off)-1); }
>>     else
>>     {
>>         alloc_bitmap[curr_idx] &= (1UL<<start_off)-1;
>>         while ( ++curr_idx != end_idx ) alloc_bitmap[curr_idx] = 0;
>>  =>       alloc_bitmap[curr_idx] &= -(1UL<<end_off);     }
>> }
>> 
>> If I change
>>         while ( ++curr_idx != end_idx - 1 ) alloc_bitmap[curr_idx] =
>> 0; I can work around it.
> 
> Yes, that fixed the "Unknown Interrupt" problem. I am now seeing the
> same issue that I am seeing on the Dell PowerEdge 470 x86_64 system.
> 
> BTW, what is a DP machine?
> 
> Aravindh
> 
Try to use old version of arch/x86/time.c, for example, the one
attached. You also might want to comment out:

asmlinkage int do_page_fault(struct cpu_user_regs *regs)
{
    ...

xen_fault:

    if ( likely((fixup = search_exception_table(regs->eip)) != 0) )
    {
        perfc_incrc(copy_user_faults);
        if ( !shadow_mode_enabled(d) )
            //      DPRINTK("Page fault: %p -> %p\n", _p(regs->eip),
_p(fixup));
            ;
        regs->eip = fixup;
        return 0;
    }

Jun
---
Intel Open Source Technology Center

Attachment: time.c
Description: time.c

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>