Tom Bishop
2007-Mar-25 05:58 UTC
[Xen-users] mythbackend dvb cards...need some guidance...
Trying to get a myth backend running in fedora core 6 and xend 3.0.3 but having some issues with the DVB ATSC card, I have removed it from Dom0 and presented it to my vm, but I am unable to scan for channels...this is what lspci looks like for the card: lspci -v 00:00.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02) Subsystem: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card Flags: slow devsel, IRQ 18 Memory at f7ff0000 (32-bit, non-prefetchable) [size=64K] I/O ports at ec00 [size=32] Here is a part of the error message when scanning: scandvb /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB scanning /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB using ''/dev/dvb/adapter0/frontend0'' and ''/dev/dvb/adapter0/demux0'' main:2247: FATAL: failed to open ''/dev/dvb/adapter0/frontend0'': 2 No such file or directory Here''s is wher I removed the modules from dom0: /sbin/rmmod b2c2_flexcop_pci /sbin/rmmod b2c2_flexcop Then I unbind...add new slot and then bind... echo -n 0000:01:01.0 > /sys/bus/pci/drivers/b2c2_flexcop_pci/unbind echo -n 0000:01:01.0 > /sys/bus/pci/drivers/pciback/new_slot echo -n 0000:01:01.0 > /sys/bus/pci/drivers/pciback/bind Here''s my xen config: name = "rr-myth" memory = "256" disk = [ ''tap:aio:/var/images/rr-myth.img,xvda,w'', ] vif = [ ''mac=00:16:3e:4c:61:eb, bridge=trust'', ] uuid = "b56db1a1-38b8-8751-6e18-684b31f4b36c" bootloader="/usr/bin/pygrub" vcpus=1 pci=[''01:01.0''] on_reboot = ''restart'' on_crash = ''restart'' Have been reading through but not sure if I''ve missed anything, everything looks good except this last piece, any help would be much appreciated. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Bishop
2007-Mar-26 13:30 UTC
Fwd: [Xen-users] mythbackend dvb cards...need some guidance...
1) The obvious question, does /dev/dvb/adapter0/frontend0 exist on your filesystem? (I recently worked on a myth system that make /dev/dvb0.frontend0 nodes, not the ones the software was expecting) If not, run MAKEDEV dvb and try again... (if that works look into udev magic to make it happen next time) /dev/dvb/adapter0/frontend0 does exist with the correct permissions. 2) Have you check dmesg/syslog to see if the driver is being loaded in domU and what (if any) error messages there are? The only indication that I have is the error message when scanning, everything else looks good. On 3/25/07, Jac Kersing < j.kersing@the-box.com> wrote:> > On Sun, 25 Mar 2007, Tom Bishop wrote: > > > scandvb /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB > > scanning /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB > > using ''/dev/dvb/adapter0/frontend0'' and ''/dev/dvb/adapter0/demux0'' > > main:2247: FATAL: failed to open ''/dev/dvb/adapter0/frontend0'': 2 No > such > > file or directory > > 1) The obvious question, does /dev/dvb/adapter0/frontend0 exist on your > filesystem? (I recently worked on a myth system that make > /dev/dvb0.frontend0 nodes, not the ones the software was expecting) If > not, run MAKEDEV dvb and try again... (if that works look into udev magic > to make it happen next time) > > 2) Have you check dmesg/syslog to see if the driver is being loaded in > domU and what (if any) error messages there are? > > Regards, > > Jac > > --- > Jac Kersing Technical Consultant The-Box Development > j.kersing@the-box.com CISSP http://www.the-box.com >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Mar-26 16:01 UTC
Re: Fwd: [Xen-users] mythbackend dvb cards...need some guidance...
Do you have the kernel / modules for the DVB adaptor installed in your domU? The easiest way to get this is probably to make sure its the same kernel / modules as the dom0 instance is using. Did the DVB adaptor work correctly from dom0? Can you post the dmesg output from booting the domU with the adaptor attached? And the dmesg output from dom0? Cheers, Mark On Monday 26 March 2007 14:30, Tom Bishop wrote:> 1) The obvious question, does /dev/dvb/adapter0/frontend0 exist on > your > filesystem? (I recently worked on a myth system that make > /dev/dvb0.frontend0 nodes, not the ones the software was > expecting) If > not, run MAKEDEV dvb and try again... (if that works look into > udev magic > to make it happen next time) > > /dev/dvb/adapter0/frontend0 does exist with the correct permissions. > > 2) Have you check dmesg/syslog to see if the driver is being > loaded in > domU and what (if any) error messages there are? > > The only indication that I have is the error message when scanning, > everything else looks good. > > On 3/25/07, Jac Kersing < j.kersing@the-box.com> wrote: > > On Sun, 25 Mar 2007, Tom Bishop wrote: > > > scandvb /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB > > > scanning /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB > > > using ''/dev/dvb/adapter0/frontend0'' and ''/dev/dvb/adapter0/demux0'' > > > main:2247: FATAL: failed to open ''/dev/dvb/adapter0/frontend0'': 2 No > > > > such > > > > > file or directory > > > > 1) The obvious question, does /dev/dvb/adapter0/frontend0 exist on your > > filesystem? (I recently worked on a myth system that make > > /dev/dvb0.frontend0 nodes, not the ones the software was expecting) If > > not, run MAKEDEV dvb and try again... (if that works look into udev magic > > to make it happen next time) > > > > 2) Have you check dmesg/syslog to see if the driver is being loaded in > > domU and what (if any) error messages there are? > > > > Regards, > > > > Jac > > > > --- > > Jac Kersing Technical Consultant The-Box Development > > j.kersing@the-box.com CISSP http://www.the-box.com-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Bishop
2007-Mar-26 16:13 UTC
Re: Fwd: [Xen-users] mythbackend dvb cards...need some guidance...
I think you may be on to something, yes it works fine in dom0, but the kernel is not the same for a domU, I should have thought of this earlier....I will look at it tonight, sometimes you can''t see the forest for the trees... On 3/26/07, Mark Williamson <mark.williamson@cl.cam.ac.uk> wrote:> > Do you have the kernel / modules for the DVB adaptor installed in your > domU? > The easiest way to get this is probably to make sure its the same kernel / > modules as the dom0 instance is using. > > Did the DVB adaptor work correctly from dom0? > > Can you post the dmesg output from booting the domU with the adaptor > attached? > And the dmesg output from dom0? > > Cheers, > Mark > > On Monday 26 March 2007 14:30, Tom Bishop wrote: > > 1) The obvious question, does /dev/dvb/adapter0/frontend0 exist > on > > your > > filesystem? (I recently worked on a myth system that make > > /dev/dvb0.frontend0 nodes, not the ones the software was > > expecting) If > > not, run MAKEDEV dvb and try again... (if that works look into > > udev magic > > to make it happen next time) > > > > /dev/dvb/adapter0/frontend0 does exist with the correct permissions. > > > > 2) Have you check dmesg/syslog to see if the driver is being > > loaded in > > domU and what (if any) error messages there are? > > > > The only indication that I have is the error message when scanning, > > everything else looks good. > > > > On 3/25/07, Jac Kersing < j.kersing@the-box.com> wrote: > > > On Sun, 25 Mar 2007, Tom Bishop wrote: > > > > scandvb /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB > > > > scanning /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB > > > > using ''/dev/dvb/adapter0/frontend0'' and ''/dev/dvb/adapter0/demux0'' > > > > main:2247: FATAL: failed to open ''/dev/dvb/adapter0/frontend0'': 2 No > > > > > > such > > > > > > > file or directory > > > > > > 1) The obvious question, does /dev/dvb/adapter0/frontend0 exist on > your > > > filesystem? (I recently worked on a myth system that make > > > /dev/dvb0.frontend0 nodes, not the ones the software was expecting) If > > > not, run MAKEDEV dvb and try again... (if that works look into udev > magic > > > to make it happen next time) > > > > > > 2) Have you check dmesg/syslog to see if the driver is being loaded in > > > domU and what (if any) error messages there are? > > > > > > Regards, > > > > > > Jac > > > > > > --- > > > Jac Kersing Technical Consultant The-Box Development > > > j.kersing@the-box.com CISSP > http://www.the-box.com > > -- > Dave: Just a question. What use is a unicyle with no seat? And no pedals! > Mark: To answer a question with a question: What use is a skateboard? > Dave: Skateboards have wheels. > Mark: My wheel has a wheel! >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users