ºìÁªLinuxÃÅ»§
Linux°ïÖú

Äں˱àÒë¹ý³Ì[×îÐÂ2.6.38-rc4ÄÚºË][Fedora14][3ÔÂ24ÈÕ¸üÐÂ]

·¢²¼Ê±¼ä:2011-02-17 16:32:23À´Ô´:ºìÁª×÷Õß:pallana
[i=s] ±¾Ìû×îºóÓÉ pallana ÓÚ 2011-3-24 15:29 ±à¼­ [/i]

Ç°¼¸Ìì¿´µ½ÂÛ̳ÖнéÉÜUbuntu°²×°ÁË2.6.37ºÍ2.6.38Äں˵ÄÌû×ÓUbuntu10.04&10.10°²×°×îÐÂkernel 2.6.37&2.6.38£¬ÐÄÖÐÒ²±»¼¤¶¯ÆðÀ´ÁË£¬ÓÚÊÇ¿ªÊ¼½øÐÐÄں˵ıàÒë¡£ÎÒµÄϵͳÊÇFedora14,û·¨Ö±½ÓʹÓÃUbuntuµÄ·½·¨À´±àÒ룬ËùÒÔÎÒ±ØÐëÒªÕÒÒ»¸öͨÓõķ½·¨£¬¾­¹ýËÑË÷£¬Ì½Ë÷£¬»¹Óкܶà´ÎµÄ³¢ÊÔ£¬ÎÒÖÕÓÚ±àÒë³É¹¦ÁË¡£
ÒòΪÎÒÍø·ÉÏËÑË÷µ½µÄ¶¼ÊÇ»ùÓڱȽÏÔçµÄÄں˰汾µÄ°²×°·½·¨£¬¶øÎÒÔÚ±àÒë×îÐÂÄں˵Äʵ¼ù¹ý³ÌÖз¢ÏÖºÍËûÃǵķ½·¨ÓÐËù²»Í¬£¬ËùÒÔÎÒ±ØÐëҪдһ¸ö²½Öè³öÀ´£¬ÒÔ·½±ãµÚÒ»´Î±àÒëµÄ¸÷λ¡£
½éÉÜÒ»ÏÂÎҵijɹû£º2.6.26.2ÊÇÎÒµÚÒ»¸ö±àÒë³É¹¦µÄÄںˣ¬È»ºóÊÇ2.6.37,½ñÌì°Ñ2.6.38-rc4Ò²±àÒëÍê³É£¬¶øÇÒÏÖÔÚÎÒ¾ÍÓÃ2.6.38-rc4ÄÚºË[code]localhost ~$ uname -a
Linux localhost 2.6.38-rc4 #2 SMP Thu Feb 17 00:59:51 CST 2011 i686 i686 i386 GNU/Linux[/code]SMP Thu Feb 17 00:59:51 CST 2011ÏÔʾ³öÎÒÊÇ°ëÒ¹±àÒëÍê³ÉµÄ¡£

ÌáÐÑÒ»µã£º
Äں˱àÒëÊÇÒ»¼þ±È½ÏΣÏÕµÄÊÂÇ飬Èç¹ûÄã´¦ÓÚ³õ½Ó´¥Linux£¬¾ÍÈçÎÒ°ëÄêÇ°¸Õ½Ó´¥LinuxʱµÄˮƽ£¬»¹ÊǾ¡Á¿ÉÙ³¢ÊÔ×Ô¼º±àÒëÄںˣ¬ÏÈÊìϤϵͳʹÓÃΪºÃ¡£µ«ÊÇʲôÑùµÄˮƽ¿ÉÒÔ±àÒëÄÚºËÁËÄØ£¿Ò»¸öºÜºÃµÄˮƽ²âÊÔ¾ÍÊÇ£ºÈç¹ûÄãÄÜ¿´¶®ÎÒµÄÎÄÕ£¬Äã¾õµÃÎÒ½ÓÏÂÀ´Ð´µÄÿһ¸ö²¿·Ö¶¼Äܹ»ºÜºÃµÄÀí½â£¬ÎÒËùʹÓõÄÿһ¸öÃüÁîÄ㶼»áʹÓã¬ÄÇôÄã¾Í¿ÉÒÔ×Ô¼º³¢ÊÔ×űàÒëÁË£¬·ñÔò£¬×îºÃ²»Òª³¢ÊÔ¡£

Ê×ÏÈ×ÅÊÖÕÒ×ÊÁÏ£¬ÉÏÍøÒ»ËÑ¡°Äں˱àÒ롱£¬ËѳöÀ´ºÜ¶àÎÄÕ£¬ÒÔÏÂÊÇÎҵIJο¼ÎÄÕ£º
ÈçºÎÄں˱àÒë¹ý³Ì£º
http://www.cnblogs.com/huangwei/archive/2010/04/27/1722052.html
http://blog.sina.com.cn/s/blog_5f4a198d0100jpna.html
½ð²½¹úµÄÄÚºËÏê½â£º(2.6.19Äںˣ©
http://lamp.linux.gov.cn/Linux/kernel_options.html
ubuntuϵͳ±àÒëÄںˣ¬ÌṩÁËÄں˾«¼ò·½·¨ºÍ2.6.28ÄÚºËÅäÖÃ×ÊÁÏÏÂÔØ£¬ÍƼö£º
http://forum.ubuntu.org.cn/viewtopic.php?t=110461
ÁíÍâÕâÀïÒ²ÓÐһƪ¹ØÓÚÄں˱àÒ룺
http://www.360doc.com/content/10/1024/23/2124912_63719892.shtml

ÒÔÉÏÕâЩ¶¼ÊÇÎÒÔÚÍøÉÏËÑË÷µÄ×ÊÁÏ£¬¹ØÓÚÄں˵ıàÒë»ù±¾·½·¨ºÍÔ­ÀíÒÔ¼°»ù´¡µÄ½éÉÜ£¬Çë´ó¼Ò¿´ÉÏÃæµÄÎÄÕ£¬ÎÒÕâÀïÖ»½éÉÜÎÒ×Ô¼º±àÒëÄں˵Ĺý³ÌÒÔ¼°³öÏÖµÄһЩÎÊÌâºÍ½â¾ö·½·¨¡£
ÒÔÏÂÒÔÎÒ¸Õ¸Õ±àÒë³É¹¦µÄ2.6.38-rc4ΪÀýÀ´Ëµ£¬2.6.26.2ºÍ2.6.37¶¼ÊÇÏàͬµÄ·½·¨¡£
1.×¼±¸¹¤×÷
Ê×ÏÈÊDZàÒë»·¾³µÄ´î½¨£¬Õâ¸öÎÒûÓÐʲôºÃµÄ½¨Òé¡£ÔÚFedoraÏÂÊÇʹÓÃÒ»¸öÃüÁî¸ã¶¨µÄ¡£[code]sudo yum install gcc gcc-c++ *aclocal [/code]ÆäËûµÄ°æ±¾Ö»Óи÷λ×ÔÐÐËÑË÷Ïà¹Ø·½·¨¡£
Èç¹ûÄã°²×°ÁËÏÔ¿¨Çý¶¯£¬»¹ÐèÒªµ½¹Ù·½ÍøÕ¾ÉÏÏÂÔØ×îеÄÇý¶¯£¬·ÅÔÚÒ»¸ö·½±ãµÄλÖñ¸Óã¬È磺~/ Ŀ¼Ï¡£×¢Òâ²»Òª·ÅÔÚÖÐÎÄ·¾¶Ï£¬ÒòΪÎÒÃÇÐèÒªÔÚÎı¾Ä£Ê½Ï°²×°Çý¶¯£¬Îı¾Ä£Ê½¶ÔÖÐÎÄÖ§³Ö²»ÊǺܺá£ÈôûÓа²×°ÏÔ¿¨Çý¶¯£¬¾Í²»ÐèÒªÕâ²½¡£
ÏÂÔØÄãÏëÒª±àÒëµÄÄںˣ¬È»ºó½âѹ¡£´ò¿ªÖնˣ¬½øÈëÄں˽âѹºóµÄĿ¼£¬Èç[code]@localhost linux-2.6.38-rc4$ [/code]±àÒëĿ¼ËùÔڵķÖÇøÊ£Óà¿Õ¼ä²»ÄÜ̫С£¬²»Òª¿´ÏÂÔصÄÎļþÖ»ÓÐ70M×óÓÒ£¬ÎÒµÄ2.6.38-rc4ÔÚ±àÒëÍê³ÉºóÕû¸öÎļþ¼Ð´ïµ½3.5G£¬ËùÒÔ±£Ö¤5GµÄÊ£Óà¿Õ¼äÊDZØÐëµÄ¡£ÎÒ¾ÍÔÚÏ룬Õâô¶à¶«Î÷´ÓÄÄÀïÀ´µÄÄØ£¿LinuxÕæµÄ²»¿É˼Òâ°¡¡£
ÔÚÕâÀï²»½¨Òé°ÑÔ´Âë½âѹµ½/usr/srcĿ¼£¬½âѹµ½Óû§Ä¿Â¼Àï±È½ÏºÃ¡£ÈçÎÒµÄ~/download/linux-2.6.38-rc4Ŀ¼£¬ÒòΪÔÚ/usr/srcĿ¼»á¸øµ±Ç°ÏµÍ³Ôì³ÉһЩ²»Îȶ¨ÒòËØ¡£
2.¸´ÖÆÔ­ÏÈÄں˵ÄÅäÖÃÎļþ
ÒòΪÄں˵ÄÅäÖÃÑ¡ÏîºÜ¶à£¬ÎÒÃǵÚÒ»´ÎÅäÖõÄʱºî²»ÖªµÀÐèҪʲô£¬×îºÃÓÐÒ»¸öÄ£°å¡£Linuxϵͳ¸øÎÒÃDZ£´æÁËÒ»¸öÄ㵱ǰʹÓÃÄں˵ÄÅäÖã¬Èç¹ûÄ㵱ǰµÄϵͳһÇÐÕý³££¬Ó²¼þÒ²¹¤×÷Õý³££¬ÄÇôÕâ¸öÄں˵ÄÅäÖþÍÊÇÕýÈ·µÄ£¬ÎÒÃÇ¿ÉÒÔÖ±½ÓʹÓá£Õâ¸öÄÚºËÅäÖÃÎļþÔÚ/boot/Ŀ¼ÖУ¬ÈçÎҵĵ±Ç°ÄÚºËÊÇ2.6.35.11-83.fc14.i686 £¬ÄÇôÅäÖÃÎļþ¾ÍÊÇconfig-2.6.35.11-83.fc14.i686£¬ÕâÊÇÎÒʹÓÃÔ´Éý¼¶Äں˵Ä×îеİ汾¡£ÎÒÃÇ°ÑÕâ¸öÎļþ¸´ÖƵ½Ô´Âë¸ùĿ¼ÖУ¬²¢ÖØÐÂÃüÃûΪ.config¡£[code]localhost linux-2.6.38-rc4$ cp /boot/config-2.6.35.11-83.fc14.i686 ./.config[/code]3.ÅäÖÃÄÚºË
Ö´ÐÐÃüÁ[code]make menuconfig[/code]Èç¹ûÌáʾȱÉÙʲô£¬Ôò°²×°È±ÉٵIJå¼þ¡£
ÈçÎÒµÚÒ»´ÎÖ´ÐеÄʱºîÌáʾÈçÏÂ[code]*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] ´íÎó 1
make: *** [menuconfig] ´íÎó 2[/code]ȱÉÙncurses-devel£¬Ô´ÀïÃæ°²×°¾Í¿ÉÒÔÁË¡£[code]sudo yum install ncurses-devel[/code]Èç¹ûÄãµÄϵͳ»¹È±ÉÙÆäËûµÄ¶«Î÷£¬¸ù¾ÝÌáʾ°²×°¼´¿É¡£µ±Ò»ÇÐÕý³£ºó£¬Ôò½øÈëÏÂÃæµÄ½çÃæ

[attach]33728[/attach]

Õâ¾ÍÊÇÎı¾µÄͼÐÎÅäÖýçÃ棬Èç¹ûÐèÒªÅäÖÿÉÒÔ¸ù¾ÝÉÏÃæÎÒ¸øµÄÍøÖ·ÏÂÔØÁõÉÙÏÀµÄ2.6.28ÖÐÎÄÊÖ²á»òÕ߽𲽹úµÄ×ÊÁÏÀ´¿´£¬ÕâÀïÎÒÃÇÖ±½Ó°´Ïòϼüµ½×îºó£¬
ÈçÏÂͼ£º

[attach]33729[/attach]

Ñ¡ÔñLoad an Alternate Configuration File £¬°´Enter¼üºóÈçÏÂͼ£º


[attach]33730[/attach]
Õâ¾ÍÊÇÎÒΪʲôÉÏÃ渴ÖÆÅäÖÃÎļþµÄʱºîÖØÃüÃûΪ.configµÄÔ­ÒòÁË¡£Ö±½Ó»Ø³µ¼´¿Éµ÷ÈëÎÒÃǸոո´ÖƹýÀ´µÄÅäÖÃÎļþ¡£
»Øµ½ÉÏÃæµÚÒ»¸ö½çÃ棬Ȼºó°´Á½´ÎESC¼üÍ˳öÅäÖã¬ÔÚÍ˳ö֮ǰ»áÌáʾÄãÊÇ·ñ±£´æ£¬ÈçÏÂ

[attach]33731[/attach]

×ÔȻҪ±£´æÁË£¬Ñ¡Ôñ °´Enter¼ü¼´¿É¡£ºÃÁË£¬ÎÒÃǵÄÄÚºËÅäÖÃÒѾ­Íê³É£¬½ÓÏÂÀ´¾ÍÊǼ¸¸öÃüÁîµÄÎÊÌâÁË¡£
4. Ö´ÐÐmakeÃüÁʼ½øÐбàÒë
Èç¹ûÊǵÚÒ»´Î±àÒëÄںˣ¬Ö±½Ómake¾Í¿ÉÒÔÁË£¬Èç¹û±àÒë¹ýÒ»´Î£¬ÄÇô¾ÍÊ×ÏÈmake clean Çå³ýÉϴαàÒëÎļþ£¬ÔÙÀ´make¡£
ÈôÊÇÐÞ¸ÄÁËÅäÖã¬Ôö¼ÓÁ˼¸¸öÄ£¿é£¬¿ÉÒÔ²»ÓÃmake clean£¬Ö±½Ómake £¬makeÃüÁî»á×Ô¶¯µÄÖ»±àÒëбä¸üµÄ²¿·Ö£¬¿ÉÒÔ½ÚÔ¼ºÜ¶àʱ¼ä¡£
ÕâÒ»²½ÉÏÃæµÄÎÄÕ¶¼Ìáʾ»¹ÓÐÆäËûµÄÃüÁµ«ÊÇÎÒÔÚʵ¼ùµÄʱºîÖ»ÓÃmake¾Í¿ÉÒÔÁË£¬Ò²ÐíÊÇÄں˰汾²î±ð°É¡£

Âþ³¤µÄµÈ´ý¡£¡£¡£¡£¡£µÈ´ýµÄʱ¼äÈ¡¾öÓÚÄãµÄ»úÆ÷¡£

ÔÚÕâµÈ´ýµÄ¹ý³ÌÖнéÉÜÒ»¸öС֪ʶ£º
makeÃüÁîÓÐÒ»¸öÑ¡Ï-j£¬¿ÉÒÔ°ÑÈÎÎñ·Ö³É¶à·Ý£¬·ÖÅäÔÚ²»Í¬µÄ´¦ÀíÆ÷ÉÏ£¬¼ÓËÙ±àÒë¹ý³Ì¡£Èç¹ûÄãÊÇË«ºË´¦ÀíÆ÷£¬ÔòʹÓÃmake -j4 ,¶ÔÓÚËĺ˴¦ÀíÆ÷£¬Ê¹ÓÃmake -j8 £¬Êý×ÖÖ»ÒªÊÇ´¦ÀíÆ÷ºËÐÄÊýÄ¿µÄÁ½±¶¾ÍºÃ¡£µ«ÊÇ×¢ÒⲻҪʹÓà make -j £¬ºóÃæûÓÐÈκÎÊý×Ö£¬Èç¹ûÕâÑù£¬ÄÇômake»áΪÄÚºËÔ´ÂëÖÐÿ¸ö×ÓÎļþ¼Ð´´½¨Ò»¸öÐÂỊ̈߳¬·Ç³£ÇáÒ׵ľÍÄÜÈÃÄãµÄ¼ÆËã»úÍ£Ö¹ÏìÓ¦£¬È»ºóÄã»á»¨·Ñ¸ü¶àµÄʱ¼äÀ´Íê³É±àÒ룬ÇмÇÇмǡ£
makeÃüÁî²»ÒªÓÃrootÓû§À´Ö´ÐУ¬¶øÇÒÒ²²»ÐèÒªrootȨÏÞ£¬·ñÔò»áµ¼ÖÂһЩÎļþȨÏÞµÄÎÊÌâ¡£ÔÚÕû¸ö¹ý³ÌÖУ¬Ö»ÓкóÃæµÄÁ½Ìõ°²×°Ö¸ÁîÐèÒªsudoÀ´Ö´ÐУ¬ÆäËûµÄ¶¼²»ÐèÒªµÄ¡£
5.°²×°ÄÚºËÄ£¿éºÍÄÚºË
Ö´ÐÐÃüÁî[code]sudo make modules_install [/code]°²×°Ä£¿é
Ö´ÐÐÃüÁî[code]sudo make install[/code]°²×°Äںˡ£
ÎÒÔÚµÚÒ»´ÎÖ´ÐÐsudo make install ÃüÁîµÄʱºî³öÏÖÁËÈçÏÂÐÅÏ¢£º[code]Running DKMS auto installation service for kernel 2.6.38-rc4

vboxhost (4.0.0): Installing module.
.......(bad exit status: 10)
Build failed. Installation skipped.
Failed.[/code]´ÓÕâÀï¿ÉÒÔ¿´µ½ÐèÒªDKMS£¬ÈôûÓУ¬ÇëʹÓÃÃüÁî[code]sudo yum install dkms [/code]À´°²×°¡£
ÁíÍâÕâ¸övboxhost(4.0.0)µÄÌáʾÊÇÒòΪÎÒ°²×°ÁËVirtualBox4.0µÄÔµ¹Ê£¬Ê×ÏÈҲҪжÔصôVirtualBox²ÅÐУ¬Èç¹ûÄãûÓа²×°VirtualBox¾Í²»ÓùÜÁË¡£ºÜ¶àÈËʹÓÃVMareÆäËûÐéÄâ»ú£¬ÈôÊÇÌáʾÐéÄâ»úÓгåÍ»£¬Ò²ÐèÒªÏȽâ¾ö³åÍ»ÔÙ°²×°Äںˡ£
ÕâÀïҪעÒâÒ»µã£¬ÉÏÃæµÄÎÄÕÂÌáʾ²ÉÓÃÆäËûµÄÃüÁîÀ´°²×°Äںˣ¬»òÕßÊÇ»¹ÒªÖ´ÐÐʲôÃüÁµ«ÊÇʵ¼ù¸æËßÎÒ£¬²»ÐèÒª£¬ÆäËûµÄʲô¶¼²»ÐèÒª¡£Ö»ÒªÁ½ÌõÃüÁî¾Í¿ÉÒÔ°²×°ºÃ¡£
µ±Äã¿´µ½[code]Running DKMS auto installation service for kernel 2.6.372.6.38-rc4[/code]µÄÌáʾÐÅÏ¢ºóÃæûÓÐÆäËûÐÅÏ¢µÄʱºî£¬Äں˾Ͱ²×°³É¹¦ÁË¡£
6.ÏíÊÜÄãµÄÄÚºË
ÈôûÓа²×°ÏÔ¿¨Çý¶¯£¬Ôò¿ÉÒÔÖ±½ÓÖØÐÂÆô¶¯ÏµÍ³£¬GRUBÖÐÑ¡ÔñÐÂÄں˽øÈëϵͳ£¬Äã¾Í¿ÉÒÔÏíÊÜÄãµÄÐÂÄÚºËÁË¡£µ«ÊÇÈç¹ûÄã°²×°ÁËÏÔ¿¨Çý¶¯£¬Çë²»ÒªÖ±½ÓÖØÆô£¬¶øÒª½øÐÐÏÂÃæÒ»²½£º
7.½â¾öÏÔ¿¨Çý¶¯
ÐÞ¸ÄÆô¶¯Ä£Ê½£º[code]sudo vi /etc/inittab[/code]ÕÒµ½×îºóÒ»ÐÐÐÞ¸Ä[code]id:5:initdefault:[/code]Ϊ[code]id:3:initdefault:[/code]±£´æºóÖØÆô»úÆ÷£¬Ñ¡ÔñÐÂÄں˽øÈë¡£Èç¹ûÄãÄܹ»Ë³ÀûµÄ¿´µ½[code]Login£º[/code]Õâ¸öÌáʾ£¬ÄÇô¹§Ï²Ä㣬ÄãµÄÐÂÄں˰²×°³É¹¦ÁË£¬Èç¹û²»ÐУ¬ÖØÐÂÆô¶¯»ú Æ÷£¬Ñ¡Ôñ¾ÉÄں˽øÈ룬ÔÙ´ÎÐÞ¸ÄÉÏÃæµÄ/etc/inittabÎļþ£¬ÐÞ¸ÄΪģʽ5,ÀûÓþÉÄں˵ÄͼÐνçÃæ½øÈëϵͳ£¬ÖØнøÐбàÒë°²×°¡£Ö±µ½³É¹¦½øÈëÐÂÄںˡ£
µ±ÄãÓÃÎı¾Ä£Ê½½øÈëÐÂÄں˺ó£¬Ê×ÏÈ°²×°°²×°ÏÔ¿¨Çý¶¯£¬°²×°ÍêÏÔ¿¨Çý¶¯£¬ÔÙ°ÑÉÏÃæµÄ3¸ÄΪ5,ÖØÐÂÆô¶¯»úÆ÷£¬ÀûÓÃÐÂÄں˽øÈëͼÐνçÃæµÄÐÂϵͳ¡£Èç¹û¾ÉÄں˰²×°ÁËÏÔ¿¨Çý¶¯¶øÐÂÄں˲»°²×°µÄ»°£¬ÊÇû°ì·¨ÓÃÐÂÄں˽øÈëͼÐνçÃæµÄ£¬ËùÒÔÇ°ÃæÎÒÃÇÐèÒªÔ¤ÏÈÏÂÔØÏÔ¿¨Çý¶¯¡£FedoraÏÂÉý¼¶Äں˺óÈçºÎ°²×°NvidiaÏÔ¿¨Çý¶¯Çë¿´ÎÒµÄÁíһƪÌû×Ó FedoraÉý¼¶Äں˺óNvidiaÏÔ¿¨Çý¶¯ÎÊÌâ½â¾ö
µ±ÄãÄܹ»½øÈëͼÐνçÃæµÄÐÂÄں˺󣬾ͱíʾÄãÒѾ­³É¹¦ÁË¡£
8,ÐÞ¸ÄĬÈÏÆô¶¯ÄÚºË
µ±ÎÒÃDzâÊÔÐÂÄÚºËÍêÈ«¿ÉÒÔʹÓú󣬾ͿÉÒÔÐÞ¸ÄGRUB£¬°ÑÐÂÄÚºË×÷ΪĬÈϵÄÆô¶¯ÄÚºËÁË£¬Ð޸ķ½·¨£º
sudo vi /boot/grub/grub.conf
°Ñdefault=1ÐÞ¸ÄΪdefault=0,
ÎÒÃÇ°²×°ÐÂÄں˺ó£¬makeÃüÁî»á×Ô¶¯µÄÐÞ¸ÄGRUB£¬°ÑÆô¶¯Ñ¡Ïî¼Ó½øÀ´£¬¶øÇÒĬÈϵÄÄں˻¹ÊÇÄãÒÔÇ°µÄ¾ÉÄںˣ¬ÔÙ´ÎÔÞÃÀÒ»ÏÂLinux¡£Êµ¼ÊÉÏÎÒµÄÕâÀïÊÇdefault=2,ÒòΪÎÒ±àÒë¹ýÁ½¸ö°æ±¾µÄÄںˡ£
Íê³ÉÁËÉÏÃæµÄ²½Ö裬Äã¿ÉÒÔÏíÊÜÄãµÄÐÂÄÚºËÁË¡£

×ܽáÏÂÀ´£¬Ö´ÐеÄÃüÁî¾ÍÊÇ[code]make menuconfig
make
sudo make modules_install
sudo make install[/code]²»ÐèÒªÖ´ÐÐÆäËûµÄÃüÁÕâÊÇÎÒµÄÄں˱àÒë¹ý³Ì¡£×¢ÒâÕâЩָÁÊÇÓÃÆÕͨÓû§Éí·ÝÖ´Ðеģ¬Çë²»Òª³¢ÊÔrootÓû§Ö´ÐÐÕâЩָÁî¡£

Ìâºó»°£ºÖªÊ¶À´×ÔÓÚʵ¼ù£¬ÎÞÂÛ×öʲô£¬Êµ¼ù¾ÍÊÇ×îºÃµÄÀÏʦ¡£ÎÒ´Ó½Ó´¥LinuxÒÔÀ´Ò»Ö±ÔÚ²»Í£µÄ³¢ÊÔ£¬ÕÛÌÚϵͳ£¬È»ºóÎÒ·¢ÏÖÔÚ²»Öª²»¾õÖкܶà¸ÅÄî»òÕßËùνµÄ֪ʶ£¬¶ÔÓÚÎÒÀ´Ëµ²»ÔÙÊÇʲôÄÑÌâÁË¡£×òÌìÍíÉ϶ÔÕÕ×ÅÁõÉÙÏÀµÄ2.6.28ÖÐÎÄÊÖ²á´ÓÍ·µ½Î²¿´ÁËÒ»±é£¬È»ºóÅäÖóöÀ´Ò»¸ö°²×°ºóû·¨Õý³£¹¤×÷µÄÄںˡ£ºóÀ´Ê¹ÓþÉÄں˵ÄÅäÖÃÎļþ²ÅÍêÈ«±àÒë³É¹¦¡£µ«ÊÇ¿´ºóÎÒ·¢¾õ¶ÔÓÚÄں˵ÄÅäÖÃÓÐÁ˽øÒ»²½µÄÈÏʶ¡£½ñÌìÉÏÎç¿´µ½ÎÒÒÔÇ°ÂòµÄÒ»±¾Ê顶Linux Äں˼¼ÊõÊֲᡷGreg Kroab-Hartman±àÖø£¬Âí¿¥ ÀîÝ· Ðí˹ÇÅ Òë £¬ÖйúµçÁ¦³ö°æÉç³ö°æ£¬2010Äê6Ô¸ճö°æ£¬Àý×ÓÊÇ2.6.30Äںˡ£ÎҲŷ¢¾õÕâ±¾Êé¾ÍÊǽ²Äں˱àÒëµÄ£¬¶øÎÒ¼¸¸öÔÂÇ°ÂòÀ´µÄʱºî¸ù±¾¿´²»¶®£¬ÏÖÔÚÀ´¿´Ò»Ä¿ÁËÈ»£¬ÒòΪÎÒʵ¼ù¹ýÁË¡£ÍƼöÏë½øÐÐÄں˱àÒë»òÕßÊÇÐèÒªÉæ¼°Äں˵Äͬ־ÂòÕâ±¾Êé¡£Èç¹ûÎÒÔٴαàÒëÄں˵Ļ°£¬¾ÍÊǸúÎҵļÆËã»úÓ²¼þÍêÈ«Æ¥ÅäµÄÄÚºËÁË£¬²»ÒªÈκÎÒ»¸ö¶àÓàµÄÇý¶¯¡£
ÔÚÎÒ½øÐÐÄں˱àÒëµÄ¹ý³ÌÖУ¬±Ê¼ÇÈí¼þ°ïÁËÎҺܴóµÄ棬ÎÒ°Ñÿһ²½µÄ²Ù×÷ºóµÄÌáʾÐÅÏ¢¶¼¸´ÖƵ½±Ê¼ÇÈí¼þÖмǼÏÂÀ´£¬È»ºó½øÐÐ×ܽᣬÎÒÄÜд³öÕâƪ£¬±Ê¼ÇÈí¼þ¹¦²»¿Éû¡£ÍƼöʹÓñʼÇÈí¼þ½øÐÐѧϰ£¬µãÕâÀï²é¿´ÎÒ¸ø³öµÄÓйرʼÇÈí¼þµÄ½¨Òé¡£ÔÚ±¾ÎÄ¿ªÍ·¸ø³öµÄ²Î¿¼ÍøÒ³ÉϵÄÄÚÈÝ£¬±»È«²¿±£´æµ½ÎҵıʼÇÖÐÁË£¬Õâ¸öÒ²ÊÇÎÒËѼ¯×ÊÁϵÄÒ»¸ö·½·¨¡£×ÊÁÏËѼ¯¹éÀ࣬ÊÇѧϰµÄºÃ·½·¨¡£
Ï£Íû¶ÔÓÚÔĶÁµÄÈËÓÐËù°ïÖú¡£

2011Äê02ÔÂ18ÈÕ ÐÇÆÚÎå 09ʱ38·Ö20Ãë
½ñÌìÎÒ±àÒëµÄʱºîʹÓÃÁËmake -j4 £¬È»ºó¾Í·¢ÏÖË«CPU¸ºÔØÊÇ100%£¬µ«ÊÇÎÒ»¹¿ÉÒÔÉÏÍø£¬¿ªshutter½Øͼ£¬ÐÞ¸ÄÕâƪÎÄÕ£¬Ã»ÓÐÈκ層úµÄ±íÏÖ¡£ÕæÏàÈçÏÂͼ
[attach]33732[/attach]
Çë¸÷λÔÚÓöàºË´¦ÀíÆ÷µÄʱºî²»ÒªÀË·ÑÁË×ÊÔ´

2011Äê03ÔÂ24ÈÕ ÐÇÆÚËÄ 15ʱ23·Ö06Ãë
½ñÌìÎÒÔٴο´ÁõÉÙÏÀµÄÄÚºËÅäÖ÷­ÒëÊֲᣬ²Å·¢ÏÖÊֲῪͷ¾Í˵¿ÉÒÔÓà H ¼ü´ò¿ª°ïÖúÎļþµÄ¡£¶øÎÒÖ±µ½ÏÖÔڲŷ¢ÏÖÕâ¸öÌáʾµÄ×÷Óá£
make menuconfigʱ£¬¶ÔÓÚÿ¸öÅäÖ㬶¼ÊÇ°´Ï H ¼ü£¬È»ºó¾Í»á¿´µ½ÏµÍ³×Ô´øµÄ°ïÖúÎļþ£¬¶ÔÓÚÕâ¸öÑ¡ÏîµÄ˵Ã÷¡£
µ±È»ÊÇÓ¢Îĵģ¬²»¹ý¿ÉÒÔʹÓÃÐǼÊÒëÍõÀ´»®´Ê·­Ò룬¿´µÄʱºòÒ²²»ÊǺÜÄÑÀí½â¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 27 ÌõÆÀÂÛ

  1. yt20090291 ÓÚ 2012-07-08 17:43:39·¢±í:

    ding

  2. hailiang0208 ÓÚ 2011-11-21 15:09:53·¢±í:

    Õæ²»´í¹þ~

  3. smallQ_nj ÓÚ 2011-04-28 11:38:16·¢±í:

    Õý×¼±¸×Ô¼º±àÒëÄØ£¬¸Ðл¸Ðл~~

  4. pallana ÓÚ 2011-04-24 17:38:18·¢±í:

    24# cikee


    Äں˵ÄÅäÖ㬿ÉÒÔдһ±¾ÊéÁË¡£
    Èç¹ûÐèÒª£¬¿ÉÒÔÈ¥ÏÂÔصç×ÓÊé»òÕßÂòÊé¼®À´¿´£¬ÎÒÎÄÕÂÀïÒ²ÍƼöÁ˼¸±¾µÄ¡£

  5. cikee ÓÚ 2011-04-24 16:04:04·¢±í:

    Äں˵ÄÅäÖÃÄÄÀïºÃÏñÂÔ¹ýÁËÄØ

  6. zhuxiufenghust ÓÚ 2011-04-22 17:30:37·¢±í:

    Å£ÈË£¬¶¥Ò»ÏÂ

  7. ruanguowei ÓÚ 2011-04-21 17:04:19·¢±í:

    дµÃÕæºÃ¡£

  8. chingsos ÓÚ 2011-04-19 14:09:54·¢±í:

    Ï൱×Ðϸ°¡

  9. yiyelin ÓÚ 2011-04-08 14:31:04·¢±í:

    »¹Ê£¼¸¸öÁË?????????

  10. hml1006 ÓÚ 2011-04-08 10:12:19·¢±í:

    ÊÔÒ»ÏÂ

  11. hml1006 ÓÚ 2011-04-08 10:11:46·¢±í:

    ½ñÌìÎÒÒ²ÊÔÒ»ÏÂ

  12. zeur913 ÓÚ 2011-03-23 14:32:40·¢±í:

    ÕæÕýÓÐÓõĶ«Î÷¶¼ÈÃÂ¥Ö÷Ò»¾ä»°¸ø×¢½âµôÁË£¬ÎÞÓï°¡¡£²»¹ý»¹ÊÇÁôÁ˸öÁ´½Ó£¬¶àл¥Ö÷·ÖÏí°¡¡£

  13. mm8989 ÓÚ 2011-03-04 09:51:47·¢±í:

    ÊÕ²ØÁË£¡£¡£¡

  14. mm8989 ÓÚ 2011-03-04 09:51:39·¢±í:

    ºÜºÃ£¬ºÜÇ¿´ó£¡£¡

  15. huigecool ÓÚ 2011-03-02 22:45:58·¢±í:

    Õ⣬¼¤·¢ÁËÎÒµÄÐËȤ

  16. lostangel ÓÚ 2011-03-02 21:24:19·¢±í:

    лл·ÖÏí

  17. lantian5435 ÓÚ 2011-03-02 20:02:42·¢±í:

    дµÄ²»´í£¬Ñ§Ï°ÁË

  18. dbvasp ÓÚ 2011-02-24 14:20:56·¢±í:

    дµÃ²»´í
    ²»¹ÜÊÇ·ñÐÂÊÖ ¶¼¿ÉÒÔÊÔÊÔ ²½Öè²¢²»À§ÄÑ
    ¿ÉÒÔʹÓÃÏÐÖõĻúÆ÷À´×öÕâ¸öÊÂÇé
    ¶à×ö×ÜÊÇÓÐÐÂÌåÑéµÄ

  19. ¿¼ÎÚÌØĪ¿Ë ÓÚ 2011-02-19 22:03:20·¢±í:

    Õâ¸öÕæ²»´í£¡ÎÒ±ØÐëÒªÀ´Ö§³ÖÀ²~~~£¡Ï£ÍûÂ¥Ö÷ÒÔºóÄܹ»·¢¸ü¶àÕâÑùµÄÔ­´´ÎÄÕ£¡

  20. pallana ÓÚ 2011-02-19 17:05:21·¢±í:

    7# Ä̲èdsk


    ллÌáÐÑ£¬ÎÒÒѾ­°ÑÔ­ÎÄÖйØÓÚheadersºÍdevelµÄ²¿·ÖÈ¥µôÁË

  21. zhoushengkai005 ÓÚ 2011-02-18 11:20:57·¢±í:

    ºÜÇ¿´ó°¡£¡

  22. Ä̲èdsk ÓÚ 2011-02-18 10:21:59·¢±í:

    [i=s] ±¾Ìû×îºóÓÉ Ä̲èdsk ÓÚ 2011-2-18 10:56 ±à¼­ [/i]

    ±àÒëÄں˿ÉÒÔ²»ÓÃkernel-headers ºÍkernel-devel,
    ÕâÁ½¸örpm°ü¶¼¿ÉÒÔÔÚsrcÖÐÌáÈ¡³öÀ´

    ÒýÓÃ:
    Kernel-headers includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs. The header files define structures and constants that are needed for building most standard programs and are also needed for rebuilding the glibc package.


    ÒýÓÃ:
    kernel-devel provides kernel headers and makefiles sufficient to build modules against the kernel package.

  23. GrowthÕ× ÓÚ 2011-02-18 09:53:51·¢±í:

    ¸ÐлpallanaµÄ¼¼Êõ·ÖÏí£¬±¾ÌùÒѼÓÈëµ½ÂÛ̳¶¥ÖõÄLinuxÓ¦ÓÃË÷ÒýÌùÖÐ

  24. garrey ÓÚ 2011-02-17 21:46:31·¢±í:

    дµÄ²»´í

  25. dwillin ÓÚ 2011-02-17 21:07:10·¢±í:

    ºÃÌù×Ó

  26. lykginy ÓÚ 2011-02-17 19:19:33·¢±í:

    ºÜºÃ ¶¥ÁË

  27. wangyu ÓÚ 2011-02-17 17:48:45·¢±í:

    ºÜÈ«£¬ÊÕ²Ø