Advertisement
Guest User

Xen Primary Passthrough Errors

a guest
Jul 19th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.17 KB | None | 0 0
  1. Contents of windows.cfg:
  2.  
  3. name="windows"
  4. builder="hvm"
  5. device_model_version="qemu-xen-traditional"
  6. vcpus=4
  7. memory=8192
  8. disk=[
  9. '/dev/mapper/victory-uw,,hda,w'
  10. ]
  11. vif=[
  12. 'bridge=xenbr0'
  13. ]
  14. pci=[
  15. # '00:1d.0',
  16. '03:00.0',
  17. '03:00.1',
  18. '0e:00.0',
  19. '0f:00.0'
  20. ]
  21. boot='c'
  22. pae=1
  23. nx=1
  24. gfx_passthru=1
  25. usb=1
  26. usbdevice="tablet"
  27. localtime=1
  28. viridian=1
  29. xen_platform_pci=1
  30.  
  31.  
  32.  
  33. Output from xl -vvv create:
  34.  
  35. libxl: debug: libxl_create.c:1230:do_domain_create: ao 0xf9f3d0: create: how=(nil) callback=(nil) poller=0xfa3950
  36. libxl: debug: libxl_device.c:257:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown
  37. libxl: debug: libxl_device.c:296:libxl__device_disk_set_backend: Disk vdev=hda, using backend phy
  38. libxl: debug: libxl_create.c:675:initiate_domain_create: running bootloader
  39. libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV domain, skipping bootloader
  40. libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xfa3cb8: deregister unregistered
  41. libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=8, nr_vcpus=12, free_memkb=27934
  42. libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate with 1 nodes, 8 cpus and 27934 KB free selected
  43. xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9ee68
  44. xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19ee68
  45. xc: info: VIRTUAL MEMORY ARRANGEMENT:
  46. Loader: 0000000000100000->000000000019ee68
  47. Modules: 0000000000000000->0000000000000000
  48. TOTAL: 0000000000000000->00000001ff800000
  49. ENTRY ADDRESS: 0000000000100000
  50. xc: info: PHYSICAL MEMORY ALLOCATION:
  51. 4KB PAGES: 0x0000000000000200
  52. 2MB PAGES: 0x00000000000003fb
  53. 1GB PAGES: 0x0000000000000006
  54. xc: detail: elf_load_binary: phdr 0 at 0x7fa8370d7000 -> 0x7fa83716cced
  55. libxl: debug: libxl_device.c:257:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=phy
  56. libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xfa5938 wpath=/local/domain/0/backend/vbd/12/768/state token=3/0: register slotnum=3
  57. libxl: debug: libxl_create.c:1243:do_domain_create: ao 0xf9f3d0: inprogress: poller=0xfa3950, flags=i
  58. libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xfa5938 wpath=/local/domain/0/backend/vbd/12/768/state token=3/0: event epath=/local/domain/0/backend/vbd/12/768/state
  59. libxl: debug: libxl_event.c:647:devstate_watch_callback: backend /local/domain/0/backend/vbd/12/768/state wanted state 2 still waiting state 1
  60. libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xfa5938 wpath=/local/domain/0/backend/vbd/12/768/state token=3/0: event epath=/local/domain/0/backend/vbd/12/768/state
  61. libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/12/768/state wanted state 2 ok
  62. libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xfa5938 wpath=/local/domain/0/backend/vbd/12/768/state token=3/0: deregister slotnum=3
  63. libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xfa5938: deregister unregistered
  64. libxl: debug: libxl_device.c:959:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
  65. libxl: debug: libxl_dm.c:1206:libxl__spawn_local_dm: Spawning device-model /usr/local/lib/xen/bin/qemu-dm with arguments:
  66. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: /usr/local/lib/xen/bin/qemu-dm
  67. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -d
  68. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 12
  69. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -domain-name
  70. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: windows
  71. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -vnc
  72. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 127.0.0.1:0
  73. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -vncunused
  74. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -videoram
  75. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 8
  76. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -boot
  77. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: c
  78. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -usb
  79. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -usbdevice
  80. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: tablet
  81. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -acpi
  82. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -vcpus
  83. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 4
  84. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -vcpu_avail
  85. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: 0x0f
  86. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -net
  87. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: nic,vlan=0,macaddr=00:16:3e:14:b1:1d,model=rtl8139
  88. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -net
  89. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: tap,vlan=0,ifname=vif12.0-emu,bridge=xenbr0,script=no,downscript=no
  90. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -gfx_passthru
  91. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: -M
  92. libxl: debug: libxl_dm.c:1208:libxl__spawn_local_dm: xenfv
  93. libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xfa3ef0 wpath=/local/domain/0/device-model/12/state token=3/1: register slotnum=3
  94. libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xfa3ef0 wpath=/local/domain/0/device-model/12/state token=3/1: event epath=/local/domain/0/device-model/12/state
  95. libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xfa3ef0 wpath=/local/domain/0/device-model/12/state token=3/1: event epath=/local/domain/0/device-model/12/state
  96. libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xfa3ef0 wpath=/local/domain/0/device-model/12/state token=3/1: deregister slotnum=3
  97. libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xfa3ef0: deregister unregistered
  98. libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0xf9d9d8 wpath=/local/domain/0/backend/vif/12/0/state token=3/2: register slotnum=3
  99. libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf9d9d8 wpath=/local/domain/0/backend/vif/12/0/state token=3/2: event epath=/local/domain/0/backend/vif/12/0/state
  100. libxl: debug: libxl_event.c:647:devstate_watch_callback: backend /local/domain/0/backend/vif/12/0/state wanted state 2 still waiting state 1
  101. libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf9d9d8 wpath=/local/domain/0/backend/vif/12/0/state token=3/2: event epath=/local/domain/0/backend/vif/12/0/state
  102. libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vif/12/0/state wanted state 2 ok
  103. libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0xf9d9d8 wpath=/local/domain/0/backend/vif/12/0/state token=3/2: deregister slotnum=3
  104. libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0xf9d9d8: deregister unregistered
  105. libxl: debug: libxl_device.c:959:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online
  106. libxl: debug: libxl_device.c:959:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge add
  107. libxl: debug: libxl_pci.c:81:libxl__create_pci_backend: Creating pci backend
  108. libxl: debug: libxl_event.c:1737:libxl__ao_progress_report: ao 0xf9f3d0: progress report: ignored
  109. libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0xf9f3d0: complete, rc=0
  110. libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0xf9f3d0: destroy
  111. xc: debug: hypercall buffer: total allocations:1098 total releases:1098
  112. xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
  113. xc: debug: hypercall buffer: cache current size:4
  114. xc: debug: hypercall buffer: cache hits:1090 misses:4 toobig:4
  115. Parsing config from /etc/xen/windows.cfg
  116. Daemon running with PID 7590
  117.  
  118.  
  119.  
  120. The output of xl list, 2 minutes after running the create:
  121.  
  122. Name ID Mem VCPUs State Time(s)
  123. Domain-0 0 4096 8 r----- 1507.9
  124. windows 12 8183 1 r----- 14.1
  125.  
  126.  
  127. The contents inside qemu-dm-windows.log after the whole process and destroy:
  128.  
  129.  
  130. domid: 12
  131. Using file /dev/mapper/victory-uw in read-write mode
  132. Watching /local/domain/0/device-model/12/logdirty/cmd
  133. Watching /local/domain/0/device-model/12/command
  134. Watching /local/domain/12/cpu
  135. qemu_map_cache_init nr_buckets = 10000 size 4194304
  136. shared page at pfn feffd
  137. buffered io page at pfn feffb
  138. Guest uuid = 4d8ac944-62c7-458c-a662-2b8bd24ed9e2
  139. Register xen platform.
  140. Done register platform.
  141. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
  142. xs_read(/local/domain/0/device-model/12/xen_extended_power_mgmt): read error
  143. xs_read(): vncpasswd get error. /vm/4d8ac944-62c7-458c-a662-2b8bd24ed9e2/vncpasswd.
  144. Log-dirty: no command yet.
  145. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
  146. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
  147. vcpu-set: watch node error.
  148. [xenstore_process_vcpu_set_event]: /local/domain/12/cpu has no CPU!
  149. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
  150. xs_read(/local/domain/12/log-throttling): read error
  151. qemu: ignoring not-understood drive `/local/domain/12/log-throttling'
  152. medium change watch on `/local/domain/12/log-throttling' - unknown device, ignored
  153. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
  154. dm-command: hot insert pass-through pci dev
  155. register_real_device: Assigning real physical device 03:00.0 ...
  156. register_real_device: Disable MSI translation via per device option
  157. register_real_device: Disable power management
  158. pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x3:0x0.0x0
  159. pt_register_regions: IO region registered (size=0x10000000 base_addr=0xe000000c)
  160. pt_register_regions: IO region registered (size=0x00020000 base_addr=0xf7720004)
  161. pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000e001)
  162. pt_register_regions: Expansion ROM registered (size=0x00020000 base_addr=0xf7700000)
  163. pci_intx: intx=1
  164. register_real_device: Real physical device 03:00.0 registered successfuly!
  165. IRQ type = INTx
  166. dm-command: hot insert pass-through pci dev
  167. register_real_device: Assigning real physical device 03:00.1 ...
  168. register_real_device: Disable MSI translation via per device option
  169. register_real_device: Disable power management
  170. pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x3:0x0.0x1
  171. pt_register_regions: IO region registered (size=0x00004000 base_addr=0xf7740004)
  172. pci_intx: intx=2
  173. register_real_device: Real physical device 03:00.1 registered successfuly!
  174. IRQ type = INTx
  175. dm-command: hot insert pass-through pci dev
  176. register_real_device: Assigning real physical device 0e:00.0 ...
  177. register_real_device: Disable MSI translation via per device option
  178. register_real_device: Disable power management
  179. pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0xe:0x0.0x0
  180. pt_register_regions: IO region registered (size=0x00008000 base_addr=0xf7100004)
  181. pci_intx: intx=1
  182. register_real_device: Real physical device 0e:00.0 registered successfuly!
  183. IRQ type = INTx
  184. dm-command: hot insert pass-through pci dev
  185. register_real_device: Assigning real physical device 0f:00.0 ...
  186. register_real_device: Disable MSI translation via per device option
  187. register_real_device: Disable power management
  188. pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0xf:0x0.0x0
  189. pt_register_regions: IO region registered (size=0x00008000 base_addr=0xf7000004)
  190. pci_intx: intx=1
  191. register_real_device: Real physical device 0f:00.0 registered successfuly!
  192. IRQ type = INTx
  193. pt_iomem_map: e_phys=e0000000 maddr=e0000000 type=8 len=268435456 index=0 first_map=1
  194. pt_iomem_map: e_phys=f1000000 maddr=f7720000 type=0 len=131072 index=2 first_map=1
  195. pt_iomem_map: e_phys=f1040000 maddr=f7100000 type=0 len=32768 index=0 first_map=1
  196. pt_iomem_map: e_phys=f1048000 maddr=f7000000 type=0 len=32768 index=0 first_map=1
  197. pt_iomem_map: e_phys=f1050000 maddr=f7740000 type=0 len=16384 index=0 first_map=1
  198. pt_ioport_map: e_phys=c200 pio_base=e000 len=256 index=4 first_map=1
  199. pt_ioport_map: e_phys=c200 pio_base=e000 len=256 index=4 first_map=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement