¼¸¸öÖØÒªµÄLinuxϵͳÄÚºËÎļþ½éÉÜ
¼¸¸öÖØÒªµÄLinuxϵͳÄÚºËÎļþ½éÉÜ
http://vod.sjtu.edu.cn/help/Article_Show.asp?ArticleID=2079
£Û ×÷ÕߣºØýÃû תÌù×Ô£ºÌ켫Íø µã»÷Êý£º3700 ¸üÐÂʱ¼ä£º2006-3-15 £Ý
mynix±àÒë×Ôwww.linux.orgÖ®Linux HowToÖ®Kernel HowTo
¡¡¡¡ÔÚÍøÂçÖУ¬²»ÉÙ·þÎñÆ÷²ÉÓõÄÊÇLinuxϵͳ¡£ÎªÁ˽øÒ»²½Ìá¸ß·þÎñÆ÷µÄÐÔÄÜ£¬¿ÉÄÜÐèÒª¸ù¾ÝÌض¨µÄÓ²¼þ¼°ÐèÇóÖØбàÒëLinuxÄںˡ£±àÒëLinuxÄںˣ¬ÐèÒª¸ù¾Ý¹æ¶¨µÄ²½Öè½øÐУ¬±àÒëÄں˹ý³ÌÖÐÉæ¼°µ½¼¸¸öÖØÒªµÄÎļþ¡£±ÈÈç¶ÔÓÚRedHat Linux£¬ÔÚ/bootĿ¼ÏÂÓÐһЩÓëLinuxÄÚºËÓйصÄÎļþ£¬½øÈë/bootÖ´ÐУºls –l¡£±àÒë¹ýRedHat LinuxÄں˵ÄÈ˶ÔÆäÖеÄSystem.map ¡¢vmlinuz¡¢initrd-2.4.7-10.imgÓ¡Ïó¿ÉÄܱȽÏÉî¿Ì£¬ÒòΪ±àÒëÄں˹ý³ÌÖÐÉæ¼°µ½ÕâЩÎļþµÄ½¨Á¢µÈ²Ù×÷¡£ÄÇôÕ⼸¸öÎļþÊÇÔõô²úÉúµÄ£¿ÓÖÓÐʲô×÷ÓÃÄØ£¿±¾ÎĶԴË×öЩ½éÉÜ¡£
¡¡¡¡Ò»¡¢vmlinuz
¡¡¡¡vmlinuzÊÇ¿ÉÒýµ¼µÄ¡¢Ñ¹ËõµÄÄںˡ£“vm”´ú±í“Virtual Memory”¡£Linux Ö§³ÖÐéÄâÄڴ棬²»ÏñÀϵIJÙ×÷ϵͳ±ÈÈçDOSÓÐ640KBÄÚ´æµÄÏÞÖÆ¡£LinuxÄܹ»Ê¹ÓÃÓ²ÅÌ¿Õ¼ä×÷ΪÐéÄâÄڴ棬Òò´ËµÃÃû“vm”¡£vmlinuzÊÇ¿ÉÖ´ÐеÄLinuxÄںˣ¬ËüλÓÚ/boot/vmlinuz£¬ËüÒ»°ãÊÇÒ»¸öÈíÁ´½Ó¡£
¡¡¡¡vmlinuzµÄ½¨Á¢ÓÐÁ½ÖÖ·½Ê½¡£Ò»ÊDZàÒëÄÚºËʱͨ¹ý“make zImage”´´½¨£¬È»ºóͨ¹ý£º
¡¡¡¡“cp /usr/src/linux-2.4/arch/i386/linux/boot/zImage /boot/vmlinuz”²úÉú¡£zImageÊÊÓÃÓÚСÄں˵ÄÇé¿ö£¬ËüµÄ´æÔÚÊÇΪÁËÏòºóµÄ¼æÈÝÐÔ¡£¶þÊÇÄں˱àÒëʱͨ¹ýÃüÁîmake bzImage´´½¨£¬È»ºóͨ¹ý£º“cp /usr/src/linux-2.4/arch/i386/linux/boot/bzImage /boot/vmlinuz”²úÉú¡£bzImageÊÇѹËõµÄÄÚºËÓ³Ïñ£¬ÐèҪעÒ⣬bzImage²»ÊÇÓÃbzip2ѹËõµÄ£¬bzImageÖеÄbzÈÝÒ×ÒýÆðÎó½â£¬bz±íʾ“big zImage”¡£ bzImageÖеÄbÊÇ“big”Òâ˼¡£
¡¡¡¡zImage£¨vmlinuz£©ºÍbzImage£¨vmlinuz£©¶¼ÊÇÓÃgzipѹËõµÄ¡£ËüÃDz»½öÊÇÒ»¸öѹËõÎļþ£¬¶øÇÒÔÚÕâÁ½¸öÎļþµÄ¿ªÍ·²¿·ÖÄÚǶÓÐgzip½âѹËõ´úÂë¡£ËùÒÔÄã²»ÄÜÓÃgunzip »ò gzip –dc½â°üvmlinuz¡£
¡¡¡¡ÄÚºËÎļþÖаüº¬Ò»¸ö΢Ð͵ÄgzipÓÃÓÚ½âѹËõÄں˲¢Òýµ¼Ëü¡£Á½ÕߵIJ»Í¬Ö®´¦ÔÚÓÚ£¬ÀϵÄzImage½âѹËõÄں˵½µÍ¶ËÄڴ棨µÚÒ»¸ö640K£©£¬bzImage½âѹËõÄں˵½¸ß¶ËÄڴ棨1MÒÔÉÏ£©¡£Èç¹ûÄں˱ȽÏС£¬ÄÇô¿ÉÒÔ²ÉÓÃzImage »òbzImage
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
ÍøÂçÐÅÏ¢²é¿´
²é¿´Íø·½Ó¿ÚÐÅÏ¢
1£®Á˽âlinuxÖеÄÍøÂç½Ó¿ÚÉ豸
$/sbin/ifconfig ²é¿´ËùÓлÍøÂç½Ó¿ÚÐÅÏ¢£¬ÆäÖаüÀ¨Ò»¸ölo»·»Ø¶Ë¿Ú¡£
2£®²é¿´Ö¸¶¨ÍøÂç½Ó¿ÚµÄÐÅÏ¢
$/sbin/ ......
ÔÚÉÏһƪÎÄÕÂÖжÔÏ߳̽øÐÐÁ˼òµ¥µÄ¸ÅÊö£¬ËüÔÚϵͳÖкͱà³ÌµÄÓ¦ÓÃÖУ¬°çÑݵĽÇÉ«ÊDz»ÑÔ¶øÓ÷µÄ¡£Ñ§Ï°Ëü¡¢ÕÆÎÕËü¡¢³Ô͸ËüÊÇ×÷Ϊһ¸ö³ÌÐòÔ±µÄ±ØÐë×÷Ϊ¡£ÔÚ½ÓÏÂÀ´µÄ½²ÊöÖУ¬ËùÓÐÏ̵߳IJÙ×÷¶¼ÊÇÓû§¼¶µÄ²Ù×÷¡£ÔÚLINUXÖУ¬Ò»°ãpthreadÏ߳̿âÊÇÒ»Ì×ͨÓõÄÏ߳̿⣬ÊÇÓÉPOSIXÌá³öµÄ£¬Òò´ËËûµÄÒÆÖ²ÐÔÊǷdz£ºÃµÄ¡£
& ......
±¾Ô´´ÎÄÕÂÊôÓÚ¡¶Linux´óÅï¡·²©¿Í£¬²©¿ÍµØַΪhttp://roclinux.cn¡£ÎÄÕÂ×÷ÕßΪrocrocket¡£
ΪÁË·ÀֹijЩÍøÕ¾µÄ¶ñÐÔתÔØ£¬ÌØÔÚÿƪÎÄÕÂÇ°¼ÓÈë´ËÐÅÏ¢£¬»¹Íû¶ÁÕßÌåÁ¡£
===
[ÕýÎÄ¿ªÊ¼]
Æô¶¯µÚÒ»²½££¼ÓÔØBIOS
µ±
Äã´ò¿ª¼ÆËã»úµçÔ´£¬¼ÆËã»ú»áÊ×ÏȼÓÔØBIOSÐÅÏ¢£¬BIOSÐÅÏ¢ÊÇÈç´ËµÄÖØÒª£¬ÒÔÖÁÓÚ¼ÆËã»ú±ØÐëÔÚ×ʼ¾ÍÕÒµ½Ëü¡ ......