Basic Linux knowledge: Kernel compilation-2.4 to 2.6-general Linux technology-Linux programming and kernel information. For details, refer to the following section. Preface
After the linux-2.6.x kernel is released, the brothers in the jar can't wait to upgrade the original 2.4.x kernel. however, because the system programs supporting 2.6.x kernel are not updated in time, the upgrade process may encounter many problems, therefore, I think it is necessary to share my experience with you at a moment:-) When XD encounters similar problems in the future, please read this article first, instead of posting blindly as soon as it comes up.
1. Back up important data
This is a good habit, so you don't have to say more about it :-)
2. download the latest 2.6.x kernel source code package
Of course this will go to the official website http://www.kernel.org or its mir ...? If you download the package, you 'd better not go to those unknown websites, because those source code packages may be maliciously manipulated. the latest linux-2.6.4.tar.bz2 source code package is about 33 MB. when downloading the image, you can have a coffee cup, and then click a cigarette ......
Unbind the source code package under the/usr/src/directory, and obtain the source code directory/usr/src/linux-2.6.4 /. before doing anything to the kernel, we recommend that you take a look at its README file and Documentation/Changes file, from which you will get a lot of useful information. this information will help you avoid unnecessary troubles in the subsequent upgrade process.
The Documentation/Changes provides minimum system software requirements for successful upgrade to the kernel-2.6.x, such as for kernel-2.6.4:
CODE: Gnu make 3.79.1 # make -- version
Binutils 2.12 # ld-v
Util-linux 2.10 # fdformat -- version
Module-init-tools 0.9.10 # depmod-V
E2fsprogs 1.29 # tune2fs
Jfsutils 1.1.3 # fsck. jfs-V
Reiserfsprogs 3.6.3 # reiserfsck-V 2> & 1 | grep reiserfsprogs
Xfsprogs 2.6.0 # xfs_db-V
Pcmcia-cs 3.1.21 # cardmgr-V
Quota-tools 3.09 # quota-V
PPP 2.4.0 # pppd -- version
Isdn4k-utils 3.1pre1 # isdnctrl 2> & 1 | grep version
Nfs-utils 1.0.5 # showmount -- version
Procps 3.2.0 # ps -- version
Oprofile 0.5.3 # oprofiled -- version |