All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Mark Adams <mark@campbell-lange.net>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: pci-passthrough in pvops causing offline raid
Date: Thu, 11 Nov 2010 13:57:37 -0500	[thread overview]
Message-ID: <20101111185737.GA15530@dumpdata.com> (raw)
In-Reply-To: <20101111181329.GA9058@campbell-lange.net>

> > > 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
> > 
> > That is it? No other details from the driver? Did you poke at the driver (modinfo)
> > to see if there are any options to increase its verbosity.
> 
> I can't do anything once its happened, everything is offline so I have
> no utils...

An easy is to use netconsole. You can make all of the kernel log output
got a different machine on your network.

> > 
> > > 
> > > 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
> > 
> > cat /proc/interrupts
> > 
> > > pinning being done at all, and the machine was running for a few months
> > > OK before the pciback was added.
> > 
> > Ok, what about your NICs? Are they on-board? Are they sharing the IRQ
> > with the card? You should be able to see this by looking at /proc/interrupts.
> > Which NICs are they? lspci can you help you there. As of matter of fact, run
> > lspci -vvv and send that.
> 
> It is the onboard nics, they are Intel 82574L. I can see the arcmsr
> line, but not anything for the NICS (because they are hidden?)

Your lspci tells me it is on 16 and 17. You should see in /proc/interrupts
on that line something about pciback?
> 
> 39:    1126249          0          0          0          0          0         0          0  xen-pirq-ioapic-level  arcmsr
> 
> Nothing else is on 1126249

You mean IRQ 39.
> 
> see lspci.txt attached.

thanks.
> > When this hang occurs, can you do 'xm debug-key Q', 'xm debug-key i', 'xm debug-key z'.
> > Then run 'xm dmesg' and provide that to me?
> 
> I can try this, but It probably won't work as the device is will not be
> readable.

Look on Google for 'Wiki PVOPS' and there is a section on how to connect a serial console.
With the serial console we can send those commands to the hypervisor even if your box
is hanged.

http://wiki.xen.org/xenwiki/XenSerialConsole

> > 
> > Is your boot disk on the same disk as the RAID?
> 
> There are 2 raids, a Raid1 for the OS (/boot / /var /tmp /usr) and a
> raid5 for VM's - They both dissapear at the same time so it appears the
> card is dissapearing..
> 

I wonder if we have your IRQs confused. Can you provide the full cat /proc/interrupts
and as well the serial bootup of the console? Or just the 'xm dmesg' and 'dmesg' output
if you don't have the serial console hooked up yet.

  parent reply	other threads:[~2010-11-11 18:57 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
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 [this message]
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=20101111185737.GA15530@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=mark@campbell-lange.net \
    --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.