ÁíÒ»¸ö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¹«Ë¾ºÜ¶à³¤ÆÚÊܼ尾µÄͶ×ÊÕߺ͹ɶ«Ó¦¸Ã¿ÉÒÔËÉÒ»¿ÚÆøÁË¡£ÁíÒ»·½Ã棬ÕâЩÄêÀ´¹«Ë¾
Ïà¹ØÎĵµ£º
¼¶
±ð£º Öм¶
M.
Tim Jones
, ×ÔÓÉ×÷¼Ò
2009 Äê 11 ÔÂ 19 ÈÕ
´¦ÀíÆ÷ÒѾÑݱä
ΪÕë¶ÔÐéÄâ»·¾³Ìá¸ßÐÔÄÜ£¬µ« I/O ·½Ãæ·¢ÉúÁËʲô±ä»¯ÄØ£¿Á˽âÒ»ÖÖÃûΪÉ豸£¨»ò PCI£©Í¸´«£¨passthrough£©µÄ I/O
ÐÔÄÜÔöÇ¿¼¼Êõ£¬ÕâÖÖ´´Ð¼¼Êõͨ¹ýʹÓÃÀ´×Ô Intel® (VT-d) »ò AMD (IOMMU) µÄÓ²¼þÖ§³Ö¸Ä½ø PCI Éè ......
Ò»¡¢Óû§¹ÜÀíÀàÃüÁ
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
¶þ¡¢½âѹÎļþ
³ ......
×¥°ü³ÌÐò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Çл»¿ØÖÆ̨µ½ÖÕ¶Ëģʽʱºò£¬²¿·ÖÃüÁîºÍ²Ù×÷¹ý³ÌÖÐÏÔʾÂÒÂ룬Ö÷ÒªÊÇÒòΪ°²×°µÄ¹ý³ÌÖÐֻѡÔñÁ˼òÌåÖÐÎĵÄÖ§³Ö£¬ÐèÒªÐÞ¸ÄÅäÖÃÎļþÖеÄÓïÑÔÖ§³ÖÑ¡Ï¼ÓÉÏÓ¢ÎÄÖ§³Ö¼´¿É¡£¾ßÌå²Ù×÷ÈçÏ£º
·½·¨Ò»: ÐÞ¸ÄϵͳÅäÖÃ(½¨Òé)
#vi /etc/sysconfig/i18n
// ÔÚÎļþÖмÓÈëÒÔÏÂÅäÖ ......
ÔÚ Ubuntu Linux ÖÐÓÃÔ´ÂëÎļþ°²×°Èí¼þʱ¾³£¶¼»áÓõ½chmodÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʹÆäÔÚ°²×°Ê±ÓÐÖ´ÐеÄȨÏÞ¡£ÓÉÓÚ Ubuntu Linux ĬÈϲ»ÄÜÓÃrootÕË»§À´µÇ¼ËùÒÔÔÚÓÃchmodÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʱÍùÍùÐèÒª½áºÏsudoÃüÁîÀ´Ê¹Óã¬Èç¹ûÄã¶ÔsudoÃüÁ²»Ì«Á˽⣬ÇëÏÈ¿´¿´±¾Õ¾µÄ¡¶sudoÃüÁîÏê½â¡·
chmod
Linux/Ubuntu ϵͳÖÐÎļþµ÷ ......