<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackMagic</title>
	<atom:link href="http://blackmagic02881.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blackmagic02881.wordpress.com</link>
	<description>Random piece about IT and Life</description>
	<lastBuildDate>Fri, 06 Apr 2007 20:01:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blackmagic02881.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a02cb432aefa4971d71d7befea594883?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>BlackMagic</title>
		<link>http://blackmagic02881.wordpress.com</link>
	</image>
			<item>
		<title>Nice article about gcc</title>
		<link>http://blackmagic02881.wordpress.com/2007/04/06/nice-article-about-gcc/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/04/06/nice-article-about-gcc/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 20:01:23 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/04/06/nice-article-about-gcc/</guid>
		<description><![CDATA[Here is one nice write about gcc.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=60&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.onlamp.com/pub/a/onlamp/2007/04/03/getting-familiar-with-gcc-parameters.html">Here</a> is one nice write about gcc.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=60&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/04/06/nice-article-about-gcc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>GNU C __attribute__</title>
		<link>http://blackmagic02881.wordpress.com/2007/03/16/gnu-c-__attribute__/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/03/16/gnu-c-__attribute__/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 16:05:45 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/03/16/gnu-c-__attribute__/</guid>
		<description><![CDATA[Linux kernel actively use __attribute__ all over the places. Here is a nice introduction and also with links to complete reference.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=59&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Linux kernel actively use __attribute__ all over the places. <a href="http://www.unixwiz.net/techtips/gnu-c-attributes.html">Here</a> is a nice introduction and also with links to complete reference.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/59/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/59/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=59&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/03/16/gnu-c-__attribute__/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>心里话</title>
		<link>http://blackmagic02881.wordpress.com/2007/02/19/%e5%bf%83%e9%87%8c%e8%af%9d/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/02/19/%e5%bf%83%e9%87%8c%e8%af%9d/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 23:06:22 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/02/19/%e5%bf%83%e9%87%8c%e8%af%9d/</guid>
		<description><![CDATA[要问我是谁，
过去 我总不愿回答，
因为我怕，
我怕城里的孩子笑话。
我们的校园很小，
放不下一个鞍马；
我们的校舍简陋，
还经常搬家；
我们的教室很暗，
灯光只有几瓦；
我们的座椅很旧，
坐上去吱吱哑哑；
但是 我们作业工整，
我们的成绩不差，
要问我此刻最想说什么，
我爱我的妈妈，我爱我的爸爸，
因为
是妈妈把城市的马路越扫越宽，
因为
是爸爸建起了新世纪的高楼大厦。
北京的2008，
也是我们的2008，
老师把她谱成了歌，
同学把她画成了画，
作文课上 我们写下了这样的话，
别人与我比父母，我和别人比明天！
打工子弟和城里的小朋友一样，
都是中国的娃，都是祖国的花。
亲爱的爷爷奶奶 爸爸妈妈，
全国的小朋友们，
我向你拜年啦。
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=58&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>要问我是谁，<br />
过去 我总不愿回答，<br />
因为我怕，<br />
我怕城里的孩子笑话。</p>
<p>我们的校园很小，<br />
放不下一个鞍马；<br />
我们的校舍简陋，<br />
还经常搬家；<br />
我们的教室很暗，<br />
灯光只有几瓦；<br />
我们的座椅很旧，<br />
坐上去吱吱哑哑；</p>
<p>但是 我们作业工整，<br />
我们的成绩不差，<br />
要问我此刻最想说什么，<br />
我爱我的妈妈，我爱我的爸爸，<br />
因为<br />
是妈妈把城市的马路越扫越宽，<br />
因为<br />
是爸爸建起了新世纪的高楼大厦。</p>
<p>北京的2008，<br />
也是我们的2008，<br />
老师把她谱成了歌，<br />
同学把她画成了画，<br />
作文课上 我们写下了这样的话，<br />
别人与我比父母，我和别人比明天！</p>
<p>打工子弟和城里的小朋友一样，<br />
都是中国的娃，都是祖国的花。<br />
亲爱的爷爷奶奶 爸爸妈妈，<br />
全国的小朋友们，<br />
我向你拜年啦。</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=58&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/02/19/%e5%bf%83%e9%87%8c%e8%af%9d/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>Rich people social networking</title>
		<link>http://blackmagic02881.wordpress.com/2007/02/16/rich-people-social-networking/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/02/16/rich-people-social-networking/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 20:02:31 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[IT General]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/02/16/rich-people-social-networking/</guid>
		<description><![CDATA[see how rich VC and tech guys do social networking
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=57&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>see how rich VC and tech guys do social <a href="http://linksviewer.com/">networking</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=57&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/02/16/rich-people-social-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>Vmware server + Fedora Core 6</title>
		<link>http://blackmagic02881.wordpress.com/2007/02/14/vmware-server-fedora-core-6/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/02/14/vmware-server-fedora-core-6/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 16:56:23 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/02/14/vmware-server-fedora-core-6/</guid>
		<description><![CDATA[VMWware server 1.0.1 build-29996 can not install flawlessly on FC6 with kernel 2.6.19-1.2911.fc6. Need some simple hack.
* Linux kernel version magic dismatch. You will dmesg show your something like &#8220;vmmon: version magic &#8216;2.6.19-1.2911.fc6 SMP mod_unload 686 REGPARM 4KSTACKS &#8216; should be &#8216;2.6.19-1.2911.fc6 SMP mod_unload 586 REGPARM 4KSTACKS &#8220;. I modified the include/asm/module.h file, changed #elif [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=56&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>VMWware server 1.0.1 build-29996 can not install flawlessly on FC6 with kernel 2.6.19-1.2911.fc6. Need some simple hack.</p>
<p>* Linux kernel version magic dismatch. You will dmesg show your something like &#8220;vmmon: version magic &#8216;2.6.19-1.2911.fc6 SMP mod_unload 686 REGPARM 4KSTACKS &#8216; should be &#8216;2.6.19-1.2911.fc6 SMP mod_unload 586 REGPARM 4KSTACKS &#8220;. I modified the include/asm/module.h file, changed #elif defined CONFIG_M686 #define MODULE_PROC_FAMILY &#8220;686 &#8221; to &#8220;586 &#8220;</p>
<p>* module compilation failure. change vmnet source by following http://www.abclinuxu.cz/blog/tucnacek/2006/12/6/160636. also need to link autoconf.h to config.h under include/linux in kernel source code.</p>
<p>That&#8217;s it!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=56&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/02/14/vmware-server-fedora-core-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux kernel, kgdb, vmware</title>
		<link>http://blackmagic02881.wordpress.com/2007/02/07/linux-kernel-kgdb-vmware/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/02/07/linux-kernel-kgdb-vmware/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 15:48:27 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/02/07/linux-kernel-kgdb-vmware/</guid>
		<description><![CDATA[Setup kgdb with supported kernel is quite straight forward by following the document. But there do have some small roadblocks, especially when you try to run the Linux as a VM in VMWare server.

With 2.6.8 or later kernel, you will not see &#8220;Waiting for connection from remote gdb&#8230;&#8221;, as pointed out at here. I was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=54&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Setup kgdb with supported kernel is quite straight forward by following the <a href="http://kgdb.linsyssoft.com/docu.htm">document</a>. But there do have some small roadblocks, especially when you try to run the Linux as a VM in VMWare server.</p>
<ul>
<li>With 2.6.8 or later kernel, you will not see &#8220;Waiting for connection from remote gdb&#8230;&#8221;, as pointed out at <a href="http://kgdb.linsyssoft.com/connect.htm">here</a>. I was panic for a while when I could not figure out  where the kernel stopped at;</li>
<li> Setup VMWare virtual serial port by following <a href="http://blackmagic02881.wordpress.com/2007/02/05/linux-serial-console-how-to-with-vmware-server/">this</a>.</li>
<li>Tricky: by default, kgdb over serial will use serial port 1 in CONFIG_KGDB_PORT_NUM, which is <em>2nd</em> serial port. Had better change this to serial port 0, which is <em>1st</em> serial port. The reason is we, at least I, usually add only 1 serial port in VMWare server&#8230;</li>
</ul>
<p>Notes:</p>
<ul>
<li>kdgb cvs 02/07/2007 version can apply cleanly on 2.6.17 and runs ok.</li>
<li>kgdb latest can be found via &#8220;git clone git://www.kernel.org/pub/scm/linux/kernel/git/trini/linux-2.6-kgdb-testing.git&#8221;, as of 02/07/07, it is based on 2.6.18</li>
</ul>
<p><tt></tt></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=54&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/02/07/linux-kernel-kgdb-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux serial console with VMWare server.</title>
		<link>http://blackmagic02881.wordpress.com/2007/02/05/linux-serial-console-how-to-with-vmware-server/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/02/05/linux-serial-console-how-to-with-vmware-server/#comments</comments>
		<pubDate>Mon, 05 Feb 2007 23:10:30 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/02/05/linux-serial-console-how-to-with-vmware-server/</guid>
		<description><![CDATA[Linux has a complete remote serial console how to available. So why need another one?

I just need a really simple guide to finish my work. And later when my 256KB main brain memory overflow, I can pick it up quickly.
I also want to run Linux virtual machine within VMWare server using virtual serial console support [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=53&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Linux has a complete <a href="http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/">remote serial console how to</a> available. So why need another one?</p>
<ul>
<li>I just need a really simple guide to finish my work. And later when my 256KB main brain memory overflow, I can pick it up quickly.</li>
<li>I also want to run Linux virtual machine within VMWare server using virtual serial console support from VMWare.</li>
</ul>
<p>Let us call the Linux virtual machine as &#8220;target&#8221; and Linux host running VMWare as &#8220;host&#8221;:</p>
<p>Target side: [most c&amp;p from previously mentioned howto]</p>
<ol>
<li>To enable kernel support. Select Y for -&gt; Device Drivers-&gt; Character devices-&gt; Serial drivers-&gt; 8250/16550 and compatible serial support (SERIAL_8250 [=y]). Recompile kernel.</li>
<li>To add kernel run time parameter. Modify grub.conf and use parameter like &#8220;title 2.6.11.5 root (hd0,0) kernel /vmlinuz-2.6.11.5 ro root=/dev/sda3 console=ttyS0,9600n8 console=tty0&#8243;. These are recommended parameters. 9600 baud rate, no parity bit, 8 bit data bit, 1 stop bit, no flow control. Also leave the original tty0 usable. Of course, faster baud rate like 57600 will be better.</li>
<li>Check and make sure mgetty is installed.</li>
<li>To enable login prompt. Add one line in /etc/inittab &#8220;S0:23:respawn:/sbin/mgetty ttyS0&#8243;. Modify /etc/mgetty+sendfax/mgetty.config. Add  &#8220;port ttyS0   speed 9600   direct yes   data-only yes   toggle-dtr yes  need-dsr yes  port-owner root  port-group root  port-mode 600   login-prompt @ \P login:40  login-time 60  term vt102&#8243;</li>
<li>To enable root login. Add ttyS0 to /etc/securetty.</li>
</ol>
<p>VMWare VM setting:</p>
<ol>
<li>[C&amp;P from <a href="http://oslab.info/index.php/Misc/KGDB">here</a>]. Power down your virtual machine and click &#8220;Edit Virtual Machine Settings&#8221;. Add a serial port, select &#8220;Connect to named pipe&#8221;, and provide the pipe name &#8220;/tmp/com_1&#8243;. (note that this isn&#8217;t really a named pipe, but a Unix-domain socket) Click &#8220;advanced settings&#8221; and set &#8220;yield CPU on poll&#8221;. You can also get to this setting from the device list once you finish adding the port.</li>
<li>You can start the Linux VM now.</li>
</ol>
<p>Host side:</p>
<ol>
<li>Install socat from <a href="http://lass.cs.umass.edu/~pjd/socat-1.4.3.0-1.2.fc5.pjd.i386.rpm">here</a>.</li>
<li>run &#8220;socat -d -d  /tmp/com_1 PTY:&#8221;. socat should  report something like &#8220;PTY is /dev/pts/x&#8221;.</li>
<li>start minicom, configure it with right serial port setting, save the configuration and run it.</li>
<li>now from minicom should get a full functional console. Sometime need to be patient to wait the login console appear.</li>
</ol>
<p>Note: VMWare allows a serial port to be (1) physical port, (2) output to file, and (3) named pipe. So if we only need to capture console output like oops or boot message, we can use (2) to output to foo, and do &#8220;tail -f foo&#8221; in host.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=53&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/02/05/linux-serial-console-how-to-with-vmware-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>IET+ESX alignment issue</title>
		<link>http://blackmagic02881.wordpress.com/2007/02/05/ietesx-alignment-issue/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/02/05/ietesx-alignment-issue/#comments</comments>
		<pubDate>Mon, 05 Feb 2007 18:59:43 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/02/05/ietesx-alignment-issue/</guid>
		<description><![CDATA[If you met poorer than expected IO performance with ESX3 using IET, you might meet this alignment issue. VMWare has detailed explanation on how to align the VM partition.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=52&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you met poorer than expected IO performance with ESX3 using IET, you might meet this alignment issue. VMWare has detailed <a href="http://www.vmware.com/vmtn/resources/608">explanation</a> on how to align the VM partition.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=52&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/02/05/ietesx-alignment-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>Use shared cache with multi-core CPU</title>
		<link>http://blackmagic02881.wordpress.com/2007/01/23/use-shared-cache-with-multi-core-cpu/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/01/23/use-shared-cache-with-multi-core-cpu/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 15:38:37 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/01/23/use-shared-cache-with-multi-core-cpu/</guid>
		<description><![CDATA[Dr. Dobb has an article about how to gain better performance by utilizing shared cache with multi-core CPUs. It will be more useful when we have 80 cores. Will we?
One &#8220;Cache Blocking Technique&#8221; is well explained here.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=48&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Dr. Dobb has an <a href="http://www.ddj.com/dept/64bit/196902836">article</a> about how to gain better performance by utilizing shared cache with multi-core CPUs. It will be more useful when we have <a href="http://news.com.com/Intel+pledges+80+cores+in+five+years/2100-1006_3-6119618.html">80 cores</a>. Will we?</p>
<p>One &#8220;Cache Blocking Technique&#8221; is well explained <a href="http://www.intel.com/cd/ids/developer/asmo-na/eng/20461.htm?prn=Y">here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=48&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/01/23/use-shared-cache-with-multi-core-cpu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
		<item>
		<title>Another IET recipe</title>
		<link>http://blackmagic02881.wordpress.com/2007/01/23/another-iet-recipe/</link>
		<comments>http://blackmagic02881.wordpress.com/2007/01/23/another-iet-recipe/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 14:12:23 +0000</pubDate>
		<dc:creator>blackmagic02881</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://blackmagic02881.wordpress.com/2007/01/23/another-iet-recipe/</guid>
		<description><![CDATA[Steffen shared another IET recipe with some nice features:

active/passive storage controller
configuration management across cluster
dynamic updating of running ietd environment
dynamically add new targets and LUNs
handle size changes of LUNs
logical volume backup

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=47&subd=blackmagic02881&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Steffen shared another IET <a href="http://www.amherst.edu/~swplotner/iscsitarget/">recipe</a> with some nice features:</p>
<ul>
<li>active/passive storage controller</li>
<li>configuration management across cluster</li>
<li>dynamic updating of running ietd environment</li>
<li>dynamically add new targets and LUNs</li>
<li>handle size changes of LUNs</li>
<li>logical volume backup</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/blackmagic02881.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/blackmagic02881.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blackmagic02881.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blackmagic02881.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blackmagic02881.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blackmagic02881.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blackmagic02881.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blackmagic02881.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blackmagic02881.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blackmagic02881.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blackmagic02881.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blackmagic02881.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blackmagic02881.wordpress.com&blog=645181&post=47&subd=blackmagic02881&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blackmagic02881.wordpress.com/2007/01/23/another-iet-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ab1fc691805d3157e3d06a2275eb1504?s=96&#38;d=identicon" medium="image">
			<media:title type="html">blackmagic02881</media:title>
		</media:content>
	</item>
	</channel>
</rss>