Il 15/10/2015 20:02, Anthony PERARD ha scritto:
On Thu, Oct 15, 2015 at 06:27:17PM +0200, Fabio Fantoni wrote:
Il 14/10/2015 13:06, Stefano Stabellini ha scritto:
I would suggest Fabio to avoid AHCI disks altogether and just use OVMF
with PV disks only and Anthony's patch to libxl to avoid creating any
IDE disks: http://marc.info/?l=xen-devel&m=144482080812353.
Would that work for you?
Thanks for the advice, I tried it:
https://github.com/Fantu/Xen/commits/rebase/m2r-testing-4.6
I installed W10 pro 64 bit with ide disk, installed the win pv drivers and
after changed to xvdX instead hdX, is the only change needed, right?
Initial boot is ok (ovmf part about pv disks seems ok) but windows boot
fails with problem with pv drivers.
In attachment full qemu log with xen_platform trace and domU's xl cfg.
Someone have windows domUs with ovmf and pv disks only working? If yes can
tell me the difference to understand what can be the problem please?
When I worked on the PV disk implementation in OVMF, I was able to boot
a Windows 8 with pv disk only.
I don't have access to the guest configuration I was using, but I think one
difference would be the viridian setting, I'm pretty sure I did not set it.
I tried with viridian disabled but did the same thing, looking cdrom as
latest thing before xenbug trace in qemu log I tried also to remove it
but also in this case don't boot correctly, full qemu log in attachment.
I don't know if is a ovmf thing to improve (like what seems in Laszlo
and Kevin mails) or xen winpv drivers unexpected case, have you tried
also with latest winpv builds? (for exclude regression)
Thanks for any reply and sorry for my bad english.
main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 17.727000 ms, bitrate 578858111
bps (552.042113 Mbps)
inputs_connect: inputs channel client create
red_dispatcher_set_cursor_peer:
xen_platform_log xen platform: XEN|DllInitialize: 8.2.0 (80) (17.09.2015)
xen_platform_log xen platform: XEN|AcpiFindRsdp: 0x00000000000EA020
xen_platform_log xen platform: XEN|SystemGetStartOptions: TESTSIGNING
NOEXECUTE=OPTIN NOVGA
xen_platform_log xen platform: XEN|SystemGetVersionInformation: KERNEL: 10.0
(BUILD 10240) PLATFORM WIN32_NT (x64)
xen_platform_log xen platform: XEN|SystemGetVersionInformation: SUITES:
xen_platform_log xen platform: XEN|SystemGetVersionInformation: - TERMINAL
xen_platform_log xen platform: XEN|SystemGetVersionInformation: - SINGLEUSERTS
xen_platform_log xen platform: XEN|SystemGetVersionInformation: TYPE:
WORKSTATION
xen_platform_log xen platform: XEN|SystemGetMemoryInformation: RANGE[0]
00000000.00001000 - 00000000.0009efff
xen_platform_log xen platform: XEN|SystemGetMemoryInformation: RANGE[1]
00000000.00100000 - 00000000.eed94fff
xen_platform_log xen platform: XEN|SystemGetMemoryInformation: RANGE[2]
00000000.eee12000 - 00000000.efe91fff
xen_platform_log xen platform: XEN|SystemGetMemoryInformation: RANGE[3]
00000000.efef6000 - 00000000.effcffff
xen_platform_log xen platform: XEN|SystemGetMemoryInformation: RANGE[4]
00000000.efff0000 - 00000000.efffffff
xen_platform_log xen platform: XEN|SystemGetMemoryInformation: RANGE[5]
00000001.00000000 - 00000001.07eaafff
xen_platform_log xen platform: XEN|AcpiGetXsdt: 0x00000000FC012BA0
xen_platform_log xen platform: XEN|SystemProcessorInformation: ====> (0:0)
xen_platform_log xen platform: XEN|SystemProcessorInformation: Manufacturer:
GenuineIntel
xen_platform_log xen platform: XEN|SystemProcessorInformation: APIC ID: 00
xen_platform_log xen platform: XEN|SystemProcessorInformation: PROCESSOR ID: 00
xen_platform_log xen platform: XEN|SystemProcessorInformation: <==== (0:0)
xen_platform_log xen platform: XEN|SystemProcessorInformation: ====> (0:1)
xen_platform_log xen platform: XEN|SystemProcessorInformation: Manufacturer:
GenuineIntel
xen_platform_log xen platform: XEN|SystemProcessorInformation: APIC ID: 02
xen_platform_log xen platform: XEN|SystemProcessorInformation: PROCESSOR ID: 01
xen_platform_log xen platform: XEN|SystemProcessorInformation: <==== (0:1)
xen_platform_log xen platform: XEN: HYPERCALL PAGE 0 @ 00000001.03dd4000
xen_platform_log xen platform: XENFILT|DriverEntry: 8.2.0 (80) (17.09.2015)
xen_platform_log xen platform: XEN: 4.6.0 (__XEN_INTERFACE_VERSION__ = 00040600)
xen_platform_log xen platform: XENFILT|FdoCreate: FFFFE0006B7A7C60
(ACPI\PNP0A03\0)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B786A60
(PCI\VEN_8086&DEV_1237&SUBSYS_11001AF4&REV_02\00)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DBC60
(PCI\VEN_8086&DEV_7000&SUBSYS_11001AF4&REV_00\08)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DB880
(PCI\VEN_8086&DEV_7010&SUBSYS_11001AF4&REV_00\09)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DCC60
(PCI\VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\10)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DC880
(PCI\VEN_8086&DEV_2668&SUBSYS_11001AF4&REV_01\18)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DDC60
(PCI\VEN_1AF4&DEV_1003&SUBSYS_00031AF4&REV_00\20)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DD880
(PCI\VEN_1B36&DEV_0100&SUBSYS_11001AF4&REV_04\28)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B720B30
(PCI\VEN_10EC&DEV_8139&SUBSYS_11001AF4&REV_20\30)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DEC60
(PCI\VEN_8086&DEV_2934&SUBSYS_11001AF4&REV_03\E8)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7DFC60
(PCI\VEN_8086&DEV_2935&SUBSYS_11001AF4&REV_03\E9)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7EEC60
(PCI\VEN_8086&DEV_2936&SUBSYS_11001AF4&REV_03\EA)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7EE880
(PCI\VEN_8086&DEV_293A&SUBSYS_11001AF4&REV_03\EF)
xen_platform_log xen platform: XENFILT|PdoCreate: FFFFE0006B7EF9F0
(ACPI\PNP0103\0)
xen_platform_log xen platform: XENFILT|DriverSetFilterState: PENDING
xen_platform_log xen platform: XENFILT|DriverSetFilterState: DISABLED
xen_platform_log xen platform: XENBUS|DriverEntry: 8.2.0 (80) (17.09.2015)
xen_platform_log xen platform: XENFILT|PdoQueryInterface:
PCI\VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\10: PVDEVICE_INTERFACE (VERSION 1)
xen_platform_log xen platform: XENFILT|PvdeviceSetActive:
PCI\VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\10
xen_platform_log xen platform: XENBUS|FdoSetFriendlyName: Xen PV Bus (0001)
xen_platform_log xen platform: XENBUS|FdoCreate: FFFFE0006B6C8040 (XP0001
XENBUS) [ACTIVE]
xen_platform_log xen platform: XENBUS|FdoConnectInterrupt: FFFFE0006B6A2A88:
Shared LevelSensitive CPU 0:0 VECTOR b1
xen_platform_log xen platform: XENBUS|FdoConnectInterrupt: FFFFE0006B6E7E98:
DeviceExclusive Latched CPU 0:0 VECTOR 50
xen_platform_log xen platform: XENBUS|FdoConnectInterrupt: FFFFE0006B6E7BA8:
DeviceExclusive Latched CPU 0:1 VECTOR 50
xen_platform_log xen platform: XENBUS|FdoScan: ====>
xen_platform_log xen platform: XENBUS|FdoCreateIoSpace: 00000000.f8000000 -
00000000.f8ffffff
xen_platform_log xen platform: XENBUS|FdoSuspend: ====>
xen_platform_log xen platform: XEN|HvmSetParam: fail1 (c0000022)
xen_platform_log xen platform: XENBUS|FdoBalloon: ====>
xen_platform_log xen platform: SHARED_INFO: MAP XENMAPSPACE_shared_info @
00000000.f8000000
xen_platform_log xen platform: EVTCHN_FIFO: CONTROLBLOCK[0] @ 00000000.00f25000
xen_platform_log xen platform: EVTCHN_FIFO: CONTROLBLOCK[1] @ 00000000.00d26000
xen_platform_log xen platform: XENBUS|EvtchnAbiAcquire: FIFO
xen_platform_log xen platform: XENBUS|EvtchnInterruptEnable: CPU 0:0 (Vector =
80)
xen_platform_log xen platform: XENBUS|EvtchnInterruptEnable: CPU 0:1 (Vector =
80)
xen_platform_log xen platform: XENBUS|EvtchnInterruptEnable: CALLBACK VIA
(Vector = 24)
xen_platform_log xen platform: STORE: PAGE @ 00000000.feffc000
xen_platform_log xen platform: STORE: EVTCHN 1
xen_platform_log xen platform: EVTCHN_FIFO: EVENTARRAY[0] @ 00000000.00d27000
xen_platform_log xen platform: XENBUS|EvtchnFifoExpand: added ports [00000000 -
000003ff]
xen_platform_log xen platform: XENBUS|PdoCreate: FFFFE0006B6E6D40 (VBD)
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 08000009 -> SUSPEND v1
SHARED_INFO v2 EVTCHN v4 DEBUG v1 STORE v1 RANGE_SET v1 CACHE v1 GNTTAB v1
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 0800000A -> SUSPEND v1
SHARED_INFO v2 EVTCHN v5 DEBUG v1 STORE v1 RANGE_SET v1 CACHE v1 GNTTAB v1
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 0800000B -> SUSPEND v1
SHARED_INFO v2 EVTCHN v5 DEBUG v1 STORE v2 RANGE_SET v1 CACHE v1 GNTTAB v2
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoCreate: FFFFE0006B6E6A20 (VIF)
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 08000009 -> SUSPEND v1
SHARED_INFO v2 EVTCHN v4 DEBUG v1 STORE v1 RANGE_SET v1 CACHE v1 GNTTAB v1
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 0800000A -> SUSPEND v1
SHARED_INFO v2 EVTCHN v5 DEBUG v1 STORE v1 RANGE_SET v1 CACHE v1 GNTTAB v1
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 0800000B -> SUSPEND v1
SHARED_INFO v2 EVTCHN v5 DEBUG v1 STORE v2 RANGE_SET v1 CACHE v1 GNTTAB v2
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoCreate: FFFFE0006B6E4D40 (IFACE)
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 08000009 -> SUSPEND v1
SHARED_INFO v2 EVTCHN v4 DEBUG v1 STORE v1 RANGE_SET v1 CACHE v1 GNTTAB v1
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 0800000A -> SUSPEND v1
SHARED_INFO v2 EVTCHN v5 DEBUG v1 STORE v1 RANGE_SET v1 CACHE v1 GNTTAB v1
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENBUS|PdoDumpRevisions: 0800000B -> SUSPEND v1
SHARED_INFO v2 EVTCHN v5 DEBUG v1 STORE v2 RANGE_SET v1 CACHE v1 GNTTAB v2
UNPLUG v1 EMULATED v1
xen_platform_log xen platform: XENFILT|FdoCreate: FFFFE0006B6C4C60
(PCIIDE\IDEChannel\0)
xen_platform_log xen platform: XENFILT|FdoCreate: FFFFE0006B6A5C60
(PCIIDE\IDEChannel\1)
xen_platform_log xen platform: XEN|DEBUG: ====> (xenbus.sys + 00000000000154F0)
xen_platform_log xen platform: XENBUS|SUSPEND: Count = 0
xen_platform_log xen platform: XENBUS|SUSPEND: EARLY: xenbus.sys +
0000000000008474 (FFFFE0006B6A2E30)
xen_platform_log xen platform: XENBUS|SUSPEND: EARLY: xenbus.sys +
0000000000011FA8 (FFFFE0006B7DA920)
xen_platform_log xen platform: XENBUS|SUSPEND: EARLY: xenbus.sys +
0000000000014D10 (FFFFE0006A5CC000)
xen_platform_log xen platform: XENBUS|SUSPEND: LATE: xenbus.sys +
00000000000084C4 (FFFFE0006B6A2E30)
xen_platform_log xen platform: XENBUS|SUSPEND: LATE: xenbus.sys +
0000000000014D50 (FFFFE0006A5CC000)
xen_platform_log xen platform: XENBUS|SUSPEND: LATE: xenbus.sys +
000000000000E080 (FFFFE0006B6C8320)
xen_platform_log xen platform: XEN|DEBUG: <==== (xenbus.sys + 00000000000154F0)
xen_platform_log xen platform: XEN|DEBUG: ====> (xenbus.sys + 000000000001655C)
xen_platform_log xen platform: XENBUS|RANGE_SET: RANGE SETS:
xen_platform_log xen platform: XENBUS|RANGE_SET: - io_space:
xen_platform_log xen platform: XENBUS|RANGE_SET: {f8001000 - f8ffffff}*
xen_platform_log xen platform: XENBUS|RANGE_SET: - balloon:
xen_platform_log xen platform: XENBUS|RANGE_SET: EMPTY
xen_platform_log xen platform: XEN|DEBUG: <==== (xenbus.sys + 000000000001655C)
xen_platform_log xen platform: XEN|DEBUG: ====> (xenbus.sys + 0000000000007800)
xen_platform_log xen platform: XENBUS|EVTCHN: EVENT CHANNELS:
xen_platform_log xen platform: XENBUS|EVTCHN: - (0001) BY xenbus.sys +
000000000001417D ACTIVE
xen_platform_log xen platform: XENBUS|EVTCHN: FIXED
xen_platform_log xen platform: XENBUS|EVTCHN: Events = 17
xen_platform_log xen platform: XENBUS|EVTCHN: - (0006) BY xenbus.sys +
000000000000AC7C ACTIVE
xen_platform_log xen platform: XENBUS|EVTCHN: VIRQ: Index = 1
xen_platform_log xen platform: XENBUS|EVTCHN: Events = 0
xen_platform_log xen platform: XEN|DEBUG: <==== (xenbus.sys + 0000000000007800)
xen_platform_log xen platform: XEN|DEBUG: ====> (xenbus.sys + 0000000000011C08)
xen_platform_log xen platform: XENBUS|SHARED_INFO: Address = 00000000.f8000000
xen_platform_log xen platform: XEN|DEBUG: <==== (xenbus.sys + 0000000000011C08)
xen_platform_log xen platform: XEN|DEBUG: ====> (xenbus.sys + 0000000000013E64)
xen_platform_log xen platform: XENBUS|STORE: Address = 00000000.feffc000
xen_platform_log xen platform: XENBUS|STORE: Events = 17 Dpcs = 1 Polls = 17
xen_platform_log xen platform: XENBUS|STORE: WATCHES:
xen_platform_log xen platform: XENBUS|STORE: - (FDE9) ON device BY xenbus.sys +
000000000000ACCD [ACTIVE]
xen_platform_log xen platform: XENBUS|STORE: - (FDEA) ON control/shutdown BY
xenbus.sys + 000000000000AD09 [ACTIVE]
xen_platform_log xen platform: XENBUS|STORE: - (FDEB) ON memory/target BY
xenbus.sys + 000000000000AD7C [ACTIVE]
xen_platform_log xen platform: XEN|DEBUG: <==== (xenbus.sys + 0000000000013E64)
xen_platform_log xen platform: XEN|BUGCHECK: ====>
xen_platform_log xen platform: XEN|BUGCHECK: INACCESSIBLE_BOOT_DEVICE:
FFFFD00128AE27F0 FFFFFFFFC0000034 0000000000000000 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK:
\ArcName\multi(0)disk(0)rdisk(0)partition(4)
xen_platform_log xen platform: XEN|BUGCHECK: CONTEXT (FFFFD00128AE1B00):
xen_platform_log xen platform: XEN|BUGCHECK: - GS = 002B
xen_platform_log xen platform: XEN|BUGCHECK: - FS = 0053
xen_platform_log xen platform: XEN|BUGCHECK: - ES = 002B
xen_platform_log xen platform: XEN|BUGCHECK: - DS = 002B
xen_platform_log xen platform: XEN|BUGCHECK: - SS = 0018
xen_platform_log xen platform: XEN|BUGCHECK: - CS = 0010
xen_platform_log xen platform: XEN|BUGCHECK: - EFLAGS = 00000086
xen_platform_log xen platform: XEN|BUGCHECK: - RDI = 0000000028AE27F0
xen_platform_log xen platform: XEN|BUGCHECK: - RSI = 00000000C0000034
xen_platform_log xen platform: XEN|BUGCHECK: - RBX = 000000000D010A30
xen_platform_log xen platform: XEN|BUGCHECK: - RDX = 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: - RCX = 0000000028AE1B00
xen_platform_log xen platform: XEN|BUGCHECK: - RAX = 000000000000000F
xen_platform_log xen platform: XEN|BUGCHECK: - RBP = 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: - RIP = 000000000D005C42
xen_platform_log xen platform: XEN|BUGCHECK: - RSP = 0000000028AE1AE0
xen_platform_log xen platform: XEN|BUGCHECK: - R8 = 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: - R9 = 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: - R10 = 0000000000000100
xen_platform_log xen platform: XEN|BUGCHECK: - R11 = 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: - R12 = 0000000000000003
xen_platform_log xen platform: XEN|BUGCHECK: - R13 = 000000000000007B
xen_platform_log xen platform: XEN|BUGCHECK: - R14 = 0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: - R15 = 000000006A400840
xen_platform_log xen platform: XEN|BUGCHECK: STACK:
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE1FF0:
(0000000000000003 000000000D009790 000000000D008F20 000000000D00E3A0) xen.sys +
0000000000005FDD
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2040:
(000000000D011460 0000000028AE2170 0000000000000001 00000000DA5ADEA0)
ntoskrnl.exe + 00000000001F49CB
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2070:
(000000000D011460 00000000DA5ADEA0 0000000000000000 0000000000000000)
ntoskrnl.exe + 00000000001F3CCC
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2780:
(0000000028AE27F0 00000000DA71F09D 0000000000000000 0000000000000000)
ntoskrnl.exe + 000000000014E3E4
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE27C0:
(000000000000007B 0000000028AE27F0 00000000C0000034 0000000000000000)
ntoskrnl.exe + 0000000000163ABF
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2840:
(00000000B8008750 0000000080000284 0000000000000001 00000000FFE17B80)
ntoskrnl.exe + 00000000007C7C33
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2A80:
(000000006A57B040 0000000000000000 0000000000000006 00000000D8FFDD30)
ntoskrnl.exe + 00000000007D2DBF
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2BA0:
(00000000DA7FE6A0 00000000D8FFDD30 000000006A3F8B18 00000000DA65B700)
ntoskrnl.exe + 00000000007DE931
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2BD0:
(0000000000000000 00000000D8FFDD30 000000006A3F8B18 00000000DA65B740)
ntoskrnl.exe + 000000000057C6CA
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2C00:
(000000006A400840 0000000000000000 0000000000000000 00000000FFFFFFFF)
ntoskrnl.exe + 00000000000E6558
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2C60:
(00000000DA5E5180 000000006A400840 00000000DA65B740 00000000000000FE)
ntoskrnl.exe + 00000000001533C6
xen_platform_log xen platform: XEN|BUGCHECK: 0000000028AE2C90:
(0000000028AE3000 0000000028ADD000 0000000000000000 0000000000000000)
0000000000000000
xen_platform_log xen platform: XEN|BUGCHECK: <====
Issued domain 3 reboot
qemu: terminating on signal 1 from pid 1959
red_channel_client_disconnect_dummy: rcc=0x7eff5ff298e0 (channel=0x7eff5fbf36e0
type=5 id=0)
snd_channel_put: SndChannel=0x7eff5ff1ff70 freed
red_channel_client_disconnect_dummy: rcc=0x7eff5ff1bd30 (channel=0x7eff5fbcc470
type=6 id=0)
snd_channel_put: SndChannel=0x7eff5ff0b4f0 freed