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

[Xen-users] Kenerl reboot after enabling XSM/ACM module on xen4.1.2


  • To: xen-users@xxxxxxxxxxxxx
  • From: rfbian <brfeng@xxxxxxxxx>
  • Date: Tue, 3 Jul 2012 02:05:24 -0400
  • Delivery-date: Tue, 03 Jul 2012 06:06:40 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi All

I compiled xen 4.1.2 with XSM and ACM enabled. everything looks well after dom0 started, but when I started a domu with command "xm create -c centos.cfg", system reboot, whether it's a PV OR HVM domain.

Logs from xend.log:
[2012-07-03 07:16:31 1624] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'centos'], ['memory', '512'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', ''], ['image', ['linux', ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/home/test/pvimg/test.img'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'vifbr0']]]])
[2012-07-03 07:16:31 1624] DEBUG (XendDomainInfo:2498) XendDomainInfo.constructDomain
[2012-07-03 07:16:31 1624] DEBUG (balloon:187) Balloon: 56232 KiB free; need 16384; done.
[2012-07-03 07:16:31 1624] DEBUG (XendDomain:476) Adding Domain: 1
[2012-07-03 07:16:31 1624] DEBUG (XendDomainInfo:2836) XendDomainInfo.initDomain: 1 256
[2012-07-03 07:16:31 2[2012-07-03 07:18:28 1683] INFO (SrvDaemon:332) Xend Daemon started
[2012-07-03 07:18:28 1683] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-07-03 07:18:28 1683] DEBUG (tcp:96) Listening on :8002
[2012-07-03 07:18:28 1683] INFO (XendNetwork:114) Not recreating missing unmanaged network virbr0
[2012-07-03 07:18:28 1683] INFO (XendNetwork:114) Not recreating missing unmanaged network eth0
[2012-07-03 07:18:29 1683] DEBUG (XendNode:332) pscsi record count: 8
[2012-07-03 07:18:29 1683] DEBUG (XendCPUPool:747) recreate_active_pools
[2012-07-03 07:18:29 1683] DEBUG (XendDomainInfo:151) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 15942304644L, 'ssidref': 65537, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 937248L, 'blocked': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'cpupool': 0, 'name': 'Domain-0'})
[2012-07-03 07:18:29 1683] INFO (acmpolicy:1590) Compiled policy: rc = 0x0
[2012-07-03 07:18:29 1683] ERROR (XendXSPolicyAdmin:65) Could not find XML representation of policy 'DEFAULT': SECURITY_ERROR: -4120:Operation failed in hypervisor
[2012-07-03 07:18:29 1683] INFO (acmpolicy:1590) Compiled policy: rc = 0x0
[2012-07-03 07:18:29 1683] INFO (XendXSPolicyAdmin:71) Switched to DEFAULT policy.
[2012-07-03 07:18:29 1683] DEBUG (XendXSPolicyAdmin:73) XSPolicyAdmin: Known policies: {'6af4132d-f54a-a807-60aa-c58c1ee3c938': (u'DEFAULT', 'ACM')}
[2012-07-03 07:18:29 1683] INFO (XendDomainInfo:169) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2012-07-03 07:18:30 1683] DEBUG (XendDomainInfo:3420) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))", 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'name': 'Domain-0'}
[2012-07-03 07:18:30 1683] DEBUG (XendDomainInfo:1794) Storing domain details: {'description': '', 'console/limit': '1048576', 'memory/target': '937248', 'vm': '/vm/00000000-0000-0000-0000-000000000000-11', 'domid': '0', 'security_label': 'ACM:DEFAULT:SystemManagement', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'console/type': 'xenconsoled', 'name': 'Domain-0'}
[2012-07-03 07:18:30 1683] DEBUG (XendDomain:476) Adding Domain: 0
[2012-07-03 07:18:30 1683] DEBUG (XendDomain:410) number of vcpus to use is 0
[2012-07-03 07:18:30 1683] INFO (SrvServer:184) unix path=/var/lib/xend/xend-socket
[2012-07-03 07:18:30 1683] DEBUG (XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch
[2012-07-03 07:18:30 1683] WARNING (XendAPI:708) API call: VBD.set_device not found
[2012-07-03 07:18:30 1683] WARNING (XendAPI:708) API call: VBD.set_type not found
[2012-07-03 07:18:30 1683] WARNING (XendAPI:708) API call: session.get_all_records not found
[2012-07-03 07:18:30 1683] WARNING (XendAPI:708) API call: event.get_record not found

Could anyone can help on this issue?

Thanks a lot.
_______________________________________________
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®.