November 19, 201312 yr After make modules_install the r8168.ko was removed from /lib/modules/3.9.11p-unRAID/kernel/drivers/net/ethernet/realtek/
November 19, 201312 yr Reginald, the only thing coming to mind is to check if your epg is properly updating. I manually update mine and if it runs out I run into some strange issues. mack, I have a scheduled job that runs nightly (on my Windows PC) and includes 2 days either way. I will keep an eye on it to make sure that the file is updated and the EPG is kept full. I tried it on a RaspberryPi and it seemed to stutter quite a bit, I will look at it a little bit more but I will probably go with trying to use my Acer Revo HTPC (running OpenELEC) just to see if it is something about my set up or if it is unRAID and TVHeadEnd not playing nicely.
November 22, 201312 yr Just a quick update, I have moved my TVHeadEnd config to OpenELEC on an Acer Revo and it is running great so far. I am still cautiously optimistic because unRAID worked at first for a week. This has only been running on OpenELEC since Monday.
November 22, 201312 yr @ddeeds I think Tom add this reraltek driver r8168.ko, i attached a diff from stock modules, and after make config. But I will try what you say. I also attache a compare from the original bzroot and after the compiling with same settings as the original .config //Peter modulesdiff.txt bzroot_diff.txt
November 23, 201312 yr I see this on 5.0.2, but this is on stock kernel. 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
November 23, 201312 yr after a new compile the bz-mod looks like this root@tower:/mnt/cache/.unraid-dev/bz-mod# find . -name r8* ./lib/modules/3.9.11p-unRAID/kernel/drivers/net/ethernet/realtek/r8169.ko root@tower:/mnt/cache/.unraid-dev/bz-mod# and /lib/modules root@tower:/lib/modules# find . -name r81* ./3.9.11p-unRAID/kernel/drivers/net/ethernet/realtek/r8169.ko root@tower:/lib/modules# before i did a copy of stock modules. that are in toms modules 8139too.ko r8168.ko r8169.ko to the bz-mod root@tower:/mnt/cache/.unraid-dev/bz-mod/lib/modules/3.9.11p-unRAID/kernel/drivers/net/ethernet/realtek before executing find . | cpio -o -H newc | xz --format=lzma > /mnt/cache/.unraid-dev/new-bzfiles /bzroot but still no ethernet interface after a reboot with the new compiled bzroot/bzimage ddeeds, What changes did you do to tune the kernel for newer hardware ? //Peter
November 23, 201312 yr I think Tom add this reraltek driver r8168.ko, i attached a diff from stock modules, and after make config. Try enabling the r8169 driver and see how that works. I have to do it on mine. Did a new compile, same settings as before, but now with the above module enable. I finally got a ethernet interface, but not with the r8168, instead r8169, now I'm doing a new compile, with the r8168.ko copied to the bz-mod. I let you know later how that works. :-) EDIT That did'n work either, toms original bzroot works to enable module r8168, it's must be something more to add get r8168 to work as original bzroot does. Using original .config and compile I can't get it to work, wounder how tom do it ;-) //Peter
November 23, 201312 yr peter_sm, I'm fairly certain Tom removes things that are included by default in the linux kernel. If you run modprobe r8169 what happens? Balthazar, you are running quite an old version of unraid and tvheadend. Reginald, the only thing coming to mind is to check if your epg is properly updating. I manually update mine and if it runs out I run into some strange issues. Yeah, I didn't realize I was so far behind. Other than live TV, I haven't had any issues, so I was just rolling with it. Guess I better carve out some time to update this badboy Hey mack - I know how to upgrade my unraid installation, I've got some time to work on it today, but where is the newest version of tvheadend? I'm pulling from w-w's master git branch, is there something else I should be using? It doesn't look like it has been updated in a year, has somebody else taken over development?
November 24, 201312 yr peter_sm, I'm fairly certain Tom removes things that are included by default in the linux kernel. If you run modprobe r8169 what happens? Balthazar, you are running quite an old version of unraid and tvheadend. Reginald, the only thing coming to mind is to check if your epg is properly updating. I manually update mine and if it runs out I run into some strange issues. Yeah, I didn't realize I was so far behind. Other than live TV, I haven't had any issues, so I was just rolling with it. Guess I better carve out some time to update this badboy Hey mack - I know how to upgrade my unraid installation, I've got some time to work on it today, but where is the newest version of tvheadend? I'm pulling from w-w's master git branch, is there something else I should be using? It doesn't look like it has been updated in a year, has somebody else taken over development? Nevermind, I started reading this thread backwards this morning and came across your build. I'm all good now Edit: OK, not quite all good. First off, thanks to everyone who has been working on this. I see a lot of people having been keeping this torch lit! I think I have read through everything and have it all down, but I don't have any HDHomerun drivers on my system. I have @Mack's bzroot and bzimage files for unRAID 5.0 Final from here: https://www.dropbox.com/s/j5jq9oe0yzef9gb/unraid_5.0_media_all.zip. Upon reboot I can confirm that I am indeed on unRaid 5.0 Final in the web GUI. I have @Mettbrot's plg file (https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg) installed, it pulls from piostrad's latest stable build, not the experimental one. I do not believe I have any hdhomerun drivers installed. /usr/bin/hdhomerun does not exist and modprobe dvb_hdhomerun doesn't give me a response. I thought I had all of the right files installed, but am I missing something? Edit 2: Yes, I was missing something. I got everything working thanks to @KidCastro's post #586, I just didn't read back far enough. Just needed to add my own dvbhdhomerun config file and download the hdhomerun driver and then add symlinks in my go script. Live TV is working again! I apologize to everyone for crapping up the thread before reading thoroughly. It's hard to digest these threads when they get this long, lol.
November 24, 201312 yr @peter_sm i tryed patch on 8168, https://raw.github.com/OpenELEC/OpenELEC.tv/3168e416b5d53cf410db769f4aed23f97e7111da/packages/linux/patches/linux-3.6.7-920-add_rtl8168.patch for older kernel - but applyed without issue, anyway in compiling process give some errors
November 25, 201312 yr peter_sm, I'm fairly certain Tom removes things that are included by default in the linux kernel. If you run modprobe r8169 what happens? Balthazar, you are running quite an old version of unraid and tvheadend. Reginald, the only thing coming to mind is to check if your epg is properly updating. I manually update mine and if it runs out I run into some strange issues. Yeah, I didn't realize I was so far behind. Other than live TV, I haven't had any issues, so I was just rolling with it. Guess I better carve out some time to update this badboy Hey mack - I know how to upgrade my unraid installation, I've got some time to work on it today, but where is the newest version of tvheadend? I'm pulling from w-w's master git branch, is there something else I should be using? It doesn't look like it has been updated in a year, has somebody else taken over development? Nevermind, I started reading this thread backwards this morning and came across your build. I'm all good now Edit: OK, not quite all good. First off, thanks to everyone who has been working on this. I see a lot of people having been keeping this torch lit! I think I have read through everything and have it all down, but I don't have any HDHomerun drivers on my system. I have @Mack's bzroot and bzimage files for unRAID 5.0 Final from here: https://www.dropbox.com/s/j5jq9oe0yzef9gb/unraid_5.0_media_all.zip. Upon reboot I can confirm that I am indeed on unRaid 5.0 Final in the web GUI. I have @Mettbrot's plg file (https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg) installed, it pulls from piostrad's latest stable build, not the experimental one. I do not believe I have any hdhomerun drivers installed. /usr/bin/hdhomerun does not exist and modprobe dvb_hdhomerun doesn't give me a response. I thought I had all of the right files installed, but am I missing something? Edit 2: Yes, I was missing something. I got everything working thanks to @KidCastro's post #586, I just didn't read back far enough. Just needed to add my own dvbhdhomerun config file and download the hdhomerun driver and then add symlinks in my go script. Live TV is working again! I apologize to everyone for crapping up the thread before reading thoroughly. It's hard to digest these threads when they get this long, lol. Good work on getting it figured out. :-) You'll have to let us know if your upgrade resolved your issues with TVHeadEnd. I am still using OpenELEC as a test right now, I want to see if it works for a couple of weeks, the longest I went was a week with unRAID. I also made a change so that my guide data is only updated close to the end of its data.
November 29, 201312 yr Hi, Just 2 quick questions, Is TVHeadend working correctly on Unraid 5.0.3? and has anyone tried this with the Sony Play TV USB tuner ( http://en.wikipedia.org/wiki/PlayTV ) Cheers
December 1, 201312 yr kernel header 3.9.11 for unraid prepared https://copy.com/VLdzSJBZ384MrRpT/kernel-headers-3.9.11-PTr.txz (if somebody need )
December 10, 201312 yr Just a heads up. 6.1 is probably the next unraid release that I will try to compile for.
December 10, 201312 yr Just a heads up. 6.1 is probably the next unraid release that I will try to compile for. 6.1?! If the time we waited for 5.0 is anything to go by that's quite a long way away isn't it? Sent from my iPad using Tapatalk HD
December 10, 201312 yr Just a heads up. 6.1 is probably the next unraid release that I will try to compile for. 6.1?! If the time we waited for 5.0 is anything to go by that's quite a long way away isn't it? Sent from my iPad using Tapatalk HD According to Tom, 5.1 will be the next release and after that will be 6.1 If it drags out like the 5.0 release, I will of course find a different release to compile for. 6.1 is just the 64-bit version of 5.1 so it sounds like 5 and 6 will be developed in parallel.
December 11, 201312 yr After mucking about with this for a couple of days, I am back, but this time I'm at a loss for what happened to my EPG data. It was working fine, but suddenly it's gone. Would someone mind taking a look at my go script and tell me what I'm doing wrong? #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c ln -s /boot/custom/dvbhdhomerun /etc/dvbhdhomerun ln -s /boot/custom/userhdhomerun /usr/bin/userhdhomerun modprobe dvb_hdhomerun && sleep 10 && /usr/bin/userhdhomerun & sleep 20 && sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 cp /mnt/user/TVHeadend/epg/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & /boot/unmenu/uu This is cobbled together from what I've been able to glean from going through the thread, but lord knows it is probably in need of some help, so feel free to point out where I've gone wrong. The problem with my EPG is that I could have sworn there used to be an option in the TVHeadend web interface to use the simple xmltv grabber, or something along those lines. It is no longer there. I only have General Config, Internal Grabber, which I can't enable, OTA Grabbers and External Interfaces. What am I supposed to select? Am I missing something in my setup?
December 11, 201312 yr After mucking about with this for a couple of days, I am back, but this time I'm at a loss for what happened to my EPG data. It was working fine, but suddenly it's gone. Would someone mind taking a look at my go script and tell me what I'm doing wrong? #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c ln -s /boot/custom/dvbhdhomerun /etc/dvbhdhomerun ln -s /boot/custom/userhdhomerun /usr/bin/userhdhomerun modprobe dvb_hdhomerun && sleep 10 && /usr/bin/userhdhomerun & sleep 20 && sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 cp /mnt/user/TVHeadend/epg/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & /boot/unmenu/uu This is cobbled together from what I've been able to glean from going through the thread, but lord knows it is probably in need of some help, so feel free to point out where I've gone wrong. The problem with my EPG is that I could have sworn there used to be an option in the TVHeadend web interface to use the simple xmltv grabber, or something along those lines. It is no longer there. I only have General Config, Internal Grabber, which I can't enable, OTA Grabbers and External Interfaces. What am I supposed to select? Am I missing something in my setup? Configuration > Channel EPG > EPG Grabber Under External Interfaces check the box for XMLTV Under Internal Grabber select XMLTV: tv_grab_file - Set interval for updating of EPG Save Configuration To force it to grab: Go to Electronic Program Guide and click the refresh icon in the bottom left. Did you set the path for your XMLTV.xml file? How are you updating it?
December 11, 201312 yr Yeah, I've got something jacked up then... The only option under internal grabber is "disabled". I'm on tvheadend build -git-4e7506a, which is the one that I pulled using @Mettbrot's plg file (https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg). Is there a newer version of tvheadend I should be pulling from?
December 11, 201312 yr Sorry, the tvheadend version behind this is rather old. I can update with the latest one from piotrasd repo tonight. I think there are no XML grabbers included in my file. I just took the file from WW and stripped the useless stuff that cluttered the interface. Sorry :-( Will report back here when I changed the file. edit: I just realized. It is from August, maybe you can update it with latest piotrasd?
December 11, 201312 yr Sorry, the tvheadend version behind this is rather old. I can update with the latest one from piotrasd repo tonight. I think there are no XML grabbers included in my file. I just took the file from WW and stripped the useless stuff that cluttered the interface. Sorry :-( Will report back here when I changed the file. edit: I just realized. It is from August, maybe you can update it with latest piotrasd? No worries Mettbrot, in fact I don't think if it was even on your end, because it had been working up until a week ago when I rebooted after doing some server maintenance. Looking through the log I figured out a couple of things: even with this line in my go script: sleep 20 && sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 I kept having to manually restart TVHeadend after every reboot because my array doesn't spin up automatically. I have some of my TVHeadend config files stored on my array instead of my cache drive, so I changed that line to this: if [[ -r "/mnt/disk1/tvhchk.txt" && -f "/mnt/disk1/tvhchk.txt" ]]; then sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 fi and placed a blank text file on one of my array disks so TVHeadend won't start until the array is started. Then I realized my tv_grab_file was also on the array, so when I tried to copy it to /usr/bin in the go script, the array wasn't mounted yet and nothing was happening. So now my go script looks like this: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c ln -s /boot/custom/dvbhdhomerun /etc/dvbhdhomerun ln -s /boot/custom/userhdhomerun /usr/bin/userhdhomerun modprobe dvb_hdhomerun && sleep 10 && /usr/bin/userhdhomerun & if [[ -r "/mnt/disk1/tvhchk.txt" && -f "/mnt/disk1/tvhchk.txt" ]]; then sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 cp /mnt/user/TVHeadend/epg/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & fi /boot/unmenu/uu And voila, everything is working perfectly. I went ahead and upgraded to to piotrasd's latest experimental build (I figured what the hell, I'm getting pretty good at working out the kinks ) and so far everything is working great! I really appreciate how helpful people have been on this thread. I know I have some pretty long posts, but I'm hopping the detail will help out the next guys that comes along and gets stuck like I have
December 12, 201312 yr At this point with the flurry of RC updates prior to, and now the post final .xx updates would it not be possible (and possibly more simple) to edit W-W's original .plg with updated locations (and hashes) for newer TVheadends (piostrad's\others) and BZ's (macks\others)? (it would only be a simple edit\.plg swap to switch between experimental and stable builds too!) I believe that the xmltv and tv_grab_file would continue to work as is? I hope i'm not being too naive, my skills are novice at best! I would have already tested it if my pre 5.0 final setup wasn't being used heavily in the run up to Christmas! If the more knowledgeable here can see no reason why this would not work I will go ahead and give it a shot? - - echoing the gratitude of others in this thread "Thank you!"
December 12, 201312 yr Sorry, the tvheadend version behind this is rather old. I can update with the latest one from piotrasd repo tonight. I think there are no XML grabbers included in my file. I just took the file from WW and stripped the useless stuff that cluttered the interface. Sorry :-( Will report back here when I changed the file. edit: I just realized. It is from August, maybe you can update it with latest piotrasd? No worries Mettbrot, in fact I don't think if it was even on your end, because it had been working up until a week ago when I rebooted after doing some server maintenance. Looking through the log I figured out a couple of things: even with this line in my go script: sleep 20 && sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 I kept having to manually restart TVHeadend after every reboot because my array doesn't spin up automatically. I have some of my TVHeadend config files stored on my array instead of my cache drive, so I changed that line to this: if [[ -r "/mnt/disk1/tvhchk.txt" && -f "/mnt/disk1/tvhchk.txt" ]]; then sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 fi and placed a blank text file on one of my array disks so TVHeadend won't start until the array is started. Then I realized my tv_grab_file was also on the array, so when I tried to copy it to /usr/bin in the go script, the array wasn't mounted yet and nothing was happening. So now my go script looks like this: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c ln -s /boot/custom/dvbhdhomerun /etc/dvbhdhomerun ln -s /boot/custom/userhdhomerun /usr/bin/userhdhomerun modprobe dvb_hdhomerun && sleep 10 && /usr/bin/userhdhomerun & if [[ -r "/mnt/disk1/tvhchk.txt" && -f "/mnt/disk1/tvhchk.txt" ]]; then sudo -u root tvheadend -c /mnt/cache/TVHeadend/.htsconfig -u root -g video -f >/dev/null 2>&1 cp /mnt/user/TVHeadend/epg/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & fi /boot/unmenu/uu And voila, everything is working perfectly. I went ahead and upgraded to to piotrasd's latest experimental build (I figured what the hell, I'm getting pretty good at working out the kinks ) and so far everything is working great! I really appreciate how helpful people have been on this thread. I know I have some pretty long posts, but I'm hopping the detail will help out the next guys that comes along and gets stuck like I have Where did you grab the experimental build from? Cheers
Archived
This topic is now archived and is closed to further replies.