ÉîÈëÁ˽âLinuxÆô¶¯¹ý³Ì
±¾ÎÄÏêϸ·ÖÎöÁËLinux×ÀÃæ²Ù×÷ϵͳµÄÆô¶¯¹ý³Ì£¬Éæ¼°µ½BIOSϵͳ¡¢LILO ºÍGRUBÒýµ¼×°ÔسÌÐò£¬ÒÔ¼°bootsect¡¢setup¡¢vmlinuxµÈÓ³ÏñÎļþ£¬²¢½áºÏÒýµ¼¡¢Æô¶¯ÔÀíºÍ¾ßÌåµÄ´úÂëʵÏÖ»úÖÆÓÉdzÈëÉîµØ½øÐÐÁË·ÖÎö¡£
³õѧÕ߸սӴ¥Linux×ÀÃæϵͳ»á¸Ð¾õϵͳÆô¶¯ËٶȽÏÂý£¬ÄÇô£¬ÎªÊ²Ã´ËüµÄÆô¶¯ËÙ¶ÈÂýÄØ?±¾ÎľÍ×ÀÃæϵͳµÄÒýµ¼ºÍÆô¶¯¹ý³ÌÕ¹¿ª·ÖÎö£¬ÒÔÆÚ¶Ô³õѧÕßÊìϤLinuxÓÐËù°ïÖú¡£
Ò»¡¢LinuxϵͳµÄÒýµ¼¹ý³Ì
¼òµ¥µØ˵£¬ÏµÍ³µÄÒýµ¼ºÍÆô¶¯¹ý³Ì¾ÍÊǼÆËã»ú¼ÓµçÒÔºóËùÒª·¢ÉúµÄÊÂÇ飬 ±ÈÈ磬¼Óµç×Լ졢Òýµ¼³ÌÐòµÄ¿½±´ºÍÖ´ÐС¢Äں˵Ŀ½±´ºÍÖ´Ðм°Óû§³ÌÐòµÄÖ´Ðеȡ£Õâ¸ö¹ý³Ì¾ÍÊdz£ËµµÄbootstrap£¬ÎÒÃÇ°ÑÕâЩ¹éÄÉΪ5¸ö¹ý³Ì£¬ ÏÂÃæÀ´ÖðÒ»·ÖÎö¡£
1£®BIOSÖ´Ðн׶Î
ÏÖ´ú¼ÆËã»úϵͳµÄ´æ´¢»úÖÆÊÇ¡°»Ó·¢¡±ÐԵģ¬Ò»µ©¹Ø»ú¶Ïµç£¬ ´æ´¢ÔÚÄÚ´æÖеÄÐÅÏ¢¡£Á¬Í¬²Ù×÷ϵͳ±¾ÉíµÄÓ³Éä¾Í¶ªÊ§ÁË¡£ËùÒÔ£¬±ØÐë°Ñ²Ù×÷ϵͳ(ÄÚºË) µÄÓ³Ïñ´æ´¢ÔÚijЩ²»¡°»Ó·¢¡± µÄ½éÖÊÖУ¬Ê¹µÃ¿ª»ú¼ÓµçʱÓÉÒ»¸ö²»¡°»Ó·¢¡±½éÖʼÓÔزÙ×÷ϵͳ£¬²¢×ªÈëÔËÐеĹý³Ì¡£Õâ¾ÍÊÇÒýµ¼£¬Ò²³Æ×Ô¾Ù¡£ÕâЩ²»¡°»Ó·¢¡± ½éÖÊͨ³£ÊÇÖ¸Ó²ÅÌ»òÈíÅÌ£¬ Ò²¿ÉÒÔÊÇEPROM »òF1ash´æ´¢Æ÷£¬»¹¿ÉÒÔÊÇÍøÂçÖбðµÄ½Úµã¡£ÒªÏëÔÚ¿ª»úʱ´Ó²»¡°»Ó·¢¡± ½éÖÊ×°Èë²Ù×÷ϵͳµÄÓ³Ïñ£¬ÏµÍ³¾ÍÒªCPUÔÚ¿ª»úʱÄÜÖ´ÐÐÒ»¶Î³ÌÐò£¬Õâ¶Î³ÌÐò±¾Éí±ØÐë´æ´¢ÔÚ×÷ΪϵͳÄÚ´æÒ»²¿·ÖµÄEPROM »òFlashµÈ´æ´¢Æ÷ÖУ¬ ¶øÇÒËüÃÇÖªµÀÔõÑù²ÅÄÜ´Ó²»¡°»Ó·¢¡± ½éÖÊ×°Èë²Ù×÷ϵͳµÄÓ³Ïñ¡£ÊÂʵÉÏ£¬¸÷ÖÖCPU ±»Éè¼Æ³ÉÒ»¸ö¼Óµçºó¾Í´Óij¸öÌØÊâµÄµØÖ·¿ªÊ¼Ö´ÐÐÖ¸ÁËùÒÔÕâЩ²»»Ó·¢´æ´¢Æ÷¾Í±»°²ÖÃÔÚÕâ¸öλÖÃÉÏ¡£±ÈÈçÔÚi386CPUϵͳÖУ¬¼ÆËã»úÔÚ¼ÓµçµÄÄÇÒ»¿Ì£¬RAM оƬÖÐËù°üº¬µÄÊÇËæ»úÊý¾Ý£¬»¹Ã»ÓвÙ×÷ϵͳ£¬ÔÚ´Ë¿ÌÓÐÒ»¸öÌØÊâÓ²¼þµç·ÔÚ¼Óµçʱ»áÔÚC P U µÄÒ»¸öÒý½ÅÉϲúÉúÒ»¸öRESETÂß¼Öµ£¬Ó²¼þµç·ÉèÖÃRESETÂß¼ÖµÒԺ󣬴úÂë¼Ä´æÆ÷CSµÄÄÚÈÝΪ0xffff£¬¶øÖ¸Áî¼Ä´æÆ÷µÄÄÚÈÝΪ0¡£Ò²¾ÍÊÇ˵£¬CPUÒª´ÓÏßÐÔµØÖ·0xffff0¿ªÊ¼´¦È¡µÚÒ»ÌõÖ¸Áî¡£Ó²¼þµç·ÔÙ°ÑÕâ¸öÎïÀíµØÖ·Ó³Éäµ½RAM оƬÖУ¬BIOS¾Í´æ·ÅÔÚÕâÀÕâʱºò´¦ÀíÆ÷¾Í¿ªÊ¼Ö´ÐÐBIOS´úÂëÁË¡£ÎÒÃǶ¼ÖªµÀBIOSÖаüº¬Á˼¸¸öÖжÏÇý¶¯µÄµÍ¼¶³ÌÐò£¬¿ÉÒÔʹÓÃËüÃÇÀ´³õʼ»¯Ò»Ð©Ó²¼þÉ豸£¬µ«ËüÃÇÊÇÔÚʵģʽϹ¤×÷µÄ¡£ÆäÖÐʵģʽµØÖ·ÊÇÓÉÒ»¸öseg¶ÎºÍÒ»¸öoffÆ«ÒÆÁ¿×é³ÉµÄ£¬ÏàÓ¦µÄÎïÀíµØÖ·¿ÉÒÔʹÓá°seg*16+off¡± À´¼ÆËã¡£
½ÓÏÂÀ´BIOSÒª×öµÄ¾ÍÊÇÖ´ÐÐһϵÁеIJâÊÔ£¬¿´¿´µ½µ×ϵͳÖÐ
Ïà¹ØÎĵµ£º
²Ù×÷ϵͳÄں˿ÉÄÜÊÇ΢Äںˣ¬Ò²¿ÉÄÜÊǵ¥Äںˣ¨ºóÕßÓÐʱ³Æ֮ΪºêÄÚºËMacrokernel£©¡£°´ÕÕÀàËÆ·â×°µÄÐÎʽ£¬ÕâЩÊõÓﶨÒåÈçÏ£º
µ¥ÄںˣºÒ²³ÆΪºêÄںˡ£½«Äں˴ÓÕûÌåÉÏ×÷Ϊһ¸ö´ó¹ý³ÌʵÏÖ£¬²¢Í¬Ê±ÔËÐÐÔÚÒ»¸öµ¥¶ÀµÄµØÖ·¿Õ¼ä¡£ËùÓеÄÄں˷þÎñ¶¼ÔÚÒ»¸öµØÖ·¿Õ¼äÔËÐУ¬Ï໥֮¼äÖ±½Óµ÷Óú¯Êý£¬¼òµ¥¸ßЧ¡£Î¢Ä ......
ת×Ôhttp://blog.chinaunix.net/u3/110321/showart.php?id=2159791
²é¿´ Linux Äں˷Óɱí
ʹÓÃÏÂÃæµÄ route ÃüÁî¿ÉÒԲ鿴 Linux Äں˷ÓÉ±í¡£
# route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 ......
½ø³Ì¼äͨОÍÊÇÔÚ²»Í¬½ø³ÌÖ®¼ä´«²¥»ò½»»»ÐÅÏ¢£¬ÄÇô²»Í¬½ø³ÌÖ®¼ä´æÔÚ×Åʲô˫·½¶¼¿ÉÒÔ·ÃÎʵĽéÖÊÄØ£¿½ø³ÌµÄÓû§¿Õ¼äÊÇ»¥Ïà¶ÀÁ¢µÄ£¬Ò»°ã¶øÑÔÊDz»ÄÜ»¥Ïà·ÃÎʵģ¬Î¨Ò»µÄÀýÍâÊǹ²ÏíÄÚ´æÇø¡£µ«ÊÇ£¬ÏµÍ³¿Õ¼äÈ´ÊÇ“¹«¹²³¡Ëù”£¬ËùÒÔÄÚºËÏÔÈ»¿ÉÒÔÌṩÕâÑùµÄÌõ¼þ¡£³ý´ËÒÔÍ⣬ÄǾÍÊÇË«·½¶¼¿ ......
http://179401.cn/read.php?21
acpid
ÅäÖÃÎļþ£º/proc/acpi/event
ĬÈ϶˿ڣºÎÞ
˵Ã÷£ºAdvanced Configuration and Power Interface£¬ÎªÌæ´ú´«Í³µÄAPM µçÔ´¹ÜÀí±ê×¼¶øÍƳö
µÄÐÂÐ͵çÔ´¹ÜÀí±ê×¼¡£
ÊÇ·ñÐèÒªÆô¶¯£ºÈç¹ûÄãÐèÒª¶ÔµçÔ´½øÐйÜÀí£¬ÄǾÍÐèÒªÆô¶¯¡£
anacron
ÅäÖÃÎļþ£º/etc/anacron
ĬÈ϶˿ڣºÎÞ
˵Ã÷£ºÒ»¸ö ......
¡¡I2C×ÜÏß¾ßÓнṹ¼òµ¥Ê¹Ó÷½±ãµÄÌص㡣±¾ÎÄÃèÊöÁËlinuxÏÂI2CÇý¶¯µÄ½á¹¹£¬²¢ÔÚ´Ë»ù´¡Éϸø³öÁËI2CÉ豸Çý¶¯ºÍÓ¦ÓõÄʵÏÖ¡£
¡¡¡¡1 ÒýÑÔ
¡¡¡¡I2C (Inter£Integrated Circuit)×ÜÏßÊÇÒ»ÖÖÓÉPHILIPS¹«Ë¾¿ª·¢µÄÁ½Ïßʽ´®ÐÐ×ÜÏߣ¬ÓÃÓÚÁ¬½Ó΢¿ØÖÆÆ÷¼°ÆäÍâΧÉ豸¡£I2C×ÜÏß×îÖ÷ÒªµÄÓŵãÊÇÆä¼òµ¥ÐÔºÍÓÐЧÐÔ¡£ÓÉÓÚ½Ó¿ÚÖ±½ÓÔÚ×é¼þÖ ......