<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkYGQXc7eip7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712</id><updated>2011-11-28T07:55:20.902+08:00</updated><category term="install" /><category term="virtualization" /><category term="google app engine" /><category term="Clone tool" /><category term="Polyphemus" /><category term="proxy" /><category term="ISO linux mount" /><category term="partimage" /><category term="ipras" /><category term="ospf" /><category term="Windows" /><category term="ports" /><category term="harddisk cloning" /><category term="ld-elf.so" /><category term="bridge networking" /><category term="EASEUS" /><category term="cisco" /><category term="domain" /><category term="aptitude" /><category term="freebsd" /><category term="skipfish" /><category term="kvm" /><category term="solaris" /><category term="xen" /><category term="partition manager" /><category term="port fowarding" /><category term="linux" /><category term="hack" /><category term="virtualbox" /><category term="netbsd boot ACPI" /><category term="bridge network" /><category term="boot" /><category term="FOG" /><category term="non-free" /><category term="pendrivelinux.com" /><category term="core dump analysis" /><category term="usb" /><category term="wlan0" /><category term="debian package" /><category term="singtel broadband on mobile" /><category term="ssh" /><category term="tap-win 32" /><category term="Partition Magic" /><category term="free ssh client" /><category term="opnsuse" /><category term="NAT" /><category term="NFS" /><category term="norton ghost" /><category term="Clonezilla" /><category term="unetbootin" /><category term="windows memory management" /><category term="Gparted" /><category term="ubuntu" /><title>fook sheng technical blog</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://fooksheng.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/FookShengTechnicalBlog" /><feedburner:info uri="fookshengtechnicalblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkYNQn8_eip7ImA9WhdSE0w.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-8326452669127744812</id><published>2011-07-22T14:56:00.002+08:00</published><updated>2011-07-22T15:03:13.142+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-22T15:03:13.142+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="solaris" /><category scheme="http://www.blogger.com/atom/ns#" term="core dump analysis" /><title>Solaris Core dump analysis</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A Solaris server running Glassfish keep crashing in my company and even the Oracle consultant has no clue, after he analysed the core dump files.&lt;br /&gt;
&lt;br /&gt;
I have no idea on how to tackle the problem either. But it happen again and again and I decided that it is time for me to learn how to analyse core dump files.&lt;br /&gt;
&lt;br /&gt;
Of course&amp;nbsp;Google&amp;nbsp;is my best friend for a task like this, but some knowledge of reverse engineering helps alot here, without of which might mean getting nothing out even when presented with the correct information.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;pflags&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Run pflags and look for signals that caused a crash. Here I found a &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;SIGSEGV signal.&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;pflags core.hostname04.703.26100.java &amp;gt; pflags.txt&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;and I do a grep and found in the file:&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; /&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;243&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;: &amp;nbsp;flags = DETACH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sigmask = 0xfffffeff,0x0000ffff &amp;nbsp;cursig = &lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;SIGSEGV&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;The crash occured in thread number 243.&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;u&gt;pstack&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;pstack &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;core.hostname04.703.26100.java&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;gt; pstack.txt&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;and look for 243. I got :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;----------------- &amp;nbsp;&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;lwp# 243 / thread# 243&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;--------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;b&gt;ffffffff7dda9840&lt;/b&gt;&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;jni_GetByteArrayRegion &lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;(1111471c8, fffffff80b6155c8, 0, 108, fffffff80b6054f8, 111147000) + f8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;The function &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;jni_GetByteArrayRegion is causing the crash. It is located in memory address&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;ffffffff7dda9840.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;&lt;u&gt;pmap&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; text-decoration: none;"&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;pmap&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;core.hostname04.703.26100.java&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt; &amp;gt; pmap.txt&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;portion of the pmap.txt:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;....&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; white-space: normal;"&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;FFFFFFFF7DB12000 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;16K r----&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;FFFFFFFF7DC00000 &lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8192K r-x-- &amp;nbsp;/opt/jdk1.6.0_24/jre/lib/sparcv9/server/libjvm.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;FFFFFFFF7E400000 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2048K r-x-- &amp;nbsp;/opt/jdk1.6.0_24/jre/lib/sparcv9/server/libjvm.so&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;........&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;So the culprit is /opt/jdk1.6.0_24/jre/lib/sparcv9/server/libjvm.so&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;I found an easier way to locate the executable that contains the offending function. I will write about it in a later post.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-family: 'Times New Roman'; font-size: medium; font-weight: normal; text-decoration: none; white-space: normal;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Since the library (&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;/opt/jdk1.6.0_24/jre/lib/sparcv9/server/libjvm.so&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt;) is part of the Java Runtime Environment, I have filed a case with Oracle and they are currently investigating. I saved them some work infact  :)&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-weight: normal; text-decoration: none;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; white-space: pre-wrap;"&gt;Have a nice day :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-weight: normal; text-decoration: none;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; white-space: pre-wrap;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent; font-weight: normal; text-decoration: none;"&gt;&lt;span id="internal-source-marker_0.1611090051010251" style="background-color: transparent; color: black; font-style: normal; font-variant: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; white-space: pre-wrap;"&gt;fook sheng&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-8326452669127744812?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GEvzFyUX2nnrMWJ_CWm8xXLS0zE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GEvzFyUX2nnrMWJ_CWm8xXLS0zE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GEvzFyUX2nnrMWJ_CWm8xXLS0zE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GEvzFyUX2nnrMWJ_CWm8xXLS0zE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/ODccaXvMPnk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/8326452669127744812/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=8326452669127744812" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8326452669127744812?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8326452669127744812?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/ODccaXvMPnk/solaris-core-dump-analysis.html" title="Solaris Core dump analysis" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2011/07/solaris-core-dump-analysis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ECQXgyfCp7ImA9WhZbE08.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-6460613119278489922</id><published>2011-06-17T17:34:00.001+08:00</published><updated>2011-06-17T22:41:00.694+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-17T22:41:00.694+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="windows memory management" /><title>Microsoft Windows memory management</title><content type="html">&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Some notes on Microsoft Windows Memory Management (limited to 32 bit OS)&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Maximum memory available is 4G (because Microsoft is dumb enough to ignore segment registers. See &lt;a href="http://social.technet.microsoft.com/Forums/en/w7itproperf/thread/9feee84c-44f8-48fa-b49f-9199473e3006"&gt;http://social.technet.microsoft.com/Forums/en/w7itproperf/thread/9feee84c-44f8-48fa-b49f-9199473e3006&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;32 bit applications can access up to 4G of memory but in actual fact it can only access 2 G, which is known as the user mode virtual address space (user space)&lt;/li&gt;&lt;li&gt;User mode address space range from 0000 0000 - 7FFF FFFF&lt;/li&gt;&lt;li&gt;The other 2G of memory is known as kernel mode address space (system space) and it is reserved for the OS&lt;/li&gt;&lt;li&gt;Kernel mode address space range from 8000 0000 - FFFF FFFF&lt;/li&gt;&lt;li&gt;System space contain the global OS code and data structures that are visible to each process&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;References&lt;/div&gt;&lt;div&gt;&lt;a href="http://blogs.technet.com/b/askperf/archive/2007/09/28/memory-management-x86-virtual-address-space.aspx"&gt;http://blogs.technet.com/b/askperf/archive/2007/09/28/memory-management-x86-virtual-address-space.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-6460613119278489922?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/V1xyCOCTCyOW_mxIeH_JammZWTw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V1xyCOCTCyOW_mxIeH_JammZWTw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/V1xyCOCTCyOW_mxIeH_JammZWTw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V1xyCOCTCyOW_mxIeH_JammZWTw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/SSuQbY1tKhE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/6460613119278489922/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=6460613119278489922" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6460613119278489922?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6460613119278489922?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/SSuQbY1tKhE/microsoft-windows-memory-management.html" title="Microsoft Windows memory management" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2011/06/microsoft-windows-memory-management.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAEQH87fCp7ImA9Wx9XE0U.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-7596797193963277218</id><published>2011-01-07T14:52:00.000+08:00</published><updated>2011-01-07T16:25:01.104+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-07T16:25:01.104+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="NFS" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><title>NFS on MS Windows Server 2003</title><content type="html">I am trying out Zen Cloud and a need for NFS as a shared resource arise. My colleague has a Windows server running and i found out that I can run NFS server on the Windows 2003 server.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.peacon.co.uk/wiki/Creating_an_NFS_Server_using_Windows_Server_2003"&gt;http://blog.peacon.co.uk/wiki/Creating_an_NFS_Server_using_Windows_Server_2003&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In short you need Services for Unix (SFU), which can be downloaded at:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=896c9688-601b-44f1-81a4-02878ff11778"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=896c9688-601b-44f1-81a4-02878ff11778&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The version I had is Windows Services for UNIX Version 3.5.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Happy New Year and cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-7596797193963277218?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6jBuPRKAT4gVGhW2KULDJUV0O7U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6jBuPRKAT4gVGhW2KULDJUV0O7U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6jBuPRKAT4gVGhW2KULDJUV0O7U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6jBuPRKAT4gVGhW2KULDJUV0O7U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/ohWVeB8rkSs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/7596797193963277218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=7596797193963277218" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/7596797193963277218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/7596797193963277218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/ohWVeB8rkSs/nfs-on-ms-windows.html" title="NFS on MS Windows Server 2003" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2011/01/nfs-on-ms-windows.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEARH87fCp7ImA9WxFSE08.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-5677880549220161168</id><published>2010-04-15T17:52:00.000+08:00</published><updated>2010-04-15T18:17:25.104+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-15T18:17:25.104+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ld-elf.so" /><category scheme="http://www.blogger.com/atom/ns#" term="skipfish" /><title>/libexec/ld-elf.so.1: Shared object "libidn.so.17" not found, required by "skipf ish"</title><content type="html">/libexec/ld-elf.so.1: Shared object "libidn.so.17" not found, required by "skipf&lt;br /&gt;ish"&lt;br /&gt;&lt;br /&gt;you got this when u run skipfish...&lt;br /&gt;&lt;br /&gt;but&lt;br /&gt;&lt;br /&gt;$ ls /usr/local/lib&lt;br /&gt;libidn.a        libidn.la       libidn.so       libidn.so.17    pkgconfig&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;they are there!&lt;br /&gt;&lt;br /&gt;by using numerous keywords, and finally using "/usr/lib /usr/local/lib" to google, i found this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://ubuntuforums.org/showthread.php?t=289848&lt;br /&gt;&lt;br /&gt;&lt;div class="smallfont"&gt;          &lt;strong&gt;&lt;br /&gt;Re: /usr/local/lib and /usr/lib&lt;/strong&gt;    &lt;/div&gt;    &lt;hr style="color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);" size="1"&gt;    &lt;!-- / icon and title --&gt;           &lt;!-- message --&gt;   &lt;div class="vbclean_msgtext" id="post_message_1696003"&gt;iamnafets,&lt;br /&gt;&lt;br /&gt;Unless running `ldconfig` is part of the "make install" command for  installing the library, your system doesn't know your custom-compiled  libraries exist.  /usr/local/lib might not be in the library search path  either.  Do the following as root:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 50px; text-align: left; overflow: auto;"&gt;# echo "/usr/local/lib" &gt;&gt; /etc/ld.so.conf&lt;br /&gt;# ldconfig&lt;/pre&gt; &lt;/div&gt;The above command will append the directory /usr/local/lib to the  /etc/ld.so.conf file, creating it if necessary.  ldconfig updates the  system's cache on libraries installed.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the freebsd forum search is hopeless really, but the OS is great.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;it still didn't work!&lt;br /&gt;&lt;br /&gt;the man pages of ldconfig mention /etc/ld-elf.so.conf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FINALLY&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;ldconfig /usr/local/lib&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;it works!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;freebsd# ./skipfish&lt;br /&gt;skipfish version 1.31b by &lt;lcamtuf@google.com&gt;&lt;br /&gt;[-] PROGRAM ABORT : Scan target not specified (try -h for help).&lt;br /&gt; Stop location : main(), skipfish.c:394&lt;br /&gt;freebsd#&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the man page of ldconfig reads:&lt;br /&gt;&lt;br /&gt;SYNOPSIS&lt;br /&gt; ldconfig [-32] [-aout | -elf] [-Rimrsv] [-f hints_file]&lt;br /&gt;          [directory | file ...]&lt;br /&gt;&lt;br /&gt;DESCRIPTION&lt;br /&gt; The ldconfig utility is used to prepare a set of ``hints'' for use by the&lt;br /&gt; dynamic linker to facilitate quick lookup of shared libraries available&lt;br /&gt; in multiple directories.  It scans a set of built-in system directories&lt;br /&gt; and any directories specified on the command line (in the given order)&lt;br /&gt; looking for shared libraries and stores the results in a system file to&lt;br /&gt; forestall the overhead that would otherwise result from the directory&lt;br /&gt; search operations the dynamic linker would have to perform to load the&lt;br /&gt; required shared libraries.&lt;br /&gt;&lt;br /&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;Files named on the command line are expected to contain directories to&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;     scan for shared libraries&lt;/span&gt;.....&lt;/lcamtuf@google.com&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-5677880549220161168?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jonB3kKjI7LUy07k1wM89XBtFA8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jonB3kKjI7LUy07k1wM89XBtFA8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jonB3kKjI7LUy07k1wM89XBtFA8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jonB3kKjI7LUy07k1wM89XBtFA8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/loqSj7x87Ts" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/5677880549220161168/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=5677880549220161168" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5677880549220161168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5677880549220161168?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/loqSj7x87Ts/libexecld-elfso1-shared-object.html" title="/libexec/ld-elf.so.1: Shared object &quot;libidn.so.17&quot; not found, required by &quot;skipf ish&quot;" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2010/04/libexecld-elfso1-shared-object.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcNRX4_cSp7ImA9WxFSE0w.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-275930372918647870</id><published>2010-04-15T15:18:00.000+08:00</published><updated>2010-04-15T15:21:34.049+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-15T15:21:34.049+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ports" /><category scheme="http://www.blogger.com/atom/ns#" term="freebsd" /><category scheme="http://www.blogger.com/atom/ns#" term="proxy" /><title>FreeBSD ports</title><content type="html">for example, if i want to install bash shell&lt;br /&gt;&lt;br /&gt;become root&lt;br /&gt;cd /usr/ports/shells/bash&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;make HTTP_PORT=192.168.0.100:8080 install if you are behind a proxy. Of course, in this case, the proxy is 192.168.0.100.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-275930372918647870?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IEufspb3iaePn-HCYS3Lctxm1kY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IEufspb3iaePn-HCYS3Lctxm1kY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IEufspb3iaePn-HCYS3Lctxm1kY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IEufspb3iaePn-HCYS3Lctxm1kY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/744RkbiKpkU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/275930372918647870/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=275930372918647870" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/275930372918647870?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/275930372918647870?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/744RkbiKpkU/freebsd-ports.html" title="FreeBSD ports" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2010/04/freebsd-ports.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAFRn85eyp7ImA9WxBaFEQ.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-3603073760416484922</id><published>2010-03-25T13:21:00.000+08:00</published><updated>2010-03-25T13:58:37.123+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-25T13:58:37.123+08:00</app:edited><title>vbscript</title><content type="html">&lt;span style="font-weight: bold;"&gt;username&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set WshNetwork = WScript.CreateObject("WScript.Network")&lt;br /&gt;WScript.Echo "Username :" &amp;amp; WshNetwork.UserName&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;concatenation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;use &amp;amp; to concatenate strings, for example,&lt;br /&gt;&lt;br /&gt;FilePath = strPath &amp;amp; WshNetwork.UserName &amp;amp; ".V2\ntuser.dat"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;check for existence of a file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;If (fso.FileExists(FilePath)) Then&lt;br /&gt;  WScript.Echo FilePath &amp;amp; " exists"&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;check for a value in a registry key&lt;/span&gt;&lt;br /&gt;Unlike other programming languages, you need to read the "Err". I wonder why MS don't implement return value. funny.&lt;br /&gt;&lt;br /&gt;strValueName = "HKCU\abc\def"&lt;br /&gt;&lt;br /&gt;Set WshShell = WScript.CreateObject("WScript.Shell")&lt;br /&gt;On Error Resume Next&lt;br /&gt;&lt;br /&gt;WshShell.RegRead(strValueName)&lt;br /&gt;&lt;br /&gt;If Err = -2147024894 Then&lt;br /&gt;  'The key "HKCU\abc\def" does not exist&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;If Err = 0 Then&lt;br /&gt;  'The key exist&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Executing a command&lt;/span&gt;&lt;br /&gt;Set WshShell = CreateObject("WScript.Shell")&lt;br /&gt;'encrypt Z: drive using EFS&lt;br /&gt;Set oExec = WshShell.Exec("cipher /e /s:z:")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-3603073760416484922?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E8Luf45HPDXrpBIwnp_sNWMobRo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E8Luf45HPDXrpBIwnp_sNWMobRo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E8Luf45HPDXrpBIwnp_sNWMobRo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E8Luf45HPDXrpBIwnp_sNWMobRo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/Ns84OL4UFiw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/3603073760416484922/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=3603073760416484922" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/3603073760416484922?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/3603073760416484922?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/Ns84OL4UFiw/vbscript.html" title="vbscript" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2010/03/vbscript.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEACQno4fip7ImA9WxNaEEk.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-6333313101001683854</id><published>2009-11-13T12:07:00.000+08:00</published><updated>2009-11-24T15:12:43.436+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-24T15:12:43.436+08:00</app:edited><title>VirtualBox</title><content type="html">&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_Q1T5kMM0VTk/SwERg5KkHSI/AAAAAAAAABk/J_ZVahqaPAo/s1600/clonevb.png"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_Q1T5kMM0VTk/SwERYk_Eq3I/AAAAAAAAABc/io6UgNE-xJY/s1600/clonevb.png"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_Q1T5kMM0VTk/SwEQ-GJiCbI/AAAAAAAAABU/wtuC1as59mA/s1600/clonevb.png"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-weight: bold;"&gt;VirtualBox on OpenSuse 11.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;i have windows 7 running as guest using KVM in my opensuse, but i don't like the SVGA emulation.&lt;br /&gt;&lt;br /&gt;So i try virtualbox, and i convert the qemu image to vmware image and use it in VirtualBox , but it failed.&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # qemu-img convert -O vmdk hp-win7.img hp-win7.vmdk&lt;br /&gt;&lt;br /&gt;So i configure a new vdi image for my windows 7 guest and start my vm, but i got an error, and the error advise me to run this:&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # /etc/init.d/vboxdrv setup&lt;br /&gt;Stopping VirtualBox kernel module done&lt;br /&gt;Recompiling VirtualBox kernel module failed&lt;br /&gt;(Look at /var/log/vbox-install.log to find out what went wrong)&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # more /var/log/vbox-install.log&lt;br /&gt;Makefile:174: *** Error: unable to find the include directory for your current L&lt;br /&gt;inux kernel. Specify KERN_INCL=&lt;directory&gt; and run Make again. Stop.&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # ls -la /dev/vboxdrv&lt;br /&gt;ls: cannot access /dev/vboxdrv: No such file or directory&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # uname -a&lt;br /&gt;Linux opensuse 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux&lt;br /&gt;&lt;br /&gt;so i install the kernel source for 2.6.27-9.1 using Yast although 2.6.27.37 is available...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # /etc/init.d/vboxdrv setup&lt;br /&gt;Stopping VirtualBox kernel module done&lt;br /&gt;Recompiling VirtualBox kernel module done&lt;br /&gt;Starting VirtualBox kernel module done&lt;br /&gt;opensuse:/kvm-disk #&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;seems to work...&lt;br /&gt;&lt;/directory&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Cloning a virtualbox VM &lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;you install virtualbox, and install , say windows 2008, as a guest. then u realise you need to install another windows 2008 guest. do u need to install again? No. u can clone the first one. And there is no need to run NewSID on the cloned vm, yes, it is true, read it here http://blogs.technet.com/markrussinovich/archive/2009/11/03/3291024.aspx.&lt;/div&gt;&lt;br /&gt;here is how i did it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;C:\Users\chan\.VirtualBox\HardDisks&gt;"C:\Program Files\Sun\VirtualBox\vboxman&lt;br /&gt;age" clonehd old.vdi new.vdi&lt;br /&gt;VirtualBox Command Line Management Interface Version 3.0.10&lt;br /&gt;(C) 2005-2009 Sun Microsystems, Inc.&lt;br /&gt;All rights reserved.&lt;br /&gt;&lt;br /&gt;0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%&lt;br /&gt;Clone hard disk created in format 'VDI'. UUID: 1dfaa26a-2761-4ee4-9cd6-24642f3c8&lt;br /&gt;53e&lt;br /&gt;&lt;br /&gt;C:\Users\chan\.VirtualBox\HardDisks&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-6333313101001683854?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e8g4ppZTe5dHOe3Hl2jy6GZ9Bsc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e8g4ppZTe5dHOe3Hl2jy6GZ9Bsc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e8g4ppZTe5dHOe3Hl2jy6GZ9Bsc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e8g4ppZTe5dHOe3Hl2jy6GZ9Bsc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/jg4DepTQCbU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/6333313101001683854/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=6333313101001683854" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6333313101001683854?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6333313101001683854?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/jg4DepTQCbU/virtualbox.html" title="VirtualBox" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/11/virtualbox.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYBSXwzfSp7ImA9WxNUGU4.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-8265677729843581042</id><published>2009-11-11T17:58:00.000+08:00</published><updated>2009-11-11T18:09:18.285+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-11T18:09:18.285+08:00</app:edited><title>KVM</title><content type="html">KVM - kernel virtual machine&lt;br /&gt;&lt;br /&gt;kvm uses QEMU for device emulation. So your guest will only see a VGA graphics card. Don't expect good performance here. I increase the resolution to 1024 and i could get a larger screen, but it will be better when qemu emulate some better graphicscard. Xen-HVM uses QEMU for emulation too. I tried -vga vmware in kvm-qemu, but it is worse than no specifying anything (i.e. using the default).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I run a vncserver (RealVNC) in my Windows 7 guest and connect to it from my Linux host using vncviewer, the performance sucks!!  it is slow. So there is no need to use vnc to connect to your guest. But I tried Microsoft remote desktop , mstsc.exe, to connect to my Windows 2008 server guests, the results is great. You won't know you are on a VM.&lt;br /&gt;&lt;br /&gt;Qemu allows your guests to use the usb port too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-8265677729843581042?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9NtYese_d9e7RQG6oVWlhDDdBpU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9NtYese_d9e7RQG6oVWlhDDdBpU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9NtYese_d9e7RQG6oVWlhDDdBpU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9NtYese_d9e7RQG6oVWlhDDdBpU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/hGa0qQCPLKk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/8265677729843581042/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=8265677729843581042" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8265677729843581042?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8265677729843581042?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/hGa0qQCPLKk/kvm.html" title="KVM" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/11/kvm.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EMSXs7cCp7ImA9WxNUEUk.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-6431425656100273565</id><published>2009-11-02T13:51:00.001+08:00</published><updated>2009-11-02T14:01:28.508+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-02T14:01:28.508+08:00</app:edited><title>bridge - linux</title><content type="html">http://www.linuxfoundation.org/en/Net:Bridge&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;qemu&lt;br /&gt;&lt;br /&gt;http://qemu-buch.de/cgi-bin/moin.cgi/QemuAndTuntap&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-6431425656100273565?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nsuNQBn8_UI2mxiFNjvBZlr4orY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nsuNQBn8_UI2mxiFNjvBZlr4orY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nsuNQBn8_UI2mxiFNjvBZlr4orY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nsuNQBn8_UI2mxiFNjvBZlr4orY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/n1WvhKb6tyo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/6431425656100273565/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=6431425656100273565" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6431425656100273565?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6431425656100273565?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/n1WvhKb6tyo/bridge-linux.html" title="bridge - linux" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/11/bridge-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYERHg_cCp7ImA9WxNVEks.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-6860321613874813008</id><published>2009-10-23T10:13:00.000+08:00</published><updated>2009-10-23T10:15:05.648+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-23T10:15:05.648+08:00</app:edited><title>hacking</title><content type="html">&lt;span class="newssite"&gt;origami is a Ruby framework designed to parse, analyze, edit, manipulate, forge, exploit PDF files. This is NOT a PDF rendering library. It aims at providing a scripting tool to generate and/or analyz...&lt;br /&gt;&lt;br /&gt;http://packetstorm.linuxsecurity.com/UNIX/utilities/origami-1.0.0-beta1.tar.gz&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-6860321613874813008?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jlBcMihR2re79yn4CvWkFerPYso/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jlBcMihR2re79yn4CvWkFerPYso/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jlBcMihR2re79yn4CvWkFerPYso/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jlBcMihR2re79yn4CvWkFerPYso/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/KjfQbi_zgzQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/6860321613874813008/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=6860321613874813008" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6860321613874813008?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6860321613874813008?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/KjfQbi_zgzQ/hacking.html" title="hacking" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/10/hacking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MGRXw4eyp7ImA9WxNWEEU.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-4951168006843421300</id><published>2009-10-09T18:41:00.000+08:00</published><updated>2009-10-09T18:50:24.233+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-09T18:50:24.233+08:00</app:edited><title>printing from opensuse to fuji xerox ApeosPort 450I</title><content type="html">opensuse 11.1 detects all the nework printers automatically. impressive!&lt;br /&gt;&lt;br /&gt;but there is no driver for this printer and i could not find the ppd file for it. ppd - PostScript Printer Description&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i use Xerox DocuPrint 4508 Foomatic/lj4dith, and it works!!!!&lt;br /&gt;&lt;br /&gt;i managed to print out a beautiful test page...   which says Printed Using CUPS v1.3&lt;br /&gt;&lt;br /&gt;www.cups.org&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;btw i use "windows printer via samba"   smb://domain-name/servername/printername&lt;br /&gt;&lt;br /&gt;and key in your windows domain id and password.&lt;br /&gt;&lt;br /&gt;it works!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-4951168006843421300?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/67beEMgBbJwKgkzr_1SoiyNIrXs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/67beEMgBbJwKgkzr_1SoiyNIrXs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/67beEMgBbJwKgkzr_1SoiyNIrXs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/67beEMgBbJwKgkzr_1SoiyNIrXs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/qCLdryrb8HY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/4951168006843421300/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=4951168006843421300" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/4951168006843421300?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/4951168006843421300?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/qCLdryrb8HY/printing-from-opensuse-to-fuji-xerox.html" title="printing from opensuse to fuji xerox ApeosPort 450I" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/10/printing-from-opensuse-to-fuji-xerox.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQDRnY6fSp7ImA9WxNXGUU.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-6348403944960659106</id><published>2009-10-08T15:30:00.000+08:00</published><updated>2009-10-08T15:36:17.815+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-08T15:36:17.815+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ISO linux mount" /><title>iso</title><content type="html">&lt;span style="font-weight: bold;"&gt;all about ISO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount an iso file to a folder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;mount -t iso9660 -o loop /home/fs/cd101.iso /mnt&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If this don't work...&lt;/span&gt;&lt;br /&gt;&lt;p&gt;First of all, you'll have to check whether certain options are included in your kernel. If you're using a standard kernel from one of the major distributions, it's pretty likely that everything necessary is already included so you might want to skip this step. If you have a self-compiled kernel - and I recommend everyone to compile the kernel oneself - you'll have to enable the following options in your kernel: &lt;/p&gt;&lt;div style="border: 1px solid rgb(204, 204, 204); padding: 2px; background-color: rgb(247, 247, 247);"&gt;    &lt;pre style="margin-top: 1px; margin-bottom: 1px;"&gt;in Device Drivers &gt; Block Devices&lt;br /&gt; &lt;m&gt; Loopback device support&lt;br /&gt;&lt;br /&gt;in File Systems &gt; CD-ROM/DVD Filesystems&lt;br /&gt; &lt;m&gt; ISO 9660 CDROM file system support&lt;br /&gt;  [*]   Microsoft Joliet CDROM extensions&lt;br /&gt;  [*]   Transparent decompression extension&lt;br /&gt;&lt;/pre&gt; &lt;/div&gt;&lt;br /&gt;http://steinsoft.net/index.php?site=Programming/Articles/linux-mountiso&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-6348403944960659106?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lFskqOGCxzvES3v0g8Dp6upTfNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lFskqOGCxzvES3v0g8Dp6upTfNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lFskqOGCxzvES3v0g8Dp6upTfNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lFskqOGCxzvES3v0g8Dp6upTfNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/yEw6hNQDRP4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/6348403944960659106/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=6348403944960659106" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6348403944960659106?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6348403944960659106?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/yEw6hNQDRP4/iso.html" title="iso" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/10/iso.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIDR3oyfSp7ImA9WxNVEEQ.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-5137848571504095451</id><published>2009-10-05T17:31:00.000+08:00</published><updated>2009-10-21T11:59:36.495+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-21T11:59:36.495+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="opnsuse" /><category scheme="http://www.blogger.com/atom/ns#" term="kvm" /><title>kvm with opensuse</title><content type="html">using kvm on opensuse 11.1 is easy.&lt;br /&gt;&lt;br /&gt;http://www.linux-kvm.org/page/HOWTO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;my hardware: hp elitebook 6930p&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;install opensuse 11.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;boot cd with acpi=off&lt;br /&gt;&lt;br /&gt;don't use auto configuration during the install process&lt;br /&gt;&lt;br /&gt;i disable auto login too and did an internet update and it is so slow... mainly i guess due to my bb connection..  it keep breaking..&lt;br /&gt;&lt;br /&gt;so u can skip internet update&lt;br /&gt;&lt;br /&gt;to&lt;span style="font-weight: bold;"&gt; install KVM&lt;/span&gt; follow this:&lt;br /&gt;&lt;br /&gt;http://en.opensuse.org/KVM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I installed windows 2008 server using a 10gb image file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;create image file&lt;/span&gt;&lt;br /&gt;&lt;span class="a3"&gt;&lt;pre&gt;qemu-img create -f qcow2 disk.img 10G&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3&gt;How do I use dd command to create an ISO image?&lt;/h3&gt; &lt;p&gt;Put CD into CDROM&lt;/p&gt; &lt;p&gt;Do not mount CD. Verify if cd is mounted or not with mount command:&lt;/p&gt; &lt;p class="code"&gt;# mount&lt;/p&gt; &lt;p&gt;If cd was mouted automatically unmout it with umount command:&lt;/p&gt; &lt;p class="code"&gt;# umount /dev/cdrom&lt;/p&gt; &lt;p&gt;OR&lt;/p&gt; &lt;p class="code"&gt;# umount /mnt/cdrom&lt;/p&gt; &lt;p&gt;Create CD-ROM ISO image with dd command:&lt;/p&gt; &lt;p class="code"&gt;# dd if=/dev/cdrom of=/tmp/cdimg1.iso&lt;/p&gt; &lt;p&gt;Where,&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;strong&gt; if=/dev/cdrom&lt;/strong&gt;: Read from /dev/cdrom (raw format)&lt;/li&gt;&lt;li&gt;&lt;strong&gt; of=/tmp/cdimg1.iso&lt;/strong&gt;: write to FILE cdimg1.iso i.e. create an ISO image&lt;/li&gt;&lt;/ul&gt;src: http://www.cyberciti.biz/tips/linux-creating-cd-rom-iso-image.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;boot the guest from a iso file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;qemu-kvm -m 256 -hda disk.img -cdrom winxpsp2.iso -&lt;span class="__mozilla-findbar-search" style="padding: 0pt; background-color: yellow; display: inline;font-size:inherit;color:black;"  &gt;boot&lt;/span&gt; d&lt;br /&gt;&lt;/pre&gt;-boot d instruct qemu to boot from cdrom&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;what nic are supported?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;qemu-kvm -hda vista1.img -net nic,model=?,macaddr=00:16:3e:23:38:45 -net user -cdrom BootMedia.iso -boot d &amp;amp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # qemu: Supported ISA NICs: ne2k_isa&lt;br /&gt;qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139 e1000 virtio&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i82557b is supported by my vista&lt;br /&gt;&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Insert KVM Modules&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Insert the kvm modules as follows (as root)&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;strong&gt;For Intel processors&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;opensuse11:~ # modprobe kvm&lt;br /&gt;opensuse11:~ # modprobe kvm-intel&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;For AMD processors&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;opensuse11:~ # modprobe kvm&lt;br /&gt;opensuse11:~ # modprobe kvm-amd&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;To confirm the modules OK,&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;opensuse11:~ # lsmod | grep kvm&lt;/strong&gt;&lt;br /&gt;kvm_intel              67824  0&lt;br /&gt;kvm                   182936  1 kvm_intel&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;However, this setting lost on a reboot.&lt;/p&gt; &lt;p&gt;To insert this module at boot time, Click &lt;strong&gt;Computer – YaST – System – “/etc/sysconfig editor”&lt;/strong&gt;. This launches the sysconfig editor.&lt;br /&gt;&lt;a href="http://www.susegeek.com/wp-content/uploads/2008/09/kvm-kernel-modules.png"&gt;&lt;img class="alignnone size-medium wp-image-925" title="kvm-kernel-modules" src="http://www.susegeek.com/wp-content/uploads/2008/09/kvm-kernel-modules-300x208.png" alt="" height="208" width="300" /&gt;&lt;/a&gt; &lt;a href="http://www.susegeek.com/wp-content/uploads/2008/09/kvm-kernel-modules1.png"&gt;&lt;img class="alignnone size-medium wp-image-927" title="kvm-kernel-modules1" src="http://www.susegeek.com/wp-content/uploads/2008/09/kvm-kernel-modules1-300x187.png" alt="" height="187" width="300" /&gt;&lt;/a&gt;&lt;br /&gt;Click &lt;em&gt;&lt;strong&gt;“+”&lt;/strong&gt;&lt;/em&gt; next to &lt;em&gt;&lt;strong&gt;“system”&lt;/strong&gt;&lt;/em&gt; and then &lt;em&gt;&lt;strong&gt;“+”&lt;/strong&gt;&lt;/em&gt; next to &lt;strong&gt;&lt;em&gt;Kernel&lt;/em&gt;&lt;/strong&gt;. Click “&lt;em&gt;&lt;strong&gt;MODULES_LOADED_ON_BOOT&lt;/strong&gt;&lt;/em&gt;“, in the right-pane, enter “&lt;strong&gt;kvm kvm-intel kqemu&lt;/strong&gt;” without quotes (”&lt;strong&gt;kvm kvm-amd kqemu&lt;/strong&gt;” for AMD) in the setting box and click finish. Click OK on the confirmation window.&lt;/p&gt; &lt;p&gt;Now, we are all set to configure and run a guest OS on your openSUSE.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Installation of Windows guest paravirtual network drivers&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -cdrom /home/fs/Desktop/NETKVM-20081229.iso -net nic,model=virtio&lt;br /&gt;Warning: vlan 0 is not connected to host network&lt;br /&gt;&lt;br /&gt;AD.img is the image file where i had installed a windows 2008 to function as the Domain Controller&lt;br /&gt;&lt;/p&gt;&lt;p&gt;-cdrom /home/fs/Desktop/NETKVM-20081229.iso&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The iso file contained the paravirtualized network drivers that i downloaded; when the Windows 2008 boot up, the cdrom drive will behave as if there is a CD containing the drivers needed for installation.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Q1T5kMM0VTk/SsoLEDYyiqI/AAAAAAAAABE/A0z6VAUqpko/s1600-h/windows+paravirtualized+nic.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 312px;" src="http://3.bp.blogspot.com/_Q1T5kMM0VTk/SsoLEDYyiqI/AAAAAAAAABE/A0z6VAUqpko/s400/windows+paravirtualized+nic.png" alt="" id="BLOGGER_PHOTO_ID_5389132068358884002" border="0" /&gt;&lt;/a&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;install tap network interface&lt;/p&gt;&lt;pre&gt;install openvpn&lt;br /&gt;&lt;br /&gt;create 4 tap - tap0 - 3&lt;br /&gt;&lt;br /&gt;opensuse:/etc # openvpn --mktun --dev tap0&lt;br /&gt;Mon Oct  5 23:33:23 2009 TUN/TAP device tap0 opened&lt;br /&gt;Mon Oct  5 23:33:23 2009 Persist state set to: ON&lt;br /&gt;opensuse:/etc # openvpn --mktun --dev tap1&lt;br /&gt;Mon Oct  5 23:43:39 2009 TUN/TAP device tap1 opened&lt;br /&gt;Mon Oct  5 23:43:39 2009 Persist state set to: ON&lt;br /&gt;opensuse:/etc # openvpn --mktun --dev tap2&lt;br /&gt;Mon Oct  5 23:43:42 2009 TUN/TAP device tap2 opened&lt;br /&gt;Mon Oct  5 23:43:42 2009 Persist state set to: ON&lt;br /&gt;opensuse:/etc # openvpn --mktun --dev tap3&lt;br /&gt;Mon Oct  5 23:43:46 2009 TUN/TAP device tap3 opened&lt;br /&gt;Mon Oct  5 23:43:46 2009 Persist state set to: ON&lt;br /&gt;opensuse:/etc #&lt;br /&gt;&lt;br /&gt;ifconfig tap0 up&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;brigde network&lt;/span&gt;&lt;br /&gt;opensuse:/etc # brctl addbr br0&lt;br /&gt;opensuse:/etc # brctl show&lt;br /&gt;bridge name bridge id  STP enabled interfaces&lt;br /&gt;br0  8000.000000000000 no&lt;br /&gt;&lt;br /&gt;opensuse:/etc # brctl addif br0 eth0&lt;br /&gt;opensuse:/etc # brctl addif br0 tap0&lt;br /&gt;opensuse:/etc # brctl addif br0 tap1&lt;br /&gt;opensuse:/etc #&lt;br /&gt;&lt;br /&gt;opensuse:/etc # brctl show&lt;br /&gt;bridge name bridge id  STP enabled interfaces&lt;br /&gt;br0  8000.0025b32ead04 no  eth0&lt;br /&gt;tap0&lt;br /&gt;tap1&lt;br /&gt;opensuse:/etc #&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;opensuse:/etc # vi /etc/sysconfig/network/scripts/ifcfg-br0&lt;br /&gt;DEVICE=br0&lt;br /&gt;TYPE=Bridge&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ONBOOT=yes&lt;br /&gt;&lt;br /&gt;opensuse:/etc # vi /etc/sysconfig/network/scripts/ifcfg-eth0&lt;br /&gt;DEVICE=eth0&lt;br /&gt;&lt;span style="background-color: rgb(192, 192, 192);"&gt;BRIDGE=br0 &lt;/span&gt;&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;HWADDR=00:19:b9:7e:c8:63&lt;br /&gt;ONBOOT=yes&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;USERCTL=no&lt;br /&gt;IPV6INIT=no&lt;br /&gt;PEERDNS=yes&lt;br /&gt;NM_CONTROLLED=no&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;opensuse:/etc # vi /etc/sysconfig/network/scripts/qemu-ifup&lt;br /&gt;#!/bin/sh&lt;br /&gt;switch=$(/sbin/ip route list | awk '/^default / { print $NF }')&lt;br /&gt;/sbin/ifconfig $1 0.0.0.0 up&lt;br /&gt;/usr/sbin/brctl addif ${switch} $1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;opensuse:/etc/sysconfig/network/scripts # chmod o+x qemu-ifup&lt;br /&gt;opensuse:/etc/sysconfig/network/scripts # chmod o+x ifcfg-br0&lt;br /&gt;opensuse:/etc/sysconfig/network/scripts # chmod o+x ifcfg-eth0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;opensuse:/etc # /etc/rc.d/network restart&lt;br /&gt;Shutting down the NetworkManager                                     done&lt;br /&gt;Shutting down network interfaces:&lt;br /&gt;br0&lt;br /&gt;    No configuration found for br0&lt;br /&gt;    Nevertheless the interface will be shut down.          done&lt;br /&gt;eth0      device: Intel Corporation 82567LM Gigabit Network Connection (rev 03)                                                                  done&lt;br /&gt;tap0&lt;br /&gt;    No configuration found for tap0&lt;br /&gt;    Nevertheless the interface will be shut down.&lt;br /&gt;could not find configuration file ifcfg-tap0&lt;br /&gt;tap0      tunctl not available -- install tunctl or uml-utilitiesdone&lt;br /&gt;tap1&lt;br /&gt;    No configuration found for tap1&lt;br /&gt;    Nevertheless the interface will be shut down.&lt;br /&gt;could not find configuration file ifcfg-tap1&lt;br /&gt;tap1      tunctl not available -- install tunctl or uml-utilitiesdone&lt;br /&gt;tap2&lt;br /&gt;    No configuration found for tap2&lt;br /&gt;    Nevertheless the interface will be shut down.&lt;br /&gt;could not find configuration file ifcfg-tap2&lt;br /&gt;tap2      tunctl not available -- install tunctl or uml-utilitiesdone&lt;br /&gt;tap3&lt;br /&gt;    No configuration found for tap3&lt;br /&gt;    Nevertheless the interface will be shut down.&lt;br /&gt;could not find configuration file ifcfg-tap3&lt;br /&gt;tap3      tunctl not available -- install tunctl or uml-utilitiesdone&lt;br /&gt;wlan0     device: Intel Corporation Wireless WiFi Link 5100      done&lt;br /&gt;Shutting down service network  .  .  .  .  .  .  .  .  .             done&lt;br /&gt;Starting the NetworkManager                                          done&lt;br /&gt;opensuse:/etc #&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;http://www.linux-kvm.com/content/tip-how-get-maximum-network-performance-using-paravirtual-drivers-and-bridged-networking&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;adding tap devices using YaST&lt;/p&gt;&lt;p&gt;u must disable network manager from managing the network and use if-up, if-down...&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;persistent tunnel&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;no tunnel group , no tunnel owner&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;must install tunctl package&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;for me, i need to add my proxy server in YaST control centre-&gt;network services-&gt;proxy&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # ifup br0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    br0       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    br0       Ports: [eth0] [tap0] [tap1] [tap2] [tap3] &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    br0       forwarddelay (see man ifcfg-bridge) ... ready&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Starting DHCP4 client on br0.  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;    br0       IP address: 192.168.0.248/24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # ifconfig&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;br0       Link encap:Ethernet  HWaddr 00:25:B3:2E:AD:04  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          inet addr:&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;192.168.0&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;.248  Bcast:&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;192.168.0&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;.255  Mask:255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:367 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:77192 (75.3 Kb)  TX bytes:20045 (19.5 Kb)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;eth0      Link encap:Ethernet  HWaddr 00:25:B3:2E:AD:04  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:26093 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:10256 errors:0 dropped:0 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:100 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:19994866 (19.0 Mb)  TX bytes:1176611 (1.1 Mb)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          Memory:90400000-90420000 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;lo        Link encap:Local Loopback  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          inet addr:127.0.0.1  Mask:255.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:172 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:14060 (13.7 Kb)  TX bytes:14060 (13.7 Kb)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;tap0      Link encap:Ethernet  HWaddr C2:14:C7:5D:74:40  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:0 errors:0 dropped:401 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:500 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;tap1      Link encap:Ethernet  HWaddr 32:54:9D:9C:03:88  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:0 errors:0 dropped:401 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:500 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;tap2      Link encap:Ethernet  HWaddr 3E:11:FD:E3:87:A8  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:0 errors:0 dropped:401 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:500 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;tap3      Link encap:Ethernet  HWaddr F6:6B:17:54:E3:4D  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:0 errors:0 dropped:401 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:500 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;wlan0     Link encap:Ethernet  HWaddr 00:21:6A:3B:EF:06  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:24 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:1000 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:2034 (1.9 Kb)  TX bytes:5060 (4.9 Kb)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;wmaster0  Link encap:UNSPEC  HWaddr 00-21-6A-3B-EF-06-00-00-00-00-00-00-00-00-00-00  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          collisions:0 txqueuelen:1000 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -net nic,model=virtio,macaddr=00:11:22:33:44:55:00 -net tap&lt;/span&gt; &lt;span style="font-weight: normal;"&gt;invalid syntax for ethernet address&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -net nic,model=virtio,macaddr=&lt;span style="font-weight: bold;"&gt;00:11:22:33:44:55:00&lt;/span&gt; -net tap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;invalid syntax for ethernet address&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -net nic,model=virtio,macaddr=00:16:3e:23:38:43 -net tap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-weight: bold;"&gt;/etc/qemu-ifup&lt;/span&gt;: could not launch network script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;Could not initialize device 'tap'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -net nic,model=virtio,macaddr=00:16:3e:23:38:43 -net &lt;span style="font-weight: bold;"&gt;tap0&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt; Unknown network device: tap0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -net nic,model=virtio,macaddr=00:16:3e:23:38:43 -net tap,script=/etc/sysconfig/network/scripts/qemu-ifup&lt;br /&gt;/etc/sysconfig/network/scripts/qemu-ifup: line 4: /usr/sbin/brctl: No such file or directory&lt;br /&gt;/etc/sysconfig/network/scripts/qemu-ifup: could not launch network script&lt;br /&gt;Could not initialize device 'tap'&lt;br /&gt;&lt;/p&gt;&lt;p&gt;opensuse:/kvm-disk # which brctl&lt;br /&gt;/sbin/brctl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;opensuse:/kvm-disk # vi /etc/sysconfig/network/scripts/qemu-ifup&lt;br /&gt;&lt;/p&gt;&lt;p&gt;opensuse:/kvm-disk # qemu-kvm -hda AD.img -net nic,model=virtio,macaddr=00:16:3e:23:38:43 -net tap,script=/etc/sysconfig/network/scripts/qemu-ifup&lt;br /&gt;&lt;br /&gt;i use static ip within the Windows 2008 guest.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="file:///tmp/moz-screenshot.jpg" alt="" /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;qemu-kvm and qemu-***&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;from http://wiki.archlinux.org/index.php/QEMU:&lt;br /&gt;For versions of QEMU prior to 0.10.2-1 use the &lt;code&gt;qemu-kvm&lt;/code&gt; executable.  For 0.10.2-1 and later, use &lt;code&gt;qemu --enable-kvm&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;my qemu is&lt;br /&gt;&lt;br /&gt;opensuse:/kvm-disk # qemu|grep version&lt;br /&gt;QEMU PC emulator &lt;span style="font-weight: bold;"&gt;version 0.9.1&lt;/span&gt;, Copyright (c) 2003-2008 Fabrice Bellard&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Windows Guest Drivers&lt;/span&gt;&lt;br /&gt;network drivers - NetKVM - http://people.redhat.com/~yvugenfi/24.09.2009/NetKVM.zip&lt;br /&gt;Storage drivers - viostor - http://people.redhat.com/~yvugenfi/24.09.2009/viostor.zip&lt;br /&gt;&lt;br /&gt;http://www.linux-kvm.com/content/latest-release-windows-virtio-network-drivers&lt;br /&gt;http://www.linux-kvm.com/content/upgrading-windows-paravirtual-network-drivers&lt;br /&gt;http://www.linux-kvm.com/content/tip-how-setup-windows-guest-paravirtual-network-drivers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.linux-kvm.com/content/using-windows-installer-paravirtual-network-drivers&lt;br /&gt;&lt;br /&gt;change cdrom in QEMU&lt;br /&gt;&lt;br /&gt;ctr - alt - 2 to go to console (lef control - left alternate and 1 )&lt;br /&gt;type info block to view device status&lt;br /&gt;type change ide1-cd0 /path/soemthing.iso OR change ide1-cd0 /dev/cdrom&lt;br /&gt;info block&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Q1T5kMM0VTk/St6GxwgSE1I/AAAAAAAAABM/NlGkrN4Bdts/s1600-h/QEMU-change+cdrom.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 311px;" src="http://2.bp.blogspot.com/_Q1T5kMM0VTk/St6GxwgSE1I/AAAAAAAAABM/NlGkrN4Bdts/s400/QEMU-change+cdrom.png" alt="" id="BLOGGER_PHOTO_ID_5394897593028449106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;to go back , control - alternate  - 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ref&lt;/span&gt;&lt;br /&gt;http://qemu-buch.de/cgi-bin/moin.cgi/QemuAndTuntap&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.susegeek.com/virtualization/howto-install-configure-kvm-virtualization-run-guest-oses-in-opensuse/&lt;br /&gt;&lt;br /&gt;http://qemu-buch.de/cgi-bin/moin.cgi/QemuAndTuntap&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-5137848571504095451?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZOQzrdbTCx9Qo6iEa_E6V0BAjio/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZOQzrdbTCx9Qo6iEa_E6V0BAjio/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZOQzrdbTCx9Qo6iEa_E6V0BAjio/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZOQzrdbTCx9Qo6iEa_E6V0BAjio/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/7bL_Gb9bT9o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/5137848571504095451/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=5137848571504095451" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5137848571504095451?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5137848571504095451?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/7bL_Gb9bT9o/kvm-with-opensuse.html" title="kvm with opensuse" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_Q1T5kMM0VTk/SsoLEDYyiqI/AAAAAAAAABE/A0z6VAUqpko/s72-c/windows+paravirtualized+nic.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://fooksheng.blogspot.com/2009/10/kvm-with-opensuse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIGRHkzeCp7ImA9WxNXFUg.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-8818413287172128445</id><published>2009-10-03T15:20:00.000+08:00</published><updated>2009-10-03T15:22:05.780+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-03T15:22:05.780+08:00</app:edited><title>fonts</title><content type="html">http://www.microsoft.com/typography/default.mspx&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;embedding fonts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.netmechanic.com/news/vol3/css_no15.htm&lt;br /&gt;&lt;br /&gt;http://www.morovia.com/font/support/embed-font-web.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-8818413287172128445?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CgPqQLusDxWUKkb0pEtC7LeX_ME/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CgPqQLusDxWUKkb0pEtC7LeX_ME/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CgPqQLusDxWUKkb0pEtC7LeX_ME/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CgPqQLusDxWUKkb0pEtC7LeX_ME/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/93uBVi0XARw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/8818413287172128445/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=8818413287172128445" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8818413287172128445?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8818413287172128445?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/93uBVi0XARw/fonts.html" title="fonts" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/10/fonts.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QDQHc7fip7ImA9WxNQFUw.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-8179828400454280721</id><published>2009-09-21T15:45:00.001+08:00</published><updated>2009-09-21T15:49:31.906+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-21T15:49:31.906+08:00</app:edited><title>windows server 2008 - different versions</title><content type="html">go here http://www.microsoft.com/windowsserver2008/en/us/r2-editions-overview.aspx to find the differences between the different versions...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;to run certificate services, u will need the Enterprise version...&lt;br /&gt;&lt;br /&gt;if you run it under XenServer, you will be forced to use a harddisk image of 24GB, even though the XenServer manual state that 10GB is the minimum for server 2008.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-8179828400454280721?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YvHSRVxbAB-2BONV2NwzSVmYBSE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YvHSRVxbAB-2BONV2NwzSVmYBSE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YvHSRVxbAB-2BONV2NwzSVmYBSE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YvHSRVxbAB-2BONV2NwzSVmYBSE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/3u-agZjJzTQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/8179828400454280721/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=8179828400454280721" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8179828400454280721?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8179828400454280721?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/3u-agZjJzTQ/windows-server-2008-different-versions.html" title="windows server 2008 - different versions" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/windows-server-2008-different-versions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cCRno_cCp7ImA9WxNQFEk.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-5743990044742950886</id><published>2009-09-20T19:03:00.000+08:00</published><updated>2009-09-20T19:11:07.448+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-20T19:11:07.448+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xen" /><title>xen live cd - adding windows guests</title><content type="html">download xen live cd image and burn it to a cd and boot the cd in your computer&lt;br /&gt;&lt;br /&gt;it took ten min to boot in my case.&lt;br /&gt;&lt;br /&gt;i have a 160 GB harddisk, with one 1GB NetBSD partition; the rest are not partitioned.&lt;br /&gt;&lt;br /&gt;i want to install windows on Xen.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;add a partition&lt;/span&gt;&lt;br /&gt;after you have boot the Xen live CD, cretate a partition by running fdisk.&lt;br /&gt;&lt;br /&gt;fdisk /dev/sda   (sd means SCSI but i am sure my harddisk is not SCSI)&lt;br /&gt;&lt;br /&gt;n&lt;br /&gt;p&lt;br /&gt;&lt;br /&gt;i added a primary parition of 50GB&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;create a filesystem for the partition&lt;/span&gt;&lt;br /&gt;mkfs -t ext3 /dev/sda2&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount it&lt;/span&gt;&lt;br /&gt;mount /dev/sda2 /mnt&lt;br /&gt;&lt;br /&gt;to be continued....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-5743990044742950886?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OxXgYUHZWCIKdWvFOLMZSYdp27A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OxXgYUHZWCIKdWvFOLMZSYdp27A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OxXgYUHZWCIKdWvFOLMZSYdp27A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OxXgYUHZWCIKdWvFOLMZSYdp27A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/jVCIlljOFps" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/5743990044742950886/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=5743990044742950886" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5743990044742950886?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5743990044742950886?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/jVCIlljOFps/xen-live-cd-adding-windows-guests.html" title="xen live cd - adding windows guests" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/xen-live-cd-adding-windows-guests.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEABRH49fyp7ImA9WxNQE0g.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-2771391725458276444</id><published>2009-09-19T18:34:00.000+08:00</published><updated>2009-09-19T18:39:15.067+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-19T18:39:15.067+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="netbsd boot ACPI" /><title>netbsd</title><content type="html">managed to install netbsd on  my hp laptop EliteBok 6930p.&lt;br /&gt;&lt;br /&gt;sometimes this laptop gives problem with ACPI.&lt;br /&gt;&lt;br /&gt;netbsd will boot normal with ACPI enabled.. and the timeout is very fast... not enough for u to select to boot "boot netbsd -2" to disable ACPI&lt;br /&gt;&lt;br /&gt;so what u can do here is :&lt;br /&gt;&lt;br /&gt;edit /boot.cfg&lt;br /&gt;&lt;br /&gt;and consult http://netbsd.gw.com/cgi-bin/man-cgi?boot.cfg++NetBSD-current  the web man page on the boot.cfg&lt;br /&gt;&lt;br /&gt;for me, i have to change default=1 to default=3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-2771391725458276444?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6E1THcXpFWdcbk0r-TkCyLSosgk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6E1THcXpFWdcbk0r-TkCyLSosgk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6E1THcXpFWdcbk0r-TkCyLSosgk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6E1THcXpFWdcbk0r-TkCyLSosgk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/y2-toX7z7Q8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/2771391725458276444/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=2771391725458276444" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/2771391725458276444?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/2771391725458276444?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/y2-toX7z7Q8/netbsd.html" title="netbsd" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/netbsd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAGRXo5eSp7ImA9WxNQE0k.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-6973355324511482033</id><published>2009-09-19T16:14:00.001+08:00</published><updated>2009-09-19T16:25:24.421+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-19T16:25:24.421+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xen" /><title>Xen using netbsd</title><content type="html">need to install multiple Window servers on my laptop for some testing... one domain controller, one offering certificate service (pki), one as file server, and one Vista as client...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i can't imagine using type 1 hypervisor for this task...  i only have 2G RAM on my laptop.. so virtualbox and vmware server is out..&lt;br /&gt;&lt;br /&gt;i am left with Xen and &lt;a href="http://en.wikipedia.org/wiki/VMware_ESX_Server" title="VMware ESX Server" class="mw-redirect"&gt;VMware ESX Server&lt;/a&gt; , but the latest ESX server only runs on 64bit hardware and it don't support intel cpu with emt64 extension...  while at least this is what i found, i maybe wrong as i don't have much time ...&lt;br /&gt;&lt;br /&gt;so i move on to using Xen... either ubuntu and debian...  ubuntu does not offer dom0 kernel now and i saw many criticism on running Xen with Ubuntu..&lt;br /&gt;&lt;br /&gt;i did tried it out  but it is some troublesome and time is running short&lt;br /&gt;&lt;br /&gt;so i went to debian... but debian didn't install on my HP EliteBook...  oh ... &lt;br /&gt;&lt;br /&gt;i will try netbsd now...  i always prefer *bsd more...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-6973355324511482033?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OjQ5MjyKKjVejjbUcRCIUTgQOdg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OjQ5MjyKKjVejjbUcRCIUTgQOdg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OjQ5MjyKKjVejjbUcRCIUTgQOdg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OjQ5MjyKKjVejjbUcRCIUTgQOdg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/r9M7NkbqBD0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/6973355324511482033/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=6973355324511482033" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6973355324511482033?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/6973355324511482033?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/r9M7NkbqBD0/xen-using-netbsd.html" title="Xen using netbsd" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/xen-using-netbsd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8ASHk_cSp7ImA9WxNUGU0.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-2771541060866263618</id><published>2009-09-12T16:44:00.000+08:00</published><updated>2009-11-11T11:07:29.749+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-11T11:07:29.749+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="virtualization" /><category scheme="http://www.blogger.com/atom/ns#" term="xen" /><title>Xen</title><content type="html">&lt;a style="font-weight: bold;" name="What_is_Ganeti"&gt;Ganeti&lt;/a&gt;&lt;a name="What_is_Ganeti"&gt;&lt;br /&gt;Ganeti is a cluster virtual server management software tool built on top of existing virtualization technologies such as &lt;/a&gt;&lt;a href="http://www.xen.org/" rel="nofollow"&gt;Xen&lt;/a&gt; or &lt;a href="http://kvm.et.redhat.com/page/Main_Page" rel="nofollow"&gt;KVM&lt;/a&gt; and other Open Source software.&lt;br /&gt;&lt;span&gt;http://code.google.com/p/ganeti/&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.serverwatch.com/news/article.php/3770221/Hypervisor-Face-Off-KVM-vs-Xen-vs-VMware.htm&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;"KVM benchmarking is extremely selective," Crosby commented. "Where it does benefit in performance, it does so by sacrificing what we view as fundamental security concerns for enterprise virtualization deployments. Xen's deep separation of trust domains costs a bit in performance but provides the hard-line separation required for any secure deployment of virtualization."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bruce also noted KVM relies on strong CPU performance with very limited support for para-virtualization. As such, Bruce argued it is difficult to achieve top performance in a KVM virtualized environment without powerful hardware underneath. Conversely, in his view, Xen offers strong support for para-virtualization for modified Windows guests and modified Linux guests to achieve near-native performance.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://virt.kernelnewbies.org/TechComparison - features and performance of the various virtualization technologies available for Linux&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Diff between para virtualization and hardware assisted virtualization&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To run OS unmodified on Xen , u need a cpu that support hardware virtualization. You need to use HVM in Xen to run Windows.&lt;br /&gt;&lt;span&gt;&lt;br /&gt;http://www.virtuatopia.com/index.php/An_Overview_of_Virtualization_Techniques&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;xen live cd&lt;/span&gt;&lt;br /&gt;http://wiki.xensource.com/xenwiki/LiveCD&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;Xenoppix &lt;/span&gt;http://unit.aist.go.jp/itri/knoppix/xen/index-en.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;installing Windows on Xen&lt;/span&gt;&lt;br /&gt;http://www.virtuatopia.com/index.php/Virtualizing_Windows_Server_2008_with_Xen&lt;br /&gt;http://mediakey.dk/~cc/howto-install-windows-xp-vista-on-xen/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;wifi&lt;/span&gt;&lt;br /&gt;http://wiki.xensource.com/xenwiki/XenWifi  - sharing a wireless nic between dom0 and domU.&lt;br /&gt;&lt;br /&gt;You might need http://ebtables.sourceforge.net/ if your wireless NIC does not allow packets with a MAC that is different from its own.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Xen setup docs that i found&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;http://www.virtuatopia.com/index.php/Xen_Virtualization_Essentials&lt;br /&gt;&lt;br /&gt;Xen on OpenSuse&lt;br /&gt;http://en.opensuse.org/Installing_Xen3&lt;br /&gt;&lt;br /&gt;Xen on Debian 5&lt;br /&gt;http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64&lt;br /&gt;&lt;br /&gt;xen tools http://www.debian-administration.org/articles/533&lt;br /&gt;&lt;br /&gt;http://wiki.xensource.com/xenwiki/HowTos&lt;br /&gt;http://www.howtoforge.com/perfect_setup_xen3_debian&lt;br /&gt;http://www.packtpub.com/files/Xen-Virtualisation-Sample-Chapter-Chapter-2-Running-Xen.pdf&lt;br /&gt;http://www.howtoforge.com/xen_gui_fedora_7_desktop&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-2771541060866263618?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cbNFvbtFlsMBlyiEpN-ioTlP6Jw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cbNFvbtFlsMBlyiEpN-ioTlP6Jw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cbNFvbtFlsMBlyiEpN-ioTlP6Jw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cbNFvbtFlsMBlyiEpN-ioTlP6Jw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/mPQBQl03Pmg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/2771541060866263618/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=2771541060866263618" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/2771541060866263618?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/2771541060866263618?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/mPQBQl03Pmg/xen.html" title="Xen" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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>2</thr:total><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/xen.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EESHgzcSp7ImA9WxNREU8.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-8419680684748592570</id><published>2009-09-05T13:44:00.000+08:00</published><updated>2009-09-05T13:46:49.689+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T13:46:49.689+08:00</app:edited><title>How to Add JARs to Project Build Paths in Eclipse (Java)</title><content type="html">see http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-%28Java%29&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-8419680684748592570?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/s8LwsYGGdksBV1SJ8nyHFmuWAjE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s8LwsYGGdksBV1SJ8nyHFmuWAjE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/s8LwsYGGdksBV1SJ8nyHFmuWAjE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s8LwsYGGdksBV1SJ8nyHFmuWAjE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/ku_lhX3HFRo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/8419680684748592570/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=8419680684748592570" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8419680684748592570?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8419680684748592570?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/ku_lhX3HFRo/how-to-add-jars-to-project-build-paths.html" title="How to Add JARs to Project Build Paths in Eclipse (Java)" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/how-to-add-jars-to-project-build-paths.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QGQXc4fSp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-5803841993100975359</id><published>2009-09-04T14:31:00.000+08:00</published><updated>2009-09-04T19:55:20.935+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T19:55:20.935+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="domain" /><category scheme="http://www.blogger.com/atom/ns#" term="google app engine" /><title>Google App Engine</title><content type="html">Deploying app engine to your own domain 
&lt;br /&gt;
&lt;br /&gt;http://code.google.com/appengine/articles/domains.html
&lt;br /&gt;
&lt;br /&gt;basically you need to use Google Apps to manage your domains and point it to your App Engine application. 
&lt;br /&gt;
&lt;br /&gt;i have to wait for 15 minutes before my domain points to my app engine.
&lt;br /&gt;
&lt;br /&gt;i register my domain with godaddy through google, and the cname records are added automatically when you add them in Google Apps.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;Using Google Account to authenticate users
&lt;br /&gt;
&lt;br /&gt;making use of Google Account has the advantage of offloading the user authentication to Google. You are left with more time to develop your web application.
&lt;br /&gt;
&lt;br /&gt;There are several ways to force users to authenticate.
&lt;br /&gt;
&lt;br /&gt;servlet
&lt;br /&gt;
&lt;br /&gt;http://code.google.com/appengine/docs/java/users/overview.html  go to "Using Google Accounts in Java" section
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;web.xml
&lt;br /&gt;
&lt;br /&gt;please see http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;jsp
&lt;br /&gt;
&lt;br /&gt;http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html
&lt;br /&gt;
&lt;br /&gt;Package com.google.appengine.api.users
&lt;br /&gt;The UserService provides facilities to check whether a user has authenticated using their Google Account, retrieve their email address, and check whether they are an administrator for this application.
&lt;br /&gt;
&lt;br /&gt;See:
&lt;br /&gt;          Description
&lt;br /&gt;
&lt;br /&gt;Interface Summary
&lt;br /&gt;UserService 	The UserService provides information useful for forcing a user to log in or out, and retrieving information about the user who is currently logged-in.
&lt;br /&gt; 
&lt;br /&gt;
&lt;br /&gt;Class Summary
&lt;br /&gt;User 	User represents a specific user, represented by the combination of an email address and a specific Google Apps domain (which we call an authDomain).
&lt;br /&gt;UserServiceFactory 	Creates a UserService.
&lt;br /&gt; 
&lt;br /&gt;
&lt;br /&gt;Exception Summary
&lt;br /&gt;UserServiceFailureException 	UserServiceFailureException is thrown when any unknown error occurs while communicating with the user service.
&lt;br /&gt; 
&lt;br /&gt;
&lt;br /&gt;Package com.google.appengine.api.users Description
&lt;br /&gt;
&lt;br /&gt;The UserService provides facilities to check whether a user has authenticated using their Google Account, retrieve their email address, and check whether they are an administrator for this application. It can also be used to construct a URL for users to login or logout. More information is available in the on-line documentation.
&lt;br /&gt;
&lt;br /&gt;As an example, your application might, in a JSP file, have code like this:
&lt;br /&gt;
&lt;br /&gt;   &lt;%
&lt;br /&gt;     UserService userService = UserServiceFactory.getUserService();
&lt;br /&gt;     if (!userService.isUserLoggedIn()) {
&lt;br /&gt;   %&gt;
&lt;br /&gt;      Please &lt;A HREF="&lt;%= 
&lt;br /&gt;          userService.createLoginURL("/newlogin.jsp") 
&lt;br /&gt;        %&gt;"&gt;log in&lt;/A&gt;&gt;
&lt;br /&gt;   &lt;% } else { %&gt;
&lt;br /&gt;      Welcome, &lt;%= userService.currentUser().getNickname(); %&gt;!
&lt;br /&gt;        (&lt;A HREF="&lt;%= 
&lt;br /&gt;            userService.createLogoutURL("/")
&lt;br /&gt;          %&gt;"&gt;log out&lt;/A&gt;&gt;)
&lt;br /&gt;   &lt;%
&lt;br /&gt;     }
&lt;br /&gt;   %&gt;
&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/4209959160125630712-5803841993100975359?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hYlhJlOyVxh6F5cz5-AxqhUI8rc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hYlhJlOyVxh6F5cz5-AxqhUI8rc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hYlhJlOyVxh6F5cz5-AxqhUI8rc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hYlhJlOyVxh6F5cz5-AxqhUI8rc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/wEoay_cyNU4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/5803841993100975359/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=5803841993100975359" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5803841993100975359?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/5803841993100975359?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/wEoay_cyNU4/google-app-engine.html" title="Google App Engine" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/google-app-engine.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AAQng7eyp7ImA9WxNSGE0.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-9207880316682770395</id><published>2009-09-01T19:42:00.000+08:00</published><updated>2009-09-01T19:49:03.603+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-01T19:49:03.603+08:00</app:edited><title>about master boot record - mbr</title><content type="html">just got a task that involves mbr, so i manage to find some good links on mbr... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Assembly code on how to read boot sector&lt;br /&gt;http://bootmaster.filerecovery.biz/appnote4.html&lt;br /&gt;&lt;br /&gt;backing up mbr using the dd command, but only for Unix*&lt;br /&gt;http://www.freesoftwaremagazine.com/columns/backing_up_your_master_boot_record&lt;br /&gt;dd if=/dev/hda of=/home/richmondg/mbr_backup bs=512 count=1&lt;br /&gt;&lt;br /&gt;dd if=/dev/sda of=mbr.bin bs=512 count=1 &lt;br /&gt;&lt;br /&gt;http://www.ntfs.com/mbr.htm say the mbr is always at track (cylinder) 0, side (head) 0, and sector 1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-9207880316682770395?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VlWPv0AugS8bROvlDOPRb39QrY8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VlWPv0AugS8bROvlDOPRb39QrY8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VlWPv0AugS8bROvlDOPRb39QrY8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VlWPv0AugS8bROvlDOPRb39QrY8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/CwL2ysRYnng" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/9207880316682770395/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=9207880316682770395" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/9207880316682770395?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/9207880316682770395?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/CwL2ysRYnng/about-master-boot-record-mbr.html" title="about master boot record - mbr" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/09/about-master-boot-record-mbr.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkINQno8eSp7ImA9WxNTFkU.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-739768039710958710</id><published>2009-08-19T20:18:00.000+08:00</published><updated>2009-08-19T20:23:13.471+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-19T20:23:13.471+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="NAT" /><category scheme="http://www.blogger.com/atom/ns#" term="port fowarding" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox" /><title>NAT mode and port forwarding</title><content type="html">I am runnig Debian as guest in my VirtualBox in Windows and i want to ssh to Debian. &lt;br /&gt;&lt;br /&gt;How ?&lt;br /&gt;&lt;br /&gt;run debian in NAT mode and do port forwarding &lt;br /&gt;&lt;br /&gt;go to C:\Program Files\Sun\xVM VirtualBox and run&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;VBoxManage setextradata "debian 5 Lenny" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP&lt;br /&gt;VBoxManage setextradata "debian 5 Lenny" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22&lt;br /&gt;VBoxManage setextradata "debian 5 Lenny" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 22&lt;br /&gt;&lt;br /&gt;restart your guest&lt;br /&gt;&lt;br /&gt;run the below to see what u have done:&lt;br /&gt;VBoxManage getextradata "debian 5 Lenny" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol"&lt;br /&gt;VBoxManage getextradata "debian 5 Lenny" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort"&lt;br /&gt;VBoxManage getextradata "debian 5 Lenny" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort"&lt;br /&gt;&lt;br /&gt;The info is actually stored in C:\Users\who am i\.VirtualBox\Machines\debian 5 Lenny\debian 5 Lenny.xml&lt;br /&gt;&lt;br /&gt;here is part of the xml file:&lt;br /&gt;&lt;br /&gt;&lt;ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" value="TCP"/&gt;&lt;br /&gt;      &lt;ExtraDataItem &lt;br /&gt;&lt;br /&gt;name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" value="22"/&gt;&lt;br /&gt;      &lt;ExtraDataItem &lt;br /&gt;&lt;br /&gt;name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" value="22"/&gt;&lt;br /&gt;    &lt;/ExtraData&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;debian 5 Lenny is the name of your guest, it is case sensitive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from the Help: &lt;br /&gt;&lt;br /&gt;The above example assumes a PCNet virtual network card; if you have configured the guest to use the Intel PRO/1000, replace &lt;br /&gt;&lt;br /&gt;"pcnet" with "e1000" in the above commands. Similarly, if you want to configure a different interface instance replace the /0/ &lt;br /&gt;&lt;br /&gt;with the appropriate index. pcnet and e1000 are counted separately in this respect, and counting starts at 0 for both types.&lt;br /&gt;&lt;br /&gt;The name guestssh is an arbitrary one chosen for this particular forwarding configuration. With that configuration in place, all &lt;br /&gt;&lt;br /&gt;TCP connections to port 2222 on the host will be forwarded to port 22 on the guest. Protocol can be either of TCP or UDP (these &lt;br /&gt;&lt;br /&gt;are case insensitive). To remove a mapping again, use the same commands, but leaving out the values (in this case TCP, 22 and &lt;br /&gt;&lt;br /&gt;2222).&lt;br /&gt;&lt;br /&gt;It is not possible to configure incoming NAT connections while the VM is running. However you can change the settings for a VM &lt;br /&gt;&lt;br /&gt;which is currently saved (or powered off at a snapshot).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;remember u need to restart your guest...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from windows: ssh to 127.0.0.1:22&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-739768039710958710?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SLK-gLnFdFR2xn3FuElbBc_YUtQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SLK-gLnFdFR2xn3FuElbBc_YUtQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SLK-gLnFdFR2xn3FuElbBc_YUtQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SLK-gLnFdFR2xn3FuElbBc_YUtQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/k7OpKTQjBFY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/739768039710958710/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=739768039710958710" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/739768039710958710?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/739768039710958710?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/k7OpKTQjBFY/nat-mode-and-port-forwarding.html" title="NAT mode and port forwarding" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/08/nat-mode-and-port-forwarding.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYGR3gyeCp7ImA9WxNTFEs.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-736683865902590789</id><published>2009-08-17T06:00:00.000+08:00</published><updated>2009-08-17T06:02:06.690+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-17T06:02:06.690+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cisco" /><category scheme="http://www.blogger.com/atom/ns#" term="Polyphemus" /><category scheme="http://www.blogger.com/atom/ns#" term="ospf" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>hacking cisco network</title><content type="html">Polyphemus - Polyphemus is an SNMP-based explorer and visualizer of OSPF networks&lt;br /&gt;&lt;br /&gt;http://www.dia.uniroma3.it/~compunet/www/view/tool.php?id=polyphemus&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-736683865902590789?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZiZqpoV7rYZb9mgtQssprPF_vdo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZiZqpoV7rYZb9mgtQssprPF_vdo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZiZqpoV7rYZb9mgtQssprPF_vdo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZiZqpoV7rYZb9mgtQssprPF_vdo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/kztgN6s2YZE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/736683865902590789/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=736683865902590789" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/736683865902590789?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/736683865902590789?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/kztgN6s2YZE/hacking-cisco-network.html" title="hacking cisco network" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/08/hacking-cisco-network.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcBQHY_cSp7ImA9WxNTFEg.&quot;"><id>tag:blogger.com,1999:blog-4209959160125630712.post-8952045236121658376</id><published>2009-08-17T05:18:00.000+08:00</published><updated>2009-08-17T05:27:31.849+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-17T05:27:31.849+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="non-free" /><category scheme="http://www.blogger.com/atom/ns#" term="debian package" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="ipras" /><category scheme="http://www.blogger.com/atom/ns#" term="aptitude" /><title>using aptitude on Debian 5 (Lenny)</title><content type="html">To me, using Linux is always difficult, having get used to FreeBSD...  &lt;br /&gt;&lt;br /&gt;I just don't undertstand why all those man pages could not be written with more examples...  &lt;br /&gt;&lt;br /&gt;anyway, i installed Debian 5 and wanted to install IPRAS. &lt;br /&gt;&lt;br /&gt;aptitude could not find the package, but a search on google shows that the package exists..&lt;br /&gt;&lt;br /&gt;http://packages.debian.org/lenny/irpas&lt;br /&gt;&lt;br /&gt;This page advise adding "deb http://ftp.de.debian.org/debian lenny main non-free&lt;br /&gt;" to /etc/apt/sources.list &lt;br /&gt;&lt;br /&gt;but I think they miss out something.&lt;br /&gt;&lt;br /&gt;This is what I added in my /etc/apt/sources.list :&lt;br /&gt;&lt;br /&gt;deb http://ftp.de.debian.org/debian lenny main non-free&lt;br /&gt;deb-src http://ftp.de.debian.org/debian lenny main non-free&lt;br /&gt;&lt;br /&gt;I run "aptitude install ipras" and again it complained package not found&lt;br /&gt;&lt;br /&gt;more googling for aptitude tutorial and found this &lt;br /&gt;&lt;br /&gt;http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch01s01s05.html&lt;br /&gt;&lt;br /&gt;so i must run aptitude and type u to do an update.&lt;br /&gt;&lt;br /&gt;after the update, "aptitude install ipras" runs and ipras was installed!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4209959160125630712-8952045236121658376?l=fooksheng.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZomCIf-RAt1EFrRm5sfbyA0WkN8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZomCIf-RAt1EFrRm5sfbyA0WkN8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZomCIf-RAt1EFrRm5sfbyA0WkN8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZomCIf-RAt1EFrRm5sfbyA0WkN8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/FookShengTechnicalBlog/~4/rmnKRh1eQqQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://fooksheng.blogspot.com/feeds/8952045236121658376/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4209959160125630712&amp;postID=8952045236121658376" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8952045236121658376?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4209959160125630712/posts/default/8952045236121658376?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FookShengTechnicalBlog/~3/rmnKRh1eQqQ/using-aptitude-on-debian-5-lenny.html" title="using aptitude on Debian 5 (Lenny)" /><author><name>Fook Sheng</name><uri>http://www.blogger.com/profile/01395581220159584751</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><feedburner:origLink>http://fooksheng.blogspot.com/2009/08/using-aptitude-on-debian-5-lenny.html</feedburner:origLink></entry></feed>

