July 18, 201114 yr I've been searching Google, the Wiki and the forum, trying on my own and asking for help in ##slackware on freenode, and I can't figure out how to compile a new kernel with added DVB drivers directly from my existing unRAID installation. The "methods of user customization" Wiki page says that it should be possible to do this on a standard unRAID installation booting from from the flash, but all information I can find starts with installing a full Slackware development environment. http://www.lime-technology.com/wiki/index.php?title=Methods_of_user_customization#About_Building_a_Custom_Kernel I just want to add DVB drivers, and keep everything else the same, so that I can run Tvheadend on my unRAID server. I'm running 5.0 beta 8c. I downloaded the source for the same kernel that is already installed, 2.6.37.6, from kernel.org, extracted it, copied /usr/src/linux-2.6.37.6-unRAID/.config to /usr/src/linux-2.6.37.6, ran make oldconfig, answered no (the default) for the various new MD_* options, then ran make menuconfig. In between, I downloaded and installed whatever make complained was missing. In menuconfig, I looked in almost every single menu I could for something that looked like DVB drivers. I think it should be in device drivers > multimedia or something like that, but every place that looks like it might be it, is empty or has other things in it that don't mean anything to me. When I grep the src for the particular driver that I am looking for (saa7164), it is there in drivers/media/video/saa7164, but it's not listed in the old .config or the updated one. I don't want to install a full Slackware system, then try to get unRAID working on it. I just want to add this DVB driver so that Tvheadend will work, and otherwise keep everything as close to stock unRAID as possible. How can I recompile the kernel to include this driver, from within my existing unRAID 5.0 beta 8c installation, booting from the flash? Cheers.
July 18, 201114 yr ...check this article from the wiki: http://lime-technology.com/wiki/index.php?title=Installing_VirtualBox_in_unRAID It gives a great example on how to compile a new kernel in an existing unRAID.
July 18, 201114 yr Author Thanks for the link. I assume I should do make oldconfig, then make menuconfig (to enable the DVB drivers) before running make? When I do, I still can't find anything related to DVB or saa7164 in there. I also get this warning during make oldconfig. Not sure if it means anything. root@unraid:/usr/src/linux# make oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc In file included from /usr/include/asm/sigcontext.h:5, from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:339, from /usr/include/sys/wait.h:31, from scripts/basic/docproc.c:46: /usr/include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # Is there something special I need to do to make the DVB drivers visible, so that I can enable them? Cheers.
July 19, 201114 yr I am working on the same thing (getting tvheadend working on unRAID) and I am almost there. My understanding is that because of the symlinks you will only succeed in repackaging the bzImage and bzroot on a stock unRAID (without a dev machine) if you are doing it on one of your drives instead of the USB (which is FAT and doesn't support symlinking). ...myself I am working on it on a Dev machine.
Archived
This topic is now archived and is closed to further replies.