I have centOS 4 installed on my machine but some how it does not support my TV capture card (bt878) in the kernel, so i want to recompile the kernel to add support for my device. However, i cant find centOS 4 kernel source code. I have read some messages in the mailing list and someone said that i just need to yum install kernel-sourcecode to get the source code, i did it but i yum reported that there is no package matched. Please help ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
On Dec 18, 2005, at 12:46 PM, lnthai2002 at aim.com wrote:> I have centOS 4 installed on my machine but some how it does not > support my TV capture card (bt878) in the kernel, so i want to > recompile the kernel to add support for my device. However, i cant > find centOS 4 kernel source code. I have read some messages in the > mailing list and someone said that i just need to > yum install kernel-sourcecode > to get the source code, i did it but i yum reported that there is > no package matched. Please help > ______________________________________________________________________ > __ > Check Out the new free AIM(R) Mail -- 2 GB of storage and industry- > leading spam and email virus protection. >You need to download the source RPM for the kernel, either from the Sources CD, or from the appropriate sources directory. Apparently Redhat stopped providing an explicit kernel sources RPM package since it was already available on their sources CD. I had to do a little google search on rpmbuild to figure out how to retrieve the source from this collection of patches, since I hadn't done this before.
On 12/18/05, lnthai2002 at aim.com <lnthai2002 at aim.com> wrote:> I have centOS 4 installed on my machine but some how it does not > support my TV capture card (bt878) in the kernel, so i want to > recompile the kernel to add support for my device. However, i cant find > centOS 4 kernel source code. I have read some messages in the mailing > list and someone said that i just need to > yum install kernel-sourcecode > to get the source code, i did it but i yum reported that there is no > package matched. Please helpLong complicated answer: you'd need to get the src rpm, edit the .config used to add support for the driver, rebuild the rpm.... etc. Short and easy answer "yum --enablerepo install kernel" The stock kernel matches what the upstream vendor provides. The unsupported kernel in the centosplus repository has a few more drivers built in, including bt878 support for compliant video capture/tv tuner cards. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
On Sun, 2005-12-18 at 13:46 -0500, lnthai2002 at aim.com wrote:> I have centOS 4 installed on my machine but some how it does not > support my TV capture card (bt878) in the kernel, so i want to > recompile the kernel to add support for my device. However, i cant find > centOS 4 kernel source code. I have read some messages in the mailing > list and someone said that i just need to > yum install kernel-sourcecode > to get the source code, i did it but i yum reported that there is no > package matched. Please helpAll your questions answered ... http://thebs413.blogspot.com/2005/10/kernel-26-on-fedora-based-systems.html -- Bryan J. Smith mailto:b.j.smith at ieee.org http://thebs413.blogspot.com ------------------------------------------ Some things (or athletes) money can't buy. For everything else there's "ManningCard."