From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Ren, Yongjie" <yongjie.ren@intel.com>
Cc: Konrad Rzeszutek Wilk <konrad@kernel.org>,
'Keir Fraser' <keir@xen.org>,
'Ian Campbell' <Ian.Campbell@citrix.com>,
'Jan Beulich' <JBeulich@suse.com>,
'xen-devel' <xen-devel@lists.xen.org>
Subject: Re: Xen4.2-rc3 test result
Date: Fri, 7 Sep 2012 09:55:39 -0400 [thread overview]
Message-ID: <20120907135539.GI2870@phenom.dumpdata.com> (raw)
In-Reply-To: <1B4B44D9196EFF41AE41FDA404FC0A10194823@SHSMSX101.ccr.corp.intel.com>
On Fri, Sep 07, 2012 at 08:01:37AM +0000, Ren, Yongjie wrote:
> > -----Original Message-----
> > From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@oracle.com]
> > Sent: Thursday, September 06, 2012 7:12 PM
> > To: Ren, Yongjie
> > Cc: Konrad Rzeszutek Wilk; 'xen-devel'; 'Keir Fraser'; 'Ian Campbell'; 'Jan
> > Beulich'
> > Subject: Re: [Xen-devel] Xen4.2-rc3 test result
> >
> > On Thu, Sep 06, 2012 at 08:18:16AM +0000, Ren, Yongjie wrote:
> > > > -----Original Message-----
> > > > From: Konrad Rzeszutek [mailto:ketuzsezr@gmail.com] On Behalf Of
> > > > Konrad Rzeszutek Wilk
> > > > Sent: Saturday, September 01, 2012 1:24 AM
> > > > To: Ren, Yongjie
> > > > Cc: 'xen-devel'; 'Keir Fraser'; 'Ian Campbell'; 'Jan Beulich'; 'Konrad
> > > > Rzeszutek Wilk'
> > > > Subject: Re: [Xen-devel] Xen4.2-rc3 test result
> > >
> > > > > 5. Dom0 cannot be shutdown before PCI detachment from guest and
> > > > when pci assignment conflicts
> > > > > http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1826
> > > >
> > > > Um, so you are assigning the same VF to two guests. I am surprised
> > that
> > > > the tools even allowed you to do that. Was 'xm' allowing you to do
> > that?
> > > >
> > > No, 'xl' doesn't allow me to do that. We can't assignment a device to
> > different guests.
> > > Sorry, the description of this bug is not accurate. I changed its title to
> > "Dom0 cannot be shut down before PCI device detachment from a guest".
> > > If a guest (with a PCI device assigned) is running, Dom0 will panic when
> > shutting down.
> >
> > And does it panic if you use the 'irqpoll' option it asks for?
> >
> Adding 'irqpoll' makes no change.
>
> It should be a regression for Xen from 4.1 to 4.2.
> I didn't meet this issue with 4.2 Xen and 3.5.3 Dom0.
Aaah. That was not clear from the bugzilla.
>
> > Xen-pciback has no involvment as:
> >
> >
> > [ 283.747488] xenbus_dev_shutdown: backend/pci/1/0: Initialised !=
> > Connected, skipping
> >
> > and the guest still keeps on getting interrupts.
> >
> > What is the stack at the hang?
> >
> [ 283.747488] xenbus_dev_shutdown: backend/pci/1/0: Initialised != Connected,
> skipping
> [ 283.747505] xenbus_dev_shutdown: backend/vkbd/2/0: Initialising !=
> Connected, skipping
> [ 283.747515] xenbus_dev_shutdown: backend/console/2/0: Initialising !=
> Connected, skipping
> [ 380.236571] irq 16: nobody cared (try booting with the "irqpoll" option)
> [ 380.236588] Pid: 0, comm: swapper/0 Not tainted 3.4.4 #1
> [ 380.236596] Call Trace:
> [ 380.236601] <IRQ> [<ffffffff8110b538>] __report_bad_irq+0x38/0xd0
> [ 380.236626] [<ffffffff8110b72c>] note_interrupt+0x15c/0x210
> [ 380.236637] [<ffffffff81108ffa>] handle_irq_event_percpu+0xca/0x230
> [ 380.236648] [<ffffffff811091b6>] handle_irq_event+0x56/0x90
> [ 380.236658] [<ffffffff8110bde3>] handle_fasteoi_irq+0x63/0x120
> [ 380.236671] [<ffffffff8131c8f1>] __xen_evtchn_do_upcall+0x1b1/0x280
> [ 380.236703] [<ffffffff8131d51a>] xen_evtchn_do_upcall+0x2a/0x40
> [ 380.236716] [<ffffffff816bc36e>] xen_do_hypervisor_callback+0x1e/0x30
> [ 380.236723] <EOI> [<ffffffff810013aa>] ? hypercall_page+0x3aa/0x1000
> [ 380.236742] [<ffffffff810013aa>] ? hypercall_page+0x3aa/0x1000
> [ 380.236754] [<ffffffff810538d0>] ? xen_safe_halt+0x10/0x20
> [ 380.236768] [<ffffffff81067c9a>] ? default_idle+0x6a/0x1d0
> [ 380.236778] [<ffffffff81067256>] ? cpu_idle+0x96/0xf0
> [ 380.236789] [<ffffffff81689a18>] ? rest_init+0x68/0x70
> [ 380.236800] [<ffffffff81ca9e33>] ? start_kernel+0x407/0x414
> [ 380.236810] [<ffffffff81ca984a>] ? kernel_init+0x1e1/0x1e1
> [ 380.236821] [<ffffffff81ca9346>] ? x86_64_start_reservations+0x131/0x136
> [ 380.236833] [<ffffffff81cade7a>] ? xen_start_kernel+0x621/0x628
> [ 380.236841] handlers:
> [ 380.236850] [<ffffffff81428d80>] usb_hcd_irq
> [ 380.236860] Disabling IRQ #16
That is not the hang stack. That is the kernel telling you that something
has gone astray with an interrupt. But its unclear what happend _after_ that.
It might be that the system called the proper shutdown hypercall and its
waiting for the hypervisor to do its stuff. Can you try using the 'q' to get
a stack dump of the dom0 and see where its spinning/sitting please?
>
next prev parent reply other threads:[~2012-09-07 13:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 7:27 Xen4.2-rc3 test result Ren, Yongjie
2012-08-31 15:18 ` Ian Campbell
2012-09-06 5:59 ` Ren, Yongjie
2012-09-06 7:31 ` Ian Campbell
2012-09-06 11:08 ` Konrad Rzeszutek Wilk
2012-08-31 17:24 ` Konrad Rzeszutek Wilk
2012-09-03 7:45 ` Jan Beulich
2012-09-03 10:18 ` Konrad Rzeszutek Wilk
2012-09-06 8:18 ` Ren, Yongjie
2012-09-06 8:28 ` Ian Campbell
2012-09-07 1:58 ` Ren, Yongjie
2012-09-06 11:11 ` Konrad Rzeszutek Wilk
2012-09-07 8:01 ` Ren, Yongjie
2012-09-07 13:55 ` Konrad Rzeszutek Wilk [this message]
2012-09-25 5:57 ` Ren, Yongjie
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=20120907135539.GI2870@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=konrad@kernel.org \
--cc=xen-devel@lists.xen.org \
--cc=yongjie.ren@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).