unable to boot from cdrom using OVMF in latest xen-unstable
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d'). After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit 44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29 and ovmf is from debian package 0~20150106.5c2d456b-1.
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
Quoted 10 lines · Fabio Fantoni
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.
Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
What has changed in your setup? I guess it's only Xen? Do you use the same OVMF image all the time?
If the only thing changed is Xen, I would suggest you bisect the hypervisor. There were a bunch of changes in emulation code there. If you don't have a base line version, I will try to come up with one for you.
Wei.
Il 29/07/2015 11:40, Wei Liu ha scritto:
Quoted 17 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
What has changed in your setup? I guess it's only Xen? Do you use the same OVMF image all the time?
Quoted 6 lines
If the only thing changed is Xen, I would suggest you bisect the hypervisor. There were a bunch of changes in emulation code there. If you don't have a base line version, I will try to come up with one for you.
Wei.
Thanks for reply, I did other tests and I found that having empty harddrive boot from cdrom correctly also with omvf, the problem seems that not cosider boot option at all.
I did also few tests about ovmf and if I remember good is the first time I try to boot from cdrom on domUs with harddrive not empty, other time I did it only for system install, then is probable that the is present also in older xen and ovmf versions.
Quoted 23 lines · Fabio Fantoni
Il 29/07/2015 11:40, Wei Liu ha scritto:
Quoted 22 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
What has changed in your setup? I guess it's only Xen? Do you use the same OVMF image all the time?
If the only thing changed is Xen, I would suggest you bisect the hypervisor. There were a bunch of changes in emulation code there. If you don't have a base line version, I will try to come up with one for you.
Quoted 4 lines
Quoted 1 line
Wei.
Thanks for reply, I did other tests and I found that having empty harddrive boot from cdrom correctly also with omvf, the problem seems that not cosider boot option at all.
Or maybe your CD image is mastered so that when hard drive has meaningful boot record it chooses to boot from hard drive?
Quoted 4 lines
I did also few tests about ovmf and if I remember good is the first time I try to boot from cdrom on domUs with harddrive not empty, other time I did it only for system install, then is probable that the is present also in older xen and ovmf versions.
Quoted 10 lines · Fabio Fantoni
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.
Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
OK, the commit you tested contains the fix to booting OVMF.
Do you have serial log?
Wei.
Il 29/07/2015 11:58, Wei Liu ha scritto:
Quoted 11 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.
Quoted 8 lines
Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
OK, the commit you tested contains the fix to booting OVMF.
Do you have serial log?
Wei.
You mean ovmf serial log? probably I did it in past but I not remember how and with a fast search I not found (probably was some years ago when I started to try ovmf and initially with xen domUs was not working at all) I found only serial="pty" commented in my tests domUs cfg probably related but I don't remember how to see/store the output, can you tell me it please?
Quoted 17 lines · Fabio Fantoni
Il 29/07/2015 11:58, Wei Liu ha scritto:
Quoted 16 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
OK, the commit you tested contains the fix to booting OVMF.
Quoted 8 lines
Quoted 3 lines
Do you have serial log?
Wei.
You mean ovmf serial log? probably I did it in past but I not remember how and with a fast search I not found (probably was some years ago when I started to try ovmf and initially with xen domUs was not working at all) I found only serial="pty" commented in my tests domUs cfg probably related but I don't remember how to see/store the output, can you tell me it please?
I meant Xen serial log. And you probably need to increase your log level in Xen command line.
Wei.
Il 29/07/2015 12:44, Wei Liu ha scritto:
Quoted 26 lines · Fabio Fantoni
Quoted 17 lines
Il 29/07/2015 11:58, Wei Liu ha scritto:
Quoted 16 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
OK, the commit you tested contains the fix to booting OVMF.
Quoted 8 lines
Quoted 3 lines
Do you have serial log?
Wei.
You mean ovmf serial log? probably I did it in past but I not remember how and with a fast search I not found (probably was some years ago when I started to try ovmf and initially with xen domUs was not working at all) I found only serial="pty" commented in my tests domUs cfg probably related but I don't remember how to see/store the output, can you tell me it please?
Quoted 4 lines
I meant Xen serial log. And you probably need to increase your log level in Xen command line.
Wei.
Sorry for my stupid question, what xen serial log you mean? serial of dom0 for debug domU's internal boot seems very strange to me.
this is my actual dom0 grub entry is:
Quoted 11 lines
menuentry 'RAID - Debian 7.8 (wheezy) con Linux 3.16.0-0.bpo.4-amd64 e XEN 4.6-unstable' --class debian --class gnu-linux --class gnu --class os --class xen { set fallback="1" set root='(RAID-ROOT)' echo 'Caricamento Hypervisor Xen 4.6-unstable...' multiboot /boot/xen.gz placeholder dom0_mem=2G,max:3G echo 'Caricamento Linux 3.16.0-0.bpo.4-amd64 ...' module /boot/vmlinuz-3.16.0-0.bpo.4-amd64 placeholderroot=/dev/mapper/RAID-ROOT ro swiotlb=65762 quiet
echo 'Caricamento ramdisk iniziale...'
module/boot/initrd.img-3.16.0-0.bpo.4-amd64
}
this is an old entry I used for debug dom0 boot problem:
Quoted 11 lines
menuentry 'Wheezy con Linux 3.2.0-4-amd64 e XEN 4.4 - RAID - Debug su Seriale' --class debian --class gnu-linux --class gnu --class os { set root='(RAID-ROOT)' echo 'Caricamento Hypervisor Xen 4.4...' multiboot /boot/xen-4.4-amd64.gz placeholder dom0_mem=2G,max:2G swiotlb=65762 loglvl=all guest_loglvl=all sync_console console_to_ring com2=19200,8n1 console=com2 echo 'Caricamento Linux 3.2.0-4-amd64...' linux /boot/vmlinuz-3.2.0-4-amd64 placeholderroot=/dev/mapper/RAID-ROOT ro console=hvc0 earlyprintk=xen nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd/boot/initrd.img-3.2.0-4-amd64
}
About dom0 you mean add only "loglvl=all guest_loglvl=all" or also other thing? And about domU?
Thanks for any reply.
Quoted 27 lines · Fabio Fantoni
Il 29/07/2015 12:44, Wei Liu ha scritto:
Quoted 26 lines · Fabio Fantoni
Quoted 25 lines
Il 29/07/2015 11:58, Wei Liu ha scritto:
Quoted 11 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.Quoted 8 lines
Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
OK, the commit you tested contains the fix to booting OVMF.
Do you have serial log?
Wei.
You mean ovmf serial log? probably I did it in past but I not remember how and with a fast search I not found (probably was some years ago when I started to try ovmf and initially with xen domUs was not working at all) I found only serial="pty" commented in my tests domUs cfg probably related but I don't remember how to see/store the output, can you tell me it please?
Quoted 7 lines
Quoted 4 lines
I meant Xen serial log. And you probably need to increase your log level in Xen command line.
Wei.
Sorry for my stupid question, what xen serial log you mean? serial of dom0 for debug domU's internal boot seems very strange to me.
Because firmware (in this case, OVMF) writes something to console as guest output.
Quoted 30 lines
this is my actual dom0 grub entry is:
Quoted 9 lines
menuentry 'RAID - Debian 7.8 (wheezy) con Linux 3.16.0-0.bpo.4-amd64 e XEN 4.6-unstable' --class debian --class gnu-linux --class gnu --class os
--class xen { set fallback="1" set root='(RAID-ROOT)' echo 'Caricamento Hypervisor Xen 4.6-unstable...' multiboot /boot/xen.gz placeholder dom0_mem=2G,max:3G echo 'Caricamento Linux 3.16.0-0.bpo.4-amd64 ...' module /boot/vmlinuz-3.16.0-0.bpo.4-amd64 placeholderQuoted 4 lines
root=/dev/mapper/RAID-ROOT ro swiotlb=65762 quiet
echo 'Caricamento ramdisk iniziale...'
module/boot/initrd.img-3.16.0-0.bpo.4-amd64
}this is an old entry I used for debug dom0 boot problem:
Quoted 5 lines
menuentry 'Wheezy con Linux 3.2.0-4-amd64 e XEN 4.4 - RAID - Debug su
Seriale' --class debian --class gnu-linux --class gnu --class os { set root='(RAID-ROOT)' echo 'Caricamento Hypervisor Xen 4.4...' multiboot /boot/xen-4.4-amd64.gz placeholder dom0_mem=2G,max:2GQuoted 8 lines
swiotlb=65762 loglvl=all guest_loglvl=all
sync_consoleconsole_to_ringcom2=19200,8n1 console=com2
echo 'Caricamento Linux 3.2.0-4-amd64...'
linux/boot/vmlinuz-3.2.0-4-amd64placeholder
root=/dev/mapper/RAID-ROOT ro console=hvc0 earlyprintk=xen nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd/boot/initrd.img-3.2.0-4-amd64
}
Quoted 4 lines
About dom0 you mean add only "loglvl=all guest_loglvl=all" or also other thing?
And about domU?
I think your configuration is alright.
Actually you can use xl dmesg to get the log. The interesting part is hvmloader information.
Wei.
Quoted 2 lines
Thanks for any reply.
Il 29/07/2015 13:04, Wei Liu ha scritto:
Quoted 70 lines · Fabio Fantoni
Quoted 27 lines
Il 29/07/2015 12:44, Wei Liu ha scritto:
Quoted 26 lines · Fabio Fantoni
Quoted 25 lines
Il 29/07/2015 11:58, Wei Liu ha scritto:
Quoted 11 lines · Fabio Fantoni
Quoted 10 lines
Today I retried ovmf after long time from previous, I tried old fedora 20 uefi domUs and still boot correctly but trying to boot from cdrom using boot='dc' or boot='d' don't boot from cdrom (seems didn't try) but boot from harddisk (even with boot='d').
After booting fedora I checked the cdrom and see it correctly, the problem seems only about boot order.
xen is build from staging git based on commit44313ab77f3e3c5b566ea4f23b0e32bfd5eafa29and ovmf is from debian package 0~20150106.5c2d456b-1.Quoted 8 lines
Quoted 3 lines
If you need more informations/tests tell me and I'll post them.
Thanks for any reply and sorry for my bad english.
OK, the commit you tested contains the fix to booting OVMF.
Do you have serial log?
Wei.
You mean ovmf serial log? probably I did it in past but I not remember how and with a fast search I not found (probably was some years ago when I started to try ovmf and initially with xen domUs was not working at all) I found only serial="pty" commented in my tests domUs cfg probably related but I don't remember how to see/store the output, can you tell me it please?
Quoted 7 lines
Quoted 4 lines
I meant Xen serial log. And you probably need to increase your log level in Xen command line.
Wei.
Sorry for my stupid question, what xen serial log you mean? serial of dom0 for debug domU's internal boot seems very strange to me.
Because firmware (in this case, OVMF) writes something to console as guest output.
Quoted 28 lines
this is my actual dom0 grub entry is:
Quoted 9 lines
menuentry 'RAID - Debian 7.8 (wheezy) con Linux 3.16.0-0.bpo.4-amd64 e XEN 4.6-unstable' --class debian --class gnu-linux --class gnu --class os
--class xen { set fallback="1" set root='(RAID-ROOT)' echo 'Caricamento Hypervisor Xen 4.6-unstable...' multiboot /boot/xen.gz placeholder dom0_mem=2G,max:3G echo 'Caricamento Linux 3.16.0-0.bpo.4-amd64 ...' module /boot/vmlinuz-3.16.0-0.bpo.4-amd64 placeholderQuoted 4 lines
root=/dev/mapper/RAID-ROOT ro swiotlb=65762 quiet
echo 'Caricamento ramdisk iniziale...'
module/boot/initrd.img-3.16.0-0.bpo.4-amd64
}this is an old entry I used for debug dom0 boot problem:
Quoted 9 lines
menuentry 'Wheezy con Linux 3.2.0-4-amd64 e XEN 4.4 - RAID - Debug su
Seriale' --class debian --class gnu-linux --class gnu --class os { set root='(RAID-ROOT)' echo 'Caricamento Hypervisor Xen 4.4...' multiboot /boot/xen-4.4-amd64.gz placeholder dom0_mem=2G,max:2G swiotlb=65762 loglvl=all guest_loglvl=all sync_console console_to_ring com2=19200,8n1 console=com2 echo 'Caricamento Linux 3.2.0-4-amd64...' linux /boot/vmlinuz-3.2.0-4-amd64 placeholderQuoted 4 lines
root=/dev/mapper/RAID-ROOT ro console=hvc0 earlyprintk=xen nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd/boot/initrd.img-3.2.0-4-amd64
}Quoted 4 lines
About dom0 you mean add only "loglvl=all guest_loglvl=all" or also other thing?
And about domU?
Quoted 9 lines
I think your configuration is alright.
Actually you can use xl dmesg to get the log. The interesting part is hvmloader information.
Wei.
Quoted 2 lines
Thanks for any reply.
Here the xl dmesg about fedora with ovmf:
Quoted 64 lines
(d14) HVM Loader
(d14) Detected Xen v4.6-unstable
(d14) Xenbus rings @0xfeffc000, event channel 1
(d14) System requested OVMF
(d14) CPU speed is 2660 MHz
(d14) Relocating guest memory for lowmem MMIO space disabled
(XEN) irq.c:276: Dom14 PCI link 0 changed 0 -> 5
(d14) PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:276: Dom14 PCI link 1 changed 0 -> 10
(d14) PCI-ISA link 1 routed to IRQ10
(XEN) irq.c:276: Dom14 PCI link 2 changed 0 -> 11
(d14) PCI-ISA link 2 routed to IRQ11
(XEN) irq.c:276: Dom14 PCI link 3 changed 0 -> 5
(d14) PCI-ISA link 3 routed to IRQ5
(d14) pci dev 01:3INTA->IRQ10
(d14) pci dev 02:0INTA->IRQ11
(d14) pci dev 03:0INTA->IRQ5
(d14) pci dev 04:0INTA->IRQ5
(d14) pci dev 06:0INTA->IRQ11
(d14) pci dev 1d:0INTA->IRQ10
(d14) pci dev 1d:1INTB->IRQ11
(d14) pci dev 1d:2INTC->IRQ5
(d14) pci dev 1d:7INTD->IRQ5
(d14) No RAM in high memory; settinghigh_memresource base to 100000000 (d14) pci dev 02:0 bar 14 size 001000000:0f0000008
(d14) pci dev 05:0 bar 10 size 001000000:0f1000008
(d14) pci dev 06:0 bar 30 size 000040000:0f2000000
(d14) pci dev 05:0 bar 30 size 000010000:0f2040000
(d14) pci dev 03:0 bar 10 size 000004000:0f2050000
(d14) pci dev 04:0 bar 14 size 000001000:0f2054000
(d14) pci dev 05:0 bar 18 size 000001000:0f2055000
(d14) pci dev 1d:7 bar 10 size 000001000:0f2056000
(d14) pci dev 02:0 bar 10 size 000000100:00000c001
(d14) pci dev 06:0 bar 10 size 000000100:00000c101
(d14) pci dev 06:0 bar 14 size 000000100:0f2057000
(d14) pci dev 04:0 bar 10 size 000000020:00000c201
(d14) pci dev 1d:0 bar 20 size 000000020:00000c221
(d14) pci dev 1d:1 bar 20 size 000000020:00000c241
(d14) pci dev 1d:2 bar 20 size 000000020:00000c261
(d14) pci dev 01:1 bar 20 size 000000010:00000c281
(d14) Multiprocessor initialisation:
(d14) - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [1/8] ... done. (d14) - CPU1 ... 36-bit phys ... fixed MTRRs ... var MTRRs [1/8] ... done. (d14) Testing HVM environment:
(d14) - REP INSB across page boundaries ... passed
(d14) - GS base MSRs and SWAPGS ... passed
(d14) Passed 2 of 2 tests
(d14) Writing SMBIOS tables ...
(d14) Loading OVMF ...
(XEN) d14v0 Over-allocation for domain 14: 524545 > 524544
(XEN) memory.c:155:d14v0 Could not allocate order=0 extent: id=14 memflags=0 (0 of 1) (d14) Loading ACPI ...
(d14) S3 disabled
(d14) S4 disabled
(d14) vm86 TSS atfc012c80
(d14) BIOS map:
(d14) ffe00000-ffffffff: Main BIOS
(d14) E820 table:(d14) [00]: 00000000:00000000 - 00000000:000a0000: RAM (d14) HOLE: 00000000:000a0000 - 00000000:000f0000 (d14) [01]: 00000000:000f0000 - 00000000:00100000: RESERVED (d14) [02]: 00000000:00100000 - 00000000:7eead000: RAM (d14) HOLE: 00000000:7eead000 - 00000000:fc000000 (d14) [03]: 00000000:fc000000 - 00000001:00000000: RESERVED
Quoted 5 lines
(d14) Invoking OVMF ...
(XEN) irq.c:276: Dom14 PCI link 0 changed 5 -> 11 (XEN) irq.c:276: Dom14 PCI link 1 changed 10 -> 11 (XEN) irq.c:276: Dom14 PCI link 2 changed 11 -> 10 (XEN) irq.c:276: Dom14 PCI link 3 changed 5 -> 10
The strange thing is that I not found lines "Boot from" similar to domUs with seabios instead, for example a w10 domU, seabios and boot='dc' and with empty cdrom have also these lines:
Quoted 8 lines
(d15) Booting from DVD/CD...
(d15) Device reports MEDIUM NOT PRESENT
(d15)scsi_is_readyreturned -1
(d15) Boot failed: Could not read from CDROM (code 0003) (d15) enterhandle_18:
(d15) NULL
(d15) Booting from Hard Disk...
(d15) Booting from 0000:7c00
On Wed, Jul 29, 2015 at 01:15:24PM +0200, Fabio Fantoni wrote:
[...]
Quoted 15 lines
Quoted 9 lines
(d14) BIOS map:
(d14) ffe00000-ffffffff: Main BIOS
(d14) E820 table:(d14) [00]: 00000000:00000000 - 00000000:000a0000: RAM (d14) HOLE: 00000000:000a0000 - 00000000:000f0000 (d14) [01]: 00000000:000f0000 - 00000000:00100000: RESERVED (d14) [02]: 00000000:00100000 - 00000000:7eead000: RAM (d14) HOLE: 00000000:7eead000 - 00000000:fc000000 (d14) [03]: 00000000:fc000000 - 00000001:00000000: RESERVEDQuoted 5 lines
(d14) Invoking OVMF ...
(XEN) irq.c:276: Dom14 PCI link 0 changed 5 -> 11 (XEN) irq.c:276: Dom14 PCI link 1 changed 10 -> 11 (XEN) irq.c:276: Dom14 PCI link 2 changed 11 -> 10 (XEN) irq.c:276: Dom14 PCI link 3 changed 5 -> 10
Quoted 3 lines
The strange thing is that I not found lines "Boot from" similar to domUs with seabios instead, for example a w10 domU, seabios and boot='dc' and with empty cdrom have also these lines:
Right. That's because OVMF doesn't write to the correct port. Sigh.
It requires recompiling OVMF to make it write to serial console, which is probably too much trouble for you.
Another thing to try is to use VNC to connect to your DomU to see if there is anything useful there.
Wei.
Il 29/07/2015 13:20, Wei Liu ha scritto:
Quoted 21 lines · Fabio Fantoni
[...]
Quoted 14 lines
Quoted 9 lines
(d14) BIOS map:
(d14) ffe00000-ffffffff: Main BIOS
(d14) E820 table:(d14) [00]: 00000000:00000000 - 00000000:000a0000: RAM (d14) HOLE: 00000000:000a0000 - 00000000:000f0000 (d14) [01]: 00000000:000f0000 - 00000000:00100000: RESERVED (d14) [02]: 00000000:00100000 - 00000000:7eead000: RAM (d14) HOLE: 00000000:7eead000 - 00000000:fc000000 (d14) [03]: 00000000:fc000000 - 00000001:00000000: RESERVEDQuoted 5 lines
(d14) Invoking OVMF ...
(XEN) irq.c:276: Dom14 PCI link 0 changed 5 -> 11 (XEN) irq.c:276: Dom14 PCI link 1 changed 10 -> 11 (XEN) irq.c:276: Dom14 PCI link 2 changed 11 -> 10 (XEN) irq.c:276: Dom14 PCI link 3 changed 5 -> 10Quoted 3 lines
The strange thing is that I not found lines "Boot from" similar to domUs with seabios instead, for example a w10 domU, seabios and boot='dc' and with empty cdrom have also these lines:
Right. That's because OVMF doesn't write to the correct port. Sigh.
Quoted 7 lines
It requires recompiling OVMF to make it write to serial console, which is probably too much trouble for you.
Another thing to try is to use VNC to connect to your DomU to see if there is anything useful there.
Wei.
I use spice instead, output should be same even if quality and features is better.
I remembered that ovmf from debian packages is compiled without debug, I recompiled with ovmf included in xen-unstable instead.
After on first test I saw that boot correctly from cdrom.
I did other tests after remember that with serial='pty' I need to look qemu log, see the port and do a cat on it (sorry for lost time previously for my bad memory). Without debug is too fast on boot is not possible but with this with debug yes.
With ide (default) and boot='c' do strange things, boot from cdrom and domU's serial output is:
Quoted 3 lines
cat
/dev/pts/5
3h
3h
With hdtype='ahci' printed the output correctly but what did in boot is still strange:
Quoted 8 lines
cat
/dev/pts/4
Boot Failed. EFI Floppy
Boot Failed. EFI Floppy 1
Booting in insecure mode
System BootOrder not found. Initializing defaults.
device path: "Acpi(PNP0A03,0)/Pci(2|0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6)/HD(Part1,SigF5D503AE-FD24-4E28-8D1B-8D0A2F97F0BC)/\EFI\fedora\shim.efi" Creating boot entry "Boot0005" with label "Fedora" for file "\EFI\fedora\shim.efi"
Booting in insecure mode
based on qemu configuration floppy should be not present and about the boot order the strange thing is "System BootOrder not found. Initializing defaults."
if you need more informations/tests tell me and I'll post them.
Quoted 55 lines · Fabio Fantoni
Il 29/07/2015 13:20, Wei Liu ha scritto:
Quoted 21 lines · Fabio Fantoni
[...]
Quoted 14 lines
Quoted 9 lines
(d14) BIOS map:
(d14) ffe00000-ffffffff: Main BIOS
(d14) E820 table:(d14) [00]: 00000000:00000000 - 00000000:000a0000: RAM (d14) HOLE: 00000000:000a0000 - 00000000:000f0000 (d14) [01]: 00000000:000f0000 - 00000000:00100000: RESERVED (d14) [02]: 00000000:00100000 - 00000000:7eead000: RAM (d14) HOLE: 00000000:7eead000 - 00000000:fc000000 (d14) [03]: 00000000:fc000000 - 00000001:00000000: RESERVEDQuoted 5 lines
(d14) Invoking OVMF ...
(XEN) irq.c:276: Dom14 PCI link 0 changed 5 -> 11 (XEN) irq.c:276: Dom14 PCI link 1 changed 10 -> 11 (XEN) irq.c:276: Dom14 PCI link 2 changed 11 -> 10 (XEN) irq.c:276: Dom14 PCI link 3 changed 5 -> 10Quoted 3 lines
The strange thing is that I not found lines "Boot from" similar to domUs with seabios instead, for example a w10 domU, seabios and boot='dc' and with empty cdrom have also these lines:
Right. That's because OVMF doesn't write to the correct port. Sigh.
Quoted 7 lines
It requires recompiling OVMF to make it write to serial console, which is probably too much trouble for you.
Another thing to try is to use VNC to connect to your DomU to see if there is anything useful there.
Wei.
I use spice instead, output should be same even if quality and features is better.
I remembered that ovmf from debian packages is compiled without debug, I recompiled with ovmf included in xen-unstable instead.
After on first test I saw that boot correctly from cdrom.
I did other tests after remember that with serial='pty' I need to look qemu log, see the port and do a cat on it (sorry for lost time previously for my bad memory).
Without debug is too fast on boot is not possible but with this with debug yes.
With ide (default) and boot='c' do strange things, boot from cdrom and domU's serial output is:Quoted 3 lines
cat
/dev/pts/5
3h
3hWith hdtype='ahci' printed the output correctly but what did in boot is still strange:
Quoted 9 lines
cat
/dev/pts/4
Boot Failed. EFI Floppy
Boot Failed. EFI Floppy 1
Booting in insecure mode
System BootOrder not found. Initializing defaults.
device path: "Acpi(PNP0A03,0)/Pci(2|0)/VenHw(3D3CA290-B9A5-11E3-B75D-B8AC6F7D65E6)/HD(Part1,SigF5D503AE-FD24-4E28-8D1B-8D0A2F97F0BC)/\EFI\fedora\shim.efi" Creating boot entry "Boot0005" with label "Fedora" for file
"\EFI\fedora\shim.efi"
Booting in insecure mode
Quoted 5 lines
based on qemu configuration floppy should be not present and about the boot order the strange thing is "System BootOrder not found. Initializing defaults."
if you need more informations/tests tell me and I'll post them.
Anthony told me that this could be indeed a bug that OVMF doesn't really honor the boot sequence specified.
Wei.