Tophicles Posted October 1, 2012 Share Posted October 1, 2012 3) Ran "tv_find_grabbers", output is: Code: [select] Can't locate XMLTV/Version.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i486-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/bin/tv_find_grabbers line 10. BEGIN failed--compilation aborted at /usr/bin/tv_find_grabbers line 10. Not sure what to do from this point... Yeep, just install perl and should work perl (Practical Extraction and Report Language) Currently Installed. Will be automatically Re-Installed upon Re-Boot. Doesn't seem to work, I do have perl installed... Quote Link to comment
Pinch Posted October 5, 2012 Share Posted October 5, 2012 Hm, my complete inability to operate linux is really shining through. Been at this for days now, but still have no useable result. I'm trying to compile rc8a with media tree enabled and the r8168, following the wiki for 4.7 (http://lime-technology.com/wiki/index.php/Installing_Tvheadend_in_unRAID), but after compiling and rebooting, the NIC isn't loaded. I'm gonna post the steps I took to do this. I don't think I'm too far off course, so if anyone could supply whatever I'm missing, I'd be happy to update the wiki to also offer a guide for Unraid 5 I've copy-pasted the description of most of the steps from the wiki so it's easy to see where I've modified the commands to reflect the different kernel: First wget the following packages to the dir /mnt/cache/.unraiddev/packages_slack13.1.0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.11.tar.gz http://slackware.osuosl.org/slackware-13.1/slackware/d/gcc-4.4.4-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/l/glibc-2.11.1-i486-3.txz http://slackware.osuosl.org/slackware-13.1/slackware/d/binutils-2.20.51.0.8-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/d/make-3.81-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/a/cxxlibs-6.0.13-i486-2.txz http://slackware.osuosl.org/slackware-13.1/slackware/a/pkgtools-13.1-noarch-1.tgz http://slackware.osuosl.org/slackware-13.1/slackware/d/perl-5.10.1-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/a/cpio-2.9-i486-2.txz http://slackware.osuosl.org/slackware-13.1/slackware/a/patch-2.5.4-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/l/ncurses-5.7-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/d/git-1.7.1-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/l/libidn-1.5-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/n/curl-7.20.1-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/d/pkg-config-0.23-i486-2.txz http://slackware.osuosl.org/slackware-13.1/slackware/n/openssl-0.9.8n-i486-1.txz http://slackware.osuosl.org/slackware-13.1/slackware/a/infozip-6.0-i486-1.txz http://lime-technology.com/download/doc_download/37-unraid-server-version-50-rc8a-aio Install the packages: installpkg *.t*z Unzip the downloaded unRAID package: unzip unRAID* -d /mnt/cache/.unraiddev/ Go to "/usr/src" directory, and rename the folder "linux" to "linux_original" (notice I'm not using these directories): mv /usr/src/linux-3.4.11-unRAID /usr/src/linux-3.4.11-unRAID_original Extract the vanilla kernel file (e.g. linux-2.6.32.9.tar.gz ) into "/usr/src": tar -C /usr/src/ -zxvf linux-3.4.11.tar.gz Link the new source directory (e.g. linux-2.6.32.9 ) to "/usr/src/linux" path: ln -sf /usr/src/linux-3.4.11 /usr/src/linux-3.4.11-unRAID Copy all default drivers and configuration to the new source directory: cp -rf /usr/src/linux-3.4.11-unRAID_original/* /usr/src/linux-3.4.11/ cp -f /usr/src/linux-3.4.11-unRAID_original/.config /usr/src/linux-3.4.11/ Link kernel headers includes to the new source includes: ln -sf /usr/src/linux-3.4.11-unRAID/include/asm-generic /usr/include/asm-generic ln -sf /usr/src/linux-3.4.11-unRAID/include/linux /usr/include/linux ln -sf /usr/src/linux-3.4.11-unRAID/arch/x86/include/asm /usr/include/asm Configure the kernel: cd /usr/src/linux-3.4.11-unRAID/ make clean make menuconfig You're in the kernel configuration utility. Scroll down and select (press enter): $ Device Drivers ---> Now go down to $ Multimedia Support ---> and press an 'M' on it to compile it as a module. After that, go into Multimedia support (press enter), then configure $ Video for Linux ---> to be compiled as a module as well by pressing 'M' on it. After that press 'SPACE' on $ Enable Video For Linux API 1 (DEPRECATED) and leave only the new there. This option isn't there. Following that you have to enable the support for your tuner card. Enable as a module the entire: $ DVB for Linux Probably you also need to dig into $ Video Capture Adapters and configure the appropriate Video Encoders according to what is on your card. I edited nothing in this menu... make bzImage make modules make modules_install Copy the fresh bzImage to your boot directory: cp arch/x86/boot/bzImage /boot/bzimage_new Create a temporary directory and extract the vanilla unRAID bzroot into it: mkdir /mnt/cache/.unraiddev/bz-mod cd /mnt/cache/.unraiddev/bz-mod xzcat ../bzroot | cpio -i -d -H newc --no-absolute-filenames Syncronize (overwrite) the extracted vanilla modules with the newly compiled modules: rsync -av --delete /lib/modules/3.4.11-unRAID/ /mnt/cache/.unraiddev/bz-mod/lib/modules/3.4.11-unRAID/ Package the new bzroot: cd /mnt/cache/.unraiddev/bz-mod/ find . | cpio -o -H newc | xz --format=lzma > /boot/bzroot_new Quote Link to comment
daramora Posted October 6, 2012 Share Posted October 6, 2012 Just a question does the kernel in rc8a media tree support unicable http://www.inverto.tv/guide/?p=12 technology? Quote Link to comment
piotrasd Posted October 7, 2012 Share Posted October 7, 2012 but after compiling and rebooting, the NIC isn't loaded. I dont see where you install 8168 driver ... you miss that step ... 8169 - is possible turn ON in kernel menu konfig 8168 - you must compile and install from realtek site http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true after that, you make rsync and pack bzroot Ohhh and in media three turn everything ON for possibility support all possible tuners and you must to turn ON - audio driver - ALSA (for suppprt PCIE cards on CX chipset - tuners) this is needed depends Quote Link to comment
piotrasd Posted October 7, 2012 Share Posted October 7, 2012 Just a question does the kernel in rc8a media tree support unicable http://www.inverto.tv/guide/?p=12 technology? not supported yet by tvheadend https://www.lonelycoder.com/redmine/boards/5/topics/5430 Quote Link to comment
martindell Posted October 8, 2012 Share Posted October 8, 2012 Channel data random / missing this morning. Seems like something going wrong with XML TV recently - I've lost all my channel mapping: http://tinyurl.com/9jyd9s6 Channels like ITV1 are missing from rytec.sifteam.eu/rytecxmltvuk.gz completely. A couple of questions, how do I reset this completely to see if it'll fix itself? Has anyone had any success with using tvgrab_uk_rt as a source? Cheers Martin Quote Link to comment
spylex Posted October 8, 2012 Share Posted October 8, 2012 I get decent EPG without XMLTV, is it really better? Also, has anyone modded WWs original PLG to accomodate piotrs new builds? Quote Link to comment
martindell Posted October 8, 2012 Share Posted October 8, 2012 spylex - interesting - how do you get epg data? Any tips appreciated. Strangely, xmltv seems to have sorted itself now - but it's a bit too random for me to trust at the moment Quote Link to comment
spylex Posted October 8, 2012 Share Posted October 8, 2012 Under TVH Configuration, EPG Grabber, i only have OTA Interfaces selected. What do you guys use in your GO script to start it up properly? Quote Link to comment
martindell Posted October 8, 2012 Share Posted October 8, 2012 This is my boot/config/go - not sure it helps tho? #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & modprobe dvb_hdhomerun && sleep 3 && /usr/bin/userhdhomerun & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c # install crashplan tar -C / -xvf /boot/packages/crashplan.tar /usr/local/crashplan/bin/CrashPlanEngine start # something to do with making ssh work cp --preserve=timestamps /boot/custom/etc/ssh/ssh*key* /etc/ssh chmod 600 /etc/ssh/ssh*key* /etc/rc.d/rc.sshd start unraid_notify start /boot/unmenu/uu /usr/local/sbin/cache_dirs -w -B -u -m1 -M10 -d9999 Where do you get the option for EPG grabber? I don't see that option anywhere inside UnRAID or TvH Quote Link to comment
Pinch Posted October 8, 2012 Share Posted October 8, 2012 First of all: thank you for trying to help me out. Much appriciated! 8168 - you must compile and install from realtek site http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true Either I'm an idiot or this is impossible... so I guess I'm an idiot! I think you gave me the wrong link, so I'm using this one: http://218.210.127.131/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false. I did however try with your link too, but the results are the same. I place the tar in /mnt/cache/.unraiddev/realtek_r8168 and: tar -xjf r8168*.tar.bz2 cd /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00 make modules Which gives the error: ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. So I: cd /usr/src/linux-3.4.11-unRAID/ make oldconfig && make prepare This creates the /usr/src/linux-3.4.11/include/config/auto.conf, but trying the first step again: cd /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00 make modules Now results in: WARNING: Symbol version dump /usr/src/linux-3.4.11/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00/src/r8168_n.o CC [M] /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00/src/r8168_asf.o CC [M] /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00/src/rtl_eeprom.o CC [M] /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00/src/rtltool.o LD [M] /mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00/src/r8168.o Building modules, stage 2. MODPOST 1 modules /bin/sh: scripts/mod/modpost: No such file or directory make[3]: *** [__modpost] Error 127 make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/linux-3.4.11' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/mnt/cache/.unraiddev/realtek_r8168/r8168-8.032.00/src' make: *** [modules] Error 2 ... and I'm back to square one. I have a feeling I'm executing some of the commands in the wrong dir, but where am I supposed to do it? UPDATE: I tried compiling the driver without doing anything but install the packages. Now the "include/generated/autoconf.h or include/config/auto.conf are missing" error is gone, but has been replaced by a: make[1]: *** No rule to make target `modules'. Stop. I think this is a simple problem, but my understanding of linux is just too limited to solve it myself. And it's incredible how Google offers absolutely no help at all: I get a lot of hits, but the solution to the problem is never consistent and never addresses slackware (mostly ubuntu which involves apt-get and other random packages that isn't part of unraid). I have been an unraid user for ages, but my post count on this forum is relatively low - I have always been able to google my questions, but not in this case... Quote Link to comment
spylex Posted October 8, 2012 Share Posted October 8, 2012 martindell: Thanks for that, have you got the original PLG by WW installed as well? Piotr: i think making a simple, modified PLG file to integrate your new files would help, i will give it a go... Quote Link to comment
martindell Posted October 8, 2012 Share Posted October 8, 2012 spylex - WW - no idea what that it - I followed this 'how to' : http://mymediaexperience.com/unraid-nas-with-plex-media-server-and-tvheadend/ Looks like I just did: installplg tvheadend_mod.plg in the /boot/config/plugins folder and voila! Quote Link to comment
t2727 Posted October 8, 2012 Share Posted October 8, 2012 Hi, set up the latest media tree and latest version of the plugin, but can't login to tvheadend. I'm running as root. I've checked the superuser file. If I start tvheadend with the -C argument it all works. Any advice welcomed please. Thanks to everyone who has worked on this. Edit - Hadn't set the array to start on boot up....d'oh! Quote Link to comment
Tophicles Posted October 11, 2012 Share Posted October 11, 2012 Hi folks! I still have no luck in getting my EPG back with the tv_grab_file. I don't have that as an option anymore in the EPG settings, except under "External Interfaces". There I have the pre-set of "/mnt/extra/plugins/tvheadend/.htsconfig/epgbrab/xmltv.sock", but I'm not sure how to get the grabber to work. I cannot select it under "Basic Config -> Module", all that shows up there is "disabled". I do have Perl installed, but cannot run the script that is supposed to find all the grabbers. root@Angband:~# perl -v This is perl, v5.10.0 built for i486-linux-thread-multi Any ideas, my EPG runs out soon SOLVED - Jeepers!!! What a pain in the rear. I finally, out of desperation, decided to comment out the following line in the tv_find_grabbers file: #use XMLTV::Version '$Id: tv_find_grabbers,v 1.4 2010/11/22 23:40:07 dekarl Exp $'; Now it works, EPG is back after selecting "tv_grab_file" in the Basic Config -> Modules section and restarting TVHEADEND. Quote Link to comment
spylex Posted October 20, 2012 Share Posted October 20, 2012 Piotr, any chance we can get an updated build? On IRC they mentioned the latest builds have some EPG improvements, and they even have a PPA for Ubuntu now! Quote Link to comment
tallnerd1985 Posted October 25, 2012 Share Posted October 25, 2012 Piotrasd, I installed your bzimage and bzroot from 09/25 but it seems that the dvb_hdhomerun modules were not loaded cause after I ran lsmod, it doesnt state if any of the modules were loaded. I tried doing modprobe to load it manually but it states it could not find it. Any advice? BTW, would it be possible to start a new development thread for you version of the plugin to not be confused with the abandon WW version? Quote Link to comment
piotrasd Posted October 26, 2012 Share Posted October 26, 2012 latest tvheadend package https://dl.dropbox.com/u/49442039/tvheadend-174bc64-i486-1_PTr.txz I installed your bzimage and bzroot from 09/25 but it seems that the dvb_hdhomerun modules were not loaded cause after I ran lsmod, it doesnt state if any of the modules were loaded. I tried doing modprobe to load it manually but it states it could not find it. Any advice? dvb_hdhomerun driver are not in kernel ... im just compile kernel with media three and all driver wich are in kernel Quote Link to comment
tallnerd1985 Posted October 26, 2012 Share Posted October 26, 2012 Okay, I reverted back to a image built by Bonzi that worked and detected the HDhomerun Prime along with updating TVheadend to 3.3 with your package. Unfortunately, I cannot figure out for the life of how to configure the settings with TVheadend and the Prime Quote Link to comment
speedbal Posted October 26, 2012 Share Posted October 26, 2012 Been fuzzing with this all day.... can't get this working with a HDHomerun. I know I can use the prior image provided, but that will downgrade me RC4. Anybody have a walkthru on how to get this working on RC8a with a HDHomerun Prime? thanks, in advance.... speedbal Quote Link to comment
brimnac Posted October 29, 2012 Share Posted October 29, 2012 latest tvheadend package https://dl.dropbox.com/u/49442039/tvheadend-174bc64-i486-1_PTr.txz I installed your bzimage and bzroot from 09/25 but it seems that the dvb_hdhomerun modules were not loaded cause after I ran lsmod, it doesnt state if any of the modules were loaded. I tried doing modprobe to load it manually but it states it could not find it. Any advice? dvb_hdhomerun driver are not in kernel ... im just compile kernel with media three and all driver wich are in kernel What needs to be done with this in order to get it working? I'm debating adding card(s) to my setup if this is "simple" enough. Thanks for any advice or information, it is appreciated quite a bit. Quote Link to comment
piotrasd Posted October 30, 2012 Share Posted October 30, 2012 latest package of tvheadend https://dl.dropbox.com/u/49442039/tvheadend-b1760d6-i486-1_PTr.txz Quote Link to comment
botez Posted October 30, 2012 Share Posted October 30, 2012 For those asking about setting this up -- I currently have it working using the RC4 image from Bonzi with my hdhomerun (the other posters are correct that the more recent images in the thread don't have the hdhomerun module compiled into them -- I may take the time to do this later, but I haven't gotten around to it yet). I also make sure to have the following line in my go script before the plugins are installed: modprobe dvb_hdhomerun && sleep 3 && /usr/bin/userhdhomerun & After installing, I followed the setup instructions shown at this link: https://www.lonelycoder.com/redmine/boards/14/topics/3368 Take a look at that and then come on back if you are still having issues... Quote Link to comment
tallnerd1985 Posted October 30, 2012 Share Posted October 30, 2012 latest package of tvheadend https://dl.dropbox.com/u/49442039/tvheadend-b1760d6-i486-1_PTr.txz Thanks for the update. I may have a simple request for you on this one especially for all the HDHomerun Prime users out there that have to create their own frequency list for mapping. Is it possible to somehow map the /usr/share/tvheadend/data/dvb-scan/ directory to say like /mnt/cache/.htsconfig/ so that way we can load up our own frequency list? Quote Link to comment
brimnac Posted October 31, 2012 Share Posted October 31, 2012 For those asking about setting this up -- I currently have it working using the RC4 image from Bonzi with my hdhomerun (the other posters are correct that the more recent images in the thread don't have the hdhomerun module compiled into them -- I may take the time to do this later, but I haven't gotten around to it yet). I also make sure to have the following line in my go script before the plugins are installed: modprobe dvb_hdhomerun && sleep 3 && /usr/bin/userhdhomerun & After installing, I followed the setup instructions shown at this link: https://www.lonelycoder.com/redmine/boards/14/topics/3368 Take a look at that and then come on back if you are still having issues... So this may be a really stupid question, but so far the community here has been great at answering all my dumb questions: Will using this plugin force me to use RC4? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.