Orion Poplawski
2009-Mar-12 14:24 UTC
[Xen-devel] PCI passthrough of Symbios Logic 53c875 SCSI controller fails
Trying to get PCI passthrough working for a Symbios Logic 53c875 SCSI controller. Running CentOS 5.2 and 3.0.3-73 but with test kernel 2.6.18-132.el5virttest10xen on the Dom0. First I needed to add 1000:000f to xend-pci-permissive.sxp because of: pciback 0000:04:09.0: Driver tried to write to a read-only configuration space field at offset 0x44, size 2. The controller fails on the CentOS 5.2 guest with: SCSI subsystem initialized PCI: Enabling device 0000:00:00.0 (0000 -> 0003) sym0: <875> rev 0x26 at pci 0000:00:00.0 irq 20 sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking Failed to obtain physical IRQ 20 sym0: SCSI BUS has been reset. scsi0 : sym-2.2.3 scsi 0:0:0:0: ABORT operation started. scsi 0:0:0:0: ABORT operation timed-out. scsi 0:0:0:0: DEVICE RESET operation started. scsi 0:0:0:0: DEVICE RESET operation timed-out. scsi 0:0:0:0: BUS RESET operation started. scsi 0:0:0:0: BUS RESET operation timed-out. scsi 0:0:0:0: HOST RESET operation started. sym0: SCSI BUS has been reset. scsi 0:0:0:0: HOST RESET operation timed-out. scsi 0:0:0:0: scsi: Device offlined - not ready after error recovery .... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2009-Mar-12 15:58 UTC
Re: [Xen-devel] PCI passthrough of Symbios Logic 53c875 SCSI controllerfails
If the DomU is a PV one - what linux-2.6.18.hg changeset is the DomU''s kernel based upon? Jan>>> Orion Poplawski <orion@cora.nwra.com> 12.03.09 15:24 >>>Trying to get PCI passthrough working for a Symbios Logic 53c875 SCSI controller. Running CentOS 5.2 and 3.0.3-73 but with test kernel 2.6.18-132.el5virttest10xen on the Dom0. First I needed to add 1000:000f to xend-pci-permissive.sxp because of: pciback 0000:04:09.0: Driver tried to write to a read-only configuration space field at offset 0x44, size 2. The controller fails on the CentOS 5.2 guest with: SCSI subsystem initialized PCI: Enabling device 0000:00:00.0 (0000 -> 0003) sym0: <875> rev 0x26 at pci 0000:00:00.0 irq 20 sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking Failed to obtain physical IRQ 20 sym0: SCSI BUS has been reset. scsi0 : sym-2.2.3 scsi 0:0:0:0: ABORT operation started. scsi 0:0:0:0: ABORT operation timed-out. scsi 0:0:0:0: DEVICE RESET operation started. scsi 0:0:0:0: DEVICE RESET operation timed-out. scsi 0:0:0:0: BUS RESET operation started. scsi 0:0:0:0: BUS RESET operation timed-out. scsi 0:0:0:0: HOST RESET operation started. sym0: SCSI BUS has been reset. scsi 0:0:0:0: HOST RESET operation timed-out. scsi 0:0:0:0: scsi: Device offlined - not ready after error recovery .... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Orion Poplawski
2009-Mar-12 16:22 UTC
[Xen-devel] Re: PCI passthrough of Symbios Logic 53c875 SCSI controllerfails
Jan Beulich <jbeulich <at> novell.com> writes:> > If the DomU is a PV one - what linux-2.6.18.hg changeset is the DomU''s > kernel based upon? >No idea. It''s the stock CentOS 5.2 kernel: 2.6.18-92.1.22.el5xen. I suppose I could try the newer virttest or RHEL 5.3 kernel. Should than be better? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2009-Mar-12 16:37 UTC
[Xen-devel] Re: PCI passthrough of Symbios Logic 53c875SCSI controllerfails
>>> Orion Poplawski <orion@cora.nwra.com> 12.03.09 17:22 >>> >Jan Beulich <jbeulich <at> novell.com> writes: > >> >> If the DomU is a PV one - what linux-2.6.18.hg changeset is the DomU''s >> kernel based upon? >> > >No idea. It''s the stock CentOS 5.2 kernel: 2.6.18-92.1.22.el5xen. I suppose I >could try the newer virttest or RHEL 5.3 kernel. Should than be better?I don''t know - you''d have to ask the RedHat guys. I just know that there was a window in time (up to c/s 791) where the error you reported would be expected. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Chris Lalancette
2009-Mar-13 07:29 UTC
Re: [Xen-devel] Re: PCI passthrough of Symbios Logic 53c875 SCSI controllerfails
Orion Poplawski wrote:> Jan Beulich <jbeulich <at> novell.com> writes: > >> If the DomU is a PV one - what linux-2.6.18.hg changeset is the DomU''s >> kernel based upon? >> > > No idea. It''s the stock CentOS 5.2 kernel: 2.6.18-92.1.22.el5xen. I suppose I > could try the newer virttest or RHEL 5.3 kernel. Should than be better?Orion, The patch that Jan is talking about (c/s 791 in the linux-2.6.18-xen.hg tree) is not currently in the RHEL kernels, or the virttest kernel. That being said, we certainly could consider backporting it. Please open a bugzilla entry at http://bugzilla.redhat.com, and I''ll see what we can do about it. -- Chris Lalancette _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Orion Poplawski
2009-Mar-13 15:35 UTC
[Xen-devel] Re: PCI passthrough of Symbios Logic 53c875 SCSI controllerfails
Chris Lalancette <clalance <at> redhat.com> writes:> Orion, > The patch that Jan is talking about (c/s 791 in the linux-2.6.18-xen.hg > tree) is not currently in the RHEL kernels, or the virttest kernel. That being > said, we certainly could consider backporting it. Please open a bugzilla entry > at http://bugzilla.redhat.com, and I''ll see what we can do about it. >https://bugzilla.redhat.com/show_bug.cgi?id=490153 Thanks. Not a huge deal for me, but might be nice. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel