View Full Version : kernel-sourcecode
lee_connell
2004-08-15, 04:33 PM CDT
Hey everyone. Am I missing something obvious here or is kernel-sourcecode packages missing? First of all yum cannot find any source packages, not even the kernel*.src.rpm which sits in SRPMS on the server. Well that being said, I downloaded the src.rpm file manually and extracted the source and copied the config over to /usr/src. I used the default config just to test a recompile of the kernel. Everything went well and it put it in grub like usual. However when i boot into the new kernel it complains there is no security policy (i guess this is SELinux) and then a kernel panic. I have tried many times and i get the same problem. Does anyone have any information on those two questions I have?
Thanks!
lee_connell
2004-08-15, 06:34 PM CDT
I see ppl have viewed this post but no reply. If I am not clear enough please let me know. Does anyone use kernel source in FC3? thanks
virusdoc
2004-08-15, 07:40 PM CDT
Just today I installed the FC2 kernel source code by executing the following from a terminal (as root):
yum install kernel-sourcecode
It took several minutes, but it worked fine and I was able to compile a driver for my ATI Radeon against this sourcecode. If this doesn't work for you, try replacing your yum.conf file with the one listed at the fedorafaq:
http://www.fedorafaq.org/#installsoftware
I don't know if this will work for FC3...but thought I would offer.
lee_connell
2004-08-15, 09:43 PM CDT
Hey thanks virus,
I will give it a shot, i assume you're using the fc2 patch to install your ati driver? Do you know how i can install my ati driver in FC3?
thanks
virusdoc
2004-08-16, 08:34 AM CDT
The install of my ATI driver in FC2 (kernel 2.6.7) went perfectly as described in the FedoraFAQ:
http://www.fedorafaq.org/#radeon
I don't know if it will work for FC3. But that's where i would start. This forum's member Micha wrote the FC2 patch, and I noticed that he replied to another post in the FC3 testing section from a member trying to do what you are. He could probably walk you through any problems you encounter.
The only difficulty I had with the procedure was that I inadvertently stopped the kernel-sourcecode install after downloading the binaries but before they were compiled (The yum script gives a message at the end of the download that says something like "Test transaction completed. Success!" which I interpreted to mean "I'm done." It wasn't :) ) Repeating the source install and waiting until a command prompt was displayed fixed it.
Best of luck--let me know how it works.
lee_connell
2004-08-16, 10:59 AM CDT
haha. Bummer. Not a big deal anyway. I will give the FC2 patch a try and I have seen the micah guy on the forums pretty often regarding ati installs. I would like how to manually do it myself so I could apply it to anything. Thanks for the info. I will keep you posted on how it makes out. However as of now, using the stock FC3 kernel source I cannot boot into my system because I believe "SELinux" is saying "no security policy loaded" and then a kernel panic. So I guess I could use the kernel.org version and then try it out.
Thanks again.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.