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

Re: [Xen-users] Problem with direct pass two (whole) raw disks to vm


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>, "mailing list xen.org" <xen-users@xxxxxxxxxxxxx>
  • From: Jason Yu <yugn@xxxxxx>
  • Date: Fri, 25 Apr 2014 21:25:35 +0930
  • Delivery-date: Fri, 25 Apr 2014 11:57:09 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-topic: [Xen-users] Problem with direct pass two (whole) raw disks to vm

Please anyone can help me on this! Thanks again~

In dom0, I configured /etc/fstab to tell X environment not to auto mount those two hard disk drives. 

From: Guangning YU <yugn@xxxxxx>
Date: Wed, 23 Apr 2014 19:26:50 +0930
To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Cc: "mailing list xen.org" <xen-users@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Problem with direct pass two (whole) raw disks to vm

Thanks Ian for the reply! Here is the output. Can you see any problems? 

=================For two disks in .cfg====================
disk = [ "file:/etc/xen/images/NAS-OMV.img,hda,w", "phy:/dev/sda,hdb,w", "phy:/dev/sdb,hdd,w" ]

root@UB-XEN:/etc/xen# xl -vvv create NAS-OMV.cfg
Parsing config from NAS-OMV.cfg
WARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" instead if you really want a non-default firmware
WARNING: ignoring device_model directive.
WARNING: Use "device_model_override" instead if you really want a non-default device_model
libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x996530: create: how=(nil) callback=(nil) poller=0x995f80
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown
libxl: debug: libxl_device.c:197:disk_try_backend: Disk vdev=hda, backend phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=hda, using backend qdisk
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=unknown
libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=hdb, using backend phy
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=unknown
libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=hdc, using backend phy
libxl: debug: libxl_create.c:797:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV domain, skipping bootloader
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x992dc8: deregister unregistered
libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=4, nr_vcpus=7, free_memkb=1271
libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate with 1 nodes, 4 cpus and 1271 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xa7a84
xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1a7a84
xc: detail: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->00000000001a7a84
Modules: 0000000000000000->0000000000000000
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 0000000000100620
xc: detail: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001fb
1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at 0x7f36ef732000 -> 0x7f36ef7d090d
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=qdisk
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x993ae0: deregister unregistered
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=phy
libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x994878 wpath=/local/domain/0/backend/vbd/2/832/state token=3/0: register slotnum=3
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy
libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x996778 wpath=/local/domain/0/backend/vbd/2/5632/state token=2/1: register slotnum=2
libxl: debug: libxl_create.c:1356:do_domain_create: ao 0x996530: inprogress: poller=0x995f80, flags=i
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x994878 wpath=/local/domain/0/backend/vbd/2/832/state token=3/0: event epath=/local/domain/0/backend/vbd/2/832/state
libxl: debug: libxl_event.c:657:devstate_watch_callback: backend /local/domain/0/backend/vbd/2/832/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x996778 wpath=/local/domain/0/backend/vbd/2/5632/state token=2/1: event epath=/local/domain/0/backend/vbd/2/5632/state
libxl: debug: libxl_event.c:657:devstate_watch_callback: backend /local/domain/0/backend/vbd/2/5632/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x994878 wpath=/local/domain/0/backend/vbd/2/832/state token=3/0: event epath=/local/domain/0/backend/vbd/2/832/state
libxl: debug: libxl_event.c:653:devstate_watch_callback: backend /local/domain/0/backend/vbd/2/832/state wanted state 2 ok
libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0x994878 wpath=/local/domain/0/backend/vbd/2/832/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x994878: deregister unregistered
libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x996778 wpath=/local/domain/0/backend/vbd/2/5632/state token=2/1: event epath=/local/domain/0/backend/vbd/2/5632/state
libxl: debug: libxl_event.c:653:devstate_watch_callback: backend /local/domain/0/backend/vbd/2/5632/state wanted state 2 ok
libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0x996778 wpath=/local/domain/0/backend/vbd/2/5632/state token=2/1: deregister slotnum=2
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x996778: deregister unregistered
libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x994900: deregister unregistered
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x994900: deregister unregistered
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x996800: deregister unregistered
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x996800: deregister unregistered
libxl: debug: libxl_dm.c:1303:libxl__spawn_local_dm: Spawning device-model /usr/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: /usr/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -xen-domid
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: 2
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-2,server,nowait
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -mon
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -nodefaults
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -name
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: NAS-OMV
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -vnc
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: 127.0.0.1:0,to=99
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -k
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: en-us
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -serial
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: pty
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: cirrus-vga
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -global
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: vga.vram_size_mb=8
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -boot
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: order=c
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -usb
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -usbdevice
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: tablet
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -smp
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: 2,maxcpus=2
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: rtl8139,id=nic0,netdev=net0,mac=00:16:3e:d5:5b:9a
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -netdev
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: type=tap,id=net0,ifname=vif2.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -machine
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: xenfv
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -m
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: 1016
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -drive
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: file=/etc/xen/images/NAS-OMV.img,if=ide,index=0,media=disk,format=raw,cache=writeback
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -drive
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: file=/dev/sda,if=ide,index=1,media=disk,format=raw,cache=writeback
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: -drive
libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm: file=/dev/sdb,if=ide,index=2,media=disk,format=raw,cache=writeback
libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x993000 wpath=/local/domain/0/device-model/2/state token=2/2: register slotnum=2
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x993000 wpath=/local/domain/0/device-model/2/state token=2/2: event epath=/local/domain/0/device-model/2/state
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x993000 wpath=/local/domain/0/device-model/2/state token=2/2: event epath=/local/domain/0/device-model/2/state
libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0x993000 wpath=/local/domain/0/device-model/2/state token=2/2: deregister slotnum=2
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x993000: deregister unregistered
libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-2
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
"execute": "qmp_capabilities",
"id": 1
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
"execute": "query-chardev",
"id": 2
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
"execute": "query-vnc",
"id": 3
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x997608 wpath=/local/domain/0/backend/vif/2/0/state token=2/3: register slotnum=2
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x997608 wpath=/local/domain/0/backend/vif/2/0/state token=2/3: event epath=/local/domain/0/backend/vif/2/0/state
libxl: debug: libxl_event.c:657:devstate_watch_callback: backend /local/domain/0/backend/vif/2/0/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x997608 wpath=/local/domain/0/backend/vif/2/0/state token=2/3: event epath=/local/domain/0/backend/vif/2/0/state
libxl: debug: libxl_event.c:653:devstate_watch_callback: backend /local/domain/0/backend/vif/2/0/state wanted state 2 ok
libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0x997608 wpath=/local/domain/0/backend/vif/2/0/state token=2/3: deregister slotnum=2
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x997608: deregister unregistered
libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x997690: deregister unregistered
libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge add
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x997690: deregister unregistered
libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x997690: deregister unregistered
libxl: debug: libxl_event.c:1761:libxl__ao_progress_report: ao 0x996530: progress report: ignored
libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x996530: complete, rc=0
libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x996530: destroy
xc: debug: hypercall buffer: total allocations:808 total releases:808
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:800 misses:4 toobig:4

++++++++++++++++++++++++++++/var/log/xen/xl-NAS-OMV.log++++++++++++++++++++++++++++

Waiting for domain NAS-OMV (domid 2) to die [pid 3895]

libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x9958a0 wpath=@releaseDomain token=3/0: register slotnum=3

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x9958a0 wpath=@releaseDomain token=3/0: event epath=@releaseDomain

libxl: debug: libxl.c:1005:domain_death_xswatch_callback: [evg=0x9941d0:2] from domid=2 nentries=1 rc=1

libxl: debug: libxl.c:1016:domain_death_xswatch_callback: [evg=0x9941d0:2]   got=domaininfos[0] got->domain=2

libxl: debug: libxl.c:1043:domain_death_xswatch_callback:  exists shutdown_reported=0 dominf.flags=ffff0002

libxl: debug: libxl.c:1009:domain_death_xswatch_callback: [evg=0] all reported

libxl: debug: libxl.c:1073:domain_death_xswatch_callback: domain death search done

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0x9958a0 wpath=@releaseDomain token=3/0: event epath=@releaseDomain

libxl: debug: libxl.c:1005:domain_death_xswatch_callback: [evg=0x9941d0:2] from domid=2 nentries=1 rc=1

libxl: debug: libxl.c:1016:domain_death_xswatch_callback: [evg=0x9941d0:2]   got=domaininfos[0] got->domain=2

libxl: debug: libxl.c:1043:domain_death_xswatch_callback:  exists shutdown_reported=0 dominf.flags=ffff000b

libxl: debug: libxl.c:961:domain_death_occurred: dying

libxl: debug: libxl.c:1009:domain_death_xswatch_callback: [evg=0] all reported

libxl: debug: libxl.c:1073:domain_death_xswatch_callback: domain death search done

Domain 2 has been destroyed.

libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0x9958a0 wpath=@releaseDomain token=3/0: deregister slotnum=3

xc: debug: hypercall buffer: total allocations:4 total releases:4

xc: debug: hypercall buffer: current allocations:0 maximum allocations:2

xc: debug: hypercall buffer: cache current size:2

xc: debug: hypercall buffer: cache hits:2 misses:2 toobig:0


++++++++++++++++++++++++++++/var/log/xen/qemu-NAS-OMV.log++++++++++++++++++++++++++++

char device redirected to /dev/pts/15 (label serial0)

qemu: terminating on signal 1 from pid 4318


=================For ONE disks in .cfg====================
disk = [ "file:/etc/xen/images/NAS-OMV.img,hda,w", "phy:/dev/sda,hdb,w" ]

root@UB-XEN:/etc/xen# xl -vvv create NAS-OMV.cfg

Parsing config from NAS-OMV.cfg

WARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" instead if you really want a non-default firmware

WARNING: ignoring device_model directive.

WARNING: Use "device_model_override" instead if you really want a non-default device_model

libxl: debug: libxl_create.c:1342:do_domain_create: ao 0xa28530: create: how=(nil) callback=(nil) poller=0xa27430

libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown

libxl: debug: libxl_device.c:197:disk_try_backend: Disk vdev=hda, backend phy unsuitable as phys path not a block device

libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=hda, using backend qdisk

libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=unknown

libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=hdb, using backend phy

libxl: debug: libxl_create.c:797:initiate_domain_create: running bootloader

libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV domain, skipping bootloader

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa24dc8: deregister unregistered

libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=4, nr_vcpus=7, free_memkb=1271

libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate with 1 nodes, 4 cpus and 1271 KB free selected

xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xa7a84

xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1a7a84

xc: detail: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->00000000001a7a84

  Modules:       0000000000000000->0000000000000000

  TOTAL:         0000000000000000->000000003f800000

  ENTRY ADDRESS: 0000000000100620

xc: detail: PHYSICAL MEMORY ALLOCATION:

  4KB PAGES: 0x0000000000000200

  2MB PAGES: 0x00000000000001fb

  1GB PAGES: 0x0000000000000000

xc: detail: elf_load_binary: phdr 0 at 0x7f29133a3000 -> 0x7f291344190d

libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=qdisk

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa25910: deregister unregistered

libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=phy

libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0xa265e8 wpath=/local/domain/0/backend/vbd/3/832/state token=3/0: register slotnum=3

libxl: debug: libxl_create.c:1356:do_domain_create: ao 0xa28530: inprogress: poller=0xa27430, flags=i

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa265e8 wpath=/local/domain/0/backend/vbd/3/832/state token=3/0: event epath=/local/domain/0/backend/vbd/3/832/state

libxl: debug: libxl_event.c:657:devstate_watch_callback: backend /local/domain/0/backend/vbd/3/832/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa265e8 wpath=/local/domain/0/backend/vbd/3/832/state token=3/0: event epath=/local/domain/0/backend/vbd/3/832/state

libxl: debug: libxl_event.c:653:devstate_watch_callback: backend /local/domain/0/backend/vbd/3/832/state wanted state 2 ok

libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0xa265e8 wpath=/local/domain/0/backend/vbd/3/832/state token=3/0: deregister slotnum=3

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa265e8: deregister unregistered

libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/block add

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa26670: deregister unregistered

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa26670: deregister unregistered

libxl: debug: libxl_dm.c:1303:libxl__spawn_local_dm: Spawning device-model /usr/bin/qemu-system-i386 with arguments:

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   /usr/bin/qemu-system-i386

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -xen-domid

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   3

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -chardev

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server,nowait

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -mon

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   chardev=libxl-cmd,mode=control

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -nodefaults

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -name

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   NAS-OMV

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -vnc

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   127.0.0.1:0,to=99

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -k

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   en-us

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -serial

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   pty

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   cirrus-vga

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -global

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   vga.vram_size_mb=8

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -boot

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   order=c

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -usb

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -usbdevice

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   tablet

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -smp

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   2,maxcpus=2

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -device

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   rtl8139,id=nic0,netdev=net0,mac=00:16:3e:d5:5b:9a

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -netdev

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   type=tap,id=net0,ifname=vif3.0-emu,script=no,downscript=no

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -machine

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   xenfv

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -m

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   1016

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -drive

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   file=/etc/xen/images/NAS-OMV.img,if=ide,index=0,media=disk,format=raw,cache=writeback

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   -drive

libxl: debug: libxl_dm.c:1305:libxl__spawn_local_dm:   file=/dev/sda,if=ide,index=1,media=disk,format=raw,cache=writeback

libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0xa25000 wpath=/local/domain/0/device-model/3/state token=3/1: register slotnum=3

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa25000 wpath=/local/domain/0/device-model/3/state token=3/1: event epath=/local/domain/0/device-model/3/state

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa25000 wpath=/local/domain/0/device-model/3/state token=3/1: event epath=/local/domain/0/device-model/3/state

libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0xa25000 wpath=/local/domain/0/device-model/3/state token=3/1: deregister slotnum=3

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa25000: deregister unregistered

libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-3

libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp

libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{

    "execute": "qmp_capabilities",

    "id": 1

}

'

libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return

libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{

    "execute": "query-chardev",

    "id": 2

}

'

libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return

libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{

    "execute": "query-vnc",

    "id": 3

}

'

libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return

libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0xa2c5d8 wpath=/local/domain/0/backend/vif/3/0/state token=3/2: register slotnum=3

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa2c5d8 wpath=/local/domain/0/backend/vif/3/0/state token=3/2: event epath=/local/domain/0/backend/vif/3/0/state

libxl: debug: libxl_event.c:657:devstate_watch_callback: backend /local/domain/0/backend/vif/3/0/state wanted state 2 still waiting state 1

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa2c5d8 wpath=/local/domain/0/backend/vif/3/0/state token=3/2: event epath=/local/domain/0/backend/vif/3/0/state

libxl: debug: libxl_event.c:653:devstate_watch_callback: backend /local/domain/0/backend/vif/3/0/state wanted state 2 ok

libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0xa2c5d8 wpath=/local/domain/0/backend/vif/3/0/state token=3/2: deregister slotnum=3

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa2c5d8: deregister unregistered

libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa2c660: deregister unregistered

libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge add

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa2c660: deregister unregistered

libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0xa2c660: deregister unregistered

libxl: debug: libxl_event.c:1761:libxl__ao_progress_report: ao 0xa28530: progress report: ignored

libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0xa28530: complete, rc=0

libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0xa28530: destroy

xc: debug: hypercall buffer: total allocations:806 total releases:806

xc: debug: hypercall buffer: current allocations:0 maximum allocations:4

xc: debug: hypercall buffer: cache current size:4

xc: debug: hypercall buffer: cache hits:798 misses:4 toobig:4


++++++++++++++++++++++++++++/var/log/xen/xl-NAS-OMV.log++++++++++++++++++++++++++++

Waiting for domain NAS-OMV (domid 3) to die [pid 4753]

libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0xa26da0 wpath=@releaseDomain token=3/0: register slotnum=3

libxl: debug: libxl_event.c:514:watchfd_callback: watch w=0xa26da0 wpath=@releaseDomain token=3/0: event epath=@releaseDomain

libxl: debug: libxl.c:1005:domain_death_xswatch_callback: [evg=0xa284c0:3] from domid=3 nentries=1 rc=1

libxl: debug: libxl.c:1016:domain_death_xswatch_callback: [evg=0xa284c0:3]   got=domaininfos[0] got->domain=3

libxl: debug: libxl.c:1043:domain_death_xswatch_callback:  exists shutdown_reported=0 dominf.flags=ffff0002

libxl: debug: libxl.c:1009:domain_death_xswatch_callback: [evg=0] all reported

libxl: debug: libxl.c:1073:domain_death_xswatch_callback: domain death search done



++++++++++++++++++++++++++++/var/log/xen/qemu-NAS-OMV.log++++++++++++++++++++++++++++

char device redirected to /dev/pts/15 (label serial0)



On 22-04-14 18:55, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:

On Mon, 2014-04-21 at 00:36 +0930, Jason Yu wrote:

If I start a vm with configuration of two raw disks, I have the
following warming using " xl create NAS-OMV.cfg"

Please can you paste the full output of "xl -vvv create NAS-OMV.cfg" for
the failing and working cases. Also please look
under /var/log/xen/*NAS-OMV* for xl and qemu logs.

I assume that both /dev/sda and /dev/sdb exist in dom0 and are available
for passing to a guest (i.e. not used by dom0)?

Ian.



_______________________________________________
Xen-users mailing list

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

 


Rackspace

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