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] Fix for 'acpi=off'

To: "Arun Sharma" <arun.sharma@xxxxxxxxx>
Subject: RE: [Xen-devel] Fix for 'acpi=off'
From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Date: Thu, 5 May 2005 20:44:41 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 06 May 2005 00:44:21 +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: AcVRx4JKhov+o8oHSy6zpC9lF56dgAAC+78g
Thread-topic: [Xen-devel] Fix for 'acpi=off'
I am a little confused here. 

I have configured Dom0 to be a uniprocessor kernel. Shouldn't that stop
SMP specific code from being executed?

Won't setting num_processors=1 cause Dom0 to always be uniproc even if
SMP is turned on? 

Aravindh

-----Original Message-----
From: Arun Sharma [mailto:arun.sharma@xxxxxxxxx] 
Sent: Thursday, May 05, 2005 7:10 PM
To: Puthiyaparambil, Aravindh
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Fix for 'acpi=off'

Puthiyaparambil, Aravindh wrote:
> I tried the acpi=off on my 2-by x86_64 box running 32-bit SLES9.
> Everything seems to work just fine except for a couple of pfn and page
> fault non-fatal errors.
> 
> But with acpi=ht, Dom0 hangs while trying to bring up the SCSI
devices.
> I have included debug output for both cases.
> 

I think this is the issue you're running into:

> SMP mptable: no processors registered!
> BIOS bug, MP table errors detected!...
> ... disabling SMP support. (tell your hw vendor)

With acpi=off acpi_lapic is non-zero so this code works:

    /* ACPI may have already provided this data */
    if (!acpi_lapic)
            MP_processor_info(m);

But with acpi=ht, MP table processor info is ignored. I worked around it
by ignoring the processor entries in the MP table always and setting
num_processors=1.

        -Arun


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>