September 27, 20179 yr Either that, or we include a patch as part of your build process to just compile frame_vector as a loadable kernel module and include it in the bzmodules
September 27, 20179 yr Just now, ProGEEK said: Either that, or we include a patch as part of your build process to just compile frame_vector as a loadable kernel module and include it in the bzmodules I like that option, but running a compile now, I'll upload it when it's finished and we can check it works. And to be honest patching is out of my expertise, but you want to work on it, I'm all ears. My only concern with that approach is could there be anything else that's "missing" that others might need for their cards. Wondering if it's safer to just package up bzimage for each build?
September 27, 20179 yr 3 minutes ago, CHBMB said: I like that option, but running a compile now, I'll upload it when it's finished and we can check it works. And to be honest patching is out of my expertise, but you want to work on it, I'm all ears. My only concern with that approach is could there be anything else that's "missing" that others might need for their cards. Wondering if it's safer to just package up bzimage for each build? I guess thats a call we'd have to make based on feedback from the public, if there is minimal, say 2-3 that are unrelated to frame_vector, then I think patch is the better road, if more, then yeah, complete kernel replacement - Have you had any other reports of cards suddenly not working as a result of the new unraid ? Im already working on and testing a patch EDIT: attached is my working patch to generate a frame_vector.ko in mm: mm/frame_vector.ko As long as the patch exists in the root of the kernel tree before line 38 of you kernel-compile-module.sh script executes, it'll be patched compile_frame_vector_as_module.patch Edited September 27, 20179 yr by ProGEEK Added Patch
September 27, 20179 yr To be honest, it's always difficult to get enough information to get to the bottom of cards that aren't working, most people can't debug an issue like you can!
September 27, 20179 yr @Zan I've attached my frame_vector.ko file. Can you please download this to your machine and run insmod frame_vector.ko modprobe videobuf2_memops modprobe cx23885 and see if your tuner springs to life ? I'd do this myself, but my server isnt in a state where it can run the RC of unRAID right now. frame_vector.ko
September 27, 20179 yr @ProGEEK I've just gone back through the thread to remind myself of who was having issues and with what card, every single one has been a Hauppage user. You my friend have just become the hero of the thread!
September 27, 20179 yr Just now, CHBMB said: @ProGEEK I've just gone back through the thread to remind myself of who was having issues and with what card, every single one has been a Hauppage user. You my friend have just become the hero of the thread! Well i'm not one to toot my own horn.. ( Who are we kidding, Hell yes I am! )
September 27, 20179 yr Just now, ProGEEK said: Well i'm not one to toot my own horn.. ( Who are we kidding, Hell yes I am! ) Good, because a rule I live my life by is never toot another man's horn.....
September 27, 20179 yr If you wanna provide a download to the bzimage when you're done (Should be all I need) i'll give it a spin and try to load the module (You can try loading modules even if you dont have the hardware, the driver will load, it just wont do anything)
September 27, 20179 yr Same here. Had an issue with earlier RCs that screwed my networking speed so I went back to bare metal, but working again on RC9f Edited September 27, 20179 yr by CHBMB
September 27, 20179 yr @ProGEEK @Zan Uploaded a new LibreELEC build with bzimage, if someone can confirm it works, we should be good. root@matrix:~# dmesg | tail -n1 [ 57.174478] cx23885: cx23885 driver version 0.0.4 loaded @ProGEEK I'm up for the idea of the patch, one question, will this remain constant or will it require changing as Unraid changes kernel version?
September 27, 20179 yr 6 minutes ago, CHBMB said: @ProGEEK @Zan Uploaded a new LibreELEC build with bzimage, if someone can confirm it works, we should be good. root@matrix:~# dmesg | tail -n1 [ 57.174478] cx23885: cx23885 driver version 0.0.4 loaded @ProGEEK I'm up for the idea of the patch, one question, will this remain constant or will it require changing as Unraid changes kernel version? It will work until either you edit the .config or the kernel changes for file mm/Kconfig I could split the patch so each file is patched separately. or drop the .config from the patch and you just edit your .config to have CONFIG_FRAME_VECTOR=m Then the patch would work until mm/Kconfig is updated, as the patch changes frame_vector to be able to be compiled as a module Edited September 27, 20179 yr by ProGEEK
September 27, 20179 yr Hmmm, kernel changes with every Unraid release, and i generate a new .config each time. Might be easier to replace CONFIG_FRAME_VECTOR=y with CONFIG_FRAME_VECTOR=m to be honest. Should be relatively easy to achieve that in bash.
September 27, 20179 yr 44 minutes ago, ProGEEK said: @Zan I've attached my frame_vector.ko file. Can you please download this to your machine and run insmod frame_vector.ko modprobe videobuf2_memops modprobe cx23885 and see if your tuner springs to life ? I'd do this myself, but my server isnt in a state where it can run the RC of unRAID right now. frame_vector.ko With the libreelec build, I get this: root@Tower:~# insmod /boot/frame_vector.ko insmod: ERROR: could not insert module /boot/frame_vector.ko: Invalid module format root@Tower:~# insmod /boot/frame_vector.ko insmod: ERROR: could not insert module /boot/frame_vector.ko: Invalid module format I'll try your libreelec build now, @CHBMB
September 28, 20179 yr 55 minutes ago, CHBMB said: Hmmm, kernel changes with every Unraid release, and i generate a new .config each time. Might be easier to replace CONFIG_FRAME_VECTOR=y with CONFIG_FRAME_VECTOR=m to be honest. Should be relatively easy to achieve that in bash. Might be just easier if you rebuild the bzimage every time. So long as the code in /usr/src/whatever is the source that the unraid dev team use to build their kernel, it should be fine to use and we wont have to bother with the patch. Edited September 28, 20179 yr by ProGEEK
September 28, 20179 yr 4 hours ago, ProGEEK said: Might be just easier if you rebuild the bzimage every time. So long as the code in /usr/src/whatever is the source that the unraid dev team use to build their kernel, it should be fine to use and we wont have to bother with the patch. Isn't it better to ask @limetechto include it as a module? Then you don't have to rebuild the B image.
September 28, 20179 yr They probably won't, since it's not required for anything relating to unRAID. As far as I know, it's only used by media modules
September 28, 20179 yr 1 hour ago, ProGEEK said: They probably won't, since it's not required for anything relating to unRAID. As far as I know, it's only used by media modules As long as it's in the kernel source and doesn't add much in size they usually add stuff. It for sure doesn't hurt to ask
September 28, 20179 yr Uploaded a new LibreELEC build with bzimage, if someone can confirm it works, we should be good. Tried that new version with my 950q and it didn't work for me. On my first reboot, I had the tuner plugged into the same bus that my flash drive is plugged into and unRaid was almost unusable. It took forever to get the GUI up. Rebooted with the tuner in a different USB port but the tuner still wasn't recognized. I ran out of time last night and had to get a working system back up, so I didn't investigate further.
September 28, 20179 yr 2 hours ago, DMcK said: Tried that new version with my 950q and it didn't work for me. On my first reboot, I had the tuner plugged into the same bus that my flash drive is plugged into and unRaid was almost unusable. It took forever to get the GUI up. Rebooted with the tuner in a different USB port but the tuner still wasn't recognized. I ran out of time last night and had to get a working system back up, so I didn't investigate further. Yeah, that is going to need some looking at, reading about the 950q it has all it's drivers included in the kernel, so shouldn't present a problem, and not sure why you're getting issues.
Archived
This topic is now archived and is closed to further replies.