Need Help with custom kernel

yoda291

Diamond Member
Aug 11, 2001
5,079
0
0
I didn't read the thing top to bottom, but one thing that strikes me as a potential problem, are you sure grub/lilo is set to boot off this real time kernel you just built? I don't see that config change anywhere on that page.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Also it took almost two hours to compile is that normal?

How fast is the machine? Compiling a kernel is almost 100% CPU bound unless you're really tight on memory or have dead slow disks.

make bzImage modules''' # then install as needed

I think he's assuming that part will setup your bootloader too which I don't think it will. With GRUB you need to edit /boot/menu.lst (or grub.conf or whatever FC calls it) to add the new kernel to the list.
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,046
432
126
Well, it is hard to say what is going wrong with your build. Did you have any warnings or errors during the make?

Best thing I can tell you to do is read up on compiling a linux kernel normally, without adding in all the extra real time components until you can simply build a kernel from the latest source without problems. A good place to start would be:

http://www.digitalhermit.com/l...ernel-Build-HOWTO.html

And:

http://www.cromwell-intl.com/unix/linux-kernel.html

And yes, 2 hours is not unreasonable for a kernel build. That said, you might want to look into using -j option to "make" if you are not already using it (i.e. "make -j4" would break the build into 4 threads instead of just 1, and in the case of multi-core processors, use the number of CPU cores you have on the system you are running the make on... see http://www.gnu.org/software/ma...Parallel.html#Parallel for details).