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-devel

RE: [Xen-devel] (XEN) RIP: e008:[<ffff82c48015564b>] write_msi_msg+0x2b/

To: Dante Cinco <dantecinco@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] (XEN) RIP: e008:[<ffff82c48015564b>] write_msi_msg+0x2b/0x150
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Thu, 29 Jul 2010 14:14:09 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 28 Jul 2010 23:16:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin292ngDCdDFD43NYZMVXwYh87iRdsfMyAwxCZv@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTin292ngDCdDFD43NYZMVXwYh87iRdsfMyAwxCZv@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsurkGDaXWMayHrSnGh0t3lNZIGwQANHA3w
Thread-topic: [Xen-devel] (XEN) RIP: e008:[<ffff82c48015564b>] write_msi_msg+0x2b/0x150
The 1418283016 is sure to be an invalid irq number. Which cause fault in 
setup_msi_irq()->write_msi_msg().
A deep look seems caused because the msi entry is already in use, thus cause 
__pci_enable_msix() return without initialize the msi_desc structurn. Maybe we 
should return error, instead of 0.

But the real reason is, why we try to enabled MSI-x, while the MSI has been 
enabled already. Accordign to PCI spec, guest should either enable MSI or 
MSI-x, but not both.

Thanks
--jyh


>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dante Cinco
>Sent: Thursday, July 29, 2010 7:40 AM
>To: Xen-devel
>Subject: [Xen-devel] (XEN) RIP: e008:[<ffff82c48015564b>]
>write_msi_msg+0x2b/0x150
>
>I have a QLogic 8G HBA that I'm passing through to a Windows 2008 domU
>(HVM). I initially had problems booting this up in Xen 4.0.0 but after
>adding "extra_guest_irqs=80" to the Xen cmdline, it worked fine. This
>QLogic 8G HBA uses MSI-X and each of the two PCI devices in this HBA
>requires 32 IRQs for a total of 64 and I threw in 16 extra IRQs.
>Without this boot option, Xen defaults to just 32 which is obviously
>insufficient.
>
>I'm now using Xen 4.0.1-rc4 and every single time I've tried to boot
>this Windows domain, Xen crashed with the logs below and automatically
>rebooted. Any help will be appreciated.
>
>- Dante
>
>+ xm create -c /etc/xen/svm.cfg
>Using config file "/etc/xen/svm.cfg".
>Write /sys/bus/pci/drivers/pciback/new_slot: 0000:0d:00.0
>Write /sys/bus/pci/drivers/pciback/bind: 0000:0d:00.0
>Write /sys/bus/pci/drivers/pciback/new_slot: 0000:0d:00.1
>Write /sys/bus/pci/drivers/pciback/bind: 0000:0d:00.1
>pci = ['0000:0d:00.0@10', '0000:0d:00.1@11']
>disk = ['tap2:tapdisk:vhd:/svm_1/kaan_19_svm.vhd,xvda:sda1,w']
>[  289.658934] blktap_sysfs_create: adding attributes for dev ffff8800024ce000
>Started domain svm (id=1)
>(XEN) msi.c:706: MSI is already in use on device 0d:00.0
>(XEN) msi.c:212: Trying to install msi data for irq 1418283016
>(XEN) ----[ Xen-4.0.1-rc4  x86_64  debug=n  Not tainted ]----
>(XEN) CPU:    0
>(XEN) RIP:    e008:[<ffff82c48015564b>] write_msi_msg+0x2b/0x150
>(XEN) RFLAGS: 0000000000010096   CONTEXT: hypervisor
>(XEN) rax: 00000000fee00000   rbx: 0000000000000000   rcx:
>0000000000000000
>(XEN) rdx: 0000000000000000   rsi: ffff82c480367dc8   rdi: 0000000000000000
>(XEN) rbp: ffff82c480367dc8   rsp: ffff82c480367d88   r8:  0000000000020000
>(XEN) r9:  000000000001ffff   r10: ffff83019fe40000   r11: 0000000000000400
>(XEN) r12: ffff82c480159f0d   r13: 0000000000000000   r14: 000000000000007d
>(XEN) r15: 0000000000000044   cr0: 0000000080050033   cr4:
>00000000000026f0
>(XEN) cr3: 000000019ab2a000   cr2: 000000000000002c
>(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
>(XEN) Xen stack trace from rsp=ffff82c480367d88:
>(XEN)    ffff83019bf48100 000000000000007d 0000000000002200
>ffff82c480159f0d
>(XEN)    0000000000000000 000000000000007d 0000000000000044
>ffff82c4801569fd
>(XEN)    00000000fee00000 0000000000004032 000000000000007d
>0000000000000044
>(XEN)    ffff83013d4c0000 ffff82c4801577a0 00000000800d0000 ffff82c480367ec8
>(XEN)    ffff83019ff82280 ffff83019ff3b830 ffff83019ff822b4 0000000000000246
>(XEN)    0000000000000292 ffff82c480159f0d 000000000000ffff
>0000000001586000
>(XEN)    ffff82c480367e98 ffff83013d4c0000 0000000000000044
>000000000000007d
>(XEN)    ffff83013d4c0180 ffff82c48016a8ea 0000000000000000
>0000000000000010
>(XEN)    0000000000000002 ffff82c480367ec8 0000000000000001 ffffffffffffffff
>(XEN)    000000000000000d 0000000000000000 00000000fbcf0000
>0000000000000246
>(XEN)    000000000000000d 0000000000000044 00000000fbcf0000
>0000000000000033
>(XEN)    0000000000000246 ffff8300df2e4000 ffff880002afbe68 00007fff5ae66f90
>(XEN)    0000000000305000 00007fff5ae66f90 0000000000000000
>ffff82c4801e9169
>(XEN)    0000000000000000 00007fff5ae66f90 0000000000305000
>00007fff5ae66f90
>(XEN)    ffff880002afbe68 ffff88001bdfa290 0000000000000282
>000000000000001e
>(XEN)    000000000000000d 00007f5100000001 0000000000000021
>ffffffff8100942a
>(XEN)    0000000000000001 0000000001586000 000000000000000d
>0000010000000000
>(XEN)    ffffffff8100942a 000000000000e033 0000000000000282 ffff880002afbe20
>(XEN)    000000000000e02b 0000000000000000 0000000000000000
>0000000000000000
>(XEN)    0000000000000000 0000000000000000 ffff8300df2e4000
>(XEN) Xen call trace:
>(XEN)    [<ffff82c48015564b>] write_msi_msg+0x2b/0x150
>(XEN)    [<ffff82c480159f0d>] create_irq+0x6d/0xd0
>(XEN)    [<ffff82c4801569fd>] setup_msi_irq+0x5d/0xa0
>(XEN)    [<ffff82c4801577a0>] map_domain_pirq+0x270/0x330
>(XEN)    [<ffff82c480159f0d>] create_irq+0x6d/0xd0
>(XEN)    [<ffff82c48016a8ea>] do_physdev_op+0xe9a/0x1110
>(XEN)    [<ffff82c4801e9169>] syscall_enter+0xa9/0xae
>(XEN)
>(XEN) Pagetable walk from 000000000000002c:
>(XEN)  L4[0x000] = 000000019a44b067 000000000000244b
>(XEN)  L3[0x000] = 000000013e34a067 000000000001e34a
>(XEN)  L2[0x000] = 0000000000000000 ffffffffffffffff
>(XEN)
>(XEN) ****************************************
>(XEN) Panic on CPU 0:
>(XEN) FATAL PAGE FAULT
>(XEN) [error_code=0002]
>(XEN) Faulting linear address: 000000000000002c
>(XEN) ****************************************
>(XEN)
>(XEN) Reboot in five seconds...
>
>
>/var/log/qemu-dm-svm.log:
>
>domid: 1
>config qemu network with xen bridge for  tap-vif-svm eth0
>Using xvda for guest's hda
>Using file /dev/xen/blktap-2/tapdev0 in read-write mode
>Watching /local/domain/0/device-model/1/logdirty/cmd
>Watching /local/domain/0/device-model/1/command
>char device redirected to /dev/pts/0
>qemu_map_cache_init nr_buckets = 10000 size 4194304
>shared page at pfn feffd
>buffered io page at pfn feffb
>Guest uuid = ea0499c9-2353-fa7a-362c-31ba74d144bd
>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/1/xen_extended_power_mgmt): read error
>xs_read(): vncpasswd get error.
>/vm/ea0499c9-2353-fa7a-362c-31ba74d144bd/vncpasswd.
>Log-dirty: no command yet.
>I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
>I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
>xs_read(/local/domain/1/log-throttling): read error
>qemu: ignoring not-understood drive `/local/domain/1/log-throttling'
>medium change watch on `/local/domain/1/log-throttling' - unknown
>device, ignored
>dm-command: hot insert pass-through pci dev
>register_real_device: Assigning real physical device 0d:00.0 ...
>register_real_device: Enable MSI translation via per device option
>register_real_device: Disable power management
>pt_iomul_init: Error: pt_iomul_init can't open file
>/dev/xen/pci_iomul: No such file or directory: 0xd:0x0.0x0
>pt_register_regions: IO region registered (size=0x00000100
>base_addr=0x00008001)
>pt_register_regions: IO region registered (size=0x00004000 
>base_addr=0xfbcf0004)
>pt_register_regions: IO region registered (size=0x00100000 
>base_addr=0xfbb00004)
>pt_register_regions: Expansion ROM registered (size=0x00040000
>base_addr=0x20100000)
>pt_msix_init: get MSI-X table bar base fbcf0000
>pt_msix_init: table_off = 2000, total_entries = 32
>pt_msix_init: errno = 2
>pt_msix_init: mapping physical MSI-X table to 7f5167d8d000
>pt_msi_setup: msi mapped with pirq 7f
>pci_intx: intx=1
>register_real_device: Real physical device 0d:00.0 registered successfuly!
>IRQ type = MSI-INTx
>dm-command: hot insert pass-through pci dev
>register_real_device: Assigning real physical device 0d:00.1 ...
>register_real_device: Enable MSI translation via per device option
>register_real_device: Disable power management
>pt_iomul_init: Error: pt_iomul_init can't open file
>/dev/xen/pci_iomul: No such file or directory: 0xd:0x0.0x1
>pt_register_regions: IO region registered (size=0x00000100
>base_addr=0x00008401)
>pt_register_regions: IO region registered (size=0x00004000 
>base_addr=0xfbaf0004)
>pt_register_regions: IO region registered (size=0x00100000 
>base_addr=0xfb900004)
>pt_register_regions: Expansion ROM registered (size=0x00040000
>base_addr=0x20140000)
>pt_msix_init: get MSI-X table bar base fbaf0000
>pt_msix_init: table_off = 2000, total_entries = 32
>pt_msix_init: errno = 2
>pt_msix_init: mapping physical MSI-X table to 7f5167d8c000
>pt_msi_setup: msi mapped with pirq 7e
>pci_intx: intx=2
>register_real_device: Real physical device 0d:00.1 registered successfuly!
>IRQ type = MSI-INTx
>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.
>
>
>/var/log/xen/xend.log:
>
>[2010-07-28 08:55:56 1949] DEBUG (XendDomainInfo:101)
>XendDomainInfo.create(['vm', ['name', 'svm'], ['memory', 2048],
>['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash',
>'destroy'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
>['vcpus', 2], ['cpus', ['13', '15']], ['oos', 1], ['image', ['hvm',
>['kernel', '/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['serial',
>'pty'], ['acpi', 1], ['apic', 1], ['boot', 'c'], ['cpuid', []],
>['cpuid_check', []], ['fda', ''], ['fdb', ''], ['guest_os_type',
>'default'], ['hap', 1], ['hpet', 0], ['isa', 0], ['keymap', ''],
>['localtime', 0], ['nographic', 0], ['oos', 1], ['pae', 1], ['pci',
>[['0x0000', '0x0d', '0x00', '0x0', '0x80', [], '0000:0d:00.0@10'],
>['0x0000', '0x0d', '0x00', '0x1', '0x88', [], '0000:0d:00.1@11']]],
>['pci_msitranslate', 1], ['pci_power_mgmt', 0], ['rtc_timeoffset', 0],
>['sdl', 0], ['soundhw', ''], ['stdvga', 0], ['timer_mode', 1], ['usb',
>0], ['usbdevice', 'tablet'], ['vcpus', 2], ['vnc', 1], ['vncconsole',
>1], ['vnclisten', '0.0.0.0'], ['vncunused', 1], ['viridian', 0],
>['vpt_align', 1], ['xauthority', '/root/.Xauthority'],
>['xen_platform_pci', 1], ['memory_sharing', 0], ['vncpasswd',
>'XXXXXXXX'], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1],
>['device', ['tap2', ['uname',
>'tap2:tapdisk:vhd:/svm_1/kaan_19_svm.vhd'], ['dev', 'xvda:sda1'],
>['mode', 'w']]], ['device', ['pci', ['dev', ['slot', '0x00'],
>['domain', '0x0000'], ['key', '0000:0d:00.0@10'], ['bus', '0x0d'],
>['vdevfn', '0x80'], ['func', '0x0']], ['dev', ['slot', '0x00'],
>['domain', '0x0000'], ['key', '0000:0d:00.1@11'], ['bus', '0x0d'],
>['vdevfn', '0x88'], ['func', '0x1']]]], ['device', ['vif', ['bridge',
>'eth0'], ['model', 'e1000'], ['mac', '00:16:3e:00:19:02'], ['vifname',
>'vif-svm']]]])
>[2010-07-28 08:55:56 1949] DEBUG (XendDomainInfo:2508)
>XendDomainInfo.constructDomain
>[2010-07-28 08:55:56 1949] DEBUG (balloon:220) Balloon: 11910596 KiB
>free; need 16384; done.
>[2010-07-28 08:55:56 1949] DEBUG (XendDomain:464) Adding Domain: 1
>[2010-07-28 08:55:56 1949] DEBUG (XendDomainInfo:2818)
>XendDomainInfo.initDomain: 1 256
>[2010-07-28 08:55:56 1949] DEBUG (image:339) No VNC passwd configured
>for vfb access
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: boot, val: c
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: fda, val: None
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: fdb, val: None
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: soundhw, val: None
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: localtime, val: 0
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: serial, val: ['pty']
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: std-vga, val: 0
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: isa, val: 0
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: acpi, val: 1
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: usb, val: 0
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: usbdevice, val: tablet
>[2010-07-28 08:55:56 1949] DEBUG (image:891) args: gfx_passthru, val: None
>[2010-07-28 08:55:56 1949] INFO (image:822) Need to create platform
>device.[domid:1]
>[2010-07-28 08:55:56 1949] DEBUG (XendDomainInfo:2845)
>_initDomain:shadow_memory=0x0, memory_static_max=0x80000000,
>memory_static_min=0x0.
>[2010-07-28 08:55:56 1949] INFO (image:182) buildDomain os=hvm dom=1 vcpus=2
>[2010-07-28 08:55:56 1949] DEBUG (image:949) domid          = 1
>[2010-07-28 08:55:56 1949] DEBUG (image:950) image          =
>/usr/lib/xen/boot/hvmloader
>[2010-07-28 08:55:56 1949] DEBUG (image:951) store_evtchn   = 3
>[2010-07-28 08:55:56 1949] DEBUG (image:952) memsize        = 2048
>[2010-07-28 08:55:56 1949] DEBUG (image:953) target         = 2048
>[2010-07-28 08:55:56 1949] DEBUG (image:954) vcpus          = 2
>[2010-07-28 08:55:56 1949] DEBUG (image:955) vcpu_avail     = 3
>[2010-07-28 08:55:56 1949] DEBUG (image:956) acpi           = 1
>[2010-07-28 08:55:56 1949] DEBUG (image:957) apic           = 1
>[2010-07-28 08:55:56 1949] INFO (XendDomainInfo:2367) createDevice:
>vfb : {'vncunused': 1, 'vnclisten': '0.0.0.0', 'vnc': '1', 'uuid':
>'e2a3e407-c7d7-b0eb-e588-ffcd142813ca', 'other_config': {'vncunused':
>1, 'vnclisten': '0.0.0.0', 'vnc': '1'}}
>[2010-07-28 08:55:56 1949] DEBUG (DevController:95) DevController:
>writing {'state': '1', 'backend-id': '0', 'backend':
>'/local/domain/0/backend/vfb/1/0'} to /local/domain/1/device/vfb/0.
>[2010-07-28 08:55:56 1949] DEBUG (DevController:97) DevController:
>writing {'vncunused': '1', 'domain': 'svm', 'frontend':
>'/local/domain/1/device/vfb/0', 'uuid':
>'e2a3e407-c7d7-b0eb-e588-ffcd142813ca', 'frontend-id': '1',
>'vnclisten': '0.0.0.0', 'state': '1', 'online': '1', 'vnc': '1'} to
>/local/domain/0/backend/vfb/1/0.
>[2010-07-28 08:55:56 1949] INFO (XendDomainInfo:2367) createDevice:
>tap2 : {'bootable': 1, 'uname':
>'tap2:tapdisk:vhd:/svm_1/kaan_19_svm.vhd', 'mode': 'w', 'dev':
>'xvda:sda1', 'uuid': '7cefcace-866b-a744-c6c5-502c7e6787e3'}
>[2010-07-28 08:55:56 1949] DEBUG (DevController:95) DevController:
>writing {'backend-id': '0', 'virtual-device': '51712', 'device-type':
>'sda1', 'state': '1', 'backend':
>'/local/domain/0/backend/vbd/1/51712'} to
>/local/domain/1/device/vbd/51712.
>[2010-07-28 08:55:56 1949] DEBUG (DevController:97) DevController:
>writing {'domain': 'svm', 'frontend':
>'/local/domain/1/device/vbd/51712', 'uuid':
>'7cefcace-866b-a744-c6c5-502c7e6787e3', 'bootable': '1', 'dev':
>'xvda', 'state': '1', 'params': '/dev/xen/blktap-2/tapdev0', 'mode':
>'w', 'online': '1', 'frontend-id': '1', 'type': 'phy',
>'tapdisk-params': 'tapdisk:vhd:/svm_1/kaan_19_svm.vhd'} to
>/local/domain/0/backend/vbd/1/51712.
>[2010-07-28 08:55:56 1949] INFO (XendDomainInfo:2367) createDevice:
>vif : {'mac': '00:16:3e:00:19:02', 'bridge': 'eth0', 'model': 'e1000',
>'uuid': '20baf732-04a8-3f77-f201-394746a26ab1', 'vifname': 'vif-svm'}
>[2010-07-28 08:55:56 1949] DEBUG (DevController:95) DevController:
>writing {'backend-id': '0', 'mac': '00:16:3e:00:19:02', 'handle': '0',
>'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to
>/local/domain/1/device/vif/0.
>[2010-07-28 08:55:56 1949] DEBUG (DevController:97) DevController:
>writing {'bridge': 'eth0', 'domain': 'svm', 'handle': '0', 'uuid':
>'20baf732-04a8-3f77-f201-394746a26ab1', 'script':
>'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:00:19:02',
>'frontend-id': '1', 'state': '1', 'vifname': 'vif-svm', 'online': '1',
>'frontend': '/local/domain/1/device/vif/0', 'model': 'e1000'} to
>/local/domain/0/backend/vif/1/0.
>[2010-07-28 08:55:56 1949] INFO (XendDomainInfo:2367) createDevice:
>pci : {'devs': [{'slot': '0x00', 'domain': '0x0000', 'key':
>'0000:0d:00.0@10', 'bus': '0x0d', 'vdevfn': '0x80', 'func': '0x0',
>'uuid': '46a1451a-e12e-a4d6-d2ce-1651843441fe'}, {'slot': '0x00',
>'domain': '0x0000', 'key': '0000:0d:00.1@11', 'bus': '0x0d', 'vdevfn':
>'0x88', 'func': '0x1', 'uuid':
>'9d0376f2-94d5-9e8d-42ba-00ff0db12ed0'}], 'uuid':
>'b4a3410c-65bc-9432-e70f-6c885d20069b'}
>[2010-07-28 08:55:57 1949] INFO (image:418) spawning device models:
>/usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '1',
>'-domain-name', 'svm', '-videoram', '4', '-vnc', '0.0.0.0:0',
>'-vncunused', '-vcpus', '2', '-vcpu_avail', '0x3', '-boot', 'c',
>'-serial', 'pty', '-acpi', '-usbdevice', 'tablet', '-net',
>'nic,vlan=1,macaddr=00:16:3e:00:19:02,model=e1000', '-net',
>'tap,vlan=1,ifname=tap-vif-svm,bridge=eth0', '-M', 'xenfv']
>[2010-07-28 08:55:57 1949] INFO (image:467) device model pid: 2645
>[2010-07-28 08:55:57 1949] DEBUG (XendDomainInfo:903)
>XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x00'],
>['domain', '0x0000'], ['key', '0000:0d:00.0@10'], ['bus', '0x0d'],
>['vdevfn', '0x80'], ['func', '0x0'], ['uuid',
>'46a1451a-e12e-a4d6-d2ce-1651843441fe']], ['state', 'Initialising'],
>['sub_state', 'Booting']]
>[2010-07-28 08:55:57 1949] INFO (image:590) waiting for sentinel_fifo
>[2010-07-28 08:55:57 1949] DEBUG (XendDomainInfo:790)
>XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x00',
>'domain': '0x0000', 'key': '0000:0d:00.0@10', 'bus': '0x0d', 'vdevfn':
>'0x80', 'func': '0x0', 'uuid':
>'46a1451a-e12e-a4d6-d2ce-1651843441fe'}], 'states': ['Initialising']}
>[2010-07-28 08:55:57 1949] DEBUG (XendDomainInfo:801)
>XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x00', 'domain':
>'0x0000', 'key': '0000:0d:00.0@10', 'bus': '0x0d', 'vdevfn': '0x80',
>'func': '0x0', 'uuid': '46a1451a-e12e-a4d6-d2ce-1651843441fe'}
>[2010-07-28 08:55:57 1949] DEBUG (XendDomainInfo:822)
>XendDomainInfo.hvm_pci_device_insert_dev:
>0000:0d:00.0@80,msitranslate=1,power_mgmt=0
>[2010-07-28 08:55:57 1949] DEBUG (XendDomainInfo:826) pci: assign
>device 0000:0d:00.0@80,msitranslate=1,power_mgmt=0
>[2010-07-28 08:55:57 1949] DEBUG (image:508) signalDeviceModel:
>orig_state is None, retrying
>[2010-07-28 08:55:57 1949] DEBUG (image:508) signalDeviceModel:
>orig_state is None, retrying
>[2010-07-28 08:55:57 1949] DEBUG (image:508) signalDeviceModel:
>orig_state is None, retrying
>[2010-07-28 08:55:57 1949] DEBUG (image:508) signalDeviceModel:
>orig_state is None, retrying
>[2010-07-28 08:55:57 1949] INFO (image:538) signalDeviceModel:restore
>dm state to running
>[2010-07-28 08:55:57 1949] INFO (pciquirk:92) NO quirks found for PCI
>device [1077:2532:1077:015d]
>[2010-07-28 08:55:57 1949] DEBUG (pciquirk:135) Permissive mode NOT
>enabled for PCI device [1077:2532:1077:015d]
>[2010-07-28 08:55:57 1949] DEBUG (pciif:320) pci: enabling ioport 0x8000/0x100
>[2010-07-28 08:55:57 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfbcf0000/0x4000 pfn 0xfbcf0/0x4
>[2010-07-28 08:55:57 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfbb00000/0x100000 pfn 0xfbb00/0x100
>[2010-07-28 08:55:57 1949] DEBUG (pciif:334) pci: enabling iomem
>0x20100000/0x40000 pfn 0x20100/0x40
>[2010-07-28 08:55:57 1949] DEBUG (pciif:351) pci: enabling irq 30
>[2010-07-28 08:55:57 1949] INFO (pciquirk:92) NO quirks found for PCI
>device [1077:2532:1077:015d]
>[2010-07-28 08:55:57 1949] DEBUG (pciquirk:135) Permissive mode NOT
>enabled for PCI device [1077:2532:1077:015d]
>[2010-07-28 08:55:57 1949] DEBUG (pciif:320) pci: enabling ioport 0x8400/0x100
>[2010-07-28 08:55:57 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfbaf0000/0x4000 pfn 0xfbaf0/0x4
>[2010-07-28 08:55:57 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfb900000/0x100000 pfn 0xfb900/0x100
>[2010-07-28 08:55:57 1949] DEBUG (pciif:334) pci: enabling iomem
>0x20140000/0x40000 pfn 0x20140/0x40
>[2010-07-28 08:55:57 1949] DEBUG (pciif:351) pci: enabling irq 37
>[2010-07-28 08:55:57 1949] DEBUG (pciif:456) pci: register aer watch
>/local/domain/0/backend/pci/1/0/aerState
>[2010-07-28 08:55:57 1949] DEBUG (DevController:95) DevController:
>writing {'state': '1', 'backend-id': '0', 'backend':
>'/local/domain/0/backend/pci/1/0'} to /local/domain/1/device/pci/0.
>[2010-07-28 08:55:57 1949] DEBUG (DevController:97) DevController:
>writing {'key-1': '0000:0d:00.1@11', 'key-0': '0000:0d:00.0@10',
>'vdevfn-0': '80', 'vdevfn-1': '88', 'frontend-id': '1', 'dev-1':
>'0000:0d:00.1', 'dev-0': '0000:0d:00.0', 'domain': 'svm', 'opts-0':
>'msitranslate=1,power_mgmt=0', 'state': '1', 'online': '1',
>'frontend': '/local/domain/1/device/pci/0', 'num_devs': '2', 'uuid-0':
>'46a1451a-e12e-a4d6-d2ce-1651843441fe', 'uuid-1':
>'9d0376f2-94d5-9e8d-42ba-00ff0db12ed0', 'opts-1':
>'msitranslate=1,power_mgmt=0', 'uuid':
>'b4a3410c-65bc-9432-e70f-6c885d20069b'} to
>/local/domain/0/backend/pci/1/0.
>[2010-07-28 08:55:58 1949] DEBUG (pciif:169) Reconfiguring PCI device
>0000:0d:00.0.
>[2010-07-28 08:55:58 1949] INFO (pciquirk:92) NO quirks found for PCI
>device [1077:2532:1077:015d]
>[2010-07-28 08:55:58 1949] DEBUG (pciquirk:135) Permissive mode NOT
>enabled for PCI device [1077:2532:1077:015d]
>[2010-07-28 08:55:58 1949] DEBUG (pciif:320) pci: enabling ioport 0x8000/0x100
>[2010-07-28 08:55:58 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfbcf0000/0x4000 pfn 0xfbcf0/0x4
>[2010-07-28 08:55:58 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfbb00000/0x100000 pfn 0xfbb00/0x100
>[2010-07-28 08:55:58 1949] DEBUG (pciif:334) pci: enabling iomem
>0x20100000/0x40000 pfn 0x20100/0x40
>[2010-07-28 08:55:58 1949] DEBUG (pciif:351) pci: enabling irq 30
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:903)
>XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x00'],
>['domain', '0x0000'], ['key', '0000:0d:00.1@11'], ['bus', '0x0d'],
>['vdevfn', '0x88'], ['func', '0x1'], ['uuid',
>'9d0376f2-94d5-9e8d-42ba-00ff0db12ed0']], ['state', 'Initialising'],
>['sub_state', 'Booting']]
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:790)
>XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x00',
>'domain': '0x0000', 'key': '0000:0d:00.1@11', 'bus': '0x0d', 'vdevfn':
>'0x88', 'func': '0x1', 'uuid':
>'9d0376f2-94d5-9e8d-42ba-00ff0db12ed0'}], 'states': ['Initialising']}
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:801)
>XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x00', 'domain':
>'0x0000', 'key': '0000:0d:00.1@11', 'bus': '0x0d', 'vdevfn': '0x88',
>'func': '0x1', 'uuid': '9d0376f2-94d5-9e8d-42ba-00ff0db12ed0'}
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:822)
>XendDomainInfo.hvm_pci_device_insert_dev:
>0000:0d:00.1@88,msitranslate=1,power_mgmt=0
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:826) pci: assign
>device 0000:0d:00.1@88,msitranslate=1,power_mgmt=0
>[2010-07-28 08:55:58 1949] INFO (image:538) signalDeviceModel:restore
>dm state to running
>[2010-07-28 08:55:58 1949] DEBUG (pciif:169) Reconfiguring PCI device
>0000:0d:00.1.
>[2010-07-28 08:55:58 1949] INFO (pciquirk:92) NO quirks found for PCI
>device [1077:2532:1077:015d]
>[2010-07-28 08:55:58 1949] DEBUG (pciquirk:135) Permissive mode NOT
>enabled for PCI device [1077:2532:1077:015d]
>[2010-07-28 08:55:58 1949] DEBUG (pciif:320) pci: enabling ioport 0x8400/0x100
>[2010-07-28 08:55:58 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfbaf0000/0x4000 pfn 0xfbaf0/0x4
>[2010-07-28 08:55:58 1949] DEBUG (pciif:334) pci: enabling iomem
>0xfb900000/0x100000 pfn 0xfb900/0x100
>[2010-07-28 08:55:58 1949] DEBUG (pciif:334) pci: enabling iomem
>0x20140000/0x40000 pfn 0x20140/0x40
>[2010-07-28 08:55:58 1949] DEBUG (pciif:351) pci: enabling irq 37
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:3400) Storing VM
>details: {'on_xend_stop': 'ignore', 'shadow_memory': '18', 'uuid':
>'ea0499c9-2353-fa7a-362c-31ba74d144bd', 'on_reboot': 'restart',
>'start_time': '1280332558.29', 'on_poweroff': 'destroy',
>'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
>'destroy', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3',
>'bootloader': '', 'image': '(hvm (kernel ) (superpages 0) (videoram 4)
>(hpet 0) (stdvga 0) (vnclisten 0.0.0.0) (loader
>/usr/lib/xen/boot/hvmloader) (xen_platform_pci 1) (rtc_timeoffset 0)
>(pci ((0x0000 0x0d 0x00 0x0 0x80 ()) (0x0000 0x0d 0x00 0x1 0x88 ())))
>(hap 1) (localtime 0) (timer_mode 1) (pci_msitranslate 1) (oos 1)
>(apic 1) (sdl 0) (usbdevice tablet) (vpt_align 1) (vncconsole 1)
>(serial pty) (vncunused 1) (boot c) (pae 1) (viridian 0) (acpi 1) (vnc
>1) (nographic 0) (nomigrate 0) (usb 0) (tsc_mode 0) (guest_os_type
>default) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0)
>(xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))',
>'name': 'svm'}
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:1804) Storing domain
>details: {'console/port': '4', 'description': '', 'console/limit':
>'1048576', 'store/port': '3', 'vm':
>'/vm/ea0499c9-2353-fa7a-362c-31ba74d144bd', 'domid': '1',
>'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
>'memory/target': '2097152',
>'control/platform-feature-multiprocessor-suspend': '1',
>'store/ring-ref': '1044476', 'cpu/1/availability': 'online',
>'console/type': 'ioemu', 'name': 'svm'}
>[2010-07-28 08:55:58 1949] DEBUG (DevController:95) DevController:
>writing {'state': '1', 'backend-id': '0', 'backend':
>'/local/domain/0/backend/console/1/0'} to
>/local/domain/1/device/console/0.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:97) DevController:
>writing {'domain': 'svm', 'frontend':
>'/local/domain/1/device/console/0', 'uuid':
>'efd9428e-28da-4e6f-d139-d04edb9450db', 'frontend-id': '1', 'state':
>'1', 'location': '4', 'online': '1', 'protocol': 'vt100'} to
>/local/domain/0/backend/console/1/0.
>[2010-07-28 08:55:58 1949] DEBUG (pciif:460)
>XendDomainInfo.handleAerStateWatch
>[2010-07-28 08:55:58 1949] DEBUG (XendDomainInfo:1891)
>XendDomainInfo.handleShutdownWatch
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices tap2.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:144) Waiting for 51712.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:628)
>hotplugStatusCallback
>/local/domain/0/backend/vbd/1/51712/hotplug-status.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:642) hotplugStatusCallback 1.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vif.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:144) Waiting for 0.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:628)
>hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:642) hotplugStatusCallback 1.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vkbd.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for
>devices ioports.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices tap.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vif2.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for
>devices console.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:144) Waiting for 0.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vscsi.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vbd.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices irq.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vfb.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices pci.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:144) Waiting for 0.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vusb.
>[2010-07-28 08:55:58 1949] DEBUG (DevController:139) Waiting for devices vtpm.
>[2010-07-28 08:55:58 1949] INFO (XendDomain:1206) Domain svm (1) unpaused.
>
>
>
>kaan-19:~# lspci -n | grep 1077
>0d:00.0 0c04: 1077:2532 (rev 02)
>0d:00.1 0c04: 1077:2532 (rev 02)
>kaan-19:~# lspci -vv -s 0d:00.0
>0d:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to
>PCI Express HBA (rev 02)
>       Subsystem: QLogic Corp. Device 015d
>       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
>Stepping- SERR- FastB2B- DisINTx-
>       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
><TAbort- <MAbort- >SERR- <PERR- INTx-
>       Latency: 0, Cache Line Size: 64 bytes
>       Interrupt: pin A routed to IRQ 7
>       Region 0: I/O ports at 8000 [size=256]
>       Region 1: Memory at fbcf0000 (64-bit, non-prefetchable) [size=16K]
>       Region 3: Memory at fbb00000 (64-bit, non-prefetchable) [size=1M]
>       [virtual] Expansion ROM at 20100000 [disabled] [size=256K]
>       Capabilities: [44] Power Management version 3
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
>PME(D0-,D1-,D2-,D3hot-,D3cold-)
>               Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [4c] Express (v2) Endpoint, MSI 00
>               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s <1us, 
> L1 <1us
>                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
>               DevCtl: Report errors: Correctable- Non-Fatal+ Fatal+ 
> Unsupported-
>                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
>                       MaxPayload 256 bytes, MaxReadReq 4096 bytes
>               DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- 
> TransPend-
>               LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s, Latency L0 
> <2us, L1
><2us
>                       ClockPM- Suprise- LLActRep- BwNot-
>               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>               LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive-
>BWMgmt- ABWMgmt-
>       Capabilities: [88] Message Signalled Interrupts: Mask- 64bit+ Queue=0/5
>Enable-
>               Address: 0000000000000000  Data: 0000
>       Capabilities: [98] Vital Product Data <?>
>       Capabilities: [a0] MSI-X: Enable- Mask- TabSize=32
>               Vector table: BAR=1 offset=00002000
>               PBA: BAR=1 offset=00003000
>       Capabilities: [100] Advanced Error Reporting <?>
>       Capabilities: [138] Power Budgeting <?>
>       Kernel modules: qla2xxx
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel