Skip to contentSkip to conversation

PCI passthrough of Symbios Logic 53c875 SCSI controller fails

DISCUSSION Orion Poplawski 3 participants 6 messages Mar 12, 2009 – Mar 13, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Re: 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

Quoted 1 line
Quoted 1 line
Quoted 1 line

Orion Poplawski <[email protected]> 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
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Re: PCI passthrough of Symbios Logic 53c875 SCSI controllerfails

Quoted 4 lines · 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?

#3 lore raw

Re: PCI passthrough of Symbios Logic 53c875SCSI controllerfails

Quoted 10 lines
Quoted 1 line
Quoted 1 line

Orion Poplawski <[email protected]> 12.03.09 17:22 >>>

Quoted 4 lines · 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

#4 lore raw

Re: Re: PCI passthrough of Symbios Logic 53c875 SCSI controllerfails

In reply to Orion Poplawski
Quoted 8 lines · Orion Poplawski
Quoted 3 lines · 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.

Signature · 1 line
Chris Lalancette
#5 lore raw

Re: PCI passthrough of Symbios Logic 53c875 SCSI controllerfails

Quoted 6 lines · 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.