[CentOS-virt] domU shutdown with cx88 crashes dom0

Sun Jun 21 09:41:43 UTC 2009
Christian Schuermann <huor.carnesir at arcor.de>

Hi,

I've got a big problem with a cx88 DVB card. It is passed through to a 
CentOS 5.3 domU (dom0 is CentOS 5.3 as well), but when I shutdown the 
domU, this happens:


cx88[0]: mpeg risc op code error
cx88[0]: mpeg - dma channel status dump
cx88[0]:   cmds: initial risc: 0xffffffff
cx88[0]:   cmds: cdt base    : 0xffffffff
cx88[0]:   cmds: cdt size    : 0xffffffff
cx88[0]:   cmds: iq base     : 0xffffffff
cx88[0]:   cmds: iq size     : 0xffffffff
cx88[0]:   cmds: risc pc     : 0xffffffff
cx88[0]:   cmds: iq wr ptr   : 0xffffffff
cx88[0]:   cmds: iq rd ptr   : 0xffffffff
cx88[0]:   cmds: cdt current : 0xffffffff
cx88[0]:   cmds: pci target  : 0xffffffff
cx88[0]:   cmds: line / byte : 0xffffffff
cx88[0]:   risc0: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   risc1: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   risc2: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   risc3: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 0: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 1: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 2: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 3: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 4: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 5: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 6: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 7: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 8: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq 9: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq a: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq b: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq c: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq d: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq e: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]:   iq f: 0xffffffff [ INVALID sol eol irq2 irq1 23 22 21 20 19 
18 cnt1 cnt0 resync 14 13 12 count=4095 ]
cx88[0]: fifo: 0x00186400 -> 0x187400
cx88[0]: ctrl: 0x001807c0 -> 0x180820
cx88[0]:   ptr1_reg: 0xffffffff
cx88[0]:   ptr2_reg: 0xffffffff
cx88[0]:   cnt1_reg: 0xffffffff
cx88[0]:   cnt2_reg: 0xffffffff


This loops forever eating every available cpu cycle. The dom0 becomes 
unusably slow until I manually destroy the domU.

The domU runs 2.6.18-128.1.10.el5xen with 
video4linux-kmdl-2.6.18-128.1.10.el5xen-20090415-88.0.4.el5 (there are 
no video4linux-kmdls for the latest kernel yet).

Manually unloading the modules before shutting down has no effect. 
Without video4linux-kmdl installed, everything works fine.

I hope you can help me. Regards,

Chris