²Î¿¼ÁËlinuxsirºÍˮĸµÄlinux°æµÄ¾«»ªÇø£¬±¾È˲»±£ÁôÈκΰæȨ¡£
¾¹ý¹éÄÉÕûÀí£¬¿´¿´ÉÏÃæµÄ¾Í¿ÉÒÔÁË£¬°üÀ¨²¹¶¡ÈçºÎ´ò¡£¾ßÌåµÄһЩѡÏî¿ÉÒÔÍùÏ¿´£¬Ò»Ð©Ò»¿´¾Í¶®µÄ°×³ÕÑ¡Ï²¢Ã»ÓÐÑ¡½øÀ´£¬Òò´ËÊʺ϶ԵçÄÔÈíÓ²¼þ¶¼ÓÐËùÁ˽âµÄÈ˲ο¼¡£
»ù±¾ÒÔ2.6.5ÄÚºËΪÀý£¬ËäÈ»2.6µÄÄں˱àÒëÓиüΪ·½±ãµÄ¹ý³Ì£¬µ«ÕâÀﻹÊÇ°´ÕÕ×î¾µäµÄ·½Ê½£¬ÕâÑù×î±£ÏÕ¡£Ò»Ð©¹ý³Ì˵Ã÷¾¹ýÁ˱¾È˵ľ«¼ò£¬Ïà¹ØµÄÒÉÎÊÇë×ÔÐÐÓÃÍøÂçËÑË÷´ð°¸£¬Ö»±£Ö¤±¾ÈË¿´µÄ¶®£»£©Ò»Ð©ÉèÖð´ÕÕ×Ô¼ºµÄÇé¿öµ÷Õû£¬²»ÒªÍêÈ«ÕÕ°á¡£¶ÔÓÚ±àÒëÄÚºËÔì³ÉµÄËðʧ£¨±ÈÈçLPÅÜÁË£¬ÔÙÒ²²»»ØÀ´£©£¬±¾È˲»¸ºÈκÎÔðÈΣº£©½ö¹©²Î¿¼¡£
1.download linux-2.6.5.tar.gz
2.cp linux-2.6.5.tar.gz /usr/src
3.cd /usr/src
4.mv linux linux_old
5.tar xvzf linux-2.6.5.tar.gz
bzip2 -d linux-2.6.5.tar.bz2
tar -xvf linux-2.6.5.tar
»òÕßtar jxvf linux-2.6.5.tar.bz2
6.cd /usr/include
rm -rf asm linux scsi
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi
7.cd /usr/src/linux
make mrproper £¨¼ì²éÓÐÎÞ²»ÕýÈ·µÄ.oÎļþºÍÒÀÀµ¹Øϵ£¬Ê¹ÓøÕÏÂÔصÄÍêÕûµÄÔ´³ÌÐò°ü½øÐбàÒ룬ËùÒÔ±¾²½¿ÉÒÔÊ¡ÂÔ¡£¶øÈç¹ûÄã¶à´ÎʹÓÃÁËÕâЩԴ³ÌÐò±àÒëÄںˣ¬ÄÇô×îºÃÒªÏÈÔËÐÐÒ»ÏÂÕâ¸öÃüÁî¡£ £©
8.make config »ò
make menuconfig (ÍƼö£© »ò
make xconfig
Ñ¡ÔñÍê·µ»ØMainMenu£¬Ñ¡Ôñsave and exit£¬Í˳öÅäÖô°¿Ú²¢¹Ø±Õ³¬¼¶Óû§Öնˡ£ÏÖÔÚ¿ÉÒÔÍ˳öxwindowsÁË£¬»Øµ½Îı¾»·¾³£¨ÕâÑù×ö¿ÉÒÔ¼Ó¿ìÄں˱àÒëËٶȣ©Ö´ÐÐ×îºó²Ù×÷
9.make dep
10.make zImage
ÈôÏë×ö³ÉÆô¶¯Å̵ÄÐÎʽ¿É make zdisk£¬Èôkernel´óÓÚ512K£¬Ó¦ÓÃmake bzImage (ÍƼö£©
11.make modules make modules_install depmod -a
12.cp /usr/src/linux/arch/i386/boot/zImage /boot (ÓõÄÊÇmake zImage) »òcp /usr/src/linux/arch/i386/boot/bzImage /boot (ÓõÄÊÇmake bzImage)
13.ÐÞ¸Älilo.conf »ògrub.conf(Ìí¼Ó£©
image=/boot/zImage(»òbzImage)
label=new
root=...
14. lilo & grub
lilo -v ʹ¸Ä¶¯ÉúЧ¡£½¨Òé±£Áô¾ÉÄں˵ÄÏîÄ¿£¬±ÜÃâ±àÒëʧ°Ü¡£Í¨³£ grub ÅäÖÃÎļþÔÚÏÂÃæÈý¸öµØ·½£¨¸ù¾Ý·¢ÐаæµÄ²»Í¬£©£º
/etc/grub.conf
/boot/grub/menu.lst
/boot/grub/grub.conf
15. shutdown -r now
Èç¹ûÄãµÄ kernel Ö§³ÖÄÚ´æ¾µÏñ£¬¾ÍÓà mkinitrd ÃüÁîÖÆ×÷Ò»¸ö¾µÏñÎļþ£¬È»ºó¿½±´µ½ /boot ·¾¶Ï¡£ÒªÕâô×ö£¬Ò²Òª¼ÇµÃÔÚ make menu µÄʱºò¼ÇµÃÑ¡ÔñÄں˾µÏñ ram image£¬²¢ÇÒ²»ÄÜ°²×°ÎªÄ£¿é£¬·ñÔò initrd ¾Í²»»áÔË×÷¡£Éú³ÉÓ³ÏñÎļþ£¬·ñÔòÓÐʱϵͳÆô¶¯Ê±»áÕÒ²»µ½/¸ù·ÖÇø¡£
mkinitrd /boot/initrd-.2.4.20-8.img 2.4.20-8
initrd.img¾ÍÊÇinitrd-2.4.20-8.imgÎļþµÄÁ´½Ó
#ln -s initrd-2.4.20-8.img initrd.img
ÓеÄʱºò mkinitrd ʧ°Ü£¬Ö»Òª¼ÓÉÏ£º--without-scsi-module ¾Í¿ÉÒÔͨ¹ýÁË¡£
°Ñ¾ÉÄÚºËÔ´ÎļþϵÄ.configÎļþ¿½±´µ½ÐÂÄÚºËÔ´ÎļþÏ£¬
Èçcp /usr/src/linux-2.4.22/.config /usr/src/linux-2.6.5/
È»ºóÔÚÐÂÄÚºËĿ¼ÏÂÔËÐÐmake oldconfig£¬Èç¹ûÏë¸Ä¶¯Ê²Ã´£¬¿ÉÒÔ
make menuconfig£¬µ«ÊÇÒ»¶¨ÒªÏÈmake oldconfig¡£È»ºó¾Í±àÒëÄںˣ¬ºÜÈÝÒ×£ºmake bzImage make modules make modules_install make install
È»ºóµ½/boot ¿´¿´ÊDz»ÊÇÒѾÓÐÐÂÄÚºËÎļþÁË£¬ÔÙ¿´/boot/grub/grub.confÊÇ·ñÒѾ¼ÓÔØÁËÐÂÄںˡ£shutdown -r now
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.5£¨ÐÂÄں˵ÄbzImageµÄλÖÃÒ²ÓпÉÄÜÔÚ/usr/src/linux/i386/Ï£©
cp /usr/src/linux/System.map /boot/System.map-2.6.5
make clean
ûÓÐ make clean ֮ǰ£¬Èç¹ûÔö¼ÓÁËеÄÄ£¿é£¬¿ÉÒÔÖ±½Ó make menuconfig && make moduels && make modules_install£¬²»ÐèҪȫ²¿ÖØÐÂÀ´¹ý¡£Èç¹ûÄãÒÔºó»¹ÒªÀûÓÃÕâ´Î±àÒëµÄ³É¹û£¬Ò²¿ÉÒÔÊ¡ÂÔÕâÒ»²½£¬Èç¹ûÄãÏëÖ±½Óɾ³ýÔ´´úÂëĿ¼£¬Ò²¿ÉÒÔÊ¡ÂÔÕâÒ»²½¡£
һЩÉý¼¶ÄÚºËÇ°µÄ±¸·Ý¹ý³Ì£º
cd /boot/
mv System.map System.map.old
mv vmlinuz vmlinuz.old
cd /usr/src/
ln -s linux-2.6.5 linux
½øÈë/usr/includeĿ¼Ï£¬½«asm¡¢scsi¡¢linuxÈý¸öĿ¼¸ÄÃû
[root@localhost /usr/include]# mv asm asm.OFF
[root@localhost /usr/include]# mv scsi scsi.OFF
[root@localhost /usr/include]# mv linux linux.OFF
½¨Á¢Ö¸ÏòÐÂÄں˵ÄλÖõ½µÚÈý²½Öб»¸ÄÃûµÄÔĿ¼
[root@localhost /usr/include]# ln -s /usr/src/linux/include/asm-i386 asm
[root@localhost /usr/include]# ln -s /usr/src/linux/include/scsi scsi
[root@localhost /usr/include]# ln -s /usr/src/linux/include/linux linux
¼ìÑé # ls /boot
Èç¹û¿´µ½ÁË vmlinuz-2.6.0 ºÍ System.map-2.6.0 £¬ÄÇô¹§Ï²Ä㣬³É¹¦ÁË£¡
Èç¹ûÄãÊÇÓà make install °²×°µÄ£¬»¹»á¿´µ½¸ö config-2.6.0 Îļþ
cd /boot/
ln -s vmlinuz-2.6.5 vmlinuz
ln -s System.map-2.6.5 System.map
£¨ÉÏÃæµÄÁ½²½µÄ×÷ÓÃÊDZ£»¤ÕæÕýµÄÄں˾µÏñ²»ÊÜË𻵣©
vmlinuzÊÇѹËõµÄÄں˶þ½øÖÆ¿ÉÖ´ÐÐÎļþ
#du -sh vmlinuz-2.6.5¡¡ÓÃÀ´²é¿´ÐµÄÄÚºËÓжà´ó
Èç¹ûÄãµÄKernel ÅäÖÃÖ§³ÖModulesµÄ»°,½â¾öÄÇЩÎÊÌâÊDZȽϼòµ¥µÄ
Ö»Òª±àÒëÄÇЩ.oÎļþ¾Í¿ÉÒÔÀ².
±ÈÈçÎÒµÄÉù¿¨¾³£Irq ºÍ IO ²»¶Ô, ÎҾ͵½ /usr/src/linux/drivers/soundĿ¼ÏÂ
gcc -o configure configure.c
./configure
Ñ¡ºÃIO,IRQ µÈµÈ,
make
cp sound.o /lib/modules/2.0.34/misc
rmmod sound
insmod sound init_trace=1
²âÊÔÒ»ÏÂ.Ö±µ½³É¹¦ÎªÖ¹.±ÈÔÚ /usr/src/linux ÏÂ, make menuconfig ;
make dep;make clean;make zImage;.... ºÃ¶àÁË.
Ôõô¸øÄں˴ò²¹¶¡£¿
# cd /usr/src/linux
# bzip2 -dc patch-xxx.bz2 | patch
PATCHÎļþ¿½±´µ½/usr/srcÏ£º
#patch -p0 < patch-2.2.16
#gzip -cd patch-2.4.x-pre2-ac1.gz|patch -p1 -s -N -E -d Ô´ÂëĿ¼
¿ÉÒÔʹÓÃÕâÖÖ·½Ê½À´°²×°Èκβ¹¶¡£¬¶ø²»ÓùÜËüµÄÎļþÃûÁË
ÓÃlsmod¿´µ±Ç°×°ÈëµÄmodule, insmod/rmmodÔöɾmodule. ¶ÔÓÚfs,network·½ÃæµÄmodule, kernelÊÇ¿ÉÒÔ×Ô¶¯¶¯Ì¬×°ÔصÄ(ͨ¹ýkerneld, ÒªÓÃʱ×Ô¶¯insmod) ¶ø¶ÔÓÚÓëÓ²¼þÏà¹ØµÄmodule(ÈçÍø¿¨£¬SCSI¿¨µÈ), ÔòÐè×Ô¼ºÊÖ¹¤¼ÓÈ룬 »òÓÃRedHat Control PanelÖеÄkernelcfgÀ´Ñ¡Ôñmodule(дÓÚ/etc/conf.modules(?), ÄÇÑùÔòboot kernelʱ»á×Ô¶¯¼ÓÈë
×Ô¼º¶¨ÖƱàÒëµÄÄÚºËÔËÐиü¿ì£¨¾ßÓиüÉٵĴúÂ룩
ϵͳ½«ÓµÓиü¶àµÄÄڴ棨Äں˲¿·Ö½«²»»á±»½»»»µ½ÐéÄâÄÚ´æÖУ©
²»ÐèÒªµÄ¹¦ÄܱàÒë½øÈëÄں˿ÉÄÜ»áÔö¼Ó±»ÏµÍ³¹¥»÷ÕßÀûÓõÄ©¶´
½«Ä³ÖÖ¹¦ÄܱàÒëΪģ¿é·½Ê½»á±È±àÒëµ½ÄÚºËÄڵķ½Ê½ËÙ¶ÈÒªÂýһЩ
²é¿´swapÓÐûÓдò¿ª£¨ÓÃfreeÖ¸Á¡£´ËÍ⣬×îºÃ²»Òª³¬Æµ£¬²»È»ºÜÓпÉÄܻᷢÉúsignal 11µÄ´íÎó£¬Ê¹µÃ±àµ½Ò»°ëµÄºËÐÄÍ£ÁËÏÂÀ´
1. Code maturity level options
´úÂë³ÉÊìµÈ¼¶¡£´Ë´¦Ö»ÓÐÒ»Ïprompt for development and/or incomplete code/drivers£¬Èç¹ûÄãÒªÊÔÑéÏÖÔÚÈÔ´¦ÓÚʵÑé½×¶ÎµÄ¹¦ÄÜ£¬±ÈÈçkhttpd¡¢IPv6µÈ£¬¾Í±ØÐë°Ñ¸ÃÏîÑ¡ÔñΪYÁË£»·ñÔò¿ÉÒÔ°ÑËüÑ¡ÔñΪN¡£
2. Loadable module support
Enable loadable module support£º³ý·ÇÄã×¼±¸°ÑËùÓÐÐèÒªµÄÄÚÈݶ¼±àÒëµ½ÄÚºËÀïÃ棬·ñÔò¸ÃÏîÓ¦¸ÃÊDZØÑ¡µÄ¡£
Set version inFORMation on all module symbols£º¿ÉÒÔ²»Ñ¡Ëü¡£
Kernel module loader£ºÈÃÄÚºËÔÚÆô¶¯Ê±ÓÐ×Ô¼º×°Èë±ØÐèÄ£¿éµÄÄÜÁ¦£¬½¨ÒéÑ¡ÉÏ¡£
3. Processor type and features
High Memory Support£º´óÈÝÁ¿ÄÚ´æµÄÖ§³Ö¡£¿ÉÒÔÖ§³Öµ½4G¡¢64G£¬Ò»°ã¿ÉÒÔ²»Ñ¡¡£
Math emulation£ºÐ´¦ÀíÆ÷·ÂÕ档д¦ÀíÆ÷ÊÇÔÚ386ʱ´úµÄ³è¶ù£¬ÏÖÔÚÔçÒѲ»ÓÃÁË¡£
MTTR £¨memory type range register£©support------Ñ¡Ôñ¸ÃÑ¡Ïϵͳ½«Éú³É/proc/mtrrÎļþ¶ÔMTRR½øÐйÜÀí£¬¹©X serverʹÓá£Í¬Ê±ÓÃÀ´Æô¶¯pentinum proºÍpentinum II µÄÌØÊ⹦ÄÜ£¬Èç¹ûÄãÓõIJ»ÊÇÕâÀàCPU¾ÍÑ¡N£¬·ñÔòÒ²½ö½öÊÇʹÄں˱ä´ó¶øÒÑ¡£
Symmetric multi-processing support£º¶Ô³Æ¶à´¦ÀíÖ§³Ö¡£³ý·ÇÄ㸻µ½Óжà¸öCPU£¬·ñÔò¾Í²»ÓÃÑ¡ÁË¡£
4. General setup
Ò»°ãʹÓÃȱʡÉèÖþͿÉÒÔÁË¡£
Networking support£ºÍøÂçÖ§³Ö¡£±ØÐ룬ûÓÐÍø¿¨Ò²½¨ÒéÄãÑ¡ÉÏ¡£
PCI support£ºPCIÖ§³Ö¡£Èç¹ûʹÓÃÁËPCIµÄ¿¨£¬µ±È»±ØÑ¡¡£
PCI access mode£ºPCI´æȡģʽ¡£¿É¹©Ñ¡ÔñµÄÓÐBIOS¡¢DirectºÍAny£¬Ñ¡Any°É¡£
Support for hot-pluggabel devices£ºÈȲå°ÎÉ豸֧³Ö¡£
PCMCIA/CardBus support£ºPCMCIA/CardBusÖ§³Ö¡£
System V IPC
BSD Process Accounting
Sysctl support£ºÒÔÉÏÈýÏîÊÇÓйؽø³Ì´¦Àí/IPCµ÷Óõģ¬Ö÷Òª¾ÍÊÇSystem VºÍBSDÁ½ÖÖ·ç¸ñ¡£Èç¹ûÄã²»ÊÇʹÓÃBSD£¬¾Í°´ÕÕȱʡ°É¡£
Power Management support£ºµçÔ´¹ÜÀíÖ§³Ö¡£
Advanced Power Management BIOS support£º¸ß¼¶µçÔ´¹ÜÀíBIOSÖ§³Ö¡£
5. Memory Technology Device£¨MTD£©
MTDÉ豸֧³Ö¡£¿É²»Ñ¡¡£
6. Parallel port support
²¢¿ÚÖ§³Ö¡£Èç¹û²»´òËãʹÓô®¿Ú£¬¾Í±ðÑ¡ÁË¡£
7. Plug and Play configuration
»¹ÊÇÑ¡ÉÏ°É£¬¿ÉÒÔ°ÎÏÂÊó±êÖ®ÀàµÄÌåÑéÒ»ÏÂLinuxϼ´²å¼´Óõĸоõ¡£
8. Block devices
Normal PC floppy disk support£ºÆÕͨPCÈíÅÌÖ§³Ö¡£Õâ¸öÓ¦¸Ã±ØÑ¡¡£
Mulex DAC960/DAC1100 PCI RAID Controller support£ºRAID¾µÏñÓõġ£
Network block device support£ºÍøÂç¿éÉ豸֧³Ö¡£Èç¹ûÏë·ÃÎÊÍøÉÏÁھӵĶ«Î÷£¬¾ÍÑ¡ÉÏ¡£
10. Telephony Support
LinuxÏ¿ÉÒÔÖ§³Öµç»°¿¨£¬ÕâÑùÄã¾Í¿ÉÒÔÔÚIPÉÏʹÓÃÆÕͨµÄµç»°ÌṩÓïÒô·þÎñÁË¡£¼Çס£¬µç»°¿¨¿ÉºÍmodemûÓÐÈκιØϵŶ¡£
11. ATA/IDE/MFM/RLL support
Õâ¸öÊÇÓйظ÷ÖÖ½Ó¿ÚµÄÓ²ÅÌ/¹âÇý/´Å´ø/ÈíÅÌÖ§³ÖµÄ£¬ÄÚÈÝÌ«¶àÁË£¬Ê¹ÓÃȱʡµÄÑ¡Ïî°É£¬Èç¹ûÄãʹÓÃÁ˱ȽÏÌØÊâµÄÉ豸£¬±ÈÈçPCMCIAµÈ£¬¾Íµ½ÀïÃæ×Ô¼ºÕÒÏàÓ¦µÄÑ¡Ïî°É¡£
12. SCSI support
13. Fusion MPT device support
14. I2O device support
ÐèÒªI2O½Ó¿ÚÊÊÅäÆ÷Ö§³Ö£¬ÔÚÖÇÄÜInput/Output£¨I2O£©Ìåϵ½Ó¿ÚÖÐʹÓá£
15. Network device support
ÍøÂçÉ豸֧³Ö¡£±àÒëµ½ÄÚºËÀïÃæºÃÁË£¬²»Ñ¡MÁË£¬Ñ¡Y¡£
16. Amateur Radio support
ÅäÖÃÒµÓàÎÞÏ߹㲥¡£
17. IrDA£¨infrared£©support
ºìÍâÏßÖ§³Ö¡£
18. ISDN subsystem
Èç¹ûÄãʹÓÃISDNÉÏÍø£¬Õâ¸ö¾Í±Ø²»¿ÉÉÙÁË¡£
19. Old CD-ROM drivers£¨not SCSI¡¢not IDE£©
×öµÄ¿ÉÕæÖܵ½£¬ÔÀ´ÄÇЩ·ÇSCSI/IDE¿ÚµÄ¹âÇýË»¹ÔÚÓ𡣬×Ô¼ºÑ¡°É£¬ÓÃIDEµÄCD-ROM²»ÓÃÑ¡¡£
20. Character devices
×Ö·ûÉ豸¡£Õâ¸öÄÚÈÝÓÖÌ«¶àÁË£¬ÏÈʹÓÃȱʡÉèÖã¬ÐèÒªµÄ»°×Ô¼º¾ÍÐ޸ġ£°Ñ´óÀà½éÉÜһϰɣº
I2C support£ºI2CÊÇPhilips¼«Á¦Íƶ¯µÄ΢¿ØÖÆÓ¦ÓÃÖÐʹÓõĵÍËÙ´®ÐÐ×ÜÏßÐÒé¡£Èç¹ûÄãҪѡÔñÏÂÃæµÄVideo For Linux£¬¸ÃÏî±ØÑ¡¡£
Mice£ºÊó±ê¡£ÏÖÔÚ¿ÉÒÔÖ§³Ö×ÜÏß¡¢´®¿Ú¡¢PS/2¡¢C&T 82C710 mouse port¡¢PC110 digitizer pad£¬×Ô¼º¸ù¾ÝÐèҪѡÔñ¡£
Watchdog Cards£ºËäÈ»³ÆΪCards£¬Õâ¸ö¿ÉÒÔÓô¿Èí¼þÀ´ÊµÏÖ£¬µ±È»Ò²ÓÐÓ²¼þµÄ¡£Èç¹ûÄã°ÑÕâ¸öÑ¡ÖУ¬ÄÇô¾Í»áÔÚÄãµÄ/devÏ´´½¨Ò»¸öÃûΪwatchdogµÄÎļþ£¬Ëü¿ÉÒԼǼÄãµÄϵͳµÄÔËÐÐÇé¿ö£¬Ò»Ö±µ½ÏµÍ³ÖØÐÂÆô¶¯µÄ1·ÖÖÓ×óÓÒ¡£ÓÐÁËÕâ¸öÎļþ£¬Äã¾Í¿ÉÒÔ»Ö¸´ÏµÍ³µ½ÖØÆôÇ°µÄ״̬ÁË¡£
21. File systems
22. Console drivers
¿ØÖÆ̨Çý¶¯¡£Ò»°ãʹÓÃVGA text console¾Í¿ÉÒÔÁË£¬±ê×¼µÄ80*25µÄÎı¾¿ØÖÆ̨¡£
23. Sound
Éù¿¨Çý¶¯¡£Èç¹ûÄãÄÜÔÚÁбíÖÐÕÒµ½Éù¿¨Çý¶¯ÄÇ×ÔÈ»×îºÃ£¬·ñÔò¾ÍÊÔÊÔOSSÁË¡£
24. USB supprot
25. Kernel hacking
ÅäÖÃÁËÕâ¸ö£¬¼´Ê¹ÔÚϵͳ±ÀÀ£Ê±£¬ÄãÒ²¿ÉÒÔ½øÐÐÒ»¶¨µÄ¹¤×÷ÁË¡£ÆÕͨÓû§ÊÇÓò»×ÅÕâ¸ö¹¦Äܵġ£ ÅäÖÃÍêºó£¬´æÅÌÍ˳ö£¬µ±È»ÄãÒ²¿ÉÒÔ°ÑÏÖÔÚµÄÅäÖÃÎļþ±£´æÆðÀ´£¬ÕâÑùÏ´ÎÔÙÅäÖõÄʱºò¾ÍÊ¡Á¦ÆøÁË¡£ ½ÓÏÂÀ´ÊDZàÒë¡£
#make dep
#make clean
#make bzImage»òmake zImage
#make modules
#make modules_install
#depmod -a
make depʵ¼ÊÉ϶ÁÈ¡ÅäÖùý³ÌÉú³ÉµÄÅäÖÃÎļþ£¬À´´´½¨¶ÔÓ¦ÓÚÅäÖõÄÒÀÀµ¹ØϵÊ÷£¬´Ó¶ø¾ö¶¨ÄÄЩÐèÒª±àÒë¶øÄÇЩ²»ÐèÒª£»µÚ¶þÃüÁîmake cleanÍê³Éɾ³ýÇ°Ãæ²½ÖèÁôϵÄÎļþ£¬ÒÔ±ÜÃâ³öÏÖһЩ´íÎó£»ÔڻشðEnable loadable module support (CONFIG_MODULES)ʱѡÁË"Yes"²ÅÊDZØÒªµÄ£¬make modulesºÍmake modules_install·Ö±ðÉú³ÉÏàÓ¦µÄÄ£¿éºÍ°ÑÄ£¿é¿½±´µ½ÐèÒªµÄĿ¼ÖС£Ñϸñ˵À´£¬depmod -aÃüÁîºÍ±àÒë¹ý³Ì²¢Ã»ÓйØϵ£¬ËüÊÇÉú³ÉÄ£¿é¼äµÄÒÀÀµ¹Øϵ£¬ÕâÑùÄãÆô¶¯ÐÂÄÚºËÖ®ºó£¬Ê¹ÓÃmodprobeÃüÁî¼ÓÔØÄ£¿éʱ¾ÍÄÜÕýÈ·µØ¶¨Î»Ä£¿é¡£
#cp /usr/src/linux/System.map /boot/System.map-2.4.18
#cp /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.4.18
#cd /boot;rm -f System.map vmlinuz
#ln -s vmlinuz-2.4.18 vmlinuz
#ln -s System.map-2.4.18 System.map
Èç¹ûÓÃLILO£¬ÐÞ¸Ä/etc/lilo.conf£¬Ìí¼ÓÒÔÏÂÏ
image=/boot/vmlinuz-2.4.18
label=linux240
read-only
root=/dev/hda2
ÆäÖÐroot=/dev/hda2Ò»ÐÐÒª¸ù¾ÝÐèÒª×ÔÐмÓÒÔÐ޸ġ£
#/sbin/lilo -v
#shutdown -r now
ÓÃGrubÆô¶¯¹ÜÀíÆ÷£¬ÔòÌí¼ÓÈçϼ¸Ïî¼´¿É¡£
title Red Hat Linux (2.4.18)
root (hd0,0)
kernel /vmlinuz-2.4.18 ro root=/dev/hda2
×°¹ýÏÔ¿¨Çý¶¯£¬±ÈÈçNvidiaµÄ»°£¬Äã¿ÉÒÔÕâÑù°ì
rpm -e NVIDIA_GLX_XXX(XXXΪÄãµÄÏÔ¿¨Çý¶¯¶ÔÓ¦µÄ°æ±¾ºÅ£¬±ÈÈçÎÒµÄÊÇNVIDIA_GLX-1.0-3123)
rpm -e NVIDIA_kernel_XXXX(ͬÉÏ)
°ÑÒÔÇ°°²×°µÄÇý¶¯É¾È¥¡£
rpmbuild --rebuild NVIDIA_kernel_XXXX£¬ÖØбàÒëÄãµÄÏÔ¿¨Çý¶¯¡£±àÒëºÃµÄ·ÅÔÚ/usr/src/redhat/RPMS/i386/ÏÂ
È»ºó°²×°¾ÍÊÇÁË¡¢¡¢¡¢
rpm -Uvh NVIDIA_kernel_XXXX.i386.rpm
rpm -Uvh NVIDIA_GLX_XXXX.i386.rpm
¸ã¶¨£¬ÖØÆð¡£
½«ÓëÄÚºËÆäËü²¿·Ö¹Øϵ½ÏÔ¶ÇÒ²»¾³£Ê¹ÓõIJ¿·Ö¹¦ÄÜ´úÂë±àÒë³ÉΪ¿É¼ÓÔØÄ£¿é£¬ÓÐÀûÓÚ¼õСÄں˵ij¤¶È£¬¼õСÄÚºËÏûºÄµÄÄڴ棬¼ò»¯¸Ã¹¦ÄÜÏàÓ¦µÄ»·¾³¸Ä±äʱ¶ÔÄں˵ÄÓ°Ï죻²»ÐèÒªµÄ¹¦ÄܾͲ»ÒªÑ¡£»ÓëÄں˹ØÐĽôÃܶøÇÒ¾³£Ê¹ÓõIJ¿·Ö¹¦ÄÜ´úÂëÖ±½Ó±àÒëµ½ÄÚºËÖС£
ºËÐÄÔÚ±£»¤¿Õ¼äÔËÐУ¬µ«Ä£¿é²¢²»ÊÇ¡£Õâô˵£¬²¢²»¾³£Ê¹ÓÃÎÒµÄÉ豸£¬°ÑËü±àÒë³ÉÖ»Ö§³Öext2,ideºÍelf¡£¶øһֱʹÓõÄÍø¿¨£¬°ÑÆäËüµÄ±àÒë³ÉÄ£¿é£ºÈça.out, java, floppy, iso9960, msdos, minix, vfat,smb,nfs,smcultra(ethernetcard),serial,printer,sound,ppp,µÈµÈ¡£ËüÃÇÐí¶àÖ»ÊÇÔÚÕâ»òÄÇÓÃÉÏÄÇô¼¸·ÖÖÓ¡£ÔÚÐèÒªÓõÄʱºò²ÅÓÃinsmodÕâ¸öÖ¸Áî¼ÓÈëºËÐÄ£¬²»ÓõÄʱºòÒ²ÄÜrmmod°ÑËü´ÓºËÐÄÒƳý£¬»òÊÇÓÃlsmod²ì¿´Ä¿Ç°ËùÔØÈëµÄÄ£¿é¡£ÕâÀïÃæÓÐÈýÏ
#Set version information on all module symbols------ͨ³££¬ÎÒÃǸüкËÐÄ°æ±¾Ö®ºó£¬Ä£¿éË£ÖØеıàÒë¡£Õâ¸öÑ¡ÏîʹÄú²»±Ø¸üбàÒëÄ£¿é¶øÄÜʹÓÃÒÔÇ°µÄÄ£¿é¡£¿ÉÒÔ²»Ñ¡Ëü¡£µ«Èç¹ûÄúÑ¡y£¬Ôò°´ÕÕËüµÄ˵Ã÷£¬Äú±ØÐëÓÐgenksymsÕâ¸ö³ÌÐò£¨¿ÉÓÃwhereisÖ¸Áî²é¿´ÓÐÎ޴˳ÌÐò£©¡£
#Kernel module loader------ÈÃÄÚºËÔÚÆô¶¯Ê±ÓÐ×Ô¼º×°Èë±ØÐèÄ£¿éµÄÄÜÁ¦£¬½¨ÒéÑ¡ÉÏ¡£×¢Ò⣺ÔÚ¿ª»ú¾Í»á mount ÉÏÀ´µÄ partition µÄ FS ¡¢device driver ¼ÇµÃÒª compiler ½ø kernel£¬²»ÄÜ°ÑËüŪ³É modules¡£Çë²»Òª¿äÕŵ½ÎªÁËÍêÈ«Ä£×黯¶øÍüÁË°Ñext2fsºÍIDE dirver compiler ½ø kernel Àï¡£
#System V IPC Èç¹û½«À´Ïë±àÒëdosemu£¨DOSÄ£ÄâÆ÷£©£¬ÔòÕâ¸öÑ¡ÏîÒ»¶¨ÒªÑ¡£¬ËüÊÇÒ»¸öÈø÷¸ö³ÌÐò£¨process£©Í¬²½ÇÒÄܱ˴˽»»»Êý¾ÝµÄº¯Êý¿âºÍһЩϵͳµÄµ÷Óã¬Ã»Ëü£¬ºÜ¶àµÄ³ÌÐò½«»áÎÞ·¨Ö´ÐС£
#Sysctl support------³ý·ÇÄãµÄÄÚ´æÉٵĿÉÁ¯£¬·ñÔòÄãÓ¦¸ÃÆô¶¯Õâ¸ö¹¦ÄÜ£¬ÆôÓøÃÑ¡ÏîºóÄں˻á´ó8K£¬µ«ÄÜÈÃÄãÖ±½Ó¸Ä±äÄں˵IJÎÊý¶ø²»±ØÖØпª»ú¡£
#Kernel support for A.OUT binaries ------a£®outµÄÖ´ÐÐÎļþÊDZȽϹÅÀϵĿÉÖ´ÐÐÂ룬ÓÃÔڱȽÏÔçÆÚµÄUNIXϵͳÉÏ¡£Linux×î³õÒ²ÊÇʹÓÃÕâÖÖÂëÀ´Ö´ÐгÌÐò£¬Ò»Ö±µ½ELF¸ñʽµÄ¿ÉÖ´ÐÐÂë³öÀ´ºó£¬ÓÐÓúÀ´Óá¶àµÄ³ÌÐòÂëËæ×ÅELF¸ñʽµÄÓŵã¶ø±ä³ÉÁËELFµÄ¿ÉÖ´Âë¡£½«À´ÊƱØÍêÈ«È¡´úa£®out¸ñʽµÄ¿ÉÖ´ÐÐÂë¡£µ«Ä¿Ç°ÓÉÓÚÑØÓÐÐí¶àµÄ³ÌÐò»¹Ã»ÓÐÈ¡´ú¹ýÀ´£¬ËùÒÔÖ»ºÃÑ¡ÔñY£¬µÈ½«À´ÓÐÒ»Ì죬ȫ²¿µÄ³ÌÐò¶¼±ä³ÉÁËELFµÄÌìÏÂʱ£¬ÄÇʱÔÙdisableµô¡£
#Kernel support for Linux/Intel ELF binaries ------ÓÉÉÏËùÊö£¬Õâ¸öµ±È»yÁ¨£¬ÒòΪĿǰgcc£2.7.0ÒÔÉϵĶ¼ÓÐÖ§³ÖELFÁË£¬Èç¹ûûÓÐÑ¡ÔñÕâÒ»Ï¿ÉÄÜ»áʹÓÃÏ൱¶àµÄ³ÌÐòÒò´ËÎÞ·¨Ö´ÐС£Îª´ó¶à»úÆ÷ÖÆ×÷Ò»ÕŽô¼±Æô¶¯ÅÌ£¬×îºÃÔÚ386ϱàÒ룬¶ø386²¢²»ÄÜÔËÐÐÔÚPentiumϱàÒëµÄºËÐÄ¡£²»ÄÜͬʱ°Ñ a.out ºÍ ELF Ö§Ô®±àÒë³É modules£¬·ñÔòµ±ÄãΪÁËÄܹ»Ê¹Óà insmod ¶øÓà insmod À´ÔØÈë a.out/ELF modules ʱ»áÓÐ Catch/22 ×´¿ö·¢Éú¡£Èç¹ûÄãµÄϵͳÖ÷ÒªÊÇ ELF ¶øÄãż¶û»áÐèÒªÓõ½a.out£¬Äã¿ÉÒÔ°Ñ a.out Ö§Ô®±àÒëΪmodules£¬·ñÔòÄã×îºÃ°ÑËüÖ±½Ó·ÅÈë kernel Ö®ÖС£Èç¹ûÄ㻹û½øÈë ELF µÄÊÀ¼Í£¬ÔÚ compiler kernel ʱ¿ÉÒÔÖ±½Ó°Ñ ELF ֧Ԯȥµô¡£
##Advanced Power Management BIOS support------¸ß¼¶µçÔ´¹ÜÀíBIOSÖ§³Ö¡£Õâͨ³£ÊÇÓÃÔڱʼDZ¾µçÄÔÉϵĶ«Î÷£¬Èç¹ûÄúÓÐAPMµÄBIOS£¬Ö§³ÖÊ¡µçµÄÉ豸µÄ£¨Óеç³ØµÄÄÇÖÖ£©£¬ÄÇôÄú¿ÉÒÔÑ¡ÉÏÕâÏһ°ãÈËÕâÒ»ÏîÊÇÑ¡n£¬ÒÔ±ÜÃâһЩ¿ÉÄܻᷢÉúµÄÎÊÌâ¡£ºóÓÐ8¸öÑ¡Ïî¡£
#CMD640 chipset bugfix£¯support------ ºÜ¶à 486ºÍ 586µÄÖ÷»ú°å¶¼ÊÇÓà CMD640µÄоƬ£¬ËüÊÇNeptuneоƬºÍ SISоƬµÄ½áºÏ¡£²»¹ý£¬ÕâÖÖоƬÓÐËüµÄȱµã£¬ÔÚÐí¶àµÄÇéÐÎÏ£¬Ëü»áÔì³ÉÊý¾ÝµÄÁ÷ʧºÍ´íÎó¡£Èç¹ûÄúÑ¡ÁËÕâÒ»ÏÔòLinuxºËÐÄ»áΪÄúСÐĵÄÑ°ÕÒÕâЩ ´íÎó²¢ÐÞÕýËü¡£¶øÇÒ£¬Ëü»á´ò¿ª¶Ô¶þ¸öIDE½çÃæµÄÖ§³Ö¡£²»¹ý£¬ÔÚËüµÄ˵Ã÷ÎļþÖÐÌáµ½£¬Èç¹ûÄúµÄÖ÷»ú°åûÓÐPCI½çÃæÖ»ÓÐVESA×ÜÏß½çÃæÈ´Ï£ÍûÓÐÕâÏÄܵĻ°£¬ÔòÄú±ØÐ봫һЩ ²ÎÊý¸øºËÐÄ£¨ideo£½cmd640£ßvlb£©¡£Èç¹û²»È·¶¨ÉÏÃæËù˵µÄ£¬Ñ¡ÔñY¡£
#CMD640 enhanced support------Ò»°ãÀ´Ëµ£¬¶ÔÓÚÓ²Å̵ĴæÈ¡ËÙ¶ÈÀ´Ëµ£¬ÓÐËùνµÄ PIO MODESÖµÉ趨£¬ÏÖ½ñµÄ IDE½çÃæ¼° BIOSÓ¦¸Ã¶¼ÄÜÕì²âµ½ÕýÈ·µÄÓ²ÅÌPIO MODEÖµÁË¡£´ËÖµÓú¸ß±íʾӲÅ̵ĴæÈ¡µÄËÙ¶ÈÓú¿ì¡£¿ÉÊÇ£¬ÓÐЩÖ÷»ú°åµÄB10S»¹ÊǾÉʽµÄ£¬²»ÄÜ×¥µ½±È½Ï¸ßµÄ PIO MODEÖµ£¬Èç´ËÒ»À´£¬±ã²»ÄÜ·¢»ÓÕų̂ӲÅ̵ÄЧÂÊ¡£Õâ¸öÉ趨¸æË߶ÁÕß˵£ºÈç¹ûÄúµÄIDE½çÃæÊÇCMD640Ϊ»ù´¡*1*7ºÍ586µÄÖ÷»ú°å¶¼ÔÚʹÓÃËü¡£¿ÉÒÔ²é²éÖ÷»ú°åµÄ˵Ã÷Êé»òÊÇ IDE½Ó¿Ú¿¨µÄ˵Ã÷Êé×öÈ·¶¨¡£ÎļþÉÏÌáµ½£¬Ñ¡ÔñÕâ¸ö½«»á½µµÍһЩËٶȣ¬µ«ÊÇÊý¾ÝÄÜ°Ù·ÖÖ®°ÙµÄÕýÈ·¡£
#Intel 82371 PIIX£¨Triton I£¯II£© DMA support------¶ÔÓÚ586µÄPentiumµçÄÔÀ´Ëµ£¬ÓÐÏ൱¶àµÄÖ÷»ú°å¶¼ÊÇÓÃIntelµÄTritonоƬ£¬Ê¹ÓÃÕâÖÖоƬµÄ×î´óºÃ´¦ÊÇÖ§³ÖÖ±½ÓÄÚ´æ´æÈ¡DMA£¬¶ø½ÚÊ¡ÄúµÄCPUʱ¼ä¡£±ØÐëÄúµÄÓ²Å̺ÍÖ÷»ú°åÓÐͬʱ֧³Ö DMAµÄ IDE½çÃæµÄоƬ£¬Ö±½ÓÓëËüÃÇ×ö¹µÍ¨¶ø½ÚÊ¡ÁË´óÁ¿µÄ CPUʱ¼ä¡£
#Loopback device support------´ó²¿·ÖµÄÈËÕâÒ»¸öÑ¡ÏѡN£¬ÒòΪûÓбØÒª¡£µ«ÊÇÈç¹ûÄãÒªmount isoÎļþµÄ»°£¬ÄãµÃÑ¡ÉÏY¡£Õâ¸öÑ¡ÏîµÄÒâ˼ÊÇ˵£¬¿ÉÒÔ½«Ò»¸öÎļþ¹Ò³ÉÒ»¸öÎļþϵͳ¡£Èç¹ûÒªÉÕ¹âÅÌƬµÄ£¬ÄÇôÄúºÜÓпÉÄÜÔÚ°ÑÒ»¸öÎļþÉÕ½øȥ֮ǰ£¬¿´¿´Õâ¸öÎļþÊÇ·ñ·ûºÏIS09660µÄÎļþϵͳµÄÄÚÈÝ£¬ÊÇ·ñ·ûºÏÄúµÄÐèÇ󡣶øÇÒ£¬¿ÉÒÔ¶ÔÕâ¸öÎļþϵͳ¼ÓÒÔ±£»¤¡£²»¹ý£¬Èç¹ûÄúÏë×öµ½ÕâµãµÄ»°£¬Äú±ØÐëÓÐ×îеÄmount³ÌÐò£¬°æ±¾ÊÇÔÚ2.5X°æÒÔÉϵġ£¶øÇÒÈç¹ûÄúÏ£Íû¶ÔÕâ¸öÎļþϵͳ¼ÓÉϱ£»¤£¬ÔòÄú±ØÐëÓÐdes.1.tar.gzÕâ¸ö³ÌÐò¡£×¢Ò⣺´Ë´¦ÓëÍøÂçÎ޹ء£
#Multlnle devices driver support------Õâ¸öÑ¡Ïî¿ÉÒÔÈðÑÕû¸öÓ²ÅÌ·ÖÇø±ä³ÉÒ»¸öµ¥¶ÀµÄÇø¿éÉ豸£¬Äú±ØÐëÓÐmd035£®tgzÕâ¸ö³ÌÐò¡£¶øÇÒÔÚ×öÕâ¼þÊÂ֮ǰÇ뽫ÄúµÄÓ²Å̱¸·Ý£¬ÒòΪËüÉÐÔÚ²âÊԽ׶Ρ£Ò»°ãÈ˶ÔÕâ¸öÑ¡ÏîÊÇÑ¡N¡£
#Packet socket ------ Ñ¡Ôñ¡°Y¡±£¬Ò»Ð©Ó¦ÓóÌÐò½«Ê¹ÓÃPacketÐÒéÖ±½ÓͬÍøÂçÉ豸ͨѶ£¬¶ø²»Í¨¹ýÄÚºËÖеÄÆäËüÖнéÐÒé¡£
#Kernel£¯User Network link driver------Õâ¸öÊÇÔÚ²âÊÔÖеijÌÐòÂ룬һ°ãÈ˲»ÐèÒªÓá£ÒÀËüµÄ˵Ã÷£¬ËüÔÊÐíÔÚºËÐÄ¡¢Ä£¿é»ò³ÌÐò¼äµÄijЩ²¿·Ö¼ä£¬±Ë´Ë×öË«ÏòµÄ¹µÍ¨¡£Èç¹ûÏëʹÓÃarpd£¬ÔòÕâ¸ö³ÌÐòÂë¾ÍÒª¼Ó½øºËÐÄÀï¡£
#TCP/IP networking------Ñ¡Ôñ¡°Y¡±£¬Äں˽«Ö§³ÖTCP/IPÐÒé¡£Õâ¸öÑ¡ÏîÎÞÂÛÈçºÎÇëÄúÑ¡ÔñY£¬¼´Ê¹Ã»ÓÐÍøÂ翨£¬»òÊÇûÓÐÁ¬µ½ÍøÂçÉϵÄÉ豸£¬ÔÚlinuxÉÏÈÔÓÐËùνµÄlookbackÉ豸¶øÇÒÓÐЩ³ÌÐòÐèÒªÕâ¸öÑ¡Ïî¡£ÔÚ˵Ã÷ÎļþÖÐÌáµ½£¬Èç¹ûÄúûÓдò¿ªÕâ¸öÉ趨£¬ÔòX£window system¿ÉÄÜ»áÓÐÎÊÌ⣨»ØΪËüÒ²ÐèÒª TCP£¯IP£©¡£
#Network firewalls------Ñ¡Ôñ¡°Y¡±£¬Äں˽«Ö§³Ö·À»ðǽ¡£µÈÒ»ÏÂÓиöIP firewallingµÄÑ¡ÏîҲҪѡy£»µ«ÏÂÃæµÄforwarding£¯gatewayingҪѡn£¬Èç´Ë²ÅÄÜÈÃËüÕý³£¶¯×÷¡£´ó²¿·ÖµÄÈËÕâ¸öÑ¡ÏîÑ¡N¡£
#Network alasing------ÔÊÐíÓжà¸öIPµØÖ·¡£
#IP£ºforwarding£¯gatewaying ------ ºÍ FirewallÏà·´£¬Õâ¸öÑ¡ÏîÊÇÓÃÀ´Êèµ¼ÍøÂçµÄ¡£Ò»¸ögateway£¨Ò²¾ÍÊÇrouter£©£¬Òª°ïæÊèµ¼Á½¸öÍøÂç¼äµÄÊý¾Ý´«ËÍ¡£Õą̂»úÆ÷±ØÐëÒªÓÐÁ½ÕÅÍøÂ翨£¬Á¬½ÓÁ½¸ö¸öͬµÄÍøÂ磬×öÊèµ¼ÍøÂçµÄ¹¤×÷¡£Èç¹ûÑ¡ÔñÁËÕâ¸öÑ¡ÏÔò±íʾÏëÈÃÕą̂¸ºÔð×örouter¡£ÄÇô£¬¾Í±ØÐëÓÐÁ½ÕÅÍøÂ翨ÁË¡£ÁíÍâÓÐÒ»ÖÖÇéÐÎÊÇ£¬Èç¹ûÄúÓÐMODEM£¨Í¨¹ý´®ÁнçÃæÒÔ SLIPºÍ PPPÐÒ飩ºÍÍøÂ翨£¬²¢ÓÃËüÃÇÀ´Á¬ÉÏInternet¡£ÕâʱÄúÒ²Ò»Ñù¿ÉÒÔÖ´ÐÐIP£routing·þÎñ£¬Ò²Ðè°ÑÕâ¸öÑ¡Ïî´ò¿ª¡£
#IP£ºmulticasting------ËùνµÄmulticastingÊÇȺ×é¹ã²¥£¬ËüÊÇÓÃÔÚÊÓƵ»áÒéÉϵÄÐÒ飬Èç¹ûÏëËÍÒ»¸öÍøÂç·â°ü£¨ÍøÂçµÄÊý¾Ý£©£¬Í¬ÑùµÄÒ»·ÝÊý¾Ý½«ËÍÍùÊ®²¿»úÆ÷ÉÏ¡£Äú¿ÉÒÔÁ¬ÐøËÍÊ®´Î¸øʮ̨»úÆ÷£¨µã¶ÔµãµÄ´«ËÍ£©£¬Ò²¿ÉÒÔͬʱËÍÒ»´Î£¬È»ºóÈÃʮ̨»úÆ÷ͬʱ½ÓÊÕµ½¡£µ±È»ºóÕß±ÈÇ°Õߺã¬ÓÉÓÚÊÓƵ»áÒéÒªÇóÊÇ×îºÃÿ¸öÈ˶¼ÄÜͬʱÊÕµ½Í¬Ò»·ÝÐÅÏ¢£¬ËùÒÔÈç¹ûÄúÓÐÀàËƵÄÐèÒª£¬Õâ¸öÑ¡Ïî¾ÍÒª´ò¿ª¡£Í¬Ê±Äú»¹±ØÐëÈ¥ÕÒÏà¹ØµÄÈí¼þ¡£
#IP£º accounting------Èç¹ûÄú´ò¿ªÕâ¸öÑ¡ÏÄú¾Í¿ÉÒÔÔÚ£¯proc£¯netÏ¿´µ½ÏµÍ³¶ÔÓÚÕû¸öÍøÂç×´¿öµÄ¼Í¼¡£ËùÒÔÒ»°ãµÄÈËÕâ¸öÑ¡ÏÊÇÑ¡y¡£¶øÇÒ£¬Èç¹ûÄúÉè¼Æ°ÑÕą̂Linux»úÆ÷µ±routerÓã¬ÄÇô¶ÁÕß¿ÉÒÔÒòΪÕâ¸öÑ¡Ïî¶ø»ñµÃÐí¶àÓйØÓÚÍøÂçlP¿ØÖƵÄÐÅÏ¢ºÍËüµÄÊäËÍÇéÐΡ£
#IP£ºaliasing support------¾ÓÉÕâ¸öÉ趨£¬Äú¿ÉÒÔÓµÓÐÊý¸öIPµØÖ·¡£¼ÙÉèÄúÒѾÓÐÒ»¸ölPµØÖ·ÁË£¬Äú»¹ÏëÔÙ¼ÓÈëÆäËûµÄIPµØÖ·£¬Õâʱ£¬Äú¿ÉÒÔÒÀÏÂÃæµÄ³ÌÐòÀ´×ö¡£
ÔÚ shellϼüÈ룺
#ifconfig eth0£º0ÆäËûµÄIPµØÖ·£¨Õâ¸öIPµØÖ·²»ÄÜÓëÆäËû»úÆ÷Öظ´£©
# route£add£hostÆäËûµÄIPµØÖ· dev eth0:0
#Probe a11 LUNs on each SCSI device------ͨ³£Õâ¸öÑ¡Ïî´ó²¿·ÖµÄÈ˶¼²»»áÑ¡¡£ÎÒÃǾٸöÀý×ÓÀ´Ëµ£¬Èç¹ûÄúµÄSCSI¹âÇýÊÇÄÇÖÖ¶àƬװµÄ£¬¾ÍÊÇһ̨¹âÇý£¬µ«¿ÉÒÔÒ»´Î·ÅºÃ¼¸Æ¬¹âÅÌƬµÄÄÇÖÖ¡£ÕâÖÖÎÒÃǽÐ×öLun¡£
#Dummy net driver support------Èç¹ûÓÐSLIP»òPPPµÄ´«ÊäÐÒ飬ÄÇôҪ°ÑÕâÒ»Ïî´ò¿ª¡£ÒòΪһÀ´Ëü²»»áÈÃÄúµÄLinuxºËÐÄÔö´ó¡£¶þÀ´£¬¶ÔijЩӦÓóÌÐòÀ´Ëµ£¬Ëü¿ÉÒÔÈÃÎÒÃÇÄ£Äâ³öÀ´µÄTCP£¯IP»·¾³¸üÏñTCP£¯IP»·¾³¡£Èç¹ûÄúûÓÐSLIP»òPPPÐÒ飬¾Í²»Óôò¿ªÁË¡£
#EQL£¨serial line load balancing£© support------Èç¹ûÓÐÁ½¸öMODEM£¬Á½Ìõµç»°Ïߣ¬¶øÇÒÓÃSLIP»òPPPÐÒ飬¿ÉÒÔÓÃÕâ¸öDriverÒÔ±ãÈÃÄúµÄMODEMÓÐÁ½±¶µÄËٶȡ£µ±È»£¬ÔÚÍøÂçµÄÁíÒ»¶ËÒ²ÒªÓÐͬÑùµÄÉ豸¡£
#PLIP£¨parallel port£© support------ÒÀ×ÖÃæÉÏ¿´£¬ËüÊÇÒ»ÖÖÀûÓôòÓ¡»úµÄ½Ó¿Ú£¨Æ½Ðнӿڣ©£¬È»ºóÀûÓõã¶ÔµãÀ´Ä£ÄâTCP£¯IPµÄ»·¾³¡£ËüºÍ SLIP£¯PPPÈ«¶¼ÊôÓÚµã¶ÔµãͨѶ£¬Äú¿ÉÒÔ°ÑÁ½Ì¨µçÄÔÀûÓôòÓ¡»úµÄÁ¬½Ó½Ó¿Ú´®ÁªÆðÀ´£¬È»ºó£¬¼ÓÈë´ËͨѶÐÒé¡£Èç´ËÒ»À´£¬ÕâÁ½²¿µçÄԾ͵ÈÓÚÒ»¸öССµÄÍøÂçÁË¡£²»¹ý£¬Èç¹ûµçÄÔÓÐÌṩ´òÓ¡·þÎñµÄ»°£¬Õâ¸öÑ¡Ïî×îºÃ²»Òª´ò¿ª£¬²»È»¿ÉÄÜ»áÓÐÎÊÌ⣨ÒòΪ¶¼ÊÇÓÃƽÐнӿڣ©¡£
#PPP£¨point£to£point£©support------µã¶ÔµãÐÒ飬½üÄêÀ´£¬PPPÐÒéÒѾÂýÂýµÄÈ¡´úSLIPµÄ¹æ¶¨ÁË£¬ÔÒòÊÇPPPÐÒé¿ÉÒÔ»ñÈ¡ÏàͬµÄIPµØÖ·£¬¶øSLIPÔòÒ»Ö±ÔڸıäIPµØÖ·£¬ÔÚÐí¶àµÄ·½Ã棬PPP¶¼Ê¤¹ýSLIPÐÒé¡£
#SLIP£¨serial line£© support------ÕâÊÇMODEM×å³£ÓõÄÒ»ÖÖͨѶÐÒ飬±ØÐëͨ¹ýһ̨Server£¨½ÐISP£©»ñÈ¡Ò»¸öIPµØÖ·£¬È»ºóÀûÓÃÕâ¸öIPµØÖ·£¬¿ÉÒÔÄ£ÄâÒÔÌ«ÍøÂ磬ʹÓÃÓйØTCP£¯IPµÄ³ÌÐò¡£
# EISA£¬ VLB£¬ PCI and on board controllers ------Ñ¡ÔñÍøÂ翨£¬°üÀ¨Ö±½Ó¸½ÔÚÖ÷»ú°åÉϵÄÄÇÖÖ¡£Èç¹ûÑ¡Ôñy£¬Ôòµ×Ï»áÁгöÆäËûµÄÍøÂ翨ÈÃÄú×öÑ¡Ôñ£¬ÕâЩ¿¨¶ÔÓÚÒ»°ãÈËÀ´ËµºÜÉÙ»áÈ¥Óõ½¡£ËùÒԴ󲿷ֵÄÈËÕâÏîÊÇÑ¡NµÄ¡£
#Pocket and portable adaptors------ͨ³£ÓÃÔÚ¿ÉЯʽµÄµçÄÔÉÏ£¬ÕâÀàÐ͵ÄÍøÂ翨£¨¿Ú´üÐ͵ģ©£¬ÓÉÓÚÌå»ýºÜСÔÚ°²×°ºÍÈ¡Ï·½ÃæºÜ·½±ã£¬Òò´Ë±Ê¼Ç±¾Ïà¹ØµçÄÔÉϱ㳣³£²ÉÓÃÕâÖÖÍøÂ翨¡£
#Token Ring driver support------Token RingÊÇ IBMµçÄÔÉϵÄÍøÂç¡£Ëü½ÐÁîÅÆ»·ÍøÂ磬ºÍÒÔÌ«ÍøÂçÊǺÜÀàËƵĶ«Î÷¡£Èç¹ûÄúÏ£ÍûʹÓõÄToken RingÍøÂ翨ÒÔ±ãÁ¬½Óµ½ÕâÖÖÍøÂ磬ÄÇôѡY£¬Ò»°ãÈ˶¼Ñ¡N¡£
12. Amateur Radio support ÒµÓàÎÞÏ߹㲥
¿ÉÒÔÓÃÀ´Æô¶¯ÎÞÏßÍøÂçµÄ»ù±¾Ö§³Ö£¬Ä¿Ç°µÄÎÞÏßÍøÂç¿ÉÒÔͨ¹ý¹«ÖÚƵÂÊ´«ÊäÊý¾Ý£¬Èç¹ûÄãÓдËÀàÉ豸¾Í¿ÉÒÔÆôÓ㬾ßÌåÇë²Î¿¼AX25ºÍHAM HOWTO Îĵµ¡£
#Standard/generic (dumb) serial support-------Ñ¡Ôñ¡°y¡±£¬Äں˽«Ö§³Ö´®Ðпڡ£±ê×¼ÐòÁнӿڵÄÑ¡¶¨¡£Èç¹ûÄúÊÇÓÃserialµÄÊó±ê£¨´ó²¿·ÖµÄÈ˶¼ÊÇÓÃÕâ¸ö£©£¬»òÊÇMODEMµÄ»°£¬ÔòÕâÒ»ÏîÒ»¶¨ÒªÑ¡¡£´ó²¿·ÖµÄÈËÕâÒ»Ïѡy¡£
#Support for console on serial port------Ñ¡Ôñ¡°y¡±£¬Äں˿ɽ«Ò»¸ö´®ÐпÚÓÃ×÷ϵͳ¿ØÖÆ̨¡£
##I2C support------I2CÊÇPhilips¼«Á¦Íƶ¯µÄ΢¿ØÖÆÓ¦ÓÃÖÐʹÓõĵÍËÙ´®ÐÐ×ÜÏßÐÒé¡£Èç¹ûÄãҪѡÔñÏÂÃæµÄVideo For Linux£¬¸ÃÏî±ØÑ¡¡£
#MiceÊó±ê¡£ÏÖÔÚ¿ÉÒÔÖ§³Ö×ÜÏß¡¢´®¿Ú¡¢PS/2¡¢C&T 82C710 mouse port¡¢PC110 digitizer pad------¸ù¾ÝÐèҪѡÔñ¡£·Ç´®ÐеÄÊó±ê£¬Ö§³ÖÏóPS/2¡£¿´Ò»¿´ÄãÊó±êµÄ¼ü¡£Ðí¶àË«¼üÊó±êÊÇPS/2£¬¼´Ê¹ËüÃǵÄÁ¬½Ó¿´ÆðÀ´Ïó´®ÐеÄ.¡£
#Digiboard PC£¯Xx Support------ÕâÊÇÒ»ÕŽРDigiboard PC£¯XX¿¨µÄ driver£¬ÕâÖÖ¿¨ÉÏÃæÓкܶà¸ö serial portµÄ²å²Û£¨Ò»°ãÀ´ËµÖ»ÓÐÁ½¸ö£©£¬¿ÉÒÔÓÃÀ´Á¬½ÓºÜ¶à¸öMODEM£¬ÔÚÃñ¼äµÄBBSÕ¾ºÜ³£Óõ½£¬Èç¹ûÄúÓÐÕâÑùµÄ¶«Î÷£¬Äú±ØÐëÑ¡ÕâÏîΪy¡£ÓÐÐËȤµÄ¶ÁÕß¿ÉÒÔ¶Á¶ÁDocumentation£¯digiboard£®txtµÄÄÚÈÝ¡£
#Cyclades async mux support------ͬÉÏ£¬ÕâÒ²ÊÇÒ»ÖÖÄܽӺܶà¸öserial port²å²ÛµÄ¿¨µÄÇý¶¯³ÌÐò¡£
#Stallion multlport serial support------ͬÉÏ£¬ÕâÒ²ÊÇÆäÖÐÒ»ÖÖ¿¨¡£
#SDL RISCom£¯8 card support------ÕâÒ²ÊÇÆäÖеÄÒ»¸öÖ§³Ömuti£serial¿¨µÄdriver¡£
#Parallel printer support------ÓдòÓ¡»úµÄ»òÊÇʹÓõ½²¢ÐнӿڵÄÈËÕâÒ»ÏîÒ»¶¨ÒªÑ¡¡£³ý·ÇÊÇÓÃserialµÄ´òÓ¡»ú¡£»¹ÓÐÈç¹ûÄúÓÐʹÓÃPLIP£¬ÄÇôÕâÏîÒ²ÇëÑ¡ÉÏ¡£
#Mouse support------´ó²¿·ÖµÄÈËÕâÒ»Ïî²¢²»ÓÃÑ¡y¡£ÒòΪ´ó²¿·ÖµÄÈËÊÇÓÃserialµÄÊó±ê£¬³ý·ÇÓÐЩÈËÊÇÓÃÒ»ÖÖ¸½Óнӿڿ¨µÄÊó±ê£¬ÕâʱÕâ¸öÑ¡Ïî²ÅҪѡÉÏ£¬Èç¹ûÄúÑ¡y£¬Ôòµ×Ï»áÁгöÄúµÄBUSÊó±êËùÓõĽӿڿ¨¡£
#support for user misc device modules------³ý·ÇÄúÓÐËùνµÄ´¥ÃþʽÏÔʾÆ÷»òÊǹâ±ÊµÈ¶«Î÷£¬·ñÔòÕâÒ»ÏîÑ¡n¡£
#Watchdog Timer support------Ò»°ãÈ˲»ÐèÒªÕâ¸öÑ¡ÏÈç¹ûÄúÑ¡ÉÏÕâ¸öÑ¡ÏÔòÄúÒªÓÃmknodÔÚ£¯devϽ¨Ò»¸öwatchdogµÄÎļþ¡£Çë¿´Documentation£¯watchlog£®txtµÄ½âÊÍ¡£
#Enhanced Real Time Clock Support------¹ØÓÚϵͳÉÏClockµÄ¶«Î÷£¬Äú±ØÐë×Ô¼ºÓÃmknodÔÚ£¯dev£¯Ï½¨Á¢Ò»¸öÎļþ½Ðrtc¡£Èç´ËÒ»À´£¬ÔÚ£¯proc£¯Ï½«¿ÉÒÔ¿´µ½rtcµÄÐÅÏ¢¡£ÓйØÓÚrtcµÄÄÚÈÝÇë¿´Documentation£¯rtc£®txt¡£Ò»°ãÊÇÑ¡n¡£
#Kernel automounter support------Ñ¡Ôñ¡°y¡±£¬Äں˽«Ìṩ¶ÔautomounterµÄÖ§³Ö£¬Ê¹ÏµÍ³ÔÚÆô¶¯Ê±×Ô¶¯ mountÔ¶³ÌÎļþϵͳ¡£
#Standard£¨ minix £©------еÄÌ×¼þ²»ÔÙ½¨Á¢ minix Îļþϵͳ£¬¶øÇҺܶàÈ˲»Ê¹ÓÃËü£¬µ«ÊÇ°ÑËüÅäÖÃÔÚºËÐÄÀïÈÔÈ»ÊǸöºÃÖ÷Ò⡣ijЩ¡årescue-disk ¡å ³ÌÐò»áÓõ½Ëü£¬¶øÇÒÈÔÈ»ÓÐÐí¶à´ÅƬ¿ÉÄÜÓà minix Îļþϵͳ£¬ÒòΪ minix Îļþϵͳ¶ÔÓÚ´¦Àí´ÅƬ·½ÃæÊÇ×îºÃµÄ¡£MinixÎļþϵͳͨ³£ÓÃÔÚ´ÅÅÌÉÏ£¬ÓÐʱ»áÓõ½Ëü¡£
#Extended fs ------ ÕâÊÇÀ©³äÎļþϵͳµÄµÚÒ»°æ£¬ÏÖÔÚÒѾ²»ÔÙʹÓá£
#Second extented fs------ÕâÊÇÏÖÔÚз¢ÐеÄÌ×¼þËù¹ã·º²ÉÓõÄÎļþϵͳ£¬Äã¿ÉÄÜ»áÓÐÆäÖÐÒ»ÖÖ¡£Õâ¸öÊÇlinuxÎļþϵͳ£¬ÇëÎñ±ØÑ¡y¡£
#xiafs filesystem-----Õâ¸öÎļþϵͳÔø¾Ò»¶ÈºÜÆձ飬µ«ÊÇÔÚдÕâ·ÝÎļþʱ£¬ÎÒÒѾ²»ÖªµÀÓÐÈκÎÈËÔÚʹÓÃËüÁË¡£
#umsdos£º UNIX like fs on top of std MSDOS FAT fs ------ Èç¹û°ÑLinux×°½øDOSµÄÒ»¸öĿ¼ÏÂÄÇôÄúÔòҪѡÔñÕâÒ»Ïî¡£²»½¨ÒéÕâÑù×ö£¬ÒòΪÈç´ËÒ»À´£¬¾Í²»ÄÜ¿´µ½³¤ÎļþÃûÁË¡£¶øÇÒЧÂÊÉÏ£¬¾®²»ÊǺܺá£
#ums-dos------Ï൱ slick µÄÎļþϵͳ£¬ËüÄÜʹ MS-DOS ÎļþϵͳӵÓиü¶àµÄÌØÐÔ£¬ÏñÊdz¤µµÃûµÈµÈ¡£Õâ¶ÔÄÇЩ²»Ê¹Óà MS-DOS µÄÈË£¨ÏñÎÒ£©²¢²»ÊǺÜÓÐÓá£
#System V and Coherent------ÕâÊÇΪ System V ÒÔ¼° Coherent µÄ·Ö¸îÇø¶øÉèµÄ¡£Èç¹ûÏ£ÍûÖ§³ÖSystem V»òXenixµÄÏà¹ØUNIXϵͳµÄFS²¢¶ÁÈ¡ËüÃǵÄÊý¾Ý£¬ÄÇô²ÅÓбØҪѡÕâ¸ö£¬·ñÔòÒ»°ãÀ´ËµÕâ¸öÑ¡ÏîÊÇÑ¡nµÄ¡£
#Mandatory lock support------ÓÐЩºÜÌØÊâµÄdatabaseÓ¦ÓÃÈí¼þ»áÓõ½Ëü£¬Ò»°ãÈËÕâ¸öÑ¡ÏîÊÇÑ¡n¡£¶øÇÒ£¬Èç¹ûÑ¡yµÄ»°£¬±ØÐëÓÐ×îаæµÄNFSÈí¼þ£¬×îаæµÄsambaÈí¼þµÈ¡£
#NCP filesystem support------NCPÊÇÒ»ÖÖÍøÂçµÄͨѶÐÒ飬ÓÃÔÚÅÜIPXÐÒéÉÏ£¬Ëü¿ÉÒÔÀûÓÃIPXÐÒéÈÃÁ½Ì¨µçÄÔÖ®¼äµÄÎļþ¹²Ïí£¬²¢×ö¹µÍ¨¡£Èç¹ûÄúÏë¹ÒÉÏÓйØNovellµÄNetwareÎļþϵͳ£¬ÄÇôÕâ¸öÑ¡Ïî¾ÍÑ¡ÉÏÈ¥°É¡£
#£¯dev£¯dsp and£¯dev£¯audio support------ Õâ¸öÑ¡Ïîͨ³£ÊDZØÒªµÄ¡£Òò´Ë´ó²¿·ÖµÄÈËÑ¡y£¬Èç¹ûûÓÐÕâÑ¡ÏÔòºÜ¶àµÄÓÎÏ·½«Ã»ÓÐÉùÒôЧ¹û¡£
#MIDI interface support------Ö§³ÖMIDI½çÃæ¡£
#I£¯O base for SB Check from manual of the card------Éù¿¨µÄI£¯OµØÖ·¡£À¨ºÅÊdz£ÓõÄÑ¡Ïî¡£
#Sound Blaster IRQ Check from manual of the card-----Éù¿¨µÄIRQ£¬Í¨³£ÊÇ1»ò5¡£
#Sound Blaster DMA 0£¬1 for 3-----Éù¿¨µÄDMA£¬Í¨³£ÊÇ1¡£
#Sound Blaster 16 bit DMA 5£¬ 6 or 7£¨usel for 8 bitcards£©£¨SB£®DMA2£©-----5
##Additional low level drivers------ÈçÓÐÆäËûÖÖÀàµÄÉù¿¨£¬ÔòÕâÏîҪѡÉÏÈ¥£¬ÒÔÏ»áÁгöÆäËûµÄÉù¿¨¹©Ñ¡Ôñ¡£
kernel profiling support(v1.3)
Õâ¸öÑ¡Ïî¿ÉÒÔ¿ªÆôÄÚºË×öЧÂÊͳ¼ÆµÄ¹¦ÄÜ£¬²¢ÇÒ»áÌṩÆäËûÔÚΪ
ϵͳÕì´íʱÓÐÓõÄÐÅÏ¢¡£ÕâЩ¹¦ÄÜ»áÐèÒª¸¶³öһЩ´ú¼Û²¢Ôì³Éϵ
ͳִÐеýÏΪ»ºÂý£¬³ý·ÇÄãÕýÔÚÑо¿Äں˵Äij¸öÎÊÌ⣬·ñÔòÄãÓ¦
¸Ã»Ø´ðN¡£
21. Kernel hacking°²È«Ä£Ê½
ͨË×µÄ˵£¬ÕâÊÇwindows°²È«Ä£Ê½,ÕÒ²»µ½Ã÷È·½âÊÍ£¬¾ÍÒýÓÃÕâ¸ö˵·¨¡££¾ÕâÊÇ´Ó LinusµÄREADMEÀïժ¼µÄ£º¡åkernel hacking ¡åÅäÖõÄϸ½Úͨ³£»á²úÉúÒ»¸ö¸ü´ó»òÊǸüÂýµÄºËÐÄ£¨»òÕßÊÇÓÖ´óÓÖÂý£©£¬¶øÇÒ¿ÉÄÜÒòΪ½«Ò»Ð©³£Ê½ÅäÖóɺܻîÔ¾µØÈ¥³¢ÊÔÖжÏһЩ²»Á¼µÄ³ÌÐòÂëÒÔ±ãÕÒ³öºËÐÄÀïµÄÎÊÌ⣬¶øʹµÃºËÐıäµÃ±È½Ï²»Îȶ¨¡£ËùÒÔÒª²úÉúÒ»¸öºËÐÄ¡å²úÆ· ¡åµÄ»°£¬ÄãÔÚÕâ
#shutdown -r now
²»½¨ÒéʹÓÃÈÈÆô¶¯»òctrl+Alt+del¼ü¡£ÔÚһЩÇé¿öÏ£¬Îļþϵͳ²»ÍêȫжÔÔ»áË𻵴ò¿ªµÄÎļþ¡£Èç¹ûÄãû¿´¼ûÆô¶¯Ìáʾ£¬Äã¿ÉÒÔÊÔÓÃshift»òctrl¼ü£¬ÕâÑùÆô¶¯Ìáʾ¾Í³öÏÖÁË¡£Ò»µ©³öÏÖ£¬°´tab¿´ºËÐıêÇ©¡£ÊäÈë±êÇ©ºÍ¿ÉÑ¡²ÎÊýÆô¶¯¡£ÔÚ»úÆ÷ÖØÆôºó³öÏÖLILOʱ°´TAB¼ü£¬ÊäÈëlinux2.6.5£¬ÐÂÄں˷¢»Ó×÷ÓÃÁË¡£
ÒÔÌ«ÍøµÄĬÈÏÖµÊÇPCIµÄÒÔÌ«Íø¿¨£¬¶Ône2000µÄĬÈÏÖ§³Ö·½Ê½ÊÇbuild-in£¬¼´Ã»ÓÐÉè³ÉÄ£¿é£¬ËùÒÔÈç¹ûÄãµÄÍø¿¨ÊÇISAµÄ£¬ÄÇôÎñ±ØҪѡÔñÆäÖеÄother ISA card£¬×îºÃ°ÑPCI intel proÑ¡ÏîÈ¥µô£¬ÁíÍâ°Ñne2000 supportÑ¡Ïî¸Ä³Émodule¡£