Mailing List Archive

Shared interrupt in 2 domains: cards disabled
Xen 2.0-testing gave me a problem when a domain (using a dom0 kernel)
tried to use a soundcard (hidden from dom0):

other_domain:/proc/asound# cat cards
0 [CK8S ]: NFORCE - NVidia CK8S
NVidia CK8S with ALC850 at 0xff6fb000, irq 11

with the same IRQ as the network-card in dom0:

dom0:~# cat /proc/interrupts
CPU0
1: 1955 Phys-irq i8042
10: 4884 Phys-irq libata
11: 78834 Phys-irq eth0
12: 6489 Phys-irq i8042
14: 4688 Phys-irq ide0

The card produced sound for 4 seconds, then went mute. Moreover, the
dom0 network-card also stopped operating (only xen-br0 still worked) and
could not be brought back to life, not even after stopping all domains
and xend:

dom0:~# ifup eth0
SIOCADDRT: Network is unreachable
Failed to bring up eth0.

I had to reboot the system...
Is this a bug or should there be no shared interrupts at all between
domains?

Kind regards, Arie Kraai

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Shared interrupt in 2 domains: cards disabled [ In reply to ]
> Xen 2.0-testing gave me a problem when a domain (using a dom0 kernel)
> tried to use a soundcard (hidden from dom0):
> with the same IRQ as the network-card in dom0:
>
> The card produced sound for 4 seconds, then went mute. Moreover, the
> dom0 network-card also stopped operating (only xen-br0 still worked) and
> could not be brought back to life, not even after stopping all domains
> and xend:
> I had to reboot the system...
> Is this a bug or should there be no shared interrupts at all between
> domains?

The situation is even worse: using a USB device in domU (hidden from
dom0) with the same interrupt as a SATA controller in dom0 corrupted the
SATA-disk in dom0!

Please, does anyone have a clue about what's going on with shared
interrupts?

Thanks, Arie Kraai

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Shared interrupt in 2 domains: cards disabled [ In reply to ]
Arie Kraai wrote:

>>Xen 2.0-testing gave me a problem when a domain (using a dom0 kernel)
>>tried to use a soundcard (hidden from dom0):
>>with the same IRQ as the network-card in dom0:
>>
>>The card produced sound for 4 seconds, then went mute. Moreover, the
>>dom0 network-card also stopped operating (only xen-br0 still worked) and
>>could not be brought back to life, not even after stopping all domains
>>and xend:
>>I had to reboot the system...
>>Is this a bug or should there be no shared interrupts at all between
>>domains?
>>
>>
>
>The situation is even worse: using a USB device in domU (hidden from
>dom0) with the same interrupt as a SATA controller in dom0 corrupted the
>SATA-disk in dom0!
>
>
I'm seeing something very similiar. I've got USB, Sound, and Ethernet
all on a shared IRQ. The devices are only being used in dom0 and if any
two out of the three are used rigoriously at the same time (say playing
an MP3 and downloading a large file) all of the devices hang.

FWIW, I have a bug entry in bugzilla about it. You may want to take a
look at it and add some additional comments.

I didn't experience these problems until the ACPI code was reworked.

http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=76

Regards,

Anthony Liguori

>Please, does anyone have a clue about what's going on with shared
>interrupts?
>
>Thanks, Arie Kraai
>
>_______________________________________________
>Xen-users mailing list
>Xen-users@lists.xensource.com
>http://lists.xensource.com/xen-users
>
>
>


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Shared interrupt in 2 domains: cards disabled [ In reply to ]
On Mon, Jul 11, 2005 at 10:18:16AM -0500, Anthony Liguori wrote:
> Arie Kraai wrote:
> >>I had to reboot the system...
> >>Is this a bug or should there be no shared interrupts at all between
> >>domains?
> >>
> >
> >The situation is even worse: using a USB device in domU (hidden from
> >dom0) with the same interrupt as a SATA controller in dom0 corrupted the
> >SATA-disk in dom0!
> >
> >
> I'm seeing something very similiar. I've got USB, Sound, and Ethernet
> all on a shared IRQ. The devices are only being used in dom0 and if any
> two out of the three are used rigoriously at the same time (say playing
> an MP3 and downloading a large file) all of the devices hang.
>
> FWIW, I have a bug entry in bugzilla about it. You may want to take a
> look at it and add some additional comments.
>
> I didn't experience these problems until the ACPI code was reworked.
>
> http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=76

Unfortunately, I'm experiencing the problem in xen 2.0 (testing) and I
believe the code of delegating devices to other domains is very different
from the unstable tree (as far as I can read it...).
So I think it is another error!

Regards and thanks for the answer, Arie Kraai

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users