DownloadDownload Bash script downloadBash Script RPM downloadRPM
Site Navigation:


 
 
Kernel Compiling Notes

Romance-net.com Top Exchange

Kernel Compiling Notes

The documents, files and informations provided in this site is solely for educational purposes only. The author is not responsible for any damages what so ever resulted for from direct or indirect use of any material found in this site.

This documents is provided for free, and if you want to redistribute this document please contact the author ()

Site History :

    Kernel Compiling Notes

  • 4 February 2006
    Start of the pages



Table of contents




1. Kernel Compilation Notes

If you wish to compile custom kernel, you must download the kernel source rpm and several development packages.

[Tip] You don't have to recompile your kernel if you don't want to

by recompiling new kernel you will have:
1. Smaller kernel
2. Smaller kernel = longer battery life

FC4 released kernel will be able to handle everything most user needs needs. but if you decided that you wish to recompile it then read through this :

I got great instruction of how to build the Fedora Core 4 linux source kernel using rpmbuild from : http://www.mjmwired.net/resources/mjm-fedora-fc4.html

you can follow the instructions, and if you installed the FC4 using minimal install options I believe you have to get some packages to enable you to build the kernel from the source.

Basically, you don't really need to recompile the kerne if you don't have specific needs to. For instance, installing a kernel module for NTFS / NDISWRAPPER / Captive NTFS / NVIDIA video driver doesn't need a full kernel recompilation. You just need to have kernel-devel rpm package.



Back to table of content



2. Kernel Report Toshiba Portege R100

This section is provided for Toshiba Portege R100 specific needs, you can recompile the kernel to match the R100 needs and if you wish to use my .config files for your kernel, you can download it here :

1. No frame buffer.
2. With frame buffer, scsi disk support for usb flash disk, mmc support (doesn't work, you can remove it if you wish).

I have configured all the devices needed for the laptop. But if you have other variant, for example intel 2200 wireless devices instead of my intel 2100 wireless devices then, you have to change the .config file. Also please use the patched FC4 kernel, don’t use the vanilla kernel.

You can use xconfig by issuing make xconfig in terminal, under your source kernel directory. Before that, please copy my .config to your source kernel directory and backup your original .config file. After you finish editing the .config file, just run make all ; make modules_install ; make install. And wait for the process to finish.

Watch out for your filesystem if you are using my .config. My file system is ext3 and I have included inside the kernel support for ext2 but i put other such as reiser fs as modules which I believed will become problem. Please make sure you check and change if necessary the filesytem type to suit your need.

[Warning] Kernel Compilation warning

Warning : Don’t compile out logical volume support if you use LVM. You can leave out raid support but not the LVM.

Warning : Don’t compile as module, support for alps and keyboard, it wont load at all unless you specifies it in the rc.* BEFORE you reboot using your new kernel.

Warning : I compiled out support for frame buffer since I don’t need them, but if you do need it please compiled in or make it as module. IMPORTANT! Because I recompiled the xorg from cvs to eliminate the color mismatch bug, you will need the frame buffer (vesafb) and frame console (fbcon) loaded and configured by issuing kernel option vga=792 from your grub.conf (edit it and put the vga=792 after the quiet option) to make the text only (virtual text console) console to work using the new vesa xorg driver. I have included the modification in the .config file.

Kernel Version

FC4 kernel version : 2.6.11-1.1369_FC4 : Sensor doesn't work
FC4 kernel version : 2.6.13-1.1524_FC4 : ACPI doen't work
FC4 kernel version : 2.6.13-1.1532_FC4 : working fine so far.
FC4 kernel version : 2.6.14-1.1637_FC4 : working fine so far.



Back to table of content



3. Kernel Toshiba Portege M200

Seems that Fedora Core 4 Kernel version 2.6.14 is not stable enough for this laptop, several crash that resulted in machine reboots it self occurs frequently. Currently testing the 2.6.15 and seems the problem is not really gone, just not as frequent as before.

Update for Fedora Core 5, since you will need to use nvidia closed driver, you will need to upgrade the shipped FC5 kernel, the shipped kernel has bug that disallow you to compile the NVIDIA closed driver



Back to table of content



Counter

This site has been accessed for :