linux as4 °²×°Íø¿¨Çý¶¯ 82567LM
ÓÉÓÚµÚÒ»½Ó´¥linuxϵͳµÄ°²×°£¬°²×°¹ý³ÌÌرðÓôÃÆ¡£ÏÖÔڵĻúÆ÷¶¼ÊǼ¯³ÉÍø¿¨£¬µ¼ÖÂlinux·þÎñÆ÷°æ¶¼ÎÞ·¨Ê¶±ð¡£ÒªÎÒÃÇ×Ô¼ºÊÖ¶¯¸üÐÂÇý¶¯¡£
ÎÒ×°µÄ»úÆ÷Íø¿¨ÐͺÅÊÇ82567LM-3 £¬Õâ¸öÇý¶¯³ÌÐò¿ÉÒÔ´Óintel¹ÙÍøÉÏÏÂÔØ£¬°æ±¾ÄÚºËÊÇ2.6µÄ¡£
http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Ethernet+Components&ProductLine=Ethernet+Controllers&ProductProduct=Intel%c2%ae+82567+Gigabit+Ethernet+Controller&OSVersion=Linux*
1.ÏÈ¿´¿´ÄãµÄ±àÒë»·¾³ÊÇ·ñ¿ÉÐС£
rpm -qa | grep kernel
rpm -qa | grep gcc
˵µÀÕâ¸ö¾Í²»µÃ²»ÌáÕâ¸öas4ÓжàºËºÍµ¥ºË»·¾³¡£ÔÚ±àÒëʱºòÓ¦¸ÃÔÚµ¥ºËµÄϵͳÖбàÒ룬·ñÔòÔÚ¶àºËÎÞ·¨±àÒ루Õâ¸öÎÊÌâÈÃÎÒ×°ÁËÒ»¸öÏÂÎ磩¡£
2.Ö®ºó¾ÍÊǽ«ÏÂÔØϵÄÎļþ±àÒë¡£Õâ¸öÒªÑø³ÉÒ»¸öºÃÏ°¹ß£¬¿´½âѹËõ³öÀ´µÄreadmeÎļþ¡£
Ïà¹ØÎĵµ£º
¿ª»ú×ÔÆô¶¯ÈÎÎñµÄÉ趨
ͨ³£Çé¿öÊDZà¼rc.local£¬½«ÒªÆô¶¯µÄÄÚÈÝдÔÚÀïÃæ¼´¿É
Eg:
¿ª»ú×Ô¶¯¿ªÆô3306¶Ë¿Ú
#vi /etc/rc.local
iptables -I RH-Firewall-1-INPUT -p tcp --dport 3690 -j ACCEPT
µ±È»£¬ÓеķþÎñ£¬ÏëÒªÉ趨¿ª»ú×ÔÆô¶¯»¹Òª×öһЩÆäËüµÄÅäÖã¬Æ©È磬É趨oracle¿ª»ú×ÔÆô¶¯¡£
crontabÓÐ兩 ......
²½Ö裺
Ò»¡£ÊìϤÔÚÆÕͨµçÄÔÉÏÓÃ
GDBµ÷ÊԵĻù±¾·½Ê½¡£²Î¼û£º
http://www.ibm.com/developerworks/linux/library/l-gdb/
¶þ¡£ÏÂÔØ¡¶
gdb
quick reference¡·£¬
2ÕÅÖ½£¬´òÓ¡³öÀ´·ÅÔÚÊֱ߱¸Óá£
Èý¡£ÈÃǶÈëʽϵͳ֧³Ö
gdbserver.
£¨ÔÚ
openwrtÉÏ£¬¼´ÔÚ
make
menuconfigʱѡÔñ±àÒë
gdbserver£©
ËÄ¡£½øÐе÷ÊÔ
&nbs ......
ÔÚÃüÁîģʽÏÂÉèÖÃIPµØÖ·£¬ÓÐÁ½ÖÖ·½Ê½£¬Ò»ÖÖÊDZ¾´Î¿ª»úÓÐЧ£¬¼´Ê¹ÓÃifconfig eth0 IP netmask µÄ·½Ê½£¬ÏµÍ³Ò»µ©¹Ø»úÖØÆôÐèÒªÖØÐÂÉèÖÃIP£»ÁíÒ»ÖÖÖ±½Ó¸ü¸ÄÅäÖÃÎļþ¡£ÔÚÕâÀï²ÉÓÃÖ±½ÓÐÞ¸ÄÅäÖÃÎļþµÄ·½Ê½½øÐÐÉèÖÃIP¡£
LINUX IPÅäÖÃÎļþΪifcfg-eth0£¬¸ÃÎļþ´æ·ÅÔÚ/etc/sysconfig/network-scripts·¾¶Ï£¬
²ÉÓÃV ......
ÔÚfork()/execve()¹ý³ÌÖУ¬¼ÙÉè×Ó½ø³Ì½áÊøʱ¸¸½ø³ÌÈÔ´æÔÚ£¬¶ø¸¸½ø³Ìfork()֮ǰ¼Èû°²×°SIGCHLDÐźŴ¦Àíº¯Êýµ÷ÓÃwaitpid()µÈ´ý×Ó½ø³Ì½áÊø£¬ÓÖûÓÐÏÔʽºöÂÔ¸ÃÐźţ¬Ôò×Ó½ø³Ì³ÉΪ½©Ê¬½ø³Ì£¬ÎÞ·¨Õý³£½áÊø£¬´Ëʱ¼´Ê¹ÊÇrootÉí·Ýkill-9Ò²²»ÄÜɱËÀ½©Ê¬½ø³Ì¡£²¹¾È°ì·¨ÊÇɱËÀ½©Ê¬½ø³ÌµÄ¸¸½ø³Ì(½©Ê¬½ø³ÌµÄ¸¸½ø³Ì±ØÈ»´æÔÚ)£¬½©Ê¬½ø³Ì³ÉÎ ......