linuxÄÚºËÑ¡Ïî½âÊÍ
ÔÚ±àÒëÒÆÖ²LinuxÄں˹ý³ÌÖУ¬ÄÚºËÑ¡ÏîÅäÖÃÊǺܳ£¼ûµÄ²Ù×÷¡£±¾ÎÄ·ÖÎöÁ˳£¼ûÑ¡ÏîµÄ¾ßÌ庬Ò壬´ÓÕâÀ↑ʼ½øÈëÄÚºËÍêÈ«ÅäÖÃÑ¡Ï
1 code maturity level options£¨´úÂë³ÉÊì¶ÈÑ¡Ï
1.1 Prompt for development and/or incomplete code/drivers
ÏÔʾÉÐÔÚ¿ª·¢ÖлòÉÐδÍê³ÉµÄ´úÂëÓëÇý¶¯¡£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ£¬Èç¹ûÄãÊDzâÊÔÈËÔ±»òÕß¿ª·¢Õß,·ñÔò¿ÉÒÔ²»Ñ¡
1.2 Select only drivers expected to compile cleanly(NEW)
ÏÔʾһЩÒÑÖªµÄ´æÔÚÎÊÌâµÄÇý¶¯³ÌÐòÑ¡ÏĬÈÏÇé¿öÏÂÒ²ÊÇÑ¡ÔñµÄ¡£Èç¹ûÄãÓÐÉ豸ûÓÐÕÒµ½Çý¶¯Ñ¡
ÏÄã¿ÉÒÔ½«ÕâÒ»ÏîÈ¥µô£¬»òÐí¾Í¿ÉÒÔÕÒµ½Ïà¹ØÇý¶¯ÁË£¬²»¹ýËü¿ÉÄÜÊÇÓÐBUGµÄ¡£
2 General setup£¨³£¹æÉèÖã©
2.1 support for paging of anonymous memory(swap)
Ö§³ÖÐéÄâÄڴ档ĬÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ¡£
2.2 system V IPC
System V½ø³ÌͨÐÅ»úÖÆ¡£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ¡£
2.3 POSIX message queue
POSIXÏûÏ¢¶ÓÁС£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ¡£
2.4 BSD process accounting
³äÐíÓû§½ø³Ì·ÃÎÊÄں˽«ÕË»§ÐÅϢдÈëÎļþ¡£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ¡£
2.5 Sysctl support
Ö§³ÖÔÚ²»ÖØÆôϵͳÇé¿öÏ£¬Ö±½ÓÐÞ¸ÄÄں˲ÎÊý£¬¸ÃÑ¡Ïî»áÔö¼ÓÄں˵ÄÌå»ýÖÁÉÙ8KB¡£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ¡£
2.6 Auditing support
Ö§³ÖÉóºË¡£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ£¬Ò»°ã²»ÓÃÑ¡Ôñ¡£
2.7 Enable system-call auditing support
Ö§³Öϵͳµ÷ÓÃÉó¼Æ¡£Ä¬ÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ£¬Ò»°ã²»ÓÃÑ¡Ôñ¡£
2.8 Automatically append version information to the version string
ÔÚÄں˰汾ºóÃæ¼ÓÉÏ×Ô¶¨ÒåµÄ°æ±¾×Ö·û´®£¬Ä¬Èϲ»Ñ¡Ôñ¡£
2.8 Support for hot-pluggable devices
Ö§³Ö¿ÉÈȰβåÉ豸
2.9 kernel userspace events(NEW)
ϵͳÇøºÍÓû§Çø½øÐÐͨѶµÄÒ»ÖÖ·½Ê½,ĬÈÏÇé¿öÏÂÊÇÑ¡ÔñµÄ¡£
2.10 kernel.config support
½«.configÅäÖÃÐÅÏ¢±£´æÔÚÄÚºËÖУ¬Ñ¡ÉÏËü¼°ËüµÄ×ÓÏîʹµÃÆäËüÓû§ÄÜ´Ó/procÖеõ½Äں˵ÄÅäÖᣠĬÈϲ»Ñ¡¡£
2.11 cpuset support
Ö»Óк¬ÓдóÁ¿CPU(´óÓÚ16¸ö)µÄSMPϵͳ»òNUMA(·ÇÒ»ÖÂÄÚ´æ·ÃÎÊ)ϵͳ²ÅÐèÒªËü¡£
2.12 Configure standard kernel features (for small systems)-------->
ÅäÖñê×¼µÄÄÚºËÌØÐÔ(ΪСÐÍϵͳ)
2.12.1 Load all symbols for debugging/kksymoops
×°ÔØËùÓеĵ÷ÊÔ·ûºÅ±
Ïà¹ØÎĵµ£º
²½Ö裺
Ò»¡£ÊìϤÔÚÆÕͨµçÄÔÉÏÓÃ
GDBµ÷ÊԵĻù±¾·½Ê½¡£²Î¼û£º
http://www.ibm.com/developerworks/linux/library/l-gdb/
¶þ¡£ÏÂÔØ¡¶
gdb
quick reference¡·£¬
2ÕÅÖ½£¬´òÓ¡³öÀ´·ÅÔÚÊֱ߱¸Óá£
Èý¡£ÈÃǶÈëʽϵͳ֧³Ö
gdbserver.
£¨ÔÚ
openwrtÉÏ£¬¼´ÔÚ
make
menuconfigʱѡÔñ±àÒë
gdbserver£©
ËÄ¡£½øÐе÷ÊÔ
&nbs ......
×î½üÔÚµ÷ÊÔlinuxСϵͳ£¬ÏëÈÃСϵͳ֧³ÖÖÐÎÄ£¬¾¹ý¼¸ÌìµÄµ÷ÊÔ£¬Õâ¸öÎÊÌâÖÕÓÚµÃÒÔ½â¾ö£¬ÏÂÃæ×ܽáÒ»ÏÂÓöµ½µÄÎÊÌâºÍ½â¾ö°ì·¨¡£
ÔÚconsoleÏÂÃæÖ§³ÖÖÐÎÄÎÒÑ¡ÔñµÄÊDzÉÓÃÍâ¹Òʽƽ̨µÄ°ì·¨£¬²¢²»ÕæÕýºº»¯Äںˣ¬ÒòΪµ£Ðĺº»¯Äں˻áÓнϴóµÄ·çÏÕ£¬ËùÒÔÑ¡ÓÃÍâ¹ÒµÄ·½Ê½¡£²ÉÓÃÍâ¹ÒµÄ·½Ê½±ØÐëµÃ×¼ ......
ÔÚfork()/execve()¹ý³ÌÖУ¬¼ÙÉè×Ó½ø³Ì½áÊøʱ¸¸½ø³ÌÈÔ´æÔÚ£¬¶ø¸¸½ø³Ìfork()֮ǰ¼Èû°²×°SIGCHLDÐźŴ¦Àíº¯Êýµ÷ÓÃwaitpid()µÈ´ý×Ó½ø³Ì½áÊø£¬ÓÖûÓÐÏÔʽºöÂÔ¸ÃÐźţ¬Ôò×Ó½ø³Ì³ÉΪ½©Ê¬½ø³Ì£¬ÎÞ·¨Õý³£½áÊø£¬´Ëʱ¼´Ê¹ÊÇrootÉí·Ýkill-9Ò²²»ÄÜɱËÀ½©Ê¬½ø³Ì¡£²¹¾È°ì·¨ÊÇɱËÀ½©Ê¬½ø³ÌµÄ¸¸½ø³Ì(½©Ê¬½ø³ÌµÄ¸¸½ø³Ì±ØÈ»´æÔÚ)£¬½©Ê¬½ø³Ì³ÉÎ ......
1.°²×°Ê±ÒªÖ´ÐÐÁ½¸ö½Å±¾£¬root.shÊÇÆäÖÐÒ»¸ö¡£
ÐèÒªÓÃrootÓû§Ö´ÐÐroot.shÈ¥Éú³É/etc/oratabÎļþ¡£————1.dbcaÖв»»áÓÐɾ³ýÑ¡Ïî(ÒòΪÔËÐÐʱÐèÒª/etc/oratab)
& ......