|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] dvbworld pci passthrough xen 3.2
Hello,
i'm trying to setup a mythbackend into a DomU environment. I installed xen 3.2
from Ubuntu 8.04.1-server repo via apt-get.
kernel version: 2.6.24.21
created a domU where i compiled successfully lastest v4l-dvb drivers from
mercurial repos.
patched and installed mythtv.
I own a TT-3200 S2 card and recently i bought a DVBworld pci2004c S2 card
(dvb-wiki say that is fully supported)
I hide the pci card from grub menu.lst file.
[code]
module /boot/vmlinuz-2.6.24-21-xen
root=UUID=cc41cb57-fed6-4d5d-948d-51fe7c638005 ro console=tty0
pciback.hide=(10:01.0)
[/code]
and my domU cfg file is
[code]
# Configuration file for the Xen instance mythbe1, created
# by xen-tools 3.8 on Fri Nov 21 18:36:42 2008.
#
#
# Kernel + memory size
#
kernel = '/boot/vmlinuz-2.6.24-21-xen'
ramdisk = '/boot/initrd.img-2.6.24-21-xen'
memory = '1024'
vcpus = '2'
#
# Disk device(s).
#
root = '/dev/hda2 ro'
disk = [
'tap:aio:/home/xen/domains/mythbe1/swap.img,hda1,w',
'tap:aio:/home/xen/domains/mythbe1/disk.img,hda2,w',
]
pci = ['10:01.0']
irq = [4]
ioports = ["3f8-3ff"]
extra = 'swiotlb=force'
...
[/code]
when i start the domU, it boots, recoginze the card and install required
modules dm1105...
but when i try to tune channels (from a remote frontend) it hangs and need to
reboot dom0 to get the card back working.
[code]
2008-12-12 02:12:55.237 TVRec(1): Changing from None to WatchingLiveTV
2008-12-12 02:12:55.245 TVRec(1): HW Tuner: 1->1
2008-12-12 02:12:55.255 DVBChan(1:/dev/dvb/adapter1/frontend0) Warning:
Unsupported modulation parameter.
[ 183.208614] Unable to handle kernel NULL pointer dereference at
0000000000000000 RIP:
[ 183.208628] [<ffffffff880736bc>] :dm1105:dm1105dvb_irq+0x8c/0x1d0
[ 183.208644] PGD 3f120067 PUD 3dc3a067 PMD 0
[ 183.208654] Oops: 0000 [1] SMP
[ 183.208660] CPU 0
[ 183.208663] Modules linked in: dvbloopback 8250 serial_core ipv6 cx24116
dm1105 dvb_core i2c_core evdev ext3 jbd mbcache fuse
[ 183.208685] Pid: 3715, comm: sasc-ng Not tainted 2.6.24-21-xen #1
[ 183.208689] RIP: e030:[<ffffffff880736bc>] [<ffffffff880736bc>]
:dm1105:dm1105dvb_irq+0x8c/0x1d0
[ 183.208698] RSP: e02b:ffffffff80622e68 EFLAGS: 00010246
[ 183.208701] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000013000
[ 183.208705] RDX: 0000000000013038 RSI: 0000000000000000 RDI: ffff88003f264948
[ 183.208709] RBP: ffff88003f264000 R08: 0000000000000000 R09: 00007f7af455fa30
[ 183.208712] R10: 0000000000708dd8 R11: 0000000000000202 R12: 0000000000000000
[ 183.208716] R13: 0000000000005e00 R14: 0000000000000000 R15: 0000000000000000
[ 183.208722] FS: 00007f7af4560950(0000) GS:ffffffff805c7000(0000)
knlGS:0000000000000000
[ 183.208725] CS: e033 DS: 0000 ES: 0000
[ 183.208728] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 183.208732] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 183.208736] Process sasc-ng (pid: 3715, threadinfo ffff88003f12e000, task
ffff880040745800)
[ 183.208739] Stack: ffff88003de45b80 0000000000000000 0000000000000000
0000000000000016
[ 183.208749] ffffffffff5f7000 ffffffff8026cec4 0000000000000109
ffffffff805c8480
[ 183.208756] 0000000000000016 0000000000000000 ffffffff805c84d0
ffffffff8026ebab
[ 183.208763] Call Trace:
[ 183.208766] <IRQ> [<ffffffff8026cec4>] handle_IRQ_event+0x34/0xb0
[ 183.208780] [<ffffffff8026ebab>] handle_level_irq+0x9b/0x120
[ 183.208786] [<ffffffff8020d33c>] call_softirq+0x1c/0x30
[ 183.208791] [<ffffffff8020ebfd>] do_IRQ+0x5d/0xc0
[ 183.208797] [<ffffffff80382725>] evtchn_do_upcall+0x135/0x260
[ 183.208803] [<ffffffff8020cdae>] do_hypervisor_callback+0x1e/0x30
[ 183.208806] <EOI>
[ 183.208810]
[ 183.208810] Code: 42 80 3c 36 47 74 59 8b 85 40 09 00 00 83 c0 01 83 f8 01 89
[ 183.208833] RIP [<ffffffff880736bc>] :dm1105:dm1105dvb_irq+0x8c/0x1d0
[ 183.208840] RSP <ffffffff80622e68>
[ 183.208843] CR2: 0000000000000000
[ 183.208851] ---[ end trace ee24cbe8ac33125a ]---
[ 183.208856] Kernel panic - not syncing: Aiee, killing interrupt handler!
[/code]
The card works properly outside xen (tried on a friend's system)
The same setup works flawlessly using the TT3200 card (inside xen)
Any suggestion??
My hardware is an HP XW8200 workstation with 2x Xeon 3.0GHz processors
(hyperthreading) and NO VT instruction set
Any help appreciated
Thanks
Riccardo
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] dvbworld pci passthrough xen 3.2,
ferrarir@xxxxxxxxx <=
|
|
|
|
|