Skip to contentSkip to conversation

Xen-unstable: irq.c:xxxx: dom1: forcing unbind of pirq 40

DISCUSSION Jan Beulich 2 participants 4 messages Dec 9, 2014 – Dec 10, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 09.12.14 at 17:24, <[email protected]> wrote:

Currently i'm running Xen-unstable with Stefano's libxl fixup patches (not doing
reset due to qmp race, switching order of xc_domain_irq_permission and xc_physdev_unmap_pirq)
and with a kernel with Konrad's 3.19 patch series.

Although i have seen these messages before, so i don't know if it is a recent
regression (don't think so).

Quoted 7 lines

I still see these in xl dmesg when shutting down guests with pci passthrough:
"irq.c:xxxx: dom1: forcing unbind of pirq 40"

It seems to cleanup ok afterwards, but from the sound warning it shouldn't get
to that point. I get these for both PV and HVM guests.

These messages simply indicate that the guest didn't do some expected cleanup itself. I see these too when Dom0 shuts down, at least for certain drivers. For HVM arguably qemu might know better and tear things down properly, but in no event are these messages - when occurring in connection with a guest going down - indications of a problem. We could even see to lower their severity or suppress them altogether when the domain is known to be dying (you may want to check whether ->is_dying is already set at that point).

Jan

#2 lore raw
Quoted 15 lines · you
Quoted 15 lines
Quoted 1 line
Quoted 1 line · On 09.12.14 at 17:24, <[email protected]> wrote:

Currently i'm running Xen-unstable with Stefano's libxl fixup patches (not doing
reset due to qmp race, switching order of xc_domain_irq_permission and xc_physdev_unmap_pirq)
and with a kernel with Konrad's 3.19 patch series.

Although i have seen these messages before, so i don't know if it is a recent
regression (don't think so).

I still see these in xl dmesg when shutting down guests with pci passthrough:
"irq.c:xxxx: dom1: forcing unbind of pirq 40"

Quoted 6 lines
Quoted 3 lines

It seems to cleanup ok afterwards, but from the sound warning it shouldn't get
to that point. I get these for both PV and HVM guests.

These messages simply indicate that the guest didn't do some expected cleanup itself.

OK, the thing is that at present is does this on every shutdown of guests with pci-passthrough, all running a recent kernel. That hasn't always been that way as far as i can remember. I will see if i have some old
guest kernels and see if i get the same there.

Quoted 8 lines

I see these too when Dom0 shuts down,
at least for certain drivers. For HVM arguably qemu might know better and tear things down properly, but in no event are these messages - when occurring in connection with a guest going down - indications of a problem. We could even see to lower their severity or suppress them altogether when the domain is known to be dying (you may want to check whether ->is_dying is already set at that point).

Just tested, but for both PV and HVM when it enters "unmap_domain_pirq" d->is_dying ? 1 : 0 returns 0.

Quoted 1 line

Jan

#3 lore raw
Quoted 21 lines · you
Quoted 18 lines · you
Quoted 18 lines
Quoted 1 line
Quoted 1 line · On 09.12.14 at 17:24, <[email protected]> wrote:

Currently i'm running Xen-unstable with Stefano's libxl fixup patches (not doing
reset due to qmp race, switching order of xc_domain_irq_permission and xc_physdev_unmap_pirq)
and with a kernel with Konrad's 3.19 patch series.

Although i have seen these messages before, so i don't know if it is a recent
regression (don't think so).

I still see these in xl dmesg when shutting down guests with pci passthrough:
"irq.c:xxxx: dom1: forcing unbind of pirq 40"

It seems to cleanup ok afterwards, but from the sound warning it shouldn't get
to that point. I get these for both PV and HVM guests.

Quoted 7 lines
Quoted 2 lines

These messages simply indicate that the guest didn't do some expected cleanup itself.

OK, the thing is that at present is does this on every shutdown of guests with pci-passthrough, all running a recent kernel. That hasn't always been that way as far as i can remember. I will see if i have some old
guest kernels and see if i get the same there.

The most ancient i had around was 3.12, tested on the PV guest, but no difference.

Quoted 10 lines
Quoted 8 lines

I see these too when Dom0 shuts down,
at least for certain drivers. For HVM arguably qemu might know better and tear things down properly, but in no event are these messages - when occurring in connection with a guest going down - indications of a problem. We could even see to lower their severity or suppress them altogether when the domain is known to be dying (you may want to check whether ->is_dying is already set at that point).

Just tested, but for both PV and HVM when it enters "unmap_domain_pirq"

d->>is_dying ? 1 : 0 returns 0.

Quoted 1 line
Quoted 1 line

Jan

#4 lore raw
In reply to Sander Eikelenboom
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 09.12.14 at 19:05, <[email protected]> wrote:
Quoted 8 lines · you

I see these too when Dom0 shuts down,
at least for certain drivers. For HVM arguably qemu might know better and tear things down properly, but in no event are these messages - when occurring in connection with a guest going down - indications of a problem. We could even see to lower their severity or suppress them altogether when the domain is known to be dying (you may want to check whether ->is_dying is already set at that point).

Quoted 2 lines

Just tested, but for both PV and HVM when it enters "unmap_domain_pirq" d->is_dying ? 1 : 0 returns 0.

Thanks for confirming - that's what I vaguely recalled from when having added that warning.

Jan