All of lore.kernel.org
 help / color / mirror / Atom feed
* vcpu state are all paused
@ 2015-12-07 12:39 Big Strong
  2015-12-07 12:56 ` Andrew Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Big Strong @ 2015-12-07 12:39 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1083 bytes --]

I set the xen.efi directly boot without grub2 to be able to list all the
cpu cores.
However, after that all the vcpus are in paused state except one for dom0.

~$ sudo xl vcpu-list
> Name                                ID  VCPU   CPU State   Time(s)
> Affinity (Hard / Soft)
> Domain-0                             0     0    0   r--      64.7  0 / all
> Domain-0                             0     1    -   *--p *      0.0  1 /
> all
> Domain-0                             0     2    -   -*-p*       0.0  2 /
> all
> Domain-0                             0     3    -   -*-p *      0.0  3 /
> all
> ubuntu-hvm                           1     0    5   -b-      16.9  4-5 /
> all


The full logs during xen booting is at http://paste.ubuntu.com/13786410/
It looks like some of the ACPI tables are disabled and there is two errors:

"ACPI BIOS Error (bug): A valid RSDP was not found (20131115/tbxfroot-211)

ioapic: probe of 0000:00:05.4 failed with error -22"

I'm not sure if it's a users' problem or dev problem. If I'm wrong, please
point it out. Any help will be great appreciated.

[-- Attachment #1.2: Type: text/html, Size: 1717 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vcpu state are all paused
  2015-12-07 12:39 vcpu state are all paused Big Strong
@ 2015-12-07 12:56 ` Andrew Cooper
  2015-12-07 13:02   ` Jan Beulich
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2015-12-07 12:56 UTC (permalink / raw)
  To: Big Strong, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1964 bytes --]

On 07/12/15 12:39, Big Strong wrote:
> I set the xen.efi directly boot without grub2 to be able to list all
> the cpu cores.
> However, after that all the vcpus are in paused state except one for dom0.
>
>     ~$ sudo xl vcpu-list
>     Name                                ID  VCPU   CPU State   Time(s)
>     Affinity (Hard / Soft)
>     Domain-0                             0     0    0   r--      64.7
>      0 / all
>     Domain-0                             0     1    -   *--p *     
>     0.0  1 / all
>     Domain-0                             0     2    -   -*-p*      
>     0.0  2 / all
>     Domain-0                             0     3    -   -*-p *     
>     0.0  3 / all
>     ubuntu-hvm                           1     0    5   -b-      16.9
>      4-5 / all
>
>
> The full logs during xen booting is at http://paste.ubuntu.com/13786410/
> It looks like some of the ACPI tables are disabled and there is two
> errors:
> "ACPI BIOS Error (bug): A valid RSDP was not found (20131115/tbxfroot-211)
> ioapic: probe of 0000:00:05.4 failed with error -22"
> I'm not sure if it's a users' problem or dev problem. If I'm wrong,
> please point it out. Any help will be great appreciated.

Xen itself gets a proper set of ACPI tables and boots sensibly. 
However, dom0 fails to retrieve any APCI tables.

dom0 isn't in uniprocessor mode:

[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.6.0 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 29 pages/cpu @ffff880285000000 s86336 r8192 d24256 u2097152


and should be able to bring up its secondary cpus via paravirt methods.


I think it is a bug that dom0 can't see the ACPI tables; Xen should be
providing them properly.

However, I think it is also a bug that Linux is unable to start its
secondary cpus; it should be able to cope as all PV domU's lack access
to ACPI tables.

~Andrew

[-- Attachment #1.2: Type: text/html, Size: 3532 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vcpu state are all paused
  2015-12-07 12:56 ` Andrew Cooper
@ 2015-12-07 13:02   ` Jan Beulich
  2015-12-08 13:14     ` Big Strong
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2015-12-07 13:02 UTC (permalink / raw)
  To: Andrew Cooper, Big Strong; +Cc: xen-devel

>>> On 07.12.15 at 13:56, <andrew.cooper3@citrix.com> wrote:
> On 07/12/15 12:39, Big Strong wrote:
>> I set the xen.efi directly boot without grub2 to be able to list all
>> the cpu cores.
>> However, after that all the vcpus are in paused state except one for dom0.
>>
>>     ~$ sudo xl vcpu-list
>>     Name                                ID  VCPU   CPU State   Time(s)
>>     Affinity (Hard / Soft)
>>     Domain-0                             0     0    0   r--      64.7
>>      0 / all
>>     Domain-0                             0     1    -   *--p *     
>>     0.0  1 / all
>>     Domain-0                             0     2    -   -*-p*      
>>     0.0  2 / all
>>     Domain-0                             0     3    -   -*-p *     
>>     0.0  3 / all
>>     ubuntu-hvm                           1     0    5   -b-      16.9
>>      4-5 / all
>>
>>
>> The full logs during xen booting is at http://paste.ubuntu.com/13786410/ 
>> It looks like some of the ACPI tables are disabled and there is two
>> errors:
>> "ACPI BIOS Error (bug): A valid RSDP was not found (20131115/tbxfroot-211)
>> ioapic: probe of 0000:00:05.4 failed with error -22"
>> I'm not sure if it's a users' problem or dev problem. If I'm wrong,
>> please point it out. Any help will be great appreciated.
> 
> Xen itself gets a proper set of ACPI tables and boots sensibly. 
> However, dom0 fails to retrieve any APCI tables.

Because 3.13 doesn't have Dom0 EFI support yet; this got
introduced in 3.17.

Jan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vcpu state are all paused
  2015-12-07 13:02   ` Jan Beulich
@ 2015-12-08 13:14     ` Big Strong
  0 siblings, 0 replies; 4+ messages in thread
From: Big Strong @ 2015-12-08 13:14 UTC (permalink / raw)
  To: Jan Beulich; +Cc: Andrew Cooper, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1687 bytes --]

After update dom0 kernel to 3.19, all vcpus act normal. Thanks very much.

2015-12-07 21:02 GMT+08:00 Jan Beulich <JBeulich@suse.com>:

> >>> On 07.12.15 at 13:56, <andrew.cooper3@citrix.com> wrote:
> > On 07/12/15 12:39, Big Strong wrote:
> >> I set the xen.efi directly boot without grub2 to be able to list all
> >> the cpu cores.
> >> However, after that all the vcpus are in paused state except one for
> dom0.
> >>
> >>     ~$ sudo xl vcpu-list
> >>     Name                                ID  VCPU   CPU State   Time(s)
> >>     Affinity (Hard / Soft)
> >>     Domain-0                             0     0    0   r--      64.7
> >>      0 / all
> >>     Domain-0                             0     1    -   *--p *
> >>     0.0  1 / all
> >>     Domain-0                             0     2    -   -*-p*
> >>     0.0  2 / all
> >>     Domain-0                             0     3    -   -*-p *
> >>     0.0  3 / all
> >>     ubuntu-hvm                           1     0    5   -b-      16.9
> >>      4-5 / all
> >>
> >>
> >> The full logs during xen booting is at
> http://paste.ubuntu.com/13786410/
> >> It looks like some of the ACPI tables are disabled and there is two
> >> errors:
> >> "ACPI BIOS Error (bug): A valid RSDP was not found
> (20131115/tbxfroot-211)
> >> ioapic: probe of 0000:00:05.4 failed with error -22"
> >> I'm not sure if it's a users' problem or dev problem. If I'm wrong,
> >> please point it out. Any help will be great appreciated.
> >
> > Xen itself gets a proper set of ACPI tables and boots sensibly.
> > However, dom0 fails to retrieve any APCI tables.
>
> Because 3.13 doesn't have Dom0 EFI support yet; this got
> introduced in 3.17.
>
> Jan
>
>

[-- Attachment #1.2: Type: text/html, Size: 2705 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-08 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 12:39 vcpu state are all paused Big Strong
2015-12-07 12:56 ` Andrew Cooper
2015-12-07 13:02   ` Jan Beulich
2015-12-08 13:14     ` Big Strong

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.