°²×°ÍêSLED 10ºó·¢ÏÖÈÔÈ»ÓС°ÈÈÆô¶¯ÍøÂ粻ͨ¡±µÄÎÊÌ⣬ÔÒòÊÇÄں˰汾½ÏµÍ£¬ÓÚÊÇÉý¼¶µ½2.6.17°æÄںˣ¬³É¹¦½â¾ö´ËÎÊÌ⡣ΪÁËÔ츣¹ã´ó²ËÄñ£¬·ÖÏíÒ»ÏÂÎҵľÑ飬»¶Ó¸ßÊÖÅúÆÀ²¹³ä¡£
1¡£½«ÏÂÔصÄÐÂÄںˣ¨±ÈÈçlinux-2.6.17.tar.bz2£©¿½±´µ½ /usr/src£¬ È»ºóÔÚ/usr/src±¾µØ½âѹ£¬Éú³ÉÐÂĿ¼linux-2.6.17£»
2.££cd linux-2.6.17; ±à¼Makefile ÕÒµ½EXTRAVERSION:
EXTRAVERSION = -xhawk(Äã×Ô¼º¸øÐÂÄÚºËÈ¡µÄÃû×Ö) (×¢ÒâÇ°ÃæµÄ¡°-¡± ·ûºÅ)
3¡£¿½±´/boot/ϵÄ1¸öconfigÎļþµ½/usr/src/linux-2.6.17/(½âѹµÄÐÂÄÚºËĿ¼£©£¬¸üÃûΪ.config¡£
4¡£#make clean && make mrproper
5. #make xconfig
6. load ¸Õ¿½±´¹ýÀ´µÄ/usr/src/linux-2.6.17/.config;
7. ÔÚ"Processor type and features" À¸Ä¿£¬Ñ¡Ôñ×Ô¼ºµÄCPUÀàÐÍ£¬ÎÒµÄCPU ÊÇAthlon64 3000£«£¬µ«ÎÒÏëÓÃ32λµÄSUSE Linux,ÕâÀïÈÔȻѡÔñAthlon64£»Ñ¡ÔñPreemptible Kernel(Low-Latency Desktop); Time Frequency Ñ¡Ôñ1000Hz£»
8¡£ÔÚNetworking À¸Ä¿£¬È¥µôIPv6 Protocol;save;Í˳ö£»
9.±à¼ .config file£»ÕÒµ½:CONFIG_BLK_DEV_RAM_SIZE °ÑÖµ¸ÄΪ 128000£»
10¡£ÔÚÃüÁîÐÐÖ´ÐÐ #export CHOST="i686-pc-linux-gnu"
11¡£ #export CFLAGS="-march=athlon64 -O2 -pipe -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -fweb -msse3"
˵Ã÷£ºÈç¹ûCPU ÊÇаæµÄAthlon64("Venice" or "San Diego")/Athlon64-X2("Manchester" or "Toledo")£¬¼ÓÉÏ-msse3£¬ÒÔÖ§³ÖSSE3 ¹¦ÄÜ£»
12.#export CXXFLAGS="${CFLAGS}"
13.#export MAKEOPTS="-j6"
˵Ã÷£ºMAKEOPTS= will set number of concurrent threads. ÎÒÓÐ 1GB ÄÚ´æ ËùÒÔÎÒµÄ MAKEOPTS=¡±-j6¡±£¬Èç¹ûÄÚ´æС£¬Ñ¡MAKEOPTS="-j2"¡£
££££££££££££££££££££££££££££££
***¶ÔÓÚÆäËüCPUµÄ²ÎÊý£¬Çë²Î¿¼£º
http://gentoo-wiki.com/CFLAGS
http://gentoo-wiki.com/Safe_Cflags#Intel_Processors
££££££££££££££££££££££££££££££
14¡£¿ªÊ¼±àÒ룺
#make bzImage
#make modules
#make modules_install
15.#make install ×Ô¶¯copyÐÂÄں˵½/boot,×Ô¶¯ÐÞ¸ÄGrub. (²»ÓÃÔÙmkinitrd£©
16.ÆôÓÃÐÂÄÚºË(ÕâÒ»²½Ëƺõ¿ÉÒÔ²»×ö£¬ÒòΪÎÒÍü¼Ç×öÕâÒ»²½£¬ÈÔÈ»³É¹¦Æô¶¯µ½ÐÂÄںˣ©£º
#rm /boot/vmlinuz
#rm /boot/initrd
#ln -s vmlinuz-2.6.17-xhawk-default vmlinuz (×¢ÒâÐÂÉú³ÉµÄÄں˵ÄÃû³Æ£¬ÔÚ/boot ϲéһϣ©
#ln -s initrd-2.6.17-xhawk-default initrd
17¡£ÖØÆð¼ÆËã»ú£¬Óã£dmesgÃüÁî²é¿´Æô¶¯ÐÅÏ¢£¬µÚÒ»ÐоÍÊǵ±Ç°Äں˰汾¡£»òÕßÓÃÃüÁî #uname -r
18.Èç¹ûÄÚºËÈ¥µôÁËIPv6, ×îºÃÐÞ¸ÄһϠ/etc/sysconfig/SuSEfirewall2£¬
°Ñ FW_IPv6="" ¸ÄΪ
FW_IPv6="no"
È»ºóÐÞ¸Ä /etc/modprobe.conf
½«alias net-pf-10 ipv6 ÐÞ¸ÄΪ alias net-pf-10 off
Ìí¼Ó alias ipv6 off