{"id":51,"date":"2005-04-07T01:18:48","date_gmt":"2005-04-07T09:18:48","guid":{"rendered":"http:\/\/www.horace.org\/blog\/?p=51"},"modified":"2009-04-14T22:22:01","modified_gmt":"2009-04-15T06:22:01","slug":"network-simulator","status":"publish","type":"post","link":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/","title":{"rendered":"network simulator"},"content":{"rendered":"<p>I have been sturggling with <a href=\"http:\/\/www.isi.edu\/nsnam\/ns\/\">ns2<\/a> for the past 24 hours.  ns2 is an open source network simulation implemented in tcl and C++.  It suppose to be one of the most popular academic reseach tool in communication network.  My problem right now is the compliation doesn&#8217;t seem right, when I run a sample testscript, it dies with a segmentation fault.  I had tried different version under linux and cygwin without luck.  <a href=\"http:\/\/cygwin.com\/\">Cygwin<\/a> is another interesting open source program.  It is like a linux emulator sitting on top of Windows, so user can compile and use unix\/x-win softwares.  If ns2 under cygwin still fails, I&#8217;m afraid to use brute force attack, fire up the debugger and figure out exactly what went wrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the most popular academic reseach tool in communication network. My problem right now is the compliation doesn&#8217;t seem right, when I run a sample testscript, it &hellip; <a href=\"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">network simulator<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"lc_iscn_info":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[69,281],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-_scribble","tag-research","tag-ns"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>network simulator - \u54f2\u5b50\u6232 Philosophist\u2019s Camp<\/title>\n<meta name=\"description\" content=\"I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"network simulator - \u54f2\u5b50\u6232 Philosophist\u2019s Camp\" \/>\n<meta property=\"og:description\" content=\"I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/\" \/>\n<meta property=\"og:site_name\" content=\"\u54f2\u5b50\u6232 Philosophist\u2019s Camp\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/horace.org\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/horace.org\" \/>\n<meta property=\"article:published_time\" content=\"2005-04-07T09:18:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-04-15T06:22:01+00:00\" \/>\n<meta name=\"author\" content=\"hevangel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@horaceorg\" \/>\n<meta name=\"twitter:site\" content=\"@horaceorg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hevangel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/\"},\"author\":{\"name\":\"hevangel\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"headline\":\"network simulator\",\"datePublished\":\"2005-04-07T09:18:48+00:00\",\"dateModified\":\"2009-04-15T06:22:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/\"},\"wordCount\":125,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"keywords\":[\"research\",\"ns\"],\"articleSection\":[\"Daily Scribble\"],\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/\",\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/\",\"name\":\"network simulator - \u54f2\u5b50\u6232 Philosophist\u2019s Camp\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#website\"},\"datePublished\":\"2005-04-07T09:18:48+00:00\",\"dateModified\":\"2009-04-15T06:22:01+00:00\",\"description\":\"I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/#breadcrumb\"},\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2005\\\/04\\\/07\\\/network-simulator\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"network simulator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/\",\"name\":\"\u54f2\u5b50\u6232 Philosophist\u2019s Camp\",\"description\":\"\u860b\u679c\u65e5\u5831\u4f5c\u8005 - \u9673\u99ac\uff1a\u66f8\u8a55\uff0c\u5f71\u8a55\uff0c\u52d5\u6f2b\uff0c\u65c5\u884c\uff0c\u54f2\u5b78\u7b46\u8a18\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-CA\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\",\"name\":\"hevangel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"width\":1313,\"height\":1259,\"caption\":\"hevangel\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\"},\"sameAs\":[\"http:\\\/\\\/www.horace.org\",\"https:\\\/\\\/www.facebook.com\\\/horace.org\"],\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/author\\\/hevangel-2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"network simulator - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","description":"I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/","og_locale":"en_US","og_type":"article","og_title":"network simulator - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","og_description":"I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the","og_url":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/","og_site_name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","article_publisher":"https:\/\/www.facebook.com\/horace.org","article_author":"https:\/\/www.facebook.com\/horace.org","article_published_time":"2005-04-07T09:18:48+00:00","article_modified_time":"2009-04-15T06:22:01+00:00","author":"hevangel","twitter_card":"summary_large_image","twitter_creator":"@horaceorg","twitter_site":"@horaceorg","twitter_misc":{"Written by":"hevangel","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/#article","isPartOf":{"@id":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/"},"author":{"name":"hevangel","@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"headline":"network simulator","datePublished":"2005-04-07T09:18:48+00:00","dateModified":"2009-04-15T06:22:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/"},"wordCount":125,"commentCount":1,"publisher":{"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"keywords":["research","ns"],"articleSection":["Daily Scribble"],"inLanguage":"en-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/","url":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/","name":"network simulator - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","isPartOf":{"@id":"https:\/\/www.horace.org\/blog\/#website"},"datePublished":"2005-04-07T09:18:48+00:00","dateModified":"2009-04-15T06:22:01+00:00","description":"I have been sturggling with ns2 for the past 24 hours. ns2 is an open source network simulation implemented in tcl and C++. It suppose to be one of the","breadcrumb":{"@id":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/#breadcrumb"},"inLanguage":"en-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.horace.org\/blog\/2005\/04\/07\/network-simulator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.horace.org\/blog\/"},{"@type":"ListItem","position":2,"name":"network simulator"}]},{"@type":"WebSite","@id":"https:\/\/www.horace.org\/blog\/#website","url":"https:\/\/www.horace.org\/blog\/","name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","description":"\u860b\u679c\u65e5\u5831\u4f5c\u8005 - \u9673\u99ac\uff1a\u66f8\u8a55\uff0c\u5f71\u8a55\uff0c\u52d5\u6f2b\uff0c\u65c5\u884c\uff0c\u54f2\u5b78\u7b46\u8a18","publisher":{"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.horace.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-CA"},{"@type":["Person","Organization"],"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c","name":"hevangel","image":{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","width":1313,"height":1259,"caption":"hevangel"},"logo":{"@id":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1"},"sameAs":["http:\/\/www.horace.org","https:\/\/www.facebook.com\/horace.org"],"url":"https:\/\/www.horace.org\/blog\/author\/hevangel-2\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pwn21-P","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":240,"url":"https:\/\/www.horace.org\/blog\/2005\/11\/09\/debug\/","url_meta":{"origin":51,"position":0},"title":"debug","author":"hevangel","date":"November 9, 2005","format":false,"excerpt":"I have been spending endless nights in debugging the UMTS extension to ns2, which the simulator for my thesis work. Ns2 is an open source freeware, one of the two most used simulation softwares for analyzing network preformence. The only other alternative is Opnet, a commercial product that no student\u2026","rel":"","context":"In &quot;Daily Scribble&quot;","block_context":{"text":"Daily Scribble","link":"https:\/\/www.horace.org\/blog\/category\/_scribble\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":61,"url":"https:\/\/www.horace.org\/blog\/2005\/04\/18\/61\/","url_meta":{"origin":51,"position":1},"title":"research progress","author":"hevangel","date":"April 18, 2005","format":false,"excerpt":"- setup CVS shared between cygwin and linux - ported Eurane module to ns 2.28 - installed tcl-debug - debugged avoidReordering_ warning","rel":"","context":"In &quot;Daily Scribble&quot;","block_context":{"text":"Daily Scribble","link":"https:\/\/www.horace.org\/blog\/category\/_scribble\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":214,"url":"https:\/\/www.horace.org\/blog\/2005\/10\/11\/wyd-journal-done\/","url_meta":{"origin":51,"position":2},"title":"WYD journal done","author":"hevangel","date":"October 11, 2005","format":false,"excerpt":"There ain't much energy left in me to write today's blog. I have spent half of the night writing the final chapter of my world youth day journal. (The other half of the night went to cook dinner, wash dishes and ns2) I had wrote 7 articles in total since\u2026","rel":"","context":"In &quot;Daily Scribble&quot;","block_context":{"text":"Daily Scribble","link":"https:\/\/www.horace.org\/blog\/category\/_scribble\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12423,"url":"https:\/\/www.horace.org\/blog\/2017\/11\/30\/embedded-linux-primer-2nd-edition-christopher-hallinan\/","url_meta":{"origin":51,"position":3},"title":"Embedded Linux Primer 2nd Edition &#8211; Christopher Hallinan","author":"hevangel","date":"November 30, 2017","format":false,"excerpt":"\u5728PC\u4e0a\u5b89\u88ddLinux\u5f88\u7c21\u55ae\uff0c\u4e0a\u7db2\u4e0b\u8f09\u500b\u4eca\u671f\u6700\u65b0\u6700\u6d41\u884c\u7684distribution\uff0c\u7136\u5f8c\u8ddf\u8457\u756b\u9762\u6b65\u9a5f\u7167\u505a\u5c31\u53ef\u4ee5\uff0c\u57fa\u672c\u4e0a\u8207\u5b89\u88ddWindows\u540c\u6a23\u65b9\u4fbf\u5feb\u6377\u3002\u5728embedded system\u4e0a\u5b89\u88ddLinux\uff0c\u5c31\u6c92\u6709\u9019\u6a23\u7c21\u55ae\u4e86\uff0cembedded system\u898f\u683c\u5343\u842c\u5316\uff0c\u5c31\u7b97\u662f\u4f7f\u7528\u540c\u4e00\u584a\u6676\u7247\u505aCPU\uff0c\u4e0d\u540c\u7684\u958b\u767c\u677f\u4e5f\u6709\u4e0d\u540c\u8a2d\u5099\u3002\u82e5\u679c\u662f\u71b1\u9580\u591a\u4eba\u7528\u7684\u958b\u767c\u677f\uff08\u5982Raspberry Pi, BeagleBoard\u7b49\uff09\u9084\u597d\uff0c\u7528\u5bb6\u793e\u7fa4\u53ef\u4ee5\u627e\u5230\u4e0d\u540cpackage\u7684Linux\u7cfb\u7d71\uff0c\u6709\u4e9b\u51b7\u9580\u7684\u958b\u767c\u677f\u5c31\u53ea\u6709\u5ee0\u5bb6\u63d0\u4f9b\u7684package\uff0c\u82e5\u679c\u4e0d\u9069\u5408\u6216\u5ee0\u5bb6\u4e0d\u518d\u66f4\u65b0\uff0c\u5c31\u8981\u81ea\u5df2\u843d\u624b\u843d\u8173\u53bbcompile\u5408\u7528\u7684Linux\u3002 \u9019\u672c\u66f82011\u5e74\u51fa\u7248\uff0c\u7576\u5e74Linux kernel\u7248\u672c\u9084\u662f2.6\uff0c\u73fe\u5728\u5df2\u7d93\u53bb\u52304.14\u3002\u5728\u79d1\u6280\u65e5\u65b0\u6708\u7570\u7684\u96fb\u8166\u754c\uff0c\u4e09\u56db\u5e74\u5df2\u7d93\u9762\u76ee\u5168\u975e\uff0c\u770b\u9019\u672c\u516d\u5e74\u524d\u51fa\u7248\u7684\u300c\u820a\u66f8\u300d\uff0c\u5167\u5bb9\u6703\u4e0d\u6703\u904e\u6642\uff1f\u5176\u5be6\u4f5c\u696d\u7cfb\u7d71\u7684\u8f49\u8b8a\u975e\u5e38\u7de9\u6162\uff0c\u96d6\u7136\u6bcf\u500b\u7248\u672c\u7684Linux\u4e5f\u6709\u65b0\u529f\u80fd\uff0c\u4f46\u59cb\u7d42\u90fd\u662f\u5efa\u7acb\u5728UNIX\u67b6\u69cb\u57fa\u790e\u4e0a\uff0c\u6240\u6709\u63a5\u8fd1CPU\u786c\u4ef6\u7684\u4f4e\u968e\u77e5\u8b58\u90fd\u662f\u7d2f\u9032\u7684\uff0c\u7562\u7adfCPU\u67b6\u69cb\u5341\u591a\u5e74\u4f86\u4e5f\u6c92\u6709\u5927\u8b8a\u5316\u5440\u3002\u8aaa\u5230\u8981\u5f9esource code\u958b\u59cb\u53bbcompile Linux\uff0c\u7db2\u4e0a\u6599\u8cc7\u4e00\u662f\u592a\u96f6\u788e\u4e00\u662f\u592a\u6df1\uff0c\u9664\u975e\u4ed8\u8cbb\u5831\u540d\u4e0a\u5802\u53bb\u5b78\uff0c\u5426\u5247\u8981\u9760\u9019\u672c\u66f8\u7576\u6307\u8def\u660e\u71c8\u3002\u4e0d\u904e\u9019\u672c\u66f8\u4e26\u975e\u5165\u9580\u66f8\uff0c\u5c0d\u8b80\u8005\u7a0b\u5ea6\u6709\u9817\u9ad8\u7684\u8981\u6c42\uff0c\u4e00\u662f\u8981\u5c0dLinux\u4f5c\u696d\u74b0\u5883\u6709\u4e00\u5b9a\u8a8d\u8b58\uff0c\u4e8c\u662f\u8981\u6709\u5beb\u7a0b\u5f0f\u548c\u641e\u786c\u4ef6\u7684\u7d93\u9a57\uff0c\u9664\u975e\u662f\u5de5\u4f5c\u9700\u8981\u6216\u96fb\u8166\u79d1\u7684\u5b78\u751f\uff0c\u61c9\u8a72\u6c92\u6709\u4eba\u6703\u81ea\u5df1compile Linux\u3002 \u9019\u672c\u66f8\u7684\u5167\u5bb9\u6bd4\u4e4b\u524d\u770b\u90a3\u672cHow Linux Works\u66f4\u4f4e\u968e\uff0c\u9996\u5169\u7ae0\u8b1b\u4ec0\u9ebc\u662fembedded system\uff0c\u5176\u5be6\u6703\u770b\u9019\u672c\u66f8\u53c8\u600e\u6703\u4e0d\u77e5\u9053\uff0c\u4e0d\u904e\u958b\u5834\u767d\u7e3d\u4e0d\u80fd\u907f\u514d\u3002\u7b2c\u4e09\u7ae0\u6b63\u5f0f\u9032\u5165\u6232\u8089\uff0c\u8b1b\u89e3kernel\u7684source code\u7684\u67b6\u69cb\uff0c\u7c97\u7565\u4ecb\u7d39\u5982\u4f55config\u3002\u9019\u672c\u4e0d\u662f\u8b1bkernel\u7684\u5c08\u984c\u66f8\uff0c\u5927\u90e8\u4efdcompile Linux\u7684\u4eba\u90fd\u4e0d\u6703\u6539\u52d5\u500bkernel\uff0c\u6240\u4ee5\u4e0d\u7528\u8b1b\u592a\u6df1\u5165\u3002\u4e4b\u5f8c\u5169\u7ae0\u5206\u5225\u8b1bkernel init\u540cuser space init\uff0c\u5e73\u6642\u958b\u6a5f\u898bkernel\u5370\u4e00\u5927\u5806message\u51fa\u4f86\uff0c\u7d42\u65bc\u77e5\u9053\u90a3\u4e9bmessage\u662f\u4ec0\u9ebc\u3002\u9019\u672c\u66f8\u89e3\u91cbroot file system\u5341\u5206\u597d\uff0c\u4e4b\u524d\u770b\u5176\u4ed6\u5730\u65b9\u4e86\u5e7e\u6b21\u89e3\u91cb\u90fd\u770b\u4e0d\u660e\u767d\uff0c\u4eca\u6b21\u7d42\u65bc\u7747\u5f97\u660e\u3002\u53e6\u4e00\u7ae0\u662f\u6559\u5bebdevice driver\u4ea6\u662f\u672c\u66f8\u91cd\u9ede\uff0c\u7528\u4e00\u500bdummy drive\u505a\u4f8b\u5b50\uff0c\u53ef\u4ee5\u8ddf\u8457\u66f8\u7167\u505a\u81ea\u5df1\u8a66\u4e0b\u5beb\u3002 \u4e4b\u5f8c\u7684\u7ae0\u7bc0\u5f88\u6709\u7cfb\u7d71\u4ecb\u7d39\u6574\u500bembedded Linux\u9700\u8981\u7528\u5230\u7684\u5404\u7a2e\u5de5\u5177\uff0c\u5f9ecompiler\u5230debugger\u5230build system\uff0c\u8b93\u8b80\u8005\u77e5\u9053\u6709\u4ec0\u9ebc\u6771\u897f\u53ef\u4f9b\u4f7f\u7528\uff0c\u7136\u5f8c\u53ef\u4ee5\u81ea\u5df1google\u66f4\u9032\u4e00\u6b65\u7684\u8cc7\u6599\uff0c\u5982\u4f55\u9023\u540d\u7a31\u4e5f\u4e0d\u77e5\u9053\uff0c\u60f3google\u4e5f\u7121\u5f9e\u67e5\u8d77\u3002\u539f\u672c\u6211\u6253\u7b97\u7528Yocto\u53bbcompile\uff0c\u4e0d\u904e\u7d93\u9019\u672c\u66f8\u63d0\u9192\uff0c\u518d\u770b\u770b\u7db2\u4e0a\u7684\u6bd4\u8f03\u8cc7\u6599\uff0c\u521d\u5b78\u8005\u9084\u662f\u7528Buildroot\u8f03\u5bb9\u6613\u4e0a\u624b\u3002 \u4e4b\u524d\u53ea\u662f\u8dd1\u5176\u4ed6\u4eba\u5beb\u843d\u7684script\u53bbcompile kernel\uff0c\u611f\u89ba\u5f88\u4e0d\u5be6\u5728\uff0c\u5b8c\u5168\u4e0d\u77e5\u9053\u81ea\u5df1\u5728\u505a\u4ec0\u9ebc\uff0c\u5982\u679c\u6709\u4ec0\u9ebc\u4e8b\u5514work\uff0c\u53ea\u80fd\u53eb\u4eba\u5e6b\u624b\u6574\uff0c\u81ea\u5df1\u5b8c\u5168\u5e6b\u4e0d\u4e0a\u5fd9\u3002\u7747\u5b8c\u9019\u672c\u66f8\uff0c\u6211\u624d\u89ba\u5f97\u6709\u8db3\u5920\u7684\u77e5\u8b58\uff0c\u53bb\u61c9\u4ed8\u5de5\u4f5c\u4e0a\u53ef\u80fd\u9047\u5230\u554f\u984c\u3002\u6211\u6709\u81ea\u77e5\u4e4b\u660e\uff0c\u6211\u9084\u672a\u5920\u6599\u89aa\u81ea\u843d\u624b\u843d\u8173\u53bbfix\u554f\u984c\uff0c\u4e0d\u904e\u81f3\u5c11\u586b\u5bebbug report\u6642\uff0c\u4e0d\u7528\u597d\u767d\u7661\u5481\u4e5c\u90fd\u53ea\u4fc2\u8b58\u8a71\u5514work\uff0c\u81f3\u5c11\u8b58\u8a71\u4ffe\u4eba\u908a\u5ea6\u5514work\u6709\u4e5c\u91ce\u8981fix\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2017\/11\/thumb.jpg?fit=475%2C623&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":436,"url":"https:\/\/www.horace.org\/blog\/2006\/06\/22\/fedora-nvidia-driver\/","url_meta":{"origin":51,"position":4},"title":"Fedora Nvidia driver","author":"hevangel","date":"June 22, 2006","format":false,"excerpt":"The Nvidia driver comes with Fedora core 5 doesn't support widescreen 1680x1050 resolution. Althought the display setup recongize my Dell 20\" wides screen monitor, only 1280x1024 resolution shows up in KDE. I was searching for solution on the web. No answer exactly match my question. Putting all the bit and\u2026","rel":"","context":"In &quot;Daily Scribble&quot;","block_context":{"text":"Daily Scribble","link":"https:\/\/www.horace.org\/blog\/category\/_scribble\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12395,"url":"https:\/\/www.horace.org\/blog\/2017\/11\/08\/linux-works-brian-ward\/","url_meta":{"origin":51,"position":5},"title":"How Linux Works &#8211; Brian Ward","author":"hevangel","date":"November 8, 2017","format":false,"excerpt":"\u63a5\u89f8Linux\u5927\u5927\u8a71\u8a71\u90fd\u6709\u5eff\u5e7e\u5e74\uff0c\u5f9e\u6700\u521d\u5514\u77e5\u8cb7\u4e5c\u9b3c\u96dc\u8a8c\u9001CD\uff0c\u81ea\u5df2\u88dd\u4f86\u88dd\u53bb\u5230\u641e\u5514\u6382\u500bgraphics driver\uff0c\u5230\u5f8c\u4f86Linux\u4e00\u7d71\u6c5f\u6e56\uff0c\u65e5\u65e5\u8fd4\u5de5\u90fd\u5728Linux\u4e0a\u5bebcode\uff0c\u5230\u6700\u8fd1\u56e0\u5de5\u4f5c\u9700\u8981\u81ea\u5df1compile Linux\uff0c\u624d\u767c\u89ba\u6211\u5f9e\u4f86\u6c92\u6709\u8a8d\u771f\u5b78\u7fd2\u904eLinux\u3002\u65e5\u5e38\u4f7f\u7528Linux\u8dd1\u7a0b\u5f0f\uff0c\u780c\u6a5f\u704cOS\u88ddLinux\u90a3\u4e9b\u624b\u677f\u773c\u898b\u529f\u592b\uff0c\u9047\u5230\u96e3\u984c\u4e0a\u7db2Google\u7b54\u6848\u8f15\u6613\u904e\u95dc\uff0c\u57fa\u790e\u6253\u4e0d\u597d\uff0c\u73fe\u5728\u66f8\u5230\u7528\u6642\u65b9\u6068\u5c11\uff0c\u8981\u6709\u7cfb\u7d71\u5730\u91cd\u65b0\u8a8d\u8b58Linux\u3002 \u9019\u672c\u300aHow Linux Works\u300b\u96d6\u7136\u7f8e\u5176\u540d\u662f\u5165\u9580\u66f8\u85c9\uff0c\u4e0d\u904e\u9664\u4e86\u7b2c\u4e00\u7ae0\u7684Linux\u7c21\u4ecb\uff0c\u7b2c\u4e8c\u7ae0\u65e5\u5e38\u4f7f\u7528\u7684commands\u5916\uff0c\u7b2c\u4e09\u7ae0\u6253\u5f8c\u96e3\u5ea6\u4e09\u7d1a\u8df3\uff0c\u5f9eFilesystems\uff0c\u5230Kernel Bootup\uff0csystemd\u57f7\u884c\u5148\u5f8c\u6b21\u5e8f\uff0c\u6bcf\u4e00\u500b\u984c\u76ee\u90fd\u8d85\u904e\u4e00\u822c\u7528\u5bb6\u8981\u77e5\u9053\u7684\u77e5\u8b58\uff0c\u53ef\u4ee5\u8aaa\u662fLinux admin\u7684\u6307\u5357\u7d22\u5f15\u3002\u9019\u672c\u66f8\u4e0d\u592a\u539a\u53ea\u6709\u4e0d\u5230\u56db\u767e\u9801\uff0c\u6240\u4ee5\u6bcf\u500b\u984c\u76ee\u90fd\u4e0d\u6703\u8b1b\u5f97\u592a\u6df1\u5165\uff0c\u53cd\u800c\u662f\u7cfb\u7d71\u5316\u5730\u628aLinux\u7684\u5167\u5bb9\u4f8b\u51fa\u4f86\uff0c\u8b80\u8005\u5927\u7d04\u77e5\u9053\u6709\u4ec0\u9ebc\u984c\u76ee\uff0c\u7136\u5f8c\u81ea\u5df1\u518d\u627e\u4e0a\u7db2\u627e\u8cc7\u6599\u3002 \u9019\u672c\u66f8\u7684\u5167\u5bb9\uff0c\u5927\u6168\u6709\u516b\u6210\u6211\u4ee5\u524d\u770b\u904e\uff0c\u6240\u4ee5\u770b\u904e\u672c\u66f8\u975e\u5e38\u5feb\uff0c\u5f88\u591a\u7ae0\u7bc0\u53ea\u662f\u7c97\u7565\u7ffb\u770b\u3002\u5269\u4e0b\u4f86\u7684\u5169\u6210\u65b0\u77e5\u8b58\u975e\u5e38\u6709\u7528\uff0c\u88dc\u5b8c\u6211\u5c0dLinux\u8a8d\u77e5\u7684\u7f3a\u6f0f\uff0c\u6709\u4e9b\u5f88\u7c21\u55ae\u7684\u57fa\u790e\u6168\u5ff5\uff0c\u4e00\u822c\u7db2\u4e0a\u901f\u98df\u89e3\u7b54\u6c92\u6709\u8b1b\u89e3\uff0c\u4f8b\u5982\/usr\u5176\u5be6\u540cuser\u7121\u95dc\uff0c\u65b0process\u5982\u4f55fork\u51fa\u4f86\uff0cshell script\u53ef\u4ee5\u958bsubshell\uff0cX\u7cfb\u7d71server\u540cclient\u7684\u5206\u529f\u7b49\u7b49\u3002\u5f88\u591a\u6771\u897f\u6211\u61c2\u5f97\u7528\u4f46\u4e0d\u6c42\u751a\u89e3\uff0c\u73fe\u5728\u5b78\u597d\u4e86\u57fa\u672c\u77e5\u8b58\uff0c\u958b\u59cb\u770b\u901aLinux\u7684\u8a2d\u8a08\u908f\u8f2f\uff0c\u5f88\u591a\u7591\u554f\u4fbf\u4e00\u7406\u901a\u767e\u7406\u660e\u3002 \u4e0d\u904e\u770b\u5b8c\u9019\u672c\u66f8\uff0c\u96d6\u7136\u5c0dLinux\u7684\u8a8d\u8b58\u662f\u5b8c\u6574\u4e86\uff0c\u5c0d\u65bccompile Linux\u7684\u5e6b\u52a9\u4e0d\u5927\uff0c\u9802\u591a\u5728\u6211\u57f7package\u6642\u81f3\u5c11\u77e5\u9053\u653e\u4e86\u4ec0\u9ebc\u5165\u53bb\u500bbuild\u5ea6\uff0c\u4f46\u89e3\u6c7a\u4e0d\u4e86kernel\u958b\u4e0d\u5230\u6a5f\u7684\u71c3\u7709\u4e4b\u6025\uff0c\u9084\u8981\u7e7c\u7e8c\u627e\u5176\u4ed6\u66f8\u770b\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2017\/11\/4789070349b7bc1b.png?fit=503%2C666&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":false,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":1,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":2583,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions\/2583"}],"wp:attachment":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}