Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2004, 04:11 PM
|
#1
|
Member
Registered: Jan 2003
Posts: 217
Rep:
|
FC3 + SELinux + Vanilla kernel
I disabled SELinux during the installation, but my kernel compiled from vanilla sources hangs just at boot:
Quote:
audit(1101218294.716:0)initiated
|
I'm guessing this has something to do with SELinux in FC3, as I never encountered this in FC2.
SELinux is disabled, but where is this "audit of the kernel" coming from and how do I disable it?
Thanks!
|
|
|
11-23-2004, 07:00 PM
|
#2
|
Member
Registered: Jan 2003
Posts: 217
Original Poster
Rep:
|
Never mind...I found the problem...it was my ramdisk...I forgot to make one! 
|
|
|
11-23-2004, 07:41 PM
|
#3
|
LQ Newbie
Registered: May 2004
Location: athens
Distribution: slackware
Posts: 21
Rep:
|
I have the same problem . What have you done to fix it?
|
|
|
11-24-2004, 10:41 AM
|
#4
|
Member
Registered: Jan 2003
Posts: 217
Original Poster
Rep:
|
1.) D/l the 2.6.9 kernel source from kernel.org
2.) Change to /usr/src and untar the kernel source
3.) Go into your new kernel source dir and do "#make menuconfig"...it will automatically pick-up the config from the /boot dir. From here, depending on your skill level, you can either customize your kernel (I always do), or you can just leave it as is and save & exit.
4.) Do the usual make bzImage modules modules_install
5.) Copy the new kernel to the /boot dir as vmlinuz-2.6.9
6.) Make a new initrd image: "#mkinitrd /boot/vmlinuz-2.6.9 2.6.9"
7.) Make an entry for your new kernel in your grub menu.lst
I'm actually more of a Slackware user, but I use FC on my company laptop. One of the biggest headaches for me with any of the FC releases is the kernel. My first task after a fresh install is always to build a fresh, slimmed-down kernel from source so that I can get on with installing the ATI driver, the Centrino wireless driver, and my VPN driver without any hitches.
|
|
|
11-25-2004, 05:29 AM
|
#5
|
LQ Newbie
Registered: May 2004
Location: athens
Distribution: slackware
Posts: 21
Rep:
|
My first distro was slackware and i can not compile a kernel in a different way. "make menuconfig " works only in /lib/modules/2.6.9.-1/source but i does not run "make" . I have downloaded RedHat Kernel-2.6.9-1.667.src.rpm but i can not install it in /usr/src and the compile kernel. Do you think that is better to install vanilla kernel that this one?
|
|
|
11-25-2004, 07:43 AM
|
#6
|
Member
Registered: Jan 2003
Posts: 217
Original Poster
Rep:
|
Trying to compile from the FC sources never worked for me, either. I always go with a complete vanilla source.
For the ATI users out there...glx crashes on the ATI driver with the 2.6.9 kernel. I'm currently building a 2.6.8.1 kernel to see if that cures the problem. I'll post my results here.
|
|
|
11-25-2004, 05:04 PM
|
#7
|
LQ Newbie
Registered: May 2004
Location: athens
Distribution: slackware
Posts: 21
Rep:
|
I finally done it. I run
make ;make modules_install ;
mv arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.x
but do you know how i will make a new entry to grub?
|
|
|
11-25-2004, 07:45 PM
|
#8
|
Member
Registered: Jan 2003
Posts: 217
Original Poster
Rep:
|
Just copy one of the original lines for the stock kernel in the /boot/grub/menu.lst file modified to suit your vanilla kernel. Here's a snip of mine:
Code:
title Fedora Core (2.6.9-nitro4)
root (hd0,1)
kernel /vmlinuz-2.6.9-nitro4 ro root=/dev/hda6 vga=788
initrd /initrd-2.6.9-nitro4.img
title Fedora Core (2.6.9)
root (hd0,1)
kernel /vmlinuz-2.6.9 ro root=/dev/hda6 vga=788
initrd /initrd-2.6.9.img
title Fedora Core (2.6.9-1.667)
root (hd0,1)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda6 rhgb quiet
initrd /initrd-2.6.9-1.667.img
(As you can see, I have 3 kernels on my system: nitro4, vanilla 2.6.9, and the stock kernel)
Don't forget to make your ramdisk:
Quote:
#mkinitrd /boot/initrd-2.6.9.img 2.6.9
|
Last edited by jymbo; 11-25-2004 at 07:50 PM.
|
|
|
All times are GMT -5. The time now is 03:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|