<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 8pt; color: #000000'>Hi,<br><br>I have most everything working under Xen. I ended up installing mythbuntu-control-centre, which brought in the stuff I needed. I cat /dev/video0 > mpeg.mpg, and I get a nice clean video (with audio).<br><br>I am having problems with the IR blaster that is part of the PVR-150. I just can't seem to talk to it. I remember having difficulties when I did this (without Xen) under Gentoo, but I've duplicated what I did there. I'm getting:<br><br>root@mythbackend1:~# irsend send_once dish 1<br>irsend: command failed: send_once dish 1<br>irsend: transmission failed<br>root@mythbackend1:~# <br><br>And syslog has this:<br><br>[ 1550.389749] lirc_dev (lirc_pvr150[0]): ioctl called (0x80046900)<br>[ 1550.389752] lirc_dev (lirc_pvr150[0]): ioctl called (0x40046911)<br>[ 1550.389754] lirc_dev (lirc_pvr150[0]): ioctl called (0x40046912)<br>[ 1550.389756] lirc_dev (lirc_pvr150[0]): ioctl called (0x8004690f)<br>[ 1550.389760] lirc_dev (lirc_pvr150[0]): poll called<br>[ 1550.389761] lirc_pvr150: poll called<br>[ 1550.389763] lirc_pvr150: poll result = 0<br>[ 1550.396106] lirc_dev (lirc_pvr150[0]): poll called<br>[ 1550.396108] lirc_pvr150: poll called<br>[ 1550.396109] lirc_pvr150: poll result = 0<br>[ 1550.396137] lirc_dev (lirc_pvr150[0]): write called<br>[ 1550.396141] lirc_pvr150: failed to get data for code 0, key 525 -- check lircd.conf entries<br>[ 1550.396367] lirc_dev (lirc_pvr150[0]): poll called<br>[ 1550.396368] lirc_pvr150: poll called<br>[ 1550.396369] lirc_pvr150: poll result = 0<br>[ 1550.399030] lirc_dev (lirc_pvr150[0]): poll called<br>[ 1550.399031] lirc_pvr150: poll called<br>[ 1550.399032] lirc_pvr150: poll result = 0<br>[ 1550.400855] lirc_dev (lirc_pvr150[0]): poll called<br>[ 1550.400857] lirc_pvr150: poll called<br>[ 1550.400858] lirc_pvr150: poll result = 0<br>[ 1550.400918] lirc_dev (lirc_pvr150[0]): close called<br><br>Has anyone seen this before?<br><br>Thanks,<br>Gerald<br><br>----- "Gerald Brandt" <gbr@majentis.com> wrote:
<br>> <style>p { margin: 0; }</style><div style="font-family: Verdana; font-size: 8pt; color: rgb(0, 0, 0);">> Hi,<br>> <br>> I'm having some issues passing through my pvr-150 card. The DomU sees it, but doesn't want to load the drivers. The Dom0 also sees it, and does load drivers. I'll see if I can blacklist the drivers in Dom0. I'm not 100% sure how to do that, but I'll figure it out.<br>> <br>> <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.442408] Linux video capture interface: v2.00</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.494556] ivtv: Start initialization, version 1.1.0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.494607] ivtv0: Initializing card #0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.494610] ivtv0: Autodetected Hauppauge card (cx23416 based)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.496181] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.496352] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557655] tveeprom 0-0050: Hauppauge model 26152, rev C599, serial# 8958490</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557664] tveeprom 0-0050: tuner model is TCL 2002N 5H (idx 99, type 50)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557666] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557668] tveeprom 0-0050: audio processor is CX25843 (idx 37)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557670] tveeprom 0-0050: decoder processor is CX25843 (idx 30)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557672] tveeprom 0-0050: has no radio, has IR receiver, has IR transmitter</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557677] ivtv0: Autodetected Hauppauge WinTV PVR-150</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.557679] ivtv0: Reopen i2c bus for IR-blaster support</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.663321] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.843649] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.850778] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859708] tuner-simple 0-0061: type set to 50 (TCL 2002N)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859713] tuner 0-0061: type set to TCL 2002N</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859720] Fatal DMA error! Please use 'swiotlb=force'</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859728] ------------[ cut here ]------------</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859730] kernel BUG at /build/buildd/linux-2.6.24/debian/build/custom-source-xen/arch/x86/kernel/pci-dma_32-xen.c:372!</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859733] invalid opcode: 0000 [1] SMP</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859736] CPU 0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859737] Modules linked in: wm8775 cx25840 tuner tea5767 tda8290 tuner_simple mt20xx tea5761 ivtv i2c_algo_bit cx2341x tveeprom i2c_core videodev v4l2_common v4l1_compat evdev ext3 jbd mbcache fuse</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859754] Pid: 2874, comm: modprobe Not tainted 2.6.24-21-xen #1</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859756] RIP: e030:[<ffffffff8021439e>] [<ffffffff8021439e>] dma_map_single+0x18e/0x210</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859763] RSP: e02b:ffff88000f6b1bb8 EFLAGS: 00010292</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859765] RAX: 000000000000003e RBX: ffff880001f3ab00 RCX: ffffffffff5f7000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859767] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859769] RBP: ffff88000f7a0000 R08: ffff880010622a00 R09: ffff880001b3d000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859771] R10: 000000000000003c R11: 0000000000000000 R12: 0000000000008100</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859773] R13: ffff88000e60b870 R14: ffff88000f080228 R15: ffff88000f080000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859777] FS: 00007fe5787cb6e0(0000) GS:ffffffff805c7000(0000) knlGS:0000000000000000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859779] CS: e033 DS: 0000 ES: 0000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859781] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859783] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859786] Process modprobe (pid: 2874, threadinfo ffff88000f6b0000, task ffff880010460800)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859788] Stack: ffff880010510800 ffff880010511bc0 ffff88000f0801a0 0000000000000000</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859793] 0000000000000000 ffffffff88089a0a 00000000000080d0 0000000000000002</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859797] ffff88000f080000 ffff88000f080000 0000000000000000 ffffffff880938e3</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859800] Call Trace:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859809] [<ffffffff88089a0a>] :ivtv:ivtv_stream_alloc+0x18a/0x370</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859816] [<ffffffff8808a6ad>] :ivtv:ivtv_streams_setup+0x23d/0x320</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859822] [<ffffffff8807e734>] :ivtv:ivtv_probe+0xf34/0x14f0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859827] [<ffffffff8034aea6>] pci_device_probe+0x76/0xa0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859831] [<ffffffff803c8f0c>] driver_probe_device+0x9c/0x1b0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859833] [<ffffffff803c91d9>] __driver_attach+0xc9/0xd0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859836] [<ffffffff803c9110>] __driver_attach+0x0/0xd0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859840] [<ffffffff803c814d>] bus_for_each_dev+0x4d/0x80</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859843] [<ffffffff803c855c>] bus_add_driver+0xac/0x220</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859846] [<ffffffff8034b0d9>] __pci_register_driver+0x69/0xb0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859852] [<ffffffff8807cf0b>] :ivtv:module_start+0x5b/0xc0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859855] [<ffffffff8025a39e>] sys_init_module+0x18e/0x1a90</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859858] [<ffffffff802a13a5>] cp_new_stat+0xe5/0x100</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859863] [<ffffffff8023c3a0>] __request_region+0x0/0xc0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859866] [<ffffffff8020c698>] system_call+0x68/0x6d</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859868] [<ffffffff8020c630>] system_call+0x0/0x6d</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859870]</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859871]</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859872] Code: 0f 0b eb fe 48 ba 00 00 00 00 ff ff ff ff e9 74 ff ff ff 48</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859889] RIP [<ffffffff8021439e>] dma_map_single+0x18e/0x210</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859893] RSP <ffff88000f6b1bb8></span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">[ 9.859896] ---[ end trace 7eefc72efc05df3b ]---</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br>> gerald<br>> <br>> ----- "Riku Pelander" <riku.pelander@gmail.com> wrote:
<br>> > On Wed, Nov 12, 2008 at 6:30 AM, Gerald Brandt <gbr@majentis.com> wrote:<br>> > > Hi,<br>> > ><br>> > > I've been trying to set up a Xen DomU for my mythbackend, but I'm having<br>> > > issues with pci passthrough. I know some people here have done it.<br>> > ><br>> > > I'm using Ubuntu 8.04 64 bit as Dom0, and Mythbuntu 8.10 as the Domu.<br>> > ><br>> > > What configurations are you using as the OS for Dom0, and are you passing<br>> > > through (using pciback.hide) a PVR150 card?<br>> > ><br>> > > Thanks,<br>> > > Gerald<br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > mythtv-users mailing list<br>> > > mythtv-users@mythtv.org<br>> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>> > ><br>> > ><br>> > <br>> > Hi,<br>> > <br>> > I have run mythbackend in virtualized Xen machine for several months<br>> > now. You can check my guide in http://netti.nic.fi/~icewood/mythtv/.<br>> > Look especially the section under backend.<br>> > _______________________________________________<br>> > mythtv-users mailing list<br>> > mythtv-users@mythtv.org<br>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br>> > </div><br>> _______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</div></body></html>