I''m trying to setup a new home server, and part one is getting a new version of MythTV running. Host is Debian with Xen4.0.1 and kernel 2.6.32-5-xen-amd64, PV guest is also Debian with kernel 2.6.32-5-xen-amd64. I have a DVB-T tuner (HVR-1200, PCIe card) I am trying to use in the guest with pciback.hide etc. The whole thing is running on an HP Proliant Microserver I bought while HP had a mail-in rebate going. If I boot the host without Xen, I can access the card with dvbtune and it lists the channels in a multiplex :># dvbtune -f 801833000 -i >Using DVB card "NXP TDA10048HN DVB-T" >tuning DVB-T (in United Kingdom) to 801833000 Hz >polling.... >Getting frontend event >FE_STATUS: >polling.... >Getting frontend event >FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC >Bit error rate: 35 >Signal strength: 65278 >SNR: 246 >FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC ><transponder type="T" freq="801833000"> ><service id="4168" ca="0"> ><description tag="0x48" type="1" provider_name="BBC" service_name="BBC ONE" /> ><descriptor tag="0x73" data="66702e6262632e636f2e756b" text="fp.bbc.co.uk" /> ><stream type="2" pid="101"> ><stream_id id="1" /> ></stream>And the card shows up in the boot log :>02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 >PCI Video and Audio Decoder (rev 02)I''ve hidden the card from Dom0 by adding "xen-pciback.hide=(02:00.0)" to the grub config. When I boot the guest, I can see it''s tuner card>eddi kernel: [ 25.348011] cx23885[0]/0: found at 0000:00:00.0, >rev: 2, irq: 16, latency: 0, mmio: 0xfe600000But if I try to access it with dvbtune, it can''t detect any channels :># dvbtune -f 801833000 -i >Using DVB card "NXP TDA10048HN DVB-T" >tuning DVB-T (in United Kingdom) to 801833000 Hz >polling.... >Getting frontend event >FE_STATUS: >polling.... >Getting frontend event >FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC >Bit error rate: 1965 >Signal strength: 61680 >SNR: 131 >FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC ><transponder type="T" freq="801833000"> >Nothing to read from fd_pat >Nothing to read from fd_sdt ></transponder>Now, that looks very much to me like it recognises there is a signal (HAS_SIGNAL, HAS_LOCK, and so on), but it cannot read any data. Does anyone have any suggestions what may be missing here ? Is the "mmio: 0xfe600000" significant, or does that get handled automatically with the pciback stuff ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
At 21:00 +0100 23/7/11, I wrote:>I''m trying to setup a new home server, and part one is getting a new >version of MythTV running. Host is Debian with Xen4.0.1 and kernel >2.6.32-5-xen-amd64, PV guest is also Debian with kernel >2.6.32-5-xen-amd64. I have a DVB-T tuner (HVR-1200, PCIe card) I am >trying to use in the guest with pciback.hide etc. The whole thing is >running on an HP Proliant Microserver I bought while HP had a >mail-in rebate going. > >If I boot the host without Xen, I can access the card with dvbtune >and it lists the channels in a multiplex : ><snip> >And the card shows up in the boot log : >>02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 >>PCI Video and Audio Decoder (rev 02) > >I''ve hidden the card from Dom0 by adding >"xen-pciback.hide=(02:00.0)" to the grub config. > > >When I boot the guest, I can see it''s tuner card >>eddi kernel: [ 25.348011] cx23885[0]/0: found at 0000:00:00.0, >>rev: 2, irq: 16, latency: 0, mmio: 0xfe600000 > >But if I try to access it with dvbtune, it can''t detect any channels : > >># dvbtune -f 801833000 -i >>Using DVB card "NXP TDA10048HN DVB-T" >>tuning DVB-T (in United Kingdom) to 801833000 Hz >>polling.... >>Getting frontend event >>FE_STATUS: >>polling.... >>Getting frontend event >>FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI >>FE_HAS_SYNC >>Bit error rate: 1965 >>Signal strength: 61680 >>SNR: 131 >>FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI >>FE_HAS_SYNC >><transponder type="T" freq="801833000"> >>Nothing to read from fd_pat >>Nothing to read from fd_sdt >></transponder>No ideas ? Any suggestions where to look or further information I need to provide ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 28/07/2011 20:16, Simon Hobson wrote:> At 21:00 +0100 23/7/11, I wrote: >> I''m trying to setup a new home server, and part one is getting a new >> version of MythTV running. Host is Debian with Xen4.0.1 and kernel >> 2.6.32-5-xen-amd64, PV guest is also Debian with kernel >> 2.6.32-5-xen-amd64. I have a DVB-T tuner (HVR-1200, PCIe card) I am >> trying to use in the guest with pciback.hide etc. The whole thing is >> running on an HP Proliant Microserver I bought while HP had a mail-in >> rebate going. >> >> If I boot the host without Xen, I can access the card with dvbtune >> and it lists the channels in a multiplex : >> <snip> >> And the card shows up in the boot log : >>> 02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 >>> PCI Video and Audio Decoder (rev 02) >> >> I''ve hidden the card from Dom0 by adding "xen-pciback.hide=(02:00.0)" >> to the grub config. >> >> >> When I boot the guest, I can see it''s tuner card >>> eddi kernel: [ 25.348011] cx23885[0]/0: found at 0000:00:00.0, >>> rev: 2, irq: 16, latency: 0, mmio: 0xfe600000 >> >> But if I try to access it with dvbtune, it can''t detect any channels : >> >>> # dvbtune -f 801833000 -i >>> Using DVB card "NXP TDA10048HN DVB-T" >>> tuning DVB-T (in United Kingdom) to 801833000 Hz >>> polling.... >>> Getting frontend event >>> FE_STATUS: >>> polling.... >>> Getting frontend event >>> FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI >>> FE_HAS_SYNC >>> Bit error rate: 1965 >>> Signal strength: 61680 >>> SNR: 131 >>> FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI >>> FE_HAS_SYNC >>> <transponder type="T" freq="801833000"> >>> Nothing to read from fd_pat >>> Nothing to read from fd_sdt >>> </transponder> > > No ideas ? > Any suggestions where to look or further information I need to provide ? >I''m using a similar card. Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) Simply booting up in Xen on the dom0 rendered the card unable to scan for channels. It would load its drivers, create its block devices and seem to function in all aspects except for tuning, basically rendering it useless. I had the same idea as you and was trying to get a PV mythtv backend, after it failing in domU, I moved to just trying to get it to work on the dom0 but was suffering the same issues. I was using the w-scan debian package to scan for channels without needing to install Myth for testing and found that in a standard *-xen kernel it worked fine, but if I loaded xen dom0 with the same kernel, it didn''t. -- May the ping be with you .. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steve Allison wrote:>I''m using a similar card. > >Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) > >Simply booting up in Xen on the dom0 rendered the card unable to >scan for channels. It would load its drivers, create its block >devices and seem to function in all aspects except for tuning, >basically rendering it useless. > >I had the same idea as you and was trying to get a PV mythtv >backend, after it failing in domU, I moved to just trying to get it >to work on the dom0 but was suffering the same issues. > >I was using the w-scan debian package to scan for channels without >needing to install Myth for testing and found that in a standard >*-xen kernel it worked fine, but if I loaded xen dom0 with the same >kernel, it didn''t.I found the card worked in Dom0 with Xen loaded. After some trial and error I realised I''d made two mistakes in my config. 1) I''d used "pciback.hide ..." instead of the newer "xen-pciback.hide ..." loading Dom0 kernel. 2) Then in DomU I needed to use "iommu=soft" and not "swiotlb=force" -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson wrote:>I found the card worked in Dom0 with Xen loaded. After some trial >and error I realised I''d made two mistakes in my config. > >1) I''d used "pciback.hide ..." instead of the newer >"xen-pciback.hide ..." loading Dom0 kernel. > >2) Then in DomU I needed to use "iommu=soft" and not "swiotlb=force"Spoke too soon :( It *was* working, then I upgraded the memory in the server. After a morning spent trying various permutations*, I''ve determined that my setup works with 1G or 4G RAM, but not with 5G or 8G. Any suggestions what I''m missing ? IS there something I need to change with >4G RAM ? To recap, I''m trying to run MythTV in a PV guest with one HVR-1200 DVB Tuner made available via pciback.hide. Xen, Dom0, DomU all from Debian stable (Squeeze) - Xen 4.0.1, kernel 2.6.32-xen. AND64 - HP Proliant Microserver -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 04/08/2011 13:27, Simon Hobson wrote:> Simon Hobson wrote: > >> I found the card worked in Dom0 with Xen loaded. After some trial and >> error I realised I''d made two mistakes in my config. >> >> 1) I''d used "pciback.hide ..." instead of the newer "xen-pciback.hide >> ..." loading Dom0 kernel. >> >> 2) Then in DomU I needed to use "iommu=soft" and not "swiotlb=force" > > Spoke too soon :( > > It *was* working, then I upgraded the memory in the server. After a > morning spent trying various permutations*, I''ve determined that my > setup works with 1G or 4G RAM, but not with 5G or 8G. > Any suggestions what I''m missing ? IS there something I need to change > with >4G RAM ? > > To recap, I''m trying to run MythTV in a PV guest with one HVR-1200 DVB > Tuner made available via pciback.hide. > Xen, Dom0, DomU all from Debian stable (Squeeze) - Xen 4.0.1, kernel > 2.6.32-xen. > AND64 - HP Proliant Microserver >I no longer have the setup available to test as I moved MythTV to a seperate server. I can confirm however that the server I was trying to setup did in fact have 8GB of RAM. I never thought to reduce this to test. If you add the following line to /etc/default/grub GRUB_CMDLINE_XEN="dom0_mem=512M" You could restrict the amount of RAM available to the dom0, would that make it work in dom0? A stab in the dark, I know. -- May the ping be with you .. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steve Allison wrote:>I no longer have the setup available to test as I moved MythTV to a >seperate server. I can confirm however that the server I was trying >to setup did in fact have 8GB of RAM. I never thought to reduce this >to test. > >If you add the following line to /etc/default/grub > >GRUB_CMDLINE_XEN="dom0_mem=512M" > >You could restrict the amount of RAM available to the dom0, would >that make it work in dom0? A stab in the dark, I know.Yes, worth a try but I already had Dom0 mem configured. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users