From: Simon Horman <horms@verge.net.au>
To: Qing He <qing.he@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <ian.jackson@eu.citrix.com>
Subject: Re: Re: Possible regression in "passthough: add no_wb option for pci conf write"
Date: Mon, 7 Dec 2009 14:43:07 +1100 [thread overview]
Message-ID: <20091207034307.GA419@verge.net.au> (raw)
In-Reply-To: <20091207025750.GE20810@ub-qhe2>
[-- Attachment #1: Type: text/plain, Size: 3304 bytes --]
On Mon, Dec 07, 2009 at 10:57:50AM +0800, Qing He wrote:
> On Mon, 2009-12-07 at 10:55 +0800, Simon Horman wrote:
> > On Mon, Dec 07, 2009 at 10:16:40AM +0800, Qing He wrote:
> > > On Sun, 2009-12-06 at 13:55 +0800, Simon Horman wrote:
> > > > > passthough: add no_wb option for pci conf write
> > > > >
> > > > > Current pt_pci_write_config always writes back to real pci conf
> > > > > space. However, in the case of MSI address and data registers,
> > > > > if guest changes the affinity of the interrupt, stale data will
> > > > > be written to these registers. This is particularly a problem
> > > > > if Xen uses per-CPU vector, where the interrupt in question fails
> > > > > to work. This patch fixes this by adding an option to disable the
> > > > > write back of certain controls.
> > > >
> > > > This patch seems to cause the creation of passing a domain
> > > > to fail when passing through either an intel 82576 or 82572EI.
> > > > I didn't try any others.
> > > >
> > >
> > > Hi Simon,
> > > Do you notice anything unusual in the ioemu and hypervisor logs?
> >
> > I couldn't see anything of particular note. I'll try and poke a bit harder.
> >
>
> Thank you, I'll also try at my side. What's your configuration? On what
> changeset are you experiencing this?
Hi,
I have attached logs from xend and qemu-dm. Unfortunately they
don't seem to shed much light on the problem other than that
qemu-dm exits prematurely.
The "bad" logs are using staging/xen-unstable.hg:
changeset: 20587:763bc7e6b3b4
tag: tip
user: Keir Fraser <keir.fraser@citrix.com>
date: Sat Dec 05 12:32:34 2009 +0000
summary: x86_32: Fix build after 20575:0930d17589a6
And staging/qemu-xen-unstable.git:
commit e2b98415256cb264bc25e6df539ec0dc9d1b85b0
Author: Ian Jackson <ian.jackson@eu.citrix.com>
Date: Fri Nov 6 18:11:50 2009 +0000
passthough: add no_wb option for pci conf write
Current pt_pci_write_config always writes back to real pci conf
space. However, in the case of MSI address and data registers,
if guest changes the affinity of the interrupt, stale data will
be written to these registers. This is particularly a problem
if Xen uses per-CPU vector, where the interrupt in question fails
to work. This patch fixes this by adding an option to disable the
write back of certain controls.
Signed-off-by: Qing He <qing.he@intel.com>
the "good" logs use the same version of staging/xen-unstable.hg and
the previous commit of staging/qemu-xen-unstable.git:
commit de6c06808e300b35368178a281660ae8acf64f66
Author: Ian Jackson <ian.jackson@eu.citrix.com>
Date: Fri Nov 6 18:10:44 2009 +0000
Enlarge the size of the global mmio_space mmio[].
With the Multi-Function passthrough, we're actually able to assign
more than 32 functions to guest, so we should enlarge the MAX_MMIO.
1024 should be big enough.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dom0 is linux-xen 2.6.18.8 + by igb backport
URL: http://hg.vergenet.net/xen/linux-2.6.18-xen-igb/
changeset: 1123:f4deded581e6
tag: tip
parent: 1121:4b89768ad33b
parent: 1122:f1a207ccb493
user: Simon Horman <horms@verge.net.au>
date: Mon Aug 31 09:54:00 2009 +1000
summary: Merge with http://xenbits.xensource.com/linux-2.6.18-xen.hg
[-- Attachment #2: xend.good --]
[-- Type: text/plain, Size: 12692 bytes --]
[2009-12-07 12:29:43 3360] WARNING (XendConfig:853) Unconverted key: Description
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:100) XendDomainInfo.create(['vm', ['name', 'hvm'], ['memory', 128], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['hvm', ['kernel', '/home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/firmware/hvmloader/hvmloader'], ['videoram', 4], ['acpi', 1], ['apic', 1], ['boot', 'c'], ['cpuid', []], ['cpuid_check', []], ['device_model', '/home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm'], ['fda', ''], ['fdb', ''], ['guest_os_type', 'default'], ['hap', 1], ['hpet', 0], ['isa', 0], ['keymap', ''], ['localtime', 0], ['monitor', 0], ['nographic', 0], ['opengl', 0], ['oos', 1], ['pae', 1], ['pci', [['0x0000', '0x01', '0x00', '0x0', '0x100', [], '01:00.0']]], ['pci_msitranslate', 1], ['pci_power_mgmt', 0], ['rtc_timeoffset', 0], ['sdl', 0], ['serial', 'pty'], ['soundhw', ''], ['stdvga', 0], ['timer_mode', 1], ['usb', 0], ['usbdevice', ''], ['vcpus', 1], ['vnc', 1], ['vnclisten', '0.0.0.0'], ['vncunused', 1], ['viridian', 0], ['vpt_align', 1], ['xauthority', '/home/horms/.Xauthority'], ['xen_platform_pci', 1], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/home/horms/projects/xen/media/debian-unstable.disk'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['pci', ['dev', ['slot', '0x00'], ['domain', '0x0000'], ['key', '01:00.0'], ['bus', '0x01'], ['vdevfn', '0x100'], ['func', '0x0']]]]])
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:2416) XendDomainInfo.constructDomain
[2009-12-07 12:29:43 3360] DEBUG (balloon:220) Balloon: 3003936 KiB free; need 4096; done.
[2009-12-07 12:29:43 3360] DEBUG (XendDomain:464) Adding Domain: 7
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:2726) XendDomainInfo.initDomain: 7 256
[2009-12-07 12:29:43 3360] DEBUG (image:338) No VNC passwd configured for vfb access
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: boot, val: c
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: fda, val: None
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: fdb, val: None
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: soundhw, val: None
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: localtime, val: 0
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: serial, val: ['pty']
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: std-vga, val: 0
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: isa, val: 0
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: acpi, val: 1
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: usb, val: 0
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: usbdevice, val: None
[2009-12-07 12:29:43 3360] DEBUG (image:877) args: gfx_passthru, val: None
[2009-12-07 12:29:43 3360] INFO (image:813) Need to create platform device.[domid:7]
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:2753) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0.
[2009-12-07 12:29:43 3360] INFO (image:181) buildDomain os=hvm dom=7 vcpus=1
[2009-12-07 12:29:43 3360] DEBUG (image:935) domid = 7
[2009-12-07 12:29:43 3360] DEBUG (image:936) image = /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/firmware/hvmloader/hvmloader
[2009-12-07 12:29:43 3360] DEBUG (image:937) store_evtchn = 2
[2009-12-07 12:29:43 3360] DEBUG (image:938) memsize = 128
[2009-12-07 12:29:43 3360] DEBUG (image:939) target = 128
[2009-12-07 12:29:43 3360] DEBUG (image:940) vcpus = 1
[2009-12-07 12:29:43 3360] DEBUG (image:941) acpi = 1
[2009-12-07 12:29:43 3360] DEBUG (image:942) apic = 1
[2009-12-07 12:29:43 3360] INFO (XendDomainInfo:2279) createDevice: vfb : {'vncunused': 1, 'vnclisten': '0.0.0.0', 'vnc': '1', 'uuid': 'dd21680b-aa08-4222-c85f-8f8ccf8854c6', 'other_config': {'vncunused': 1, 'vnclisten': '0.0.0.0', 'vnc': '1'}}
[2009-12-07 12:29:43 3360] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/7/0'} to /local/domain/7/device/vfb/0.
[2009-12-07 12:29:43 3360] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'hvm', 'frontend': '/local/domain/7/device/vfb/0', 'uuid': 'dd21680b-aa08-4222-c85f-8f8ccf8854c6', 'frontend-id': '7', 'vnclisten': '0.0.0.0', 'state': '1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/7/0.
[2009-12-07 12:29:43 3360] INFO (XendDomainInfo:2279) createDevice: vbd : {'uuid': '02a870cc-2a4f-e149-aae8-b92d709ac515', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'file:/home/horms/projects/xen/media/debian-unstable.disk', 'mode': 'w'}
[2009-12-07 12:29:43 3360] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/768'} to /local/domain/7/device/vbd/768.
[2009-12-07 12:29:43 3360] DEBUG (DevController:97) DevController: writing {'domain': 'hvm', 'frontend': '/local/domain/7/device/vbd/768', 'uuid': '02a870cc-2a4f-e149-aae8-b92d709ac515', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': '/home/horms/projects/xen/media/debian-unstable.disk', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/768.
[2009-12-07 12:29:43 3360] INFO (XendDomainInfo:2279) createDevice: pci : {'devs': [{'slot': '0x00', 'domain': '0x0000', 'key': '01:00.0', 'bus': '0x01', 'vdevfn': '0x100', 'func': '0x0', 'uuid': 'faf0df88-3636-d5c7-c9e1-8635eaa3cd92'}], 'uuid': '12efc65b-0f6b-c03b-b713-793fa9608394'}
[2009-12-07 12:29:43 3360] INFO (image:410) spawning device models: /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm ['/home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm', '-d', '7', '-domain-name', 'hvm', '-videoram', '4', '-vnc', '0.0.0.0:0', '-vncunused', '-vcpus', '1', '-boot', 'c', '-serial', 'pty', '-acpi', '-net', 'none', '-M', 'xenfv']
[2009-12-07 12:29:43 3360] INFO (image:459) device model pid: 8135
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:855) XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x00'], ['domain', '0x0000'], ['key', '01:00.0'], ['bus', '0x01'], ['vdevfn', '0x100'], ['func', '0x0'], ['uuid', 'faf0df88-3636-d5c7-c9e1-8635eaa3cd92']], ['state', 'Initialising'], ['sub_state', 'Booting']]
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:754) XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x00', 'domain': '0x0000', 'key': '01:00.0', 'bus': '0x01', 'vdevfn': '0x100', 'func': '0x0', 'uuid': 'faf0df88-3636-d5c7-c9e1-8635eaa3cd92'}], 'states': ['Initialising']}
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:765) XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x00', 'domain': '0x0000', 'key': '01:00.0', 'bus': '0x01', 'vdevfn': '0x100', 'func': '0x0', 'uuid': 'faf0df88-3636-d5c7-c9e1-8635eaa3cd92'}
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:774) XendDomainInfo.hvm_pci_device_insert_dev: 0000:01:00.0@100
[2009-12-07 12:29:43 3360] INFO (image:582) waiting for sentinel_fifo
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:778) pci: assign device 0000:01:00.0@100
[2009-12-07 12:29:43 3360] INFO (image:530) signalDeviceModel:restore dm state to running
[2009-12-07 12:29:43 3360] DEBUG (pciif:452) pci: register aer watch /local/domain/0/backend/pci/7/0/aerState
[2009-12-07 12:29:43 3360] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/pci/7/0'} to /local/domain/7/device/pci/0.
[2009-12-07 12:29:43 3360] DEBUG (DevController:97) DevController: writing {'domain': 'hvm', 'key-0': '01:00.0', 'vdevfn-0': '100', 'uuid': '12efc65b-0f6b-c03b-b713-793fa9608394', 'power_mgmt': '0', 'msitranslate': '1', 'dev-0': '0000:01:00.0', 'frontend-id': '7', 'state': '1', 'online': '1', 'frontend': '/local/domain/7/device/pci/0', 'uuid-0': 'faf0df88-3636-d5c7-c9e1-8635eaa3cd92', 'num_devs': '1'} to /local/domain/0/backend/pci/7/0.
[2009-12-07 12:29:43 3360] DEBUG (pciif:160) Reconfiguring PCI device 0000:01:00.0.
[2009-12-07 12:29:43 3360] INFO (pciquirk:92) NO quirks found for PCI device [8086:10c9:8086:a03c]
[2009-12-07 12:29:43 3360] DEBUG (pciquirk:135) Permissive mode NOT enabled for PCI device [8086:10c9:8086:a03c]
[2009-12-07 12:29:43 3360] DEBUG (pciif:318) pci: enabling ioport 0x3100/0x20
[2009-12-07 12:29:43 3360] DEBUG (pciif:332) pci: enabling iomem 0xf0800000/0x20000 pfn 0xf0800/0x20
[2009-12-07 12:29:43 3360] DEBUG (pciif:332) pci: enabling iomem 0xf0840000/0x4000 pfn 0xf0840/0x4
[2009-12-07 12:29:43 3360] DEBUG (pciif:332) pci: enabling iomem 0xf1000000/0x400000 pfn 0xf1000/0x400
[2009-12-07 12:29:43 3360] DEBUG (pciif:349) pci: enabling irq 16
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:3308) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '2', 'uuid': '2b116c12-49dc-8442-cd5a-6a5b51d4f4e2', 'on_reboot': 'restart', 'start_time': '1260156583.46', '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 ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (stdvga 0) (vnclisten 0.0.0.0) (loader /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/firmware/hvmloader/hvmloader) (serial pty) (vncunused 1) (xen_platform_pci 1) (opengl 0) (boot c) (rtc_timeoffset 0) (pci ((0x0000 0x01 0x00 0x0 0x100 ()))) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (nomigrate 0) (monitor 0) (device_model /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /home/horms/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'hvm'}
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:1719) Storing domain details: {'console/port': '3', 'description': '', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/2b116c12-49dc-8442-cd5a-6a5b51d4f4e2', 'domid': '7', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '131072', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu', 'name': 'hvm'}
[2009-12-07 12:29:43 3360] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/7/0'} to /local/domain/7/device/console/0.
[2009-12-07 12:29:43 3360] DEBUG (DevController:97) DevController: writing {'domain': 'hvm', 'frontend': '/local/domain/7/device/console/0', 'uuid': 'a491a32d-1f19-c890-c9f3-c7873dc33397', 'frontend-id': '7', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/7/0.
[2009-12-07 12:29:43 3360] DEBUG (pciif:456) XendDomainInfo.handleAerStateWatch
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vif2.
[2009-12-07 12:29:43 3360] DEBUG (XendDomainInfo:1806) XendDomainInfo.handleShutdownWatch
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vif.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vscsi.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vbd.
[2009-12-07 12:29:43 3360] DEBUG (DevController:144) Waiting for 768.
[2009-12-07 12:29:43 3360] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status.
[2009-12-07 12:29:43 3360] DEBUG (DevController:642) hotplugStatusCallback 1.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices ioports.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices irq.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vkbd.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vfb.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices console.
[2009-12-07 12:29:43 3360] DEBUG (DevController:144) Waiting for 0.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices pci.
[2009-12-07 12:29:43 3360] DEBUG (DevController:144) Waiting for 0.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices tap2.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices tap.
[2009-12-07 12:29:43 3360] DEBUG (DevController:139) Waiting for devices vtpm.
[2009-12-07 12:29:43 3360] INFO (XendDomain:1206) Domain hvm (7) unpaused.
[-- Attachment #3: qemu-dm.good --]
[-- Type: text/plain, Size: 3823 bytes --]
domid: 7
qemu: the number of cpus is 1
Watching /local/domain/0/device-model/7/logdirty/cmd
Watching /local/domain/0/device-model/7/command
char device redirected to /dev/pts/3
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 2b116c12-49dc-8442-cd5a-6a5b51d4f4e2
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/7/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error. /vm/2b116c12-49dc-8442-cd5a-6a5b51d4f4e2/vncpasswd.
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
xs_read(/local/domain/7/log-throttling): read error
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 01:00.0 ...
pt_iomul_init: Error: pt_iomul_init: No such device: setup io multiplexing failed! 0x1:0x0.0x0
pt_register_regions: IO region registered (size=0x00020000 base_addr=0xf0800000)
pt_register_regions: IO region registered (size=0x00000020 base_addr=0x00003101)
pt_register_regions: IO region registered (size=0x00004000 base_addr=0xf0840000)
pt_register_regions: Expansion ROM registered (size=0x00400000 base_addr=0xf1000000)
pt_msix_init: get MSI-X table bar base f0840000
pt_msix_init: table_off = 0, total_entries = 10
pt_msix_init: errno = 19
pt_msix_init: mapping physical MSI-X table to 2af205e3b000
register_real_device: Real physical device 01:00.0 registered successfuly!
IRQ type = INTx
pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:04.0][Offset:14h][Length:4]
cirrus vga map change while on lfb mode
pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:04.0][Offset:14h][Length:4]
pt_iomem_map: e_phys=f3800000 maddr=f0800000 type=0 len=131072 index=0 first_map=1
pt_iomem_map: e_phys=f3820000 maddr=f0840000 type=0 len=16384 index=3 first_map=1
pt_ioport_map: e_phys=c100 pio_base=3100 len=32 index=2 first_map=1
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.
pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:04.0][Offset:14h][Length:4]
pt_ioport_map: e_phys=ffff pio_base=3100 len=32 index=2 first_map=0
pt_ioport_map: e_phys=c100 pio_base=3100 len=32 index=2 first_map=0
pt_msix_update_one: Update msix entry 0 with pirq 0 gvec 51
pt_msix_update_one: Error: Updating msix irq info for entry 0
pt_msix_update_one: Error: Unmapping of MSI-X failed.
pt_msix_update_one: Update msix entry 1 with pirq 37 gvec 59
pt_msix_update_one: Update msix entry 2 with pirq 36 gvec 61
pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 0 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 1 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 1 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 1 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 2 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 2 since MSI-X is already function.
pci_msix_writel: Error: Can't update msix entry 2 since MSI-X is already function.
[-- Attachment #4: xend.bad --]
[-- Type: text/plain, Size: 14262 bytes --]
[2009-12-07 12:32:02 3360] WARNING (XendConfig:853) Unconverted key: Description
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:100) XendDomainInfo.create(['vm', ['name', 'hvm'], ['memory', 128], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['hvm', ['kernel', '/home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/firmware/hvmloader/hvmloader'], ['videoram', 4], ['acpi', 1], ['apic', 1], ['boot', 'c'], ['cpuid', []], ['cpuid_check', []], ['device_model', '/home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm'], ['fda', ''], ['fdb', ''], ['guest_os_type', 'default'], ['hap', 1], ['hpet', 0], ['isa', 0], ['keymap', ''], ['localtime', 0], ['monitor', 0], ['nographic', 0], ['opengl', 0], ['oos', 1], ['pae', 1], ['pci', [['0x0000', '0x01', '0x00', '0x0', '0x100', [], '01:00.0']]], ['pci_msitranslate', 1], ['pci_power_mgmt', 0], ['rtc_timeoffset', 0], ['sdl', 0], ['serial', 'pty'], ['soundhw', ''], ['stdvga', 0], ['timer_mode', 1], ['usb', 0], ['usbdevice', ''], ['vcpus', 1], ['vnc', 1], ['vnclisten', '0.0.0.0'], ['vncunused', 1], ['viridian', 0], ['vpt_align', 1], ['xauthority', '/home/horms/.Xauthority'], ['xen_platform_pci', 1], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/home/horms/projects/xen/media/debian-unstable.disk'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['pci', ['dev', ['slot', '0x00'], ['domain', '0x0000'], ['key', '01:00.0'], ['bus', '0x01'], ['vdevfn', '0x100'], ['func', '0x0']]]]])
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:2416) XendDomainInfo.constructDomain
[2009-12-07 12:32:02 3360] DEBUG (balloon:220) Balloon: 3003936 KiB free; need 4096; done.
[2009-12-07 12:32:02 3360] DEBUG (XendDomain:464) Adding Domain: 8
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:2726) XendDomainInfo.initDomain: 8 256
[2009-12-07 12:32:02 3360] DEBUG (image:338) No VNC passwd configured for vfb access
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: boot, val: c
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: fda, val: None
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: fdb, val: None
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: soundhw, val: None
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: localtime, val: 0
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: serial, val: ['pty']
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: std-vga, val: 0
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: isa, val: 0
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: acpi, val: 1
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: usb, val: 0
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: usbdevice, val: None
[2009-12-07 12:32:02 3360] DEBUG (image:877) args: gfx_passthru, val: None
[2009-12-07 12:32:02 3360] INFO (image:813) Need to create platform device.[domid:8]
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:2753) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0.
[2009-12-07 12:32:02 3360] INFO (image:181) buildDomain os=hvm dom=8 vcpus=1
[2009-12-07 12:32:02 3360] DEBUG (image:935) domid = 8
[2009-12-07 12:32:02 3360] DEBUG (image:936) image = /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/firmware/hvmloader/hvmloader
[2009-12-07 12:32:02 3360] DEBUG (image:937) store_evtchn = 2
[2009-12-07 12:32:02 3360] DEBUG (image:938) memsize = 128
[2009-12-07 12:32:02 3360] DEBUG (image:939) target = 128
[2009-12-07 12:32:02 3360] DEBUG (image:940) vcpus = 1
[2009-12-07 12:32:02 3360] DEBUG (image:941) acpi = 1
[2009-12-07 12:32:02 3360] DEBUG (image:942) apic = 1
[2009-12-07 12:32:02 3360] INFO (XendDomainInfo:2279) createDevice: vfb : {'vncunused': 1, 'vnclisten': '0.0.0.0', 'vnc': '1', 'uuid': 'a163b749-1ac1-afa6-205c-52afb01d8901', 'other_config': {'vncunused': 1, 'vnclisten': '0.0.0.0', 'vnc': '1'}}
[2009-12-07 12:32:02 3360] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/8/0'} to /local/domain/8/device/vfb/0.
[2009-12-07 12:32:02 3360] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'hvm', 'frontend': '/local/domain/8/device/vfb/0', 'uuid': 'a163b749-1ac1-afa6-205c-52afb01d8901', 'frontend-id': '8', 'vnclisten': '0.0.0.0', 'state': '1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/8/0.
[2009-12-07 12:32:02 3360] INFO (XendDomainInfo:2279) createDevice: vbd : {'uuid': '44cae777-1d2f-58cd-8911-56d603f7e45a', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'file:/home/horms/projects/xen/media/debian-unstable.disk', 'mode': 'w'}
[2009-12-07 12:32:02 3360] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/8/768'} to /local/domain/8/device/vbd/768.
[2009-12-07 12:32:02 3360] DEBUG (DevController:97) DevController: writing {'domain': 'hvm', 'frontend': '/local/domain/8/device/vbd/768', 'uuid': '44cae777-1d2f-58cd-8911-56d603f7e45a', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': '/home/horms/projects/xen/media/debian-unstable.disk', 'mode': 'w', 'online': '1', 'frontend-id': '8', 'type': 'file'} to /local/domain/0/backend/vbd/8/768.
[2009-12-07 12:32:02 3360] INFO (XendDomainInfo:2279) createDevice: pci : {'devs': [{'slot': '0x00', 'domain': '0x0000', 'key': '01:00.0', 'bus': '0x01', 'vdevfn': '0x100', 'func': '0x0', 'uuid': '35f83df7-b279-4a09-8c94-9fb532024b40'}], 'uuid': '9d1bd77f-6aba-f251-6ee6-d8e10e370d01'}
[2009-12-07 12:32:02 3360] INFO (image:410) spawning device models: /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm ['/home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm', '-d', '8', '-domain-name', 'hvm', '-videoram', '4', '-vnc', '0.0.0.0:0', '-vncunused', '-vcpus', '1', '-boot', 'c', '-serial', 'pty', '-acpi', '-net', 'none', '-M', 'xenfv']
[2009-12-07 12:32:02 3360] INFO (image:459) device model pid: 8472
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:855) XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x00'], ['domain', '0x0000'], ['key', '01:00.0'], ['bus', '0x01'], ['vdevfn', '0x100'], ['func', '0x0'], ['uuid', '35f83df7-b279-4a09-8c94-9fb532024b40']], ['state', 'Initialising'], ['sub_state', 'Booting']]
[2009-12-07 12:32:02 3360] INFO (image:582) waiting for sentinel_fifo
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:754) XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x00', 'domain': '0x0000', 'key': '01:00.0', 'bus': '0x01', 'vdevfn': '0x100', 'func': '0x0', 'uuid': '35f83df7-b279-4a09-8c94-9fb532024b40'}], 'states': ['Initialising']}
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:765) XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x00', 'domain': '0x0000', 'key': '01:00.0', 'bus': '0x01', 'vdevfn': '0x100', 'func': '0x0', 'uuid': '35f83df7-b279-4a09-8c94-9fb532024b40'}
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:774) XendDomainInfo.hvm_pci_device_insert_dev: 0000:01:00.0@100
[2009-12-07 12:32:02 3360] DEBUG (XendDomainInfo:778) pci: assign device 0000:01:00.0@100
[2009-12-07 12:32:03 3360] INFO (image:530) signalDeviceModel:restore dm state to running
[2009-12-07 12:32:03 3360] DEBUG (pciif:452) pci: register aer watch /local/domain/0/backend/pci/8/0/aerState
[2009-12-07 12:32:03 3360] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/pci/8/0'} to /local/domain/8/device/pci/0.
[2009-12-07 12:32:03 3360] DEBUG (DevController:97) DevController: writing {'domain': 'hvm', 'key-0': '01:00.0', 'vdevfn-0': '100', 'uuid': '9d1bd77f-6aba-f251-6ee6-d8e10e370d01', 'power_mgmt': '0', 'msitranslate': '1', 'dev-0': '0000:01:00.0', 'frontend-id': '8', 'state': '1', 'online': '1', 'frontend': '/local/domain/8/device/pci/0', 'uuid-0': '35f83df7-b279-4a09-8c94-9fb532024b40', 'num_devs': '1'} to /local/domain/0/backend/pci/8/0.
[2009-12-07 12:32:03 3360] DEBUG (pciif:160) Reconfiguring PCI device 0000:01:00.0.
[2009-12-07 12:32:03 3360] INFO (pciquirk:92) NO quirks found for PCI device [8086:10c9:8086:a03c]
[2009-12-07 12:32:03 3360] DEBUG (pciquirk:135) Permissive mode NOT enabled for PCI device [8086:10c9:8086:a03c]
[2009-12-07 12:32:03 3360] DEBUG (pciif:318) pci: enabling ioport 0x3100/0x20
[2009-12-07 12:32:03 3360] DEBUG (pciif:332) pci: enabling iomem 0xf0800000/0x20000 pfn 0xf0800/0x20
[2009-12-07 12:32:03 3360] DEBUG (pciif:332) pci: enabling iomem 0xf0840000/0x4000 pfn 0xf0840/0x4
[2009-12-07 12:32:03 3360] DEBUG (pciif:332) pci: enabling iomem 0xf1000000/0x400000 pfn 0xf1000/0x400
[2009-12-07 12:32:03 3360] DEBUG (pciif:349) pci: enabling irq 16
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:3308) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '2', 'uuid': '81578c44-afcc-1577-813a-8afd3eb6e7ef', 'on_reboot': 'restart', 'start_time': '1260156723.07', '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 ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (stdvga 0) (vnclisten 0.0.0.0) (loader /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/firmware/hvmloader/hvmloader) (serial pty) (vncunused 1) (xen_platform_pci 1) (opengl 0) (boot c) (rtc_timeoffset 0) (pci ((0x0000 0x01 0x00 0x0 0x100 ()))) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (nomigrate 0) (monitor 0) (device_model /home/horms/projects/xen/hg/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /home/horms/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'hvm'}
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:1719) Storing domain details: {'console/port': '3', 'description': '', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/81578c44-afcc-1577-813a-8afd3eb6e7ef', 'domid': '8', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '131072', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu', 'name': 'hvm'}
[2009-12-07 12:32:03 3360] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/8/0'} to /local/domain/8/device/console/0.
[2009-12-07 12:32:03 3360] DEBUG (DevController:97) DevController: writing {'domain': 'hvm', 'frontend': '/local/domain/8/device/console/0', 'uuid': 'f448d8bb-50f9-afbb-05f4-d502eca613f9', 'frontend-id': '8', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/8/0.
[2009-12-07 12:32:03 3360] DEBUG (pciif:456) XendDomainInfo.handleAerStateWatch
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:1806) XendDomainInfo.handleShutdownWatch
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vif2.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vif.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vscsi.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vbd.
[2009-12-07 12:32:03 3360] DEBUG (DevController:144) Waiting for 768.
[2009-12-07 12:32:03 3360] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/8/768/hotplug-status.
[2009-12-07 12:32:03 3360] DEBUG (DevController:642) hotplugStatusCallback 1.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices ioports.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices irq.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vkbd.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vfb.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices console.
[2009-12-07 12:32:03 3360] DEBUG (DevController:144) Waiting for 0.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices pci.
[2009-12-07 12:32:03 3360] DEBUG (DevController:144) Waiting for 0.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices tap2.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices tap.
[2009-12-07 12:32:03 3360] DEBUG (DevController:139) Waiting for devices vtpm.
[2009-12-07 12:32:03 3360] INFO (XendDomain:1206) Domain hvm (8) unpaused.
[2009-12-07 12:32:03 3360] WARNING (image:544) domain hvm: device model failure: pid 8472: died due to signal 11; see /var/log/xen/qemu-dm-hvm.log
[2009-12-07 12:32:03 3360] WARNING (XendDomainInfo:1983) Domain has crashed: name=hvm id=8.
[2009-12-07 12:32:03 3360] ERROR (XendDomainInfo:2117) VM hvm restarting too fast (Elapsed time: 0.161757 seconds). Refusing to restart to avoid loops.
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2961) XendDomainInfo.destroy: domid=8
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2319) Destroying device model
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2326) Releasing devices
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2332) Removing vbd/768
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:1213) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2332) Removing vfb/0
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:1213) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2332) Removing console/0
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:1213) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:2332) Removing pci/0
[2009-12-07 12:32:03 3360] DEBUG (XendDomainInfo:1213) XendDomainInfo.destroyDevice: deviceClass = pci, device = pci/0
[2009-12-07 12:32:03 3360] DEBUG (pciif:456) XendDomainInfo.handleAerStateWatch
[2009-12-07 12:32:03 3360] DEBUG (pciif:574) pci: unregister aer watch
[-- Attachment #5: qemu-dm.bad --]
[-- Type: text/plain, Size: 1657 bytes --]
domid: 8
qemu: the number of cpus is 1
Watching /local/domain/0/device-model/8/logdirty/cmd
Watching /local/domain/0/device-model/8/command
char device redirected to /dev/pts/3
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 81578c44-afcc-1577-813a-8afd3eb6e7ef
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/8/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error. /vm/81578c44-afcc-1577-813a-8afd3eb6e7ef/vncpasswd.
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
xs_read(/local/domain/8/log-throttling): read error
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 01:00.0 ...
pt_iomul_init: Error: pt_iomul_init: No such device: setup io multiplexing failed! 0x1:0x0.0x0
pt_register_regions: IO region registered (size=0x00020000 base_addr=0xf0800000)
pt_register_regions: IO region registered (size=0x00000020 base_addr=0x00003101)
pt_register_regions: IO region registered (size=0x00004000 base_addr=0xf0840000)
pt_register_regions: Expansion ROM registered (size=0x00400000 base_addr=0xf1000000)
pt_msix_init: get MSI-X table bar base f0840000
pt_msix_init: table_off = 0, total_entries = 10
pt_msix_init: errno = 19
pt_msix_init: mapping physical MSI-X table to 2b261fda9000
register_real_device: Real physical device 01:00.0 registered successfuly!
IRQ type = INTx
[-- Attachment #6: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2009-12-07 3:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-06 5:55 Possible regression in "passthough: add no_wb option for pci conf write" Simon Horman
2009-12-07 2:16 ` Qing He
2009-12-07 2:55 ` Simon Horman
2009-12-07 2:57 ` Qing He
2009-12-07 3:43 ` Simon Horman [this message]
2009-12-07 5:29 ` Qing He
2009-12-07 5:46 ` Simon Horman
2009-12-07 5:57 ` Qing He
2009-12-07 12:22 ` Simon Horman
2009-12-07 12:45 ` Re: Possible regression in "passthough: add no_wb option for pci conf write" [and 1 more messages] Ian Jackson
2009-12-08 1:08 ` Qing He
2009-12-07 5:48 ` Re: Possible regression in "passthough: add no_wb option for pci conf write" Qing He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091207034307.GA419@verge.net.au \
--to=horms@verge.net.au \
--cc=ian.jackson@eu.citrix.com \
--cc=qing.he@intel.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.