From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Adams Subject: Re: [Xen-users] Re: pci-passthrough in pvops causing offline raid Date: Wed, 24 Nov 2010 17:59:26 +0000 Message-ID: <20101124175926.GA17565@campbell-lange.net> References: <20101111181329.GA9058@campbell-lange.net> <20101111184723.GA10054@campbell-lange.net> <20101111190658.GC15530@dumpdata.com> <20101112171058.GA29875@campbell-lange.net> <20101112222215.GC26189@dumpdata.com> <3A9FD6B4-B741-4BAA-90C9-E3CA1143EA7A@campbell-lange.net> <20101115171543.GB7414@dumpdata.com> <20101115172309.GA30777@campbell-lange.net> <20101115174413.GA8227@dumpdata.com> <20101115175626.GA31636@campbell-lange.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20101115175626.GA31636@campbell-lange.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: "xen-devel@lists.xensource.com" , "xen-users@lists.xensource.com" , "JBeulich@novell.com" List-Id: xen-devel@lists.xenproject.org > > > > > >>>> > > > > > >>>> (XEN) msi.c:715: MSI is already in use on device 02:00.0 > > > > > >>>> (XEN) msi.c:715: MSI is already in use on device 02:00.0 > > > > > >>>> (XEN) msi.c:715: MSI is already in use on device 02:00.0 > > > > > > > > Looking briefly at the code it means that somebody enabled the MSI > > > > already on the device and did not disable them. But I wonder how > > > > you got those in the first place. Did you use xen-pciback.hide (for PVOPS kernels) > > > > or pciback.hide (for older kernels) to "hide" the devices away from the > > > > Linux Dom0 kernel? > > > > > > using xen-pciback.hide as its a pvops kernel (debian squeeze > > > 2.6.32-5-27) > > > > Ok. Then it might be worth looking in when this happens. I think > > there is an argument on the Xen hyperisor line to include the time-stamp, but > > I don't remember it :-( > > I've got a test setup in place now, and am trying to reproduce this. I've not connected up serial as yet, but can see the following logs in the qemu-dm log file when I get the "MSI is already in use" errors above. Note also that this error -always- shows for the first specified device in the pci= field, and not the 2nd. pt_msixctrl_reg_write: guest enabling MSI-X, disable MSI-INTx translation pci_intx: intx=1 pt_msix_update_one: Update msix entry 0 with pirq 4d gvec 59 pt_msix_update_one: Update msix entry 1 with pirq 4c gvec 61 pt_msix_update_one: Update msix entry 2 with pirq 4b gvec 69 pt_msixctrl_reg_write: guest enabling MSI-X, disable MSI-INTx translation pci_intx: intx=2 I have also seen the following log just once, not sure if it's related: (XEN) domctl.c:811:d0 XEN_DOMCTL_test_assign_device: 2:0.0 already assigned, or non-existent Does this help at all with debugging my issues? Regards, Mark