Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÁíÒ»¸öLinuxÉ豸¹«Ë¾Òѱ»ÊÕ¹º

ij¸öÈÕ¼ûÖØÒªµÄÍøÂçоƬ¹«Ë¾¼´½«ÊÕ¹ºÒ»¼Ò×îÔçµãÉÌÒµ»¯Ç¶ÈëʽLinux µÄ¹«Ë¾¡£ Cavium ¹«Ë¾ÒÑͬÒâÖ§¸¶5000 ÍòÃÀÔª¸øÒѾ­¶ÀÁ¢ÔËÐÐÊ®ÄêÖ®¾ÃµÄ MontaVista ¹«Ë¾¡£
ÕâÊǽñÄêµÚ¶þÀýǶÈëʽLinux ²Ù×÷ϵͳ¡¢¹¤¾ß¼°·þÎñÊг¡µÄ²¢¹º°¸Àý¡£µÚÒ»ÀýÊÇÔÚ½ñÄêÎåÔ£¬µ±Ê±Ó¢Ìضû»¨·Ñ 88400 ÍòÃÀÔªÊÕ¹º Wind River ϵͳ¹«Ë¾¡£ÈçͬWind River ÊÕ¹º°¸Ò»Ñù£¬ MontaVista ¹«Ë¾Éù³ÆÊÕ¹ººó½«±£ÁôÆäÉ̱êÃû³Æ£¬²¢¼ÌÐø¶ÀÁ¢ÔËÐС£
Ë­ÊÇ Cavium £¿
CaviumÊÇ»ùÓÚ MIPS64 ¼Ü¹¹¿Í»§ÑÜÉú°æ×îÖªÃûµÄ¶àºËÍøÂç´¦ÀíÆ÷³§ÉÌ¡£ÆäÆì½¢²úÆ· Octeon ´¦ÀíÆ÷¼Ò×å°üº¬µ¥ºËµ½Ê®ÁùºËµÈ¸÷ÖÖģʽ£¬ÆäÈí¼þ¼æÈÝÐÔºá¿çÕâЩƽ̨¡£×ÔÍøÂç½øÈëµ½ËùÓеÄÐÎʽºÍ´óСºó£¬ÕâÊÇÒ»¸ö¾Þ´óµÄÂôµã¡£ÔÚ´óÐÍÍøÂçµ±ÖУ¬ ÈçµçÐÅ»ù´¡ÉèÊ©£¬¸ßÃܶȺ͵ÍÄܺÄ/ ζȽáºÏ¶àºË¼Ü¹¹ÊÇÁíÒ»´óÁÁµã¡£½õÉÏÌí»¨µÄÊÇ£¬ Cavium µÄоƬ ³£»áÌṩºÜ¶à¶¨ÖÆÓ²¼þÒýÇæ £¬ÀýÈç´ÓÖ÷CPU ÖÐжÏ TCP/IP ´¦Àí¡¢¼ÓÃܺʹ洢´¦ÀíÈÎÎñ¡£
Cavium ±³ÒÀÂíÈøÖîÈûÖÝ£¬Éù³ÆÆä°ìÊ´¦Ëù¹ÍÓ¶µÄÖ÷Òª¹¤³Ìʦ¶¼ÊÇÀ´×Ô´ÓÇ°DEC ¹«Ë¾´«ËµÖÐµÄ Alpha оƬÍŶӡ£¸Ã¹«Ë¾Ò²±£ÁôÁË´óÁ¿Ó¡¶ÈµÄÑз¢»ú¹¹¡£
Ë­ÊÇ MontaVista £¿
MontaVista ÔÚ“õçõÇѧ²½”Öгɹ¦µØ×ß¹ýÁ˹ýȥʮÄê¡£2003 Ä꣬ÔÚǶÈë Linux µÄ³õÆÚ£¬¾­³£ÓÐÈËÔÚ½«¸Ã¹«Ë¾ÁÐÈ듶¥¼¶Ë½È˳ֹɵĹ«Ë¾”Ãûµ¥£¬Í¬Ê±ºÜ¶à²úÒµ¹Û²ì¼ÒÒ²ÍƲâÆä¼´½«“ÉÏÊД¡£ÕâЩÄêÀ´£¬´«ÎÅÓÐÒâ²ÎÓëÕß»¹°üÀ¨ÁËĦÍÐÂÞÀ­¡¢ Sun ¡¢ Enea ºÍ RedHat µÈµÈ¡£
MontaVista¹«Ë¾¸ºÔðÈË×ÜÊÇŬÁ¦µØÌá¸ßÀûÈóÂÊ£¬´Ó²»¸ß̸À«ÂÛÔ¤²â“ÕýÏòÏÖ½ðÁ÷”Ä¿±ê¡£¾¡¹ÜÈç´Ë£¬¸Ã¹«Ë¾»¹ÊÇ˳ÀûµÃµ½×ÊÖú¡£Èç¹ûÎÒûÓÐ¼Ç´í£¬ÕâÊǼ¸ÄêÇ°Ò»¸ö“ K ”ÂÖ£¨£¡£©¡£
ͬʱ£¬MontaVista ¹«Ë¾¹¤³ÌʦÃǵÄÑз¢È¡µÃÁËÁîÈËÐÀϲµÄ³É¹¦¡£ËûÃÇ·¢²¼µÄ Linux ¶ÑÕ»¼¸ºõÓÃÓÚËùÓÐÔçÆÚ Linux ÊÖ»ú£¬°üÀ¨Ä¦ÍÐÂÞÀ­¡¢ËÉÏ¡¢ NEC ¡¢ÈýÐǵÈÆ·ÅÆ¡£ÔÚÐéÄâ²úÆ·ÏßµÄÄ©¶Ë£¬´Ó 2003 ÄêÆ𣬠MontaVista ¹«Ë¾¿ªÊ¼Ñз¢µçÐż¶ Linux ¡£¸Ã¹«Ë¾»¹´óÁ¦·¢Õ¹Ïû·Ñµç×Ó¡¢ÊµÊ± / ¹¤Òµ¡¢¾üÊ / º½¿ÕºÍÆóÒµ¼¶ÍøÂç´òÓ¡²Ù×÷ϵͳÊг¡¡£
×î½ü¼¸Ä꣬MontaVista ¹«Ë¾Óë Wind River ¹«Ë¾µÄÕýÃ澺ÕùÔ½À´Ô½¶à£¬¸÷¹«Ë¾¶¼ÔÚ»®·ÖLinux ºÍ VxWorks RTOS £¨ÊµÊ±²Ù×÷ϵͳ£©µÄרÓÐȨ¡£²»¹ýÏÖÔÚ£¬ Wind River ¹«Ë¾ÓëÓ¢Ìضû¹«Ë¾µÄºÏ×÷¸øÁËMontaVista ¹«Ë¾¹ÜÀíÈËÔ±Ò»¸ö×îºó³·³ö²ßÂԵijɹ¦·¶Àý¡£
MontaVista¹«Ë¾ºÜ¶à³¤ÆÚÊܼ尾µÄͶ×ÊÕߺ͹ɶ«Ó¦¸Ã¿ÉÒÔËÉÒ»¿ÚÆøÁË¡£ÁíÒ»·½Ã棬ÕâЩÄêÀ´¹«Ë¾


Ïà¹ØÎĵµ£º

Linux ÐéÄ⻯ºÍ PCI ͸´«¼¼Êõ


 
 
¼¶
±ð£º Öм¶
M.
Tim Jones
, ×ÔÓÉ×÷¼Ò
2009 Äê 11 ÔÂ 19 ÈÕ
´¦ÀíÆ÷ÒѾ­Ñݱä
ΪÕë¶ÔÐéÄâ»·¾³Ìá¸ßÐÔÄÜ£¬µ« I/O ·½Ãæ·¢ÉúÁËʲô±ä»¯ÄØ£¿Á˽âÒ»ÖÖÃûΪÉ豸£¨»ò PCI£©Í¸´«£¨passthrough£©µÄ I/O
ÐÔÄÜÔöÇ¿¼¼Êõ£¬ÕâÖÖ´´Ð¼¼Êõͨ¹ýʹÓÃÀ´×Ô Intel® (VT-d) »ò AMD (IOMMU) µÄÓ²¼þÖ§³Ö¸Ä½ø PCI Éè ......

³£ÓÃlinuxÃüÁî

Ò»¡¢Óû§¹ÜÀíÀàÃüÁ
1¡¢Ìí¼ÓÓû§adduser
ÀýÈ磺ÔÚ192.168.20.11ÉÏ´´½¨Óû§yyj,ÊäÈëÈçÏÂÃüÁ
useradd yyj -s /bin/csh -d /home/yyj -m   
ÕâÑù´´½¨Íê³ÉÓû§yyj
2¡¢ÉèÖÃÓû§yyjµÄÃÜÂ룺
passwd   yyj
ÊäÈë2´Î¿ÚÁ¾ÍÉèÖÃÃÜÂë³É¹¦¡£
3¡¢É¾³ýÓû§yyj
rm -r yyj
¶þ¡¢½âѹÎļþ
³ ......

Linuxϼ¸Àý×¥°ü³ÌÐò´úÂë

×¥°ü³ÌÐò1 grub_allpacket.c
#include <stdio.h>
#include <string.h>
#include <errno.h> 
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h> 
#include <linux/in.h>
#include <linux/if_ether.h>
#include <net/if.h>
......

linuxÏ¿ØÖÆ̨ÖÐÂÒÂë½â¾ö

      ½«ÖÐÎÄ°æ±¾µÄLINUXÇл»¿ØÖÆ̨µ½ÖÕ¶Ëģʽʱºò£¬²¿·ÖÃüÁîºÍ²Ù×÷¹ý³ÌÖÐÏÔʾÂÒÂ룬Ö÷ÒªÊÇÒòΪ°²×°µÄ¹ý³ÌÖÐֻѡÔñÁ˼òÌåÖÐÎĵÄÖ§³Ö£¬ÐèÒªÐÞ¸ÄÅäÖÃÎļþÖеÄÓïÑÔÖ§³ÖÑ¡Ï¼ÓÉÏÓ¢ÎÄÖ§³Ö¼´¿É¡£¾ßÌå²Ù×÷ÈçÏ£º
·½·¨Ò»: ÐÞ¸ÄϵͳÅäÖÃ(½¨Òé)
#vi /etc/sysconfig/i18n
  // ÔÚÎļþÖмÓÈëÒÔÏÂÅäÖ ......

Linux/Ubuntu chmodÃüÁîÏê½âʹÓøñʽºÍ·½·¨


ÔÚ Ubuntu Linux ÖÐÓÃÔ´ÂëÎļþ°²×°Èí¼þʱ¾­³£¶¼»áÓõ½chmodÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʹÆäÔÚ°²×°Ê±ÓÐÖ´ÐеÄȨÏÞ¡£ÓÉÓÚ Ubuntu Linux ĬÈϲ»ÄÜÓÃrootÕË»§À´µÇ¼ËùÒÔÔÚÓÃchmodÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʱÍùÍùÐèÒª½áºÏsudoÃüÁîÀ´Ê¹Óã¬Èç¹ûÄã¶ÔsudoÃüÁ²»Ì«Á˽⣬ÇëÏÈ¿´¿´±¾Õ¾µÄ¡¶sudoÃüÁîÏê½â¡·
chmod
Linux/Ubuntu ϵͳÖÐÎļþµ÷ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ