[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SUSPECTED SPAM]Xen-unstable :can't boot HVM guests, bisected to commit: "hvmloader: indicate ACPI tables with "ACPI data" type in e820"



On 11/10/2020 02:06, Igor Druzhinin wrote:
> On 10/10/2020 18:51, Sander Eikelenboom wrote:
>> Hi Igor/Jan,
>>
>> I tried to update my AMD machine to current xen-unstable, but
>> unfortunately the HVM guests don't boot after that. The guest keeps
>> using CPU-cycles but I don't get to a command prompt (or any output at
>> all). PVH guests run fine.
>>
>> Bisection leads to commit:
>>
>> 8efa46516c5f4cf185c8df179812c185d3c27eb6
>> hvmloader: indicate ACPI tables with "ACPI data" type in e820
>>
>> I tried xen-unstable with this commit reverted and with that everything
>> works fine.
>>
>> I attached the xl-dmesg output.
> 
> What guests are you using? 
Not sure I understand what you ask for, but:
dom0 PV
guest HVM (qemu-xen)

> Could you get serial output from the guest?
Not getting any, it seems to be stuck in very early boot.

> Is it AMD specific?
Can't tell, this is the only machine I test xen-unstable on.
It's a AMD phenom X6.
Both dom0 and guest kernel are 5.9-rc8.

Tested with guest config:
kernel      = '/boot/vmlinuz-xen-guest'
ramdisk     = '/boot/initrd.img-xen-guest'

cmdline     = 'root=UUID=7cc4a90d-d6b0-4958-bb7d-50497aa29f18 ro
nomodeset console=tty1 console=ttyS0 console=hvc0 earlyprintk=xen'

type='hvm'

device_model_version = 'qemu-xen'

cpus        = "2-5"
vcpus = 2

memory      = '512'

disk        = [
                  'phy:/dev/xen_vms_ssd/media,xvda,w'
              ]

name        = 'guest'

vif         = [ 'bridge=xen_bridge,ip=192.168.1.10,mac=00:16:3E:DC:0A:F1' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'preserve'

vnc=0


>If it's a Linux guest could you get a stacktrace from
> the guest using xenctx?

It is, here are few subsequent runs:

~# /usr/local/lib/xen/bin/xenctx -s
/boot/System.map-5.9.0-rc8-20201010-doflr-mac80211debug+ -f -a -C 4
vcpu0:
cs:eip: ca80:00000256
flags: 00000016 nz a p
ss:esp: 0000:00006f38
eax: 029e0012   ebx: 0000fb00   ecx: 028484e3   edx: 00000511
esi: 00000000   edi: f97b7363   ebp: 00006f38
 ds:     ca80    es:     0010    fs:     0000    gs:     0000

cr0: 00000011
cr2: 00000000
cr3: 00400000
cr4: 00000000

dr0: 00000000
dr1: 00000000
dr2: 00000000
dr3: 00000000
dr6: ffff0ff0
dr7: 00000400
Code (instr addr 00000256)
ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff <00> f0
53 ff 00 f0 53 ff 00 f0 53



vcpu1 offline

~# /usr/local/lib/xen/bin/xenctx -s
/boot/System.map-5.9.0-rc8-20201010-doflr-mac80211debug+ -f -a -C 4
vcpu0:
cs:eip: ca80:00000256
flags: 00000016 nz a p
ss:esp: 0000:00006f38
eax: 029e0012   ebx: 0000fb00   ecx: 028444b7   edx: 00000511
esi: 00000000   edi: f97bb38f   ebp: 00006f38
 ds:     ca80    es:     0010    fs:     0000    gs:     0000

cr0: 00000011
cr2: 00000000
cr3: 00400000
cr4: 00000000

dr0: 00000000
dr1: 00000000
dr2: 00000000
dr3: 00000000
dr6: ffff0ff0
dr7: 00000400
Code (instr addr 00000256)
ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff <00> f0
53 ff 00 f0 53 ff 00 f0 53



vcpu1 offline

~# /usr/local/lib/xen/bin/xenctx -s
/boot/System.map-5.9.0-rc8-20201010-doflr-mac80211debug+ -f -a -C 4
vcpu0:
cs:eip: ca80:00000256
flags: 00000016 nz a p
ss:esp: 0000:00006f38
eax: 029e0012   ebx: 0000fb00   ecx: 02840901   edx: 00000511
esi: 00000000   edi: f97bef45   ebp: 00006f38
 ds:     ca80    es:     0010    fs:     0000    gs:     0000

cr0: 00000011
cr2: 00000000
cr3: 00400000
cr4: 00000000

dr0: 00000000
dr1: 00000000
dr2: 00000000
dr3: 00000000
dr6: ffff0ff0
dr7: 00000400
Code (instr addr 00000256)
ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff <00> f0
53 ff 00 f0 53 ff 00 f0 53



vcpu1 offline

~# /usr/local/lib/xen/bin/xenctx -s
/boot/System.map-5.9.0-rc8-20201010-doflr-mac80211debug+ -f -a -C 4
vcpu0:
cs:eip: ca80:00000256
flags: 00000016 nz a p
ss:esp: 0000:00006f38
eax: 029e0012   ebx: 0000fb00   ecx: 0283d4bd   edx: 00000511
esi: 00000000   edi: f97c2389   ebp: 00006f38
 ds:     ca80    es:     0010    fs:     0000    gs:     0000

cr0: 00000011
cr2: 00000000
cr3: 00400000
cr4: 00000000

dr0: 00000000
dr1: 00000000
dr2: 00000000
dr3: 00000000
dr6: ffff0ff0
dr7: 00000400
Code (instr addr 00000256)
ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff <00> f0
53 ff 00 f0 53 ff 00 f0 53



vcpu1 offline

~# /usr/local/lib/xen/bin/xenctx -s
/boot/System.map-5.9.0-rc8-20201010-doflr-mac80211debug+ -f -a -C 4
vcpu0:
cs:eip: ca80:00000256
flags: 00000016 nz a p
ss:esp: 0000:00006f38
eax: 029e0012   ebx: 0000fb00   ecx: 02838e90   edx: 00000511
esi: 00000000   edi: f97c69b6   ebp: 00006f38
 ds:     ca80    es:     0010    fs:     0000    gs:     0000

cr0: 00000011
cr2: 00000000
cr3: 00400000
cr4: 00000000

dr0: 00000000
dr1: 00000000
dr2: 00000000
dr3: 00000000
dr6: ffff0ff0
dr7: 00000400
Code (instr addr 00000256)
ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff <00> f0
53 ff 00 f0 53 ff 00 f0 53



vcpu1 offline


> We have tested the change on all modern guests in our Citrix lab and haven't
> found any problem for several months. 

> Igor
> 

--
Sander




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.