<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5212403236953243611</id><updated>2012-02-06T07:54:42.768-08:00</updated><title type='text'>ESL</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-2278691481108427085</id><published>2008-06-14T01:32:00.000-07:00</published><updated>2008-06-14T01:55:32.866-07:00</updated><title type='text'>TLM2.0</title><content type='html'>SystemC was the only survivor in ESL language. After several years, SystemC TLM2.0 will be the only survivor in ESL transaction level modeling style.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-2278691481108427085?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/2278691481108427085/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=2278691481108427085' title='35 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/2278691481108427085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/2278691481108427085'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2008/06/tlm20.html' title='TLM2.0'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>35</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-1383884739551155145</id><published>2007-04-21T05:52:00.000-07:00</published><updated>2007-04-25T02:11:53.866-07:00</updated><title type='text'>bug fixed and release</title><content type='html'>v4.0 相當的不錯,應該是把問題解掉了。&lt;br /&gt;經過四十次的驗證,應該沒有問題。&lt;br /&gt;而且明確找到原因啦。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-1383884739551155145?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/1383884739551155145/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=1383884739551155145' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/1383884739551155145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/1383884739551155145'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/bug-fixed-and-release.html' title='bug fixed and release'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-1825055318186130813</id><published>2007-04-19T05:17:00.000-07:00</published><updated>2007-04-21T05:50:35.047-07:00</updated><title type='text'>status of debian arm versatile qemu(4/19)</title><content type='html'>Applied my patches, I found&lt;br /&gt;1. system work or kernel page error.&lt;br /&gt;2. debian installation always work without kernel hang.&lt;br /&gt;in that case, blue screen without anything.&lt;br /&gt;3. I guess it is hardware model error.&lt;br /&gt;&lt;br /&gt;But we need more systematic method to solve problem.&lt;br /&gt;&lt;br /&gt;I try to debug by the follow steps.&lt;br /&gt;&lt;br /&gt;First, I saw the kernel error in screen.&lt;br /&gt;Because I use pyvnc2swf, I can saw all screen information in installation.&lt;br /&gt;&lt;br /&gt;It show that&lt;br /&gt;&lt;br /&gt;sym_evaluate_dp 0xa4/0x178&lt;br /&gt;sym_compute_residual 0x78/0xe4&lt;br /&gt;sym_interrupt 0xf0/0x18d8&lt;br /&gt;sym53c8xx_intr 0x3c/0x6c&lt;br /&gt;handle_IRQ_event 0x44/0x84&lt;br /&gt;&lt;br /&gt;and then I use arm-elf-objdump -S to dump all of vmlinux &gt; log&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;vmlinux&lt;/span&gt; has debug information, but &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;vmlinuz&lt;/span&gt; not.&lt;br /&gt;hence, you will get only assembly code if you dump &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;vmlinuz&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;and then you will find the memory error happen address in C code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and then analysis these code&lt;br /&gt;1. &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;SYM&lt;/span&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;CONF&lt;/span&gt;_MAX_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;SG&lt;/span&gt; is 96. but (r0 = 0x1c8)&lt;br /&gt;so that, some thing is wrong.&lt;br /&gt;&lt;br /&gt;Another method is to enable debug mode in emulator,&lt;br /&gt;and trace what happen inside. we can monitor all of transaction,&lt;br /&gt;and find the problem.&lt;br /&gt;&lt;br /&gt;for example above, we find the problem is happened in SCSI &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;ISR&lt;/span&gt;.&lt;br /&gt;Because of some mismatches, the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;ISR&lt;/span&gt; can not handle it correct.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-1825055318186130813?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/1825055318186130813/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=1825055318186130813' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/1825055318186130813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/1825055318186130813'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/status-of-debian-arm-versatile-qemu419.html' title='status of debian arm versatile qemu(4/19)'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-2715288605129866785</id><published>2007-04-12T20:22:00.000-07:00</published><updated>2007-04-17T06:45:45.772-07:00</updated><title type='text'>Debian Arm Versatile Qemu stability</title><content type='html'>&lt;ul&gt;&lt;li&gt;Always work&lt;/li&gt;&lt;ul&gt;&lt;li&gt;without vnc viewer&lt;/li&gt;&lt;li&gt;with vnc recoder pyvnc2swf&lt;/li&gt;&lt;li&gt;with vnc viewer -viewonly&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Sometimes work&lt;/li&gt;&lt;ul&gt;&lt;li&gt;remote vnc viewer&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;I guess there are bugs in vnc server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-2715288605129866785?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/2715288605129866785/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=2715288605129866785' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/2715288605129866785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/2715288605129866785'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/debian-arm-versatile-qemu-stability.html' title='Debian Arm Versatile Qemu stability'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-6053318379184858219</id><published>2007-04-10T04:13:00.000-07:00</published><updated>2007-04-10T04:20:07.718-07:00</updated><title type='text'>debian auto installation timeout</title><content type='html'>&lt;pre&gt;&lt;br /&gt;loop&lt;br /&gt;    sleep 10s&lt;br /&gt;    check the job status&lt;br /&gt;    if already wait 5000s&lt;br /&gt;        kill the job&lt;br /&gt;    else&lt;br /&gt;        continue wait&lt;br /&gt;endloop&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-6053318379184858219?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/6053318379184858219/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=6053318379184858219' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6053318379184858219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6053318379184858219'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/debian-auto-timeout.html' title='debian auto installation timeout'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-6570907206743254374</id><published>2007-04-08T11:32:00.000-07:00</published><updated>2007-04-09T23:50:14.220-07:00</updated><title type='text'>debian etch is released</title><content type='html'>my debian arm qemu version v2.8 is also released.(4/8)&lt;br /&gt;&lt;br /&gt;Now, stability testing is running.&lt;br /&gt;&lt;br /&gt;No, this version is not stable enough.(4/9)&lt;br /&gt;apply vnc patch.&lt;br /&gt;v3.0 is under testing.&lt;br /&gt;&lt;br /&gt;v3.0 is work under 26 times continuous installation testing.(4/10 14:50)&lt;br /&gt;&lt;br /&gt;v3.0 in ubuntu is under testing.(4/10 7:50)&lt;br /&gt;v3.0 is also work under 6 times testing(4/10 14:50)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-6570907206743254374?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/6570907206743254374/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=6570907206743254374' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6570907206743254374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6570907206743254374'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/debian-etch-is-released.html' title='debian etch is released'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-221474743730046308</id><published>2007-04-07T19:23:00.000-07:00</published><updated>2007-04-08T07:19:02.201-07:00</updated><title type='text'>qemu upstream</title><content type='html'>原先我們一直出新的patch給upstream用,以為qemu的upstream主要在穩定,但是系統太複雜,核心的patch會更動到所有的架構,今天來個irq patch, arm就不會動了,所以目前是給一個qemu cvs snapshot的版本,然後再上patch,這樣比較不會有問題啦........跟upstream還有點煩...&lt;br /&gt;&lt;br /&gt;ps. 這個bug花點時間也找到了...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-221474743730046308?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/221474743730046308/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=221474743730046308' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/221474743730046308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/221474743730046308'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/qemu-upstream.html' title='qemu upstream'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-5145774726835224492</id><published>2007-04-04T22:19:00.001-07:00</published><updated>2007-04-05T15:54:55.817-07:00</updated><title type='text'>lsi_scsi still have bug!</title><content type='html'>在一次網路不穩定(apt-proxy)的狀況下出現了下面的問題.正常狀況下似乎不會發生&lt;br /&gt;lsi_scsi: error: Unimplemented message 0x0d&lt;br /&gt;lsi_scsi: error: Unimplemented message 0x0c&lt;br /&gt;lsi_scsi: error: Reselect with pending DMA&lt;br /&gt;lsi_scsi: error: Reselect with pending DMA&lt;br /&gt;lsi_scsi: error: Reselect with pending DMA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-5145774726835224492?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/5145774726835224492/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=5145774726835224492' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/5145774726835224492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/5145774726835224492'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/lsiscsi-still-have-bug.html' title='lsi_scsi still have bug!'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-7508187245867687498</id><published>2007-04-04T20:52:00.000-07:00</published><updated>2007-04-09T17:01:51.405-07:00</updated><title type='text'>QEMU看起來還不錯用啦</title><content type='html'>debian ARM versatile QEMU&lt;br /&gt;angstrom ARM versatile QEMU&lt;br /&gt;兩個環境相當的不錯!!&lt;br /&gt;目前在我的環境 x86 debian sarge or debian etch都蠻穩的,系統沒有什麼問題.&lt;br /&gt;&lt;br /&gt;ps.但是debian installer在別的環境下不行, 連ubuntu都會掛!!!Fedora是一定掛........&lt;br /&gt;但是我個人覺得這個應該是debian installer software的bug，硬體應該沒問題。&lt;br /&gt;看debian etch installer 的bug list還真多問題。&lt;br /&gt;&lt;br /&gt;ps.後來覺得debian installer software應該沒有問題。是hardware model的bug.(4/10)&lt;br /&gt;ps.我不知道什麼時候會再反過來&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-7508187245867687498?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/7508187245867687498/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=7508187245867687498' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/7508187245867687498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/7508187245867687498'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/04/qemu.html' title='QEMU看起來還不錯用啦'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-4378675294094658244</id><published>2007-03-25T03:39:00.000-07:00</published><updated>2007-04-05T16:00:36.030-07:00</updated><title type='text'>qemu arm versatile bug hunting</title><content type='html'>&lt;ol&gt;&lt;li&gt;lsi scsi bug patch -&gt; upstream merged&lt;/li&gt;&lt;li&gt;smc network patch -&gt; upstream merged&lt;br /&gt;&lt;/li&gt;&lt;li&gt;dhcp server: option interface-mtu 1500; debian arm versatile installer send size &gt; 1500 packet to network, but the host network MTU is 1500. /sbin/ifconfig will indidate the host network MTU -&gt; not real problem?&lt;br /&gt;&lt;/li&gt;&lt;li&gt;install apt-cacher(not apt-proxy) to get network more stable.&lt;/li&gt;&lt;li&gt;tun/tap: /etc/network/interfaces : bridge_fd 1&lt;/li&gt;&lt;li&gt;the vnc server in qemu is not so robust. you must disconnect normally. real vnc viewer F8 will pop the menu, and then click "quit viewer"&lt;/li&gt;&lt;li&gt;DNS server is not stable. 140.113.250.135 is nctu primary DNS server and assign ip address for mirror site&lt;/li&gt;&lt;li&gt;RTC not implement, delay will be infinite delay(I guess debian installer hang)&lt;/li&gt;&lt;li&gt;apt-proxy sometimes need restart because the connections are not normal termination or the mirror site synchronization problems. If information show "some package can not got", you need to restart apt-proxy. (you should change to apt-cacher)&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;I don't know if the fixed is useful.&lt;br /&gt;But I can install arm debian in qemu 30 times automatically without problem.&lt;br /&gt;The version is debian-v2.4. the version is a private version control number not link with upstream.&lt;br /&gt;&lt;br /&gt;Wang Cheng Yeh is me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-4378675294094658244?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/4378675294094658244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/4378675294094658244'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/03/qemu-arm-versatile-bug-hunting.html' title='qemu arm versatile bug hunting'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-6463674896837045732</id><published>2007-03-23T08:15:00.000-07:00</published><updated>2007-03-26T08:41:26.288-07:00</updated><title type='text'>linux debug under qemu</title><content type='html'>之前說qemu系統不穩,所以需要debug,&lt;br /&gt;當你發現系統hang住了,你可以進到qemu monitor: ctrl-alt-2,&lt;br /&gt;來個log in_asm,exec,cpu ...,&lt;br /&gt;再繼續cont....&lt;br /&gt;你就可以看到kernel的部分在搞什麼鬼,&lt;br /&gt;再來你需要去看kernel的System.map就會知道是哪個function出問題,&lt;br /&gt;之後就看個人修行啦!!&lt;br /&gt;這樣的debug是kernel level debug,&lt;br /&gt;目前versatile qemu最大的問題是debian installation裝不起來,&lt;br /&gt;ctrl-alt-2 and sendkey ctrl-alt-f1 ~ f4可以切換到console看看debian出甚問題,&lt;br /&gt;這樣可以看到gui的後面installer在做什麼.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-6463674896837045732?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/6463674896837045732/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=6463674896837045732' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6463674896837045732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6463674896837045732'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/03/linux-debug-under-qemu.html' title='linux debug under qemu'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-7427383017955279972</id><published>2007-02-05T09:48:00.000-08:00</published><updated>2007-02-05T09:50:32.234-08:00</updated><title type='text'>qemu uart console</title><content type='html'>`-nographic'&lt;br /&gt;Normally, QEMU uses SDL to display the VGA output. With this option, you can totally disable graphical output so that QEMU is a simple command line application. The emulated serial port is redirected on the console. Therefore, you can still use QEMU to debug a Linux kernel with a serial console.&lt;br /&gt;&lt;br /&gt;所以只要輸入到uart就可以對應到console&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-7427383017955279972?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/7427383017955279972/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=7427383017955279972' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/7427383017955279972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/7427383017955279972'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/02/qemu-uart-console.html' title='qemu uart console'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-4144373330313014674</id><published>2007-01-27T18:07:00.000-08:00</published><updated>2007-03-30T09:59:11.048-07:00</updated><title type='text'>debian qemu : usb</title><content type='html'>系統不穩定，常常就不會動，或者當掉。&lt;br /&gt;但是embedded system angstrom的就沒有這個問題。debian installer常常partition的建立會出問題。&lt;br /&gt;&lt;br /&gt;1. 目前是disk image type raw size 2G and file system ext2&lt;br /&gt;2. 安裝的時候不要上tap/tun網路&lt;br /&gt;這樣似乎就沒有問題....不知道那裡出問題了.....&lt;br /&gt;&lt;br /&gt;usb非常重要,缺什麼，就把usb的device買來就可以裝上去,&lt;br /&gt;可是debian etch的kernel package居然沒有usb,所以rebuild kernel是必須的,&lt;br /&gt;還好debian's way的方法在x86上有接觸過,&lt;br /&gt;        build linux kernel in debian&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        install kernel image version XXX&lt;br /&gt;        download kernel-source version XXX package&lt;br /&gt;        cd /usr/src&lt;br /&gt;        tar jxvf kernel-source-XXX&lt;br /&gt;        ln -s kernel-source-XXX linux&lt;br /&gt;        cd linux&lt;br /&gt;        make xconfig&lt;br /&gt;        in GUI&lt;br /&gt;&lt;br /&gt;                load configuration from file&lt;br /&gt;                /boot/config-XXX&lt;br /&gt;&lt;br /&gt;        save and exit&lt;br /&gt;&lt;br /&gt;        fakeroot make-kpkg clean&lt;br /&gt;        fakeroot make-kpkg --append-to-version=.cywang --initrd kernel_image&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;動作&lt;br /&gt;1. download debian org.tgz and versatile patch&lt;br /&gt;2. tar org.tgz and patch gz&lt;br /&gt;3. cd linux-2.6.18;patch -p1 &lt; patchfile&lt;br /&gt;4. apt-get install kernel-package fakeroot libncurses5-dev&lt;br /&gt;5. dpkg-buildpackage -rfakeroot&lt;br /&gt;&lt;a href="http://www.debian-administration.org/articles/90"&gt;rebuild&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.aurel32.net/info/debian_arm_qemu.php"&gt;debian qemu&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.debian.org/doc/maint-guide/ch-build.en.html#s-completebuild"&gt;rebuild&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-4144373330313014674?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/4144373330313014674/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=4144373330313014674' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/4144373330313014674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/4144373330313014674'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/debian-qemu-usb.html' title='debian qemu : usb'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-4032535253733996908</id><published>2007-01-21T17:18:00.000-08:00</published><updated>2007-01-21T17:28:48.695-08:00</updated><title type='text'>gcc 4.1 v.s. gcc 3.4</title><content type='html'>familiar 0.8.4目前使用gcc3.4&lt;br /&gt;angstrom 2007.1現在使用gcc4.1&lt;br /&gt;gcc之前有自己extend c/c++ language，現在要拿掉了，所以有些語法會出問題，這部份會變得比較麻煩，所以現在gcc是越新版的就會越嚴格，這也是沒有辦法的，但是對於distribution就是大麻煩。目前我的規劃是build兩套distribution,familiar比較舊但是功能完整,angstrom比較新但是功能比較少。但是這是遲早要解決的問題，只要angstrom都沒有問題,我想就只build angstrom.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-4032535253733996908?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/4032535253733996908/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=4032535253733996908' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/4032535253733996908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/4032535253733996908'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/gcc-41-vs-gcc-34.html' title='gcc 4.1 v.s. gcc 3.4'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-2578271850949201685</id><published>2007-01-15T18:05:00.000-08:00</published><updated>2007-01-26T03:15:25.625-08:00</updated><title type='text'>linux under embedded system</title><content type='html'>手持式裝置如果要使用linux，就需要整套完整的distribution，就如同桌上型的電腦以及伺服器一樣，都需要整套distribution，redhat,debian就是這樣的一整套系統，而手持式裝置只是另一種資源更加缺乏的系統而已。就好像比較舊的電腦，比較小的螢幕。但是這樣也需要修改很多東西才能適合在手持式裝置上面運行。目前這個環境並不統一，每個計畫玩自己的，比較共通的有幾點，都是debian出來的，使用ipkg作為套件管理，使用cross compile的方式來編譯。HP有HP的支持群，Sharp有Sharp的支持群。&lt;br /&gt;familiar主要是HP的device,-&gt;發展久,但還沒有qemuarm,要修改&lt;br /&gt;openzaurus主要是sharp的device,-&gt;發展久也沒有qemuarm,要修改&lt;br /&gt;angstrom是openzaurus的繼承者,宣稱要支援各家的device.-&gt;剛發展不久,有qemuarm&lt;br /&gt;總之在openembedded環境下不要使用generic distribution因為那會變成三不管地帶,build會error!&lt;br /&gt;debian如果你有硬碟,或者有夠大的flash而且cpu,dram,也要夠力，也可以的啦..&lt;br /&gt;現在arm cpu可以上到1GHz了，以前的問題變得小很多，除了power之外，其他都還好啦。&lt;br /&gt;其實angstrom與familiar最後會非常接近,就好像debian v.s. ubuntu，原先他們也要合併，後來好像又沒有。&lt;br /&gt;&lt;br /&gt;qemuarm to familiar&lt;br /&gt;familiar/packages/linux/linux-rp-2.6.18  -&gt; kernel&lt;br /&gt;familiar/conf/machine/qemuarm.conf -&gt; config&lt;br /&gt;setup/build-env.sh -&gt; GUI config&lt;br /&gt;看起來狀況不錯,&lt;br /&gt;上面所說的都是GPE的部份，OPIE的部份因為現在是戰國時期，所以不建議使用，新的Qtopia 4系列已經出來，而且與OPIE不相容，似乎是要把OPIE丟掉，trolltech這家公司把OPIE的開發人員挖過來，OPIE大失血，再加上版本不相容，所以現在不要去碰OPIE啊！&lt;br /&gt;ps. 玩了三天的一些小體驗&lt;br /&gt;&lt;br /&gt;所以目前規劃是familiar angstrom debian&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-2578271850949201685?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/2578271850949201685/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=2578271850949201685' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/2578271850949201685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/2578271850949201685'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/linux-under-embedded-system.html' title='linux under embedded system'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-5511966590947574852</id><published>2007-01-14T18:34:00.000-08:00</published><updated>2007-01-14T19:13:41.938-08:00</updated><title type='text'>output function validation</title><content type='html'>Audio -&gt; PCM data  -&gt; ffmpeg convert from PCM to WAV&lt;br /&gt;ffmpeg -f s16le -ar 48000 -ac 2 -i xxx.pcm xxx.wav&lt;br /&gt;&lt;br /&gt;-f force format&lt;br /&gt;s16le -&gt; signed 16 bit little endian&lt;br /&gt;-ar is your sample rate in Hz&lt;br /&gt;-ac is how many channels. Stereo is, of course, 2&lt;br /&gt;-i input file name&lt;br /&gt;&lt;br /&gt;Video -&gt; R G B matrix -&gt; octave show image&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-5511966590947574852?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/5511966590947574852/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=5511966590947574852' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/5511966590947574852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/5511966590947574852'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/output-function-validation.html' title='output function validation'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-7889164592900007384</id><published>2007-01-14T00:56:00.000-08:00</published><updated>2007-03-15T17:16:57.809-07:00</updated><title type='text'>GPE QEMU</title><content type='html'>1) mount xxx.ext2 /xxx -o loop&lt;br /&gt;2) remove /xxx/etc/X11/Xinit.d/30xTs_Calibate&lt;br /&gt;comment "keylaunch -f /etc/X11/gpe-login.keylaunchrc &amp;amp;"&lt;br /&gt;in /xxx/etc/X11/gpe-login.setup&lt;br /&gt;&lt;br /&gt;3)  umount /xxx&lt;br /&gt;&lt;br /&gt;4) qemu-system-arm -M versatilepb -kernel zImage.bin -hda xxx.ext2 -append "root=/dev/sda"&lt;br /&gt;&lt;br /&gt;5) resize harddrive to 1G&lt;br /&gt;/sbin/resize2fs xxx.ext2 1000000&lt;br /&gt;-&gt; file size is too large&lt;br /&gt;&lt;br /&gt;6) change file system(qcow environment is not ready: resize, loop mount...)&lt;br /&gt;qemu-img convert xxx.ext2 -O qcow xxx.qcow&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ps initrd.gz file format cramfs: gunzip initrd.gz; mount -t cramfs -o loop initrd  d&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-7889164592900007384?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/7889164592900007384/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=7889164592900007384' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/7889164592900007384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/7889164592900007384'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/gpe-qemu.html' title='GPE QEMU'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-8353230737945956597</id><published>2007-01-08T20:39:00.000-08:00</published><updated>2007-01-10T11:49:44.159-08:00</updated><title type='text'>QEMU &amp; develop environment &amp; arm linux distribution</title><content type='html'>openembedded  is very good&lt;br /&gt;&lt;a href="http://www.openembedded.org/"&gt;http://www.openembedded.org/&lt;/a&gt;&lt;br /&gt;以前弄gcc cross compile就快要瘋掉,現在只要下個指令就做好了,因為patch都是別人在上的啦.&lt;br /&gt;再來就是整合到qemu的模擬環境.&lt;br /&gt;&lt;a href="http://folks.o-hand.com/richard/qemu.html"&gt;http://folks.o-hand.com/richard/qemu.html&lt;/a&gt;&lt;br /&gt;qemu如果要用NFS root的話,NFS server必需要在別台機器上,不能同台機器的不同網路卡,而且網路要在一開始就能work,這樣才可以正常開機.還有檔案的權限要開,chmod -R 777 /nfs_root_file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-8353230737945956597?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/8353230737945956597/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=8353230737945956597' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/8353230737945956597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/8353230737945956597'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/qemu-and-arm-linux-distribution.html' title='QEMU &amp; develop environment &amp; arm linux distribution'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-5343429839461412965</id><published>2007-01-08T15:35:00.000-08:00</published><updated>2007-01-30T07:15:25.538-08:00</updated><title type='text'>QEMU network</title><content type='html'>一台機器兩張網路卡，一張是主機網路，另一張是虛擬機器的網路，兩個獨立的IP。雖然在網路端最後是合併，但是這樣相當簡單。然後經由bridge把一張網路卡連上虛擬機器的網路裝置，因此設定虛擬機器的網路跟主機網路設定相當類似，只是IP不同而已。&lt;br /&gt;詳細狀況如下&lt;br /&gt;/etc/network/interfaces&lt;br /&gt;auto eth0&lt;br /&gt;...&lt;br /&gt;是主機網路設定&lt;br /&gt;&lt;br /&gt;br0是bridge一端是接eth1&lt;br /&gt;&lt;br /&gt;auto br0&lt;br /&gt;iface br0 inet static&lt;br /&gt;address 140.113.x.a&lt;br /&gt;network 140.113.x.0&lt;br /&gt;netmask 255.255.255.255&lt;br /&gt;broadcast 140.113.x.255&lt;br /&gt;gateway 140.113.x.254&lt;br /&gt;bridge_ports eth1&lt;br /&gt;bridge_fd 9&lt;br /&gt;bridge_hello 2&lt;br /&gt;bridge_maxage 12&lt;br /&gt;bridge_stp off&lt;br /&gt;再來是qemu啟動的時候的設定&lt;br /&gt;&lt;br /&gt;使用下面的script可以把另一端的網路裝置連上bridge&lt;br /&gt;#!/bin/sh&lt;br /&gt;sudo /sbin/ifconfig $1 0.0.0.0 promisc up&lt;br /&gt;sudo /usr/sbin/brctl addif br0 $1&lt;br /&gt;sleep&lt;br /&gt;但是這部份是在qemu啟動的時候，才會出現另一個網路裝置，&lt;br /&gt;所以script是"qemu -net tap,script=script_file"的部份所設定的&lt;br /&gt;&lt;br /&gt;所以qemu網路部份是 qemu-system-arm -net nic -net tap,script=script_file&lt;br /&gt;&lt;br /&gt;這樣模擬環境的虛擬網路已經設定完成，&lt;br /&gt;&lt;br /&gt;再來是模擬器上的arm linux網路設定&lt;br /&gt;ifconfig eth0 addr 140.113.x.a&lt;br /&gt;ifconfig eth0 netmask 255.255.255.0&lt;br /&gt;ping 140.113.1.1&lt;br /&gt;-&gt; network is unreachable&lt;br /&gt;ip route add default via 140.113.x.254&lt;br /&gt;&lt;br /&gt;小故事一則，一個狗窩有兩隻狗，一隻大狗一隻小狗，主人就做了兩個狗門，大狗走大門小狗走小門。人家就問他為什麼不只做一個大門，給兩隻狗走。&lt;br /&gt;&lt;br /&gt;但是我們的機器就是有兩張網路卡阿，也就是他本來就有兩個門幹麼不用呢。&lt;br /&gt;&lt;br /&gt;ps&lt;br /&gt;&lt;br /&gt;If you get an error message like warning: could not open /dev/net/tun: no virtual network emulation, install vtun package, run it ( /etc/init.d/vtun start) and set /dev/net/tun universally read-writable (chmod a+rw /dev/net/tun).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-5343429839461412965?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/5343429839461412965/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=5343429839461412965' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/5343429839461412965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/5343429839461412965'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2007/01/qemu.html' title='QEMU network'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-3787521209979632553</id><published>2006-12-11T16:03:00.000-08:00</published><updated>2006-12-11T16:16:00.766-08:00</updated><title type='text'>VLIW v.s. ESL</title><content type='html'>VLIW 是一種把硬體排程問題丟給軟體解決的概念,但是效果好不好,除了架構的問題之外,就要靠寫軟體的人來達到效果, 這部分會變得非常麻煩,而ESL可以補一些缺口,經由ESL可以知道系統效能的缺失,知道整個系統的問題在哪裡,資源要丟在哪裡.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-3787521209979632553?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/3787521209979632553/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=3787521209979632553' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/3787521209979632553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/3787521209979632553'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2006/12/vliw-vs-esl.html' title='VLIW v.s. ESL'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5212403236953243611.post-6405088214313855032</id><published>2006-11-26T22:18:00.000-08:00</published><updated>2006-11-26T22:19:07.691-08:00</updated><title type='text'>ESL is hot</title><content type='html'>也不知道怎麼了,這幾年大家都在炒作ESL,這變成大熱門的研究.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5212403236953243611-6405088214313855032?l=cywang-esl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cywang-esl.blogspot.com/feeds/6405088214313855032/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5212403236953243611&amp;postID=6405088214313855032' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6405088214313855032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5212403236953243611/posts/default/6405088214313855032'/><link rel='alternate' type='text/html' href='http://cywang-esl.blogspot.com/2006/11/esl-is-hot.html' title='ESL is hot'/><author><name>王成業</name><uri>http://www.blogger.com/profile/07912714946909212621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
