歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux內核 >> 升級Linux內核2.6.38

升級Linux內核2.6.38

日期:2017/2/28 16:19:50   编辑:Linux內核

Linus Torvalds宣布發布2.6.38 kernel。 新版本最為人關注的新特性是自動進程分組,能顯著改善桌面性能的內核補丁。其它的新特性包括:

改進了VFS擴展性,支持多線程工作負荷,提高單線程工作負荷效率;Btrfs文件系統換用LZO算法透明壓縮;支持透明大內存頁;支持AMD Fusion處理器;支持自適應去中心化分布式網絡協議B.A.T.M.A.N.Mesh;更多新驅動,等等。

make mrproper (該命令可確保源代碼目錄下沒有不正確的.o文件)

make menuconfig (配置內核各選項)

/******************照網上文章做,大部分默認已經選上***********************/

(1)Loadable Module support選項中,選上“Module unloading”和“Automatic kernel module loading”這兩項;
(2)Device Drivers--->Block Devices中選上“Loopback device support”;
Device Drivers--->Multi-device support(RAID and LVM)處要選上“device mapper support”;
Device Drivers--->Graphics support,一定要選上“ Support for buffer devices”;
Device Drivers --->USB support --->選上“USB Mass Storage support”(如果是在實環境中,想要更多USB支持,就全選吧。我的是在虛擬機中,用不著了)
Device Drivers --->;Network device support --->Ethernet (10 or 100Mbit) ---><*> AMD PCnet32 PCI support
(3)File system--->(以下9個選項是關於ext2和ext3文件系統配置,全部選上)
Second extended fs support
Ext2 extended attributes
Ext2 POSIX Access Control Lists
Ext2 Security Labels
Ext3 journalling file system support
Ext3 extended attributes
Ext3 POSIX Access Control Lists
Ext3 Security Labels
JBB (ext3) debugging support
File system--->DOS/FAT/NT Filesystems --->選上“NTFS file system support”;

/**************************************************/

make bzImage (注意大小寫。這一步才是真正編譯內核)

make modules (編譯可加載模塊)

make modules_install (安裝可加載模塊)

make install (安裝新內核)

看到


Running DKMS auto installation service for kernel 2.6.38

表示裝完

Copyright © Linux教程網 All Rights Reserved