All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Xiao-Long Chen <chenxiaolong@cxl.epac.to>, daniel.kiper@oracle.com
Cc: xen-devel@lists.xen.org
Subject: Re: Only one CPU core detected when booting on UEFI
Date: Fri, 21 Dec 2012 14:59:48 -0500	[thread overview]
Message-ID: <20121221195948.GF30562@phenom.dumpdata.com> (raw)
In-Reply-To: <50CD7A57.5030107@cxl.epac.to>

On Sun, Dec 16, 2012 at 02:37:59AM -0500, Xiao-Long Chen wrote:
> Hi Xen developers,
> 
> I have been having a problem where only one CPU core is being detected.
> I'm using a Lenovo W520 with a UEFI firmware and an Intel Core i7
> 2720qm (4 real cores, 4 virtual cores). When I boot, I see
> "Dom0 has maximum 1 VCPUs", or something similar, scroll by.

Ooh.
> 
> In addition, only 10 GB out of my 12 GB of memory is recognized and
> ACPI is not working properly (CPU frequency scaling and battery info
> are not reported).
> 
> This problem has been reported before (for the same laptop too) here:
> http://lists.xen.org/archives/html/xen-devel/2012-06/msg00087.html but
> unfortunately, the person who sent the message didn't reply with more
> information.
> 
> Here are the outputs of dmesg with and without Xen:
> 
> Without Xen: http://paste.kde.org/626222/raw/
> With Xen: http://paste.kde.org/626228/raw/

Hm, this:
[    0.000000] ACPI BIOS Bug: Error: A valid RSDP was not found (20120913/tbxfroot-219)

is a problem. The workaround was mentioned on the mailing list to use
the acpi_rsdp=0xbabfe000

> 
> and some information from xl:
> 
> xl vcpu-list: http://paste.kde.org/626234/raw/
> xl info: http://paste.kde.org/626240/raw/
> xl dmesg: http://paste.kde.org/626246/raw/

And Xen has the same issue:

(XEN) ACPI Error (tbxfroot-0218): A valid RSDP was not found [20070126]

And it looks to be running in a legacy state - with no calls to EFI.
> 
> This is my first time venturing into Xen territory, so please let me
> know if there's any other information needed.

Did you try to boot xen.efi by itself - without using the GRUB loader?
There is a nice writeup of how to do this in docs/misc/efi.markdown.

Also CC-ing Daniel if he has some ideas.
> 
> I'm not sure if it helps, but I'd also like to point out that I had a
> similar problem with Linux back around July 20, 2011, when I got my
> computer. I could work around the issue by booting with "noapic". I'm
> not sure which kernel version fixed the issue as I booted with that
> option for quite a while. The kernel version, at the time, was 3.0.
> 
> I am glad to help in any way I can. I'm excited to get Xen working!
> I'm confortable with compiling the kernel or xen if necessary.
> 
> Thanks in advance!
> 
> Xiao-Long Chen
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 

  reply	other threads:[~2012-12-21 19:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16  7:37 Only one CPU core detected when booting on UEFI Xiao-Long Chen
2012-12-21 19:59 ` Konrad Rzeszutek Wilk [this message]
2012-12-22  2:30   ` Xiao-Long Chen
2012-12-22 15:48     ` Jacek Konieczny
2012-12-22 18:54       ` Xiao-Long Chen
2012-12-22 21:27         ` Jacek Konieczny
2012-12-23  1:55           ` Xiao-Long Chen
  -- strict thread matches above, loose matches on Subject: below --
2012-12-17  2:07 Xiao-Long Chen
2012-12-17 10:03 ` Jan Beulich

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=20121221195948.GF30562@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=chenxiaolong@cxl.epac.to \
    --cc=daniel.kiper@oracle.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.