-----Original Message----- From: Jim Perrin jperrin@gmail.com To: CentOS mailing list centos@centos.org Sent: Sun, 18 Dec 2005 15:41:06 -0500 Subject: Re: [CentOS] Where is the kernel source code???
On 12/18/05, lnthai2002@aim.com lnthai2002@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
Long 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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I think i gonna compile the kernel by myself however, i dont know where to find the kernel source code. Is it possible to get the lastest kernel source code from the kernel.org and make oldconfig and compile it? I guess i also need to upgrade the centOS stock gcc. Thanks for respond, guys
NHUT THAI LE ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.