WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] "reset requested in cpu_handle_ioreq" causes the wirtual mac

To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] "reset requested in cpu_handle_ioreq" causes the wirtual machine crashed when using "xm create xp.hvm"
From: "¤終於aware" <250716708@xxxxxx>
Date: Fri, 28 Oct 2011 12:18:41 +0800
Delivery-date: Thu, 27 Oct 2011 21:20:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s0907; t=1319775523; bh=OepEJmfu5NMo2hPvF/MW9NUNONE3DEGkzbFt3/SWHcw=; h=X-QQ-SSF:X-QQ-BUSINESS-ORIGIN:X-Originating-IP:X-QQ-STYLE: X-QQ-mid:From:To:Subject:Mime-Version:Content-Type: Content-Transfer-Encoding:Date:X-Priority:Message-ID:X-QQ-MIME: X-Mailer:X-QQ-Mailer; b=W6LhC5eRAsxP7WiaI8d3ZDxuFKHi/5xPpN8efCCy9C4mMxX0GyCoYGAEPC7mznehe PhmITuhHP5ZQQuEJqkBFA19YKNla/k7UJqN549/aseyQVI7sVCFz1E9whykmtKb
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
the contexts are as follows, looking forward to your reply, thanks
[1]enviromention : xen3.4.2+CentOS-5.5 
[2]config file: xp.hvm, as follows
_s_name = 'xp-101'
_s_vnc_display = 5310
_s_vm_id = 101
_s_vm_mac = '00:16:3e:eb:ca:65'
_s_memory = 512
_s_allow_destroy = False
_s_use_vnc = True
#  -*- mode: python; -*-
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/usr/lib/xen/boot/hvmloader"
#vcpus = 1
#cpus = '1-3'
builder = 'hvm'
memory = _s_memory
pae = 0
acpi = 1
apic = 1
vif = [ 'type=ioemu, bridge=virbr0, mac=' + _s_vm_mac ]
device_model = '/usr/lib64/xen/bin/qemu-dm'
boot = "c"
sdl = 0
vnc = 1
vncunused = 0
vnclisten = '0.0.0.0'
vncpasswd = '***'
serial = 'pty'
usb = 1
usbdevice = 'tablet'
name = _s_name
disk = [ 'tap:qcow2:/home/bruce/vm-check.img,hda,w!' ]
vncdisplay = _s_vnc_display
 
[3]qemu-dm log i:
domid: 5310
qemu: the number of cpus is 1
config qemu network with xen bridge for  tap5310.0 virbr0
Strip off blktap sub-type prefix to /home/malei/vm-check.img (drv 'qcow2')
Watching /local/domain/0/device-model/5310/logdirty/next-active
Watching /local/domain/0/device-model/5310/command
char device redirected to /dev/pts/1
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = ca149409-ede5-37eb-c5b2-eede7c4ed6ed
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
xs_read(/vm/ca149409-ede5-37eb-c5b2-eede7c4ed6ed/log-throttling): read error
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/5310/xen_extended_power_mgmt): read error
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
cirrus vga map change while on lfb mode
mapping vram to f0000000 - f0400000
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
reset requested in cpu_handle_ioreq.
Issued domain 5310 reboot
 
[4]xend.log
[2011-10-28 11:59:17 24059] DEBUG (XendDomainInfo:93) XendDomainInfo.create(['vm', ['name', 'xp-101'], ['memory', 512], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_st\
op', 'ignore'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['pae', 0], ['vcpus', 1], ['boot'\
, 'c'], ['fda', ''], ['fdb', ''], ['timer_mode', 1], ['localtime', 0], ['serial', 'pty'], ['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncdispla\
y', 5310], ['vncunused', 0], ['vnclisten', '0.0.0.0'], ['sdl', 0], ['xauthority', '/home/malei/.Xauthority'], ['rtc_timeoffset', 0], ['monitor', 0], ['acpi', 1], ['apic', 1], \
['usb', 1], ['usbdevice', 'tablet'], ['keymap', ''], ['pci', []], ['hpet', 0], ['guest_os_type', 'default'], ['hap', 1], ['cpuid', []], ['cpuid_check', []], ['viridian', 0], [\
'pci_msitranslate', 1], ['vpt_align', 1], ['pci_power_mgmt', 0], ['xen_platform_pci', 1], ['vncpasswd', 'XXXXXXXX']]], ['s3_integrity', 1], ['device', ['tap', ['uname', 'tap:q\
cow2:/home/malei/vm-check.img'], ['dev', 'hda'], ['mode', 'w!']]], ['device', ['vif', ['bridge', 'virbr0'], ['mac', '00:16:3e:eb:ca:65'], ['type', 'ioemu']]]])
[2011-10-28 11:59:17 24059] DEBUG (XendDomainInfo:2312) XendDomainInfo.constructDomain
[2011-10-28 11:59:17 24059] DEBUG (balloon:166) Balloon: 1074196 KiB free; need 4096; done.
[2011-10-28 11:59:17 24059] DEBUG (XendDomainInfo:2350) @cs: XendDomainInfo.constructDomain vncdisplay=(5310)
[2011-10-28 11:59:17 24059] DEBUG (XendDomain:454) Adding Domain: 5310
[2011-10-28 11:59:17 24059] DEBUG (XendDomain:455) @chenshi : add domain - wait 5 seconds !
[2011-10-28 11:59:22 24059] DEBUG (XendDomainInfo:2522) XendDomainInfo.initDomain: 5310 256
[2011-10-28 11:59:22 24059] DEBUG (image:320) Stored a VNC password for vfb access
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: boot, val: c
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: fda, val: None
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: fdb, val: None
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: soundhw, val: None
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: localtime, val: 0
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: serial, val: ['pty']
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: std-vga, val: 0
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: isa, val: 0
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: acpi, val: 1
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: usb, val: 1
[2011-10-28 11:59:22 24059] DEBUG (image:813) args: usbdevice, val: tablet
[2011-10-28 11:59:22 24059] INFO (image:749) Need to create platform device.[domid:5310]
[2011-10-28 11:59:22 24059] DEBUG (XendDomainInfo:2546) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0.
[2011-10-28 11:59:22 24059] DEBUG (balloon:166) Balloon: 1072784 KiB free; need 535552; done.
[2011-10-28 11:59:22 24059] INFO (image:173) buildDomain os=hvm dom=5310 vcpus=1
[2011-10-28 11:59:22 24059] DEBUG (image:866) domid          = 5310
[2011-10-28 11:59:22 24059] DEBUG (image:867) image          = /usr/lib/xen/boot/hvmloader
[2011-10-28 11:59:22 24059] DEBUG (image:868) store_evtchn   = 2
[2011-10-28 11:59:22 24059] DEBUG (image:869) memsize        = 512
[2011-10-28 11:59:22 24059] DEBUG (image:870) target         = 512
[2011-10-28 11:59:22 24059] DEBUG (image:871) vcpus          = 1
[2011-10-28 11:59:22 24059] DEBUG (image:872) acpi           = 1
[2011-10-28 11:59:22 24059] DEBUG (image:873) apic           = 1
[2011-10-28 11:59:22 24059] INFO (XendDomainInfo:2173) createDevice: vfb : {'vncunused': 0, 'other_config': {'vncunused': 0, 'vncpasswd': 'XXXXXXXX', 'vnclisten': '0.0.0.0', '\
vnc': '1', 'vncdisplay': 5310}, 'vnc': '1', 'uuid': 'd1a4e36a-9fac-dfd8-3518-9782502c18c9', 'vnclisten': '0.0.0.0', 'vncdisplay': 5310, 'vncpasswd': 'XXXXXXXX'}
[2011-10-28 11:59:22 24059] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/5310/0'} to /local/domain\
/5310/device/vfb/0.
[2011-10-28 11:59:22 24059] DEBUG (DevController:97) DevController: writing {'vncunused': '0', 'domain': 'xp-101', 'vnc': '1', 'uuid': 'd1a4e36a-9fac-dfd8-3518-9782502c18c9', \
'frontend-id': '5310', 'vnclisten': '0.0.0.0', 'vncdisplay': '5310', 'vncpasswd': 'XXXXXXXX', 'state': '1', 'online': '1', 'frontend': '/local/domain/5310/device/vfb/0'} to /l\
ocal/domain/0/backend/vfb/5310/0.
[2011-10-28 11:59:22 24059] INFO (XendDomainInfo:2173) createDevice: tap : {'bootable': 1, 'uname': 'tap:qcow2:/home/malei/vm-check.img', 'mode': 'w!', 'dev': 'hda', 'uuid': '\
427b6daf-6cb3-c1aa-9cc5-746b85d53550'}
[2011-10-28 11:59:22 24059] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/loca\
l/domain/0/backend/tap/5310/768'} to /local/domain/5310/device/vbd/768.
[2011-10-28 11:59:22 24059] DEBUG (DevController:97) DevController: writing {'domain': 'xp-101', 'frontend': '/local/domain/5310/device/vbd/768', 'uuid': '427b6daf-6cb3-c1aa-9\
cc5-746b85d53550', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': 'qcow2:/home/malei/vm-check.img', 'mode': 'w!', 'online': '1', 'frontend-id': '5310', 'type': 'tap'} \
to /local/domain/0/backend/tap/5310/768.
[2011-10-28 11:59:22 24059] INFO (XendDomainInfo:2173) createDevice: vif : {'bridge': 'virbr0', 'mac': '00:16:3e:eb:ca:65', 'type': 'ioemu', 'uuid': 'b359fd65-6f9a-e327-726a-7\
b640e9622d2'}
[2011-10-28 11:59:22 24059] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/5310/0'} to /local/domain\
/5310/device/vif/0.
[2011-10-28 11:59:22 24059] DEBUG (DevController:97) DevController: writing {'bridge': 'virbr0', 'domain': 'xp-101', 'handle': '0', 'uuid': 'b359fd65-6f9a-e327-726a-7b640e9622\
d2', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:eb:ca:65', 'frontend-id': '5310', 'state': '1', 'online': '1', 'frontend': '/local/domain/5310/device/vif/0', 't\
ype': 'ioemu'} to /local/domain/0/backend/vif/5310/0.
[2011-10-28 11:59:22 24059] INFO (image:394) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '5310', '-domain-name', 'xp-101', '-videor\
am', '4', '-vnc', '0.0.0.0:5310,password', '-vcpus', '1', '-boot', 'c', '-serial', 'pty', '-acpi', '-usb', '-usbdevice', 'tablet', '-net', 'nic,vlan=1,macaddr=00:16:3e:eb:ca:6\
5,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap5310.0,bridge=virbr0', '-M', 'xenfv']
[2011-10-28 11:59:22 24059] INFO (image:443) device model pid: 11741
[2011-10-28 11:59:22 24059] DEBUG (XendDomainInfo:3077) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '5', 'uuid': 'ca149409-ede5-37eb-c5b2-eede7c4ed6ed', 'o\
n_reboot': 'restart', 'start_time': '1319774362.52', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '\
0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (vnclisten 0.0.0.0) (loader /usr/lib/xen/boot/hvmloader) (seri\
al pty) (vncunused 0) (xen_platform_pci 1) (boot c) (rtc_timeoffset 0) (vncpasswd XXXXXX) (pci ()) (pae 0) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mod\
e 1) (vnc 1) (nographic 0) (guest_os_type default) (vncdisplay 5310) (pci_msitranslate 1) (apic 1) (sdl 0) (monitor 0) (usbdevice tablet) (device_model /usr/lib64/xen/bin/qemu\
-dm) (pci_power_mgmt 0) (usb 1) (xauthority /home/malei/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'xp-101'}
[2011-10-28 11:59:22 24059] INFO (image:531) waiting for sentinel_fifo
[2011-10-28 11:59:22 24059] DEBUG (XendDomainInfo:1626) Storing domain details: {'console/port': '3', 'name': 'xp-101', 'console/limit': '1048576', 'store/port': '2', 'vm': '/\
vm/ca149409-ede5-37eb-c5b2-eede7c4ed6ed', 'domid': '5310', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'control/platform-feature-mu\
ltiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu'}
[2011-10-28 11:59:22 24059] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/5310/0'} to /local/do\
main/5310/device/console/0.
[2011-10-28 11:59:22 24059] DEBUG (DevController:97) DevController: writing {'domain': 'xp-101', 'frontend': '/local/domain/5310/device/console/0', 'uuid': '7a40d1f8-cbd4-7ff0\
-d0e2-995044a0414b', 'frontend-id': '5310', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/5310/0.
[2011-10-28 11:59:22 24059] DEBUG (XendDomainInfo:1713) XendDomainInfo.handleShutdownWatch
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices vif.
[2011-10-28 11:59:22 24059] DEBUG (DevController:144) Waiting for 0.
[2011-10-28 11:59:22 24059] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/5310/0/hotplug-status.
[2011-10-28 11:59:22 24059] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/5310/0/hotplug-status.
[2011-10-28 11:59:22 24059] DEBUG (DevController:643) hotplugStatusCallback 1.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices vscsi.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices vbd.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices irq.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices vkbd.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices vfb.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices console.
[2011-10-28 11:59:22 24059] DEBUG (DevController:144) Waiting for 0.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices pci.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices ioports.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices tap.
[2011-10-28 11:59:22 24059] DEBUG (DevController:144) Waiting for 768.
[2011-10-28 11:59:22 24059] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/tap/5310/768/hotplug-status.
[2011-10-28 11:59:22 24059] DEBUG (DevController:643) hotplugStatusCallback 1.
[2011-10-28 11:59:22 24059] DEBUG (DevController:139) Waiting for devices vtpm.
[2011-10-28 11:59:22 24059] INFO (XendDomain:1185) Domain xp-101 (5310) unpaused.
[2011-10-28 11:59:47 24059] INFO (XendDomainInfo:1907) Domain has shutdown: name=xp-101 id=5310 reason=reboot.
[2011-10-28 11:59:47 24059] ERROR (XendDomainInfo:2024) VM xp-101 restarting too fast (Elapsed time: 24.971154 seconds). Refusing to restart to avoid loops.
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2749) XendDomainInfo.destroy: domid=5310
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2212) Destroying device model
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2219) Releasing devices
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2232) Removing vif/0
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:1138) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2232) Removing vbd/768
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:1138) XendDomainInfo.destroyDevice: deviceClass = tap, device = vbd/768
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2232) Removing vfb/0
[2011-10-28 11:59:47 24059] INFO (image:556) xp-101 device model terminated
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:1138) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2232) Removing console/0
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:1138) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2217) No device model
[2011-10-28 11:59:47 24059] DEBUG (XendDomainInfo:2219) Releasing devices
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] "reset requested in cpu_handle_ioreq" causes the wirtual machine crashed when using "xm create xp.hvm", ¤終於aware <=