All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Adams <mark@campbell-lange.net>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: [Xen-devel] pci-passthrough in pvops causing offline raid
Date: Thu, 11 Nov 2010 17:38:50 +0000	[thread overview]
Message-ID: <20101111173850.GA8756@campbell-lange.net> (raw)
In-Reply-To: <20101111165340.GB30006@dumpdata.com>

On Thu, Nov 11, 2010 at 11:53:40AM -0500, Konrad Rzeszutek Wilk wrote:
> On Thu, Nov 11, 2010 at 10:24:17AM +0000, Mark Adams wrote:
> > Hi All,
> > 
> > Running xen 4.0.1-rc6, debian squeeze 2.6.32-21.
> > 
> > In a voip setup, where I have forwarded the onboard NIC interfaces
> > through to domU using the following grub config:
> > 
> > module  /vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=25c3ac79-6850-498d-afcf-ea42970e94fd ro  quiet xen-pciback.permissive xen-pciback.hide=(02:00.0)(03:00.0) pci=resource_alignment=02:00.0;03:00.0
> > 
> > I'm having a serious issue where the raid card goes offline after an
> > indefinate period of time. Sometimes runs fine for a week, other times 1
> > day before I get "offline device" errors. Rebooting the machine fixes it
> > straight away, and everything is back online.
> > 
> > What in the Xen pciback is causing the raid card to go offline? The
> > only devices hidden are the 2 onboard NIC's.
> 
> You need to give more details. Is the RAID card a 3Ware? An LSI? Do you
> run with an IOMMU? When the RAID card goes offline, do you see a stop of
> IRQs going to the device? Are the IRQs for the RAID card sent to all of your
> CPUs or just a specific one? Are you pinning your guests to specific CPUs?
> Does the issue disappear if you don't passthrough the NIC interfaces? If so have
> you run this setup for "a week" to make sure?

It is an Areca 1220. I can't see anything when the device goes offline
apart from 

    [77324.264270] sd 0:0:0:1: rejecting I/O to offline device
    [77334.005854] sd 0:0:0:0: rejecting I/O to offline device

Unfortunately nothing get's logged because there is nothing to write to
anymore. I'm not sure how I can see the IRQs otherwise. There is no
pinning being done at all, and the machine was running for a few months
OK before the pciback was added.

Is my kernel module line correct above? are the xen-pciback.permissive
and resource_alignment options required? Also I am passing through the
onboard NIC's - is this something that should be avoided or is it ok to
do?

> > 
> > I know that this issue is with Xen, as I had this running on a different
> > server (same xen setup) and it had the same issues, which I initially
> > thought were to do with the raid card.
> 
> So you never ran this setup on this kernel (2.6.32-5) without the Xen hypervisor?

no, its always had the hypervisor - but it was running ok before the
pciback options were added. This week, it's seemed to happen
approximately every 24 hours.

> 
> > 
> > Is there known issues in this kernel and xen version with pciback? I'm
> 
> No. It all works perfectly :-)
> 
> > going to update to the current package versions this evening (4.0.1-1
> > and 2.6.32-27) however would appreciate if anyone has any other insight
> > into this issue, or even just a note to say it is a bug that has been
> > fixed in current versions!
> 
> Well, there were issues with the LSI cards having a hidden PCI device. But those
> are pretty obvious as you can't even use it correctly. There is also
> a problem with 3Ware 9506 IDE card - which on my box stops sending IRQs
> on the IOAPIC it has been assigned (28) and instead uses another one (17).
> Not sure if this is just the PCI card using the wrong PCI interrupt pin on the
> card and it ends up poking the wrong IOAPIC.

Thanks,
Mark

  reply	other threads:[~2010-11-11 17:38 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 10:24 pci-passthrough in pvops causing offline raid Mark Adams
2010-11-11 11:13 ` Olivier Hanesse
2010-11-11 12:03   ` Re: [Xen-users] " Mark Adams
2010-11-11 16:53 ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-11 17:38   ` Mark Adams [this message]
2010-11-11 17:58     ` Konrad Rzeszutek Wilk
2010-11-11 18:13       ` [Xen-devel] " Mark Adams
2010-11-11 18:47         ` Mark Adams
2010-11-11 19:06           ` Konrad Rzeszutek Wilk
2010-11-11 19:22             ` [Xen-users] " Mark Adams
2010-11-11 19:42               ` Re: [Xen-devel] " Mark Adams
2010-11-12 17:10             ` [Xen-users] " Mark Adams
2010-11-12 22:22               ` Konrad Rzeszutek Wilk
2010-11-14 17:15                 ` Re: [Xen-devel] " Mark Adams
2010-11-15 17:11                   ` [Xen-users] " Mark Adams
2010-11-15 17:15                   ` Re: [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-15 17:23                     ` [Xen-users] " Mark Adams
2010-11-15 17:44                       ` Re: [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-15 17:56                         ` [Xen-users] " Mark Adams
2010-11-24 17:59                           ` Mark Adams
2010-11-24 20:28                             ` Re: [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-26 11:15                               ` Mark Adams
2010-11-26 15:25                                 ` [Xen-users] " Mark Adams
2010-11-29 16:36                                 ` HVM DomU, msi_translate=0, MSI/MSI-X PCI passthrough fails Konrad Rzeszutek Wilk
2010-12-08 12:58                                   ` Mark Adams
2010-12-08 13:37                                     ` Sander Eikelenboom
2010-12-08 13:48                                       ` Mark Adams
2010-12-08 14:05                                         ` Sander Eikelenboom
2010-12-08 15:48                                           ` [Xen-users] " Mark Adams
2010-12-08 16:44                                             ` Sander Eikelenboom
2010-12-09 10:39                                               ` Mark Adams
2010-12-08 17:01                                         ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-12-08 17:15                                           ` Sander Eikelenboom
2010-12-08 19:51                                             ` Jeremy Fitzhardinge
2010-12-08 17:18                                           ` [Xen-devel] " Sander Eikelenboom
2010-12-08 17:43                                             ` Konrad Rzeszutek Wilk
2010-12-09 10:49                                           ` Mark Adams
2010-12-08 13:48                                     ` Dietmar Hahn
2010-11-15 19:26                         ` [Xen-users] Re: pci-passthrough in pvops causing offline raid Pasi Kärkkäinen
2010-11-16 10:37                         ` Re: [Xen-devel] " Mark Adams
2010-11-16 16:04                           ` [Xen-users] " Konrad Rzeszutek Wilk
2010-11-16 16:47                             ` Mark Adams
2010-11-18  8:42                               ` Re: [Xen-devel] " Stephan Austermühle
2010-11-18  8:45                                 ` [Xen-users] " Pasi Kärkkäinen
2010-11-18  8:48                                   ` Re: [Xen-devel] " Stephan Austermühle
2010-11-16 21:19                             ` [Xen-users] " Pasi Kärkkäinen
2010-11-11 18:57         ` Konrad Rzeszutek Wilk
2010-11-11 17:40   ` Re: [Xen-devel] " Richie

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=20101111173850.GA8756@campbell-lange.net \
    --to=mark@campbell-lange.net \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@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.