<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10228381</id><updated>2011-12-16T16:14:39.498+08:00</updated><category term='water'/><category term='opensolaris'/><title type='text'>IT ...</title><subtitle type='html'>brain dump</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</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>66</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10228381.post-346775919756759148</id><published>2011-12-16T16:14:00.000+08:00</published><updated>2011-12-16T16:14:39.506+08:00</updated><title type='text'>Road blocks upgrading Plone to 4.1.3</title><content type='html'>Let's wait for next release and hope the problem resolved by then.&lt;br /&gt;&lt;br /&gt;Found people have the same problem as I encountered, so I am not alone, but I am not that energetic to rectify it.&lt;br /&gt;http://stackoverflow.com/questions/7810648/an-error-when-trying-to-change-image-workflow&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/10228381-346775919756759148?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/346775919756759148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=346775919756759148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/346775919756759148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/346775919756759148'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2011/12/road-blocks-upgrading-plone-to-413.html' title='Road blocks upgrading Plone to 4.1.3'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-7947283894849231970</id><published>2011-09-27T16:54:00.001+08:00</published><updated>2011-09-27T16:54:06.818+08:00</updated><title type='text'>32bit apps in 64bit system</title><content type='html'>For Debian/Ubuntu,&lt;br /&gt;&lt;blockquote&gt;apt-get install ia32-libs&lt;/blockquote&gt;For RedHat/CentOS,&lt;br /&gt;&lt;blockquote&gt;yum install glibc.i686&lt;/blockquote&gt;Sometime, you already have all these in, so you will not realize this :-) &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-7947283894849231970?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/7947283894849231970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=7947283894849231970' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7947283894849231970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7947283894849231970'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2011/09/32bit-apps-in-64bit-system.html' title='32bit apps in 64bit system'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1424018589132812487</id><published>2011-03-15T14:35:00.002+08:00</published><updated>2011-03-15T14:38:11.174+08:00</updated><title type='text'>xauth is the key</title><content type='html'>When install server only Linux (Redhat/CentOS), and you want remote X (ssh -Y), then all you need is,&lt;br /&gt;yum install xauth&lt;br /&gt;&lt;br /&gt;xauth in full, xorg-x11-xauth&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1424018589132812487?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1424018589132812487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1424018589132812487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1424018589132812487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1424018589132812487'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2011/03/xauth-is-key.html' title='xauth is the key'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1918377418913512854</id><published>2009-08-20T17:42:00.002+08:00</published><updated>2009-08-20T17:47:54.067+08:00</updated><title type='text'>remote desktop problem caused by graphic drivers</title><content type='html'>New Windows XP pro with SP3 pre-installed.&lt;br /&gt;&lt;br /&gt;After verified every configurations (including firewall, antivirus protection), and still not be able to connect and stay.&lt;br /&gt;&lt;br /&gt;Checking of traces in event viewer, there's problem related to RDPDD.dll, google tells us something related to graphic driver, suggested to turn off hardware acceleration, did accordingly and rebooted, still no luck.&lt;br /&gt;&lt;br /&gt;Download latest Nvidia driver and install, Bingo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1918377418913512854?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1918377418913512854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1918377418913512854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1918377418913512854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1918377418913512854'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2009/08/remote-desktop-problem-caused-by.html' title='remote desktop problem caused by graphic drivers'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-2718945707879644691</id><published>2009-07-01T16:32:00.002+08:00</published><updated>2009-07-01T16:36:15.006+08:00</updated><title type='text'>Banner message before login</title><content type='html'>For GDM, SSH and local login,&lt;br /&gt;&lt;br /&gt;local login,&lt;br /&gt; /etc/issue&lt;br /&gt;&lt;br /&gt;SSH,&lt;br /&gt; /etc/ssh/sshd_config&lt;br /&gt;&lt;br /&gt;Banner /path/to/file&lt;br /&gt;&lt;br /&gt;GDM,&lt;br /&gt;  /etc/gdm/custom.conf  (RedHat ...)&lt;br /&gt;  /etc/gdm/gdm.conf-custom (Debian ...)&lt;br /&gt; &lt;br /&gt;[greeter]&lt;br /&gt;&lt;code&gt;DefaultWelcome=false&lt;br /&gt;Welcome=Message for local users&lt;br /&gt;RemoteWelcome=Message for remote login users&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-2718945707879644691?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/2718945707879644691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=2718945707879644691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2718945707879644691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2718945707879644691'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2009/07/banner-message-before-login.html' title='Banner message before login'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-2898656855045091516</id><published>2009-07-01T09:13:00.002+08:00</published><updated>2009-07-01T09:17:46.764+08:00</updated><title type='text'>multiple xen bridge interface on Ubuntu</title><content type='html'>Create /etc/xen/scripts/network-multi-bridge&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;dir=$(dirname "$0")&lt;br /&gt;"$dir/network-bridge" "$@" netdev=eth0 &lt;br /&gt;"$dir/network-bridge" "$@" netdev=eth1&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Change /etc/xen/xend-config.sxp&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;(network-script network-multi-bridge)&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-2898656855045091516?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/2898656855045091516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=2898656855045091516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2898656855045091516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2898656855045091516'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2009/07/multiple-xen-bridge-interface-on-ubuntu.html' title='multiple xen bridge interface on Ubuntu'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-3463299659549014142</id><published>2009-01-30T16:44:00.009+08:00</published><updated>2009-02-03T09:19:56.795+08:00</updated><title type='text'>OpenSolaris (cont)</title><content type='html'>Just get OpenSolaris runs on an HP Proliant server. The challenge is to get&lt;br /&gt;&lt;br /&gt;Followed &lt;a href="http://vitaliy.info/?cat=13"&gt;Vitaliy&lt;/a&gt;, removed Gnome first, the script works perfectly. &lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then &lt;a href="http://trevoro.ca/blog/2008/05/07/getting-xvm-to-work-in-opensolaris-200805/"&gt;get xen to work on OpenSolaris&lt;/a&gt;. &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;pkg install SUNWxvmhvm SUNWvirtinst SUNWlibvirt SUNWurlgrabber&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&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/10228381-3463299659549014142?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/3463299659549014142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=3463299659549014142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/3463299659549014142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/3463299659549014142'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2009/01/opensolaris-cont.html' title='OpenSolaris (cont)'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-3589957906286808184</id><published>2009-01-24T00:04:00.003+08:00</published><updated>2009-01-24T00:13:10.182+08:00</updated><title type='text'>Mac OSX journey starts here</title><content type='html'>Just got my hands on a new MacBook Pro, learnt a few things, &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Before screen light up, press "c" for CDROM boot, "Shift" for Safe Mode, which check and correct system volumes. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Default zfs support on 10.5 is read-only, get latest version from zfs.macosforge.org&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;diskutil can be used to shrink (resizeVolume) system volume and create ZFS partition. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Trying VirtualBox, running Windows 7 beta on ZFS, the performance seems not that fanciful. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-3589957906286808184?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/3589957906286808184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=3589957906286808184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/3589957906286808184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/3589957906286808184'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2009/01/mac-osx-journey-starts-here.html' title='Mac OSX journey starts here'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-6842834883856427046</id><published>2008-12-12T03:55:00.002+08:00</published><updated>2008-12-12T04:43:54.886+08:00</updated><title type='text'>Cisco basic</title><content type='html'>To interrupt traceroute/ping&lt;br /&gt;CTRL-SHIfT-6 twice.&lt;br /&gt;&lt;br /&gt;Move cursor,&lt;br /&gt;CTRL-A       begin&lt;br /&gt;CTRL-E       end&lt;br /&gt;CTRL-F       forward&lt;br /&gt;CTRL-B       backward&lt;br /&gt;&lt;br /&gt;check cpu, memory usage&lt;br /&gt;show processes [cpu|memory]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-6842834883856427046?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/6842834883856427046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=6842834883856427046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/6842834883856427046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/6842834883856427046'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2008/12/cisco-escape-sequence.html' title='Cisco basic'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-5723651320860410887</id><published>2008-12-11T21:44:00.004+08:00</published><updated>2008-12-11T21:49:51.396+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='water'/><title type='text'>It's quite some time</title><content type='html'>Luckily, I still remember the password :)&lt;br /&gt;&lt;br /&gt;FoxyTunes not bad, give it a try.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-5723651320860410887?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/5723651320860410887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=5723651320860410887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/5723651320860410887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/5723651320860410887'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2008/12/its-quite-some-time.html' title='It&apos;s quite some time'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-7872551632124730628</id><published>2008-02-22T09:02:00.001+08:00</published><updated>2008-02-22T09:03:50.898+08:00</updated><title type='text'>How to make a Windows video</title><content type='html'>mencoder XXX.wmv -o xxx.avi -nosound -ovc lavc -lavcopts vcodec=msmpeg4v2 -vf scale=320:240&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-7872551632124730628?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/7872551632124730628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=7872551632124730628' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7872551632124730628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7872551632124730628'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2008/02/how-to-make-windows-video.html' title='How to make a Windows video'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-2775131939003436413</id><published>2008-01-31T11:48:00.000+08:00</published><updated>2008-01-31T11:58:29.509+08:00</updated><title type='text'>legacy applications, legacy way</title><content type='html'>Fighting fires for the whole morning, Sun ONE Calendar, to be replaced by M$ Exchange.&lt;br /&gt;It suddenly gives problem, because I put it in a container in Solaris 10.&lt;br /&gt;I have no luxury to trace why it happens, so I copy out the application and it's database.&lt;br /&gt;Shutdown that zone, give the IP back to global zone.&lt;br /&gt;&lt;br /&gt;Set the hostname to calendar server name, before start the calendar service. Or else, it will always redirect to the global zone hostname !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-2775131939003436413?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/2775131939003436413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=2775131939003436413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2775131939003436413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2775131939003436413'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2008/01/legacy-applications-legacy-way.html' title='legacy applications, legacy way'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-7133849466843417677</id><published>2007-12-31T23:23:00.000+08:00</published><updated>2007-12-31T23:44:16.530+08:00</updated><title type='text'>out-of-box opensolaris on IBM X60</title><content type='html'>Tested b77.&lt;br /&gt;&lt;br /&gt;The good things,&lt;br /&gt;1. overall it works fine.&lt;br /&gt;2. centrino duo detected as 2 cpu instances (prtconf)&lt;br /&gt;3. hvm shows up (xm info | grep caps, after I update BIOS and enabled VT in it)&lt;br /&gt;4. battery status is there, just need to add applet to panel.&lt;br /&gt;5. ethernet card works, e1000g0&lt;br /&gt;6. wireless works, wpi0 (ifconfig wpi0 dhcp, from console, Administration/Network if from GNOME).&lt;br /&gt;&lt;br /&gt;Needs improve,&lt;br /&gt;1. xVM conflict with intel driver, have to change to "vesa" in order to work with xVM&lt;br /&gt;2. sound card is not working.&lt;br /&gt;3. power management, although powerd is running, keyboard is quite hot. Haven't found way to make it slow down.&lt;br /&gt;4. it will be good if there's updates for some common applications (firefox, thunderbird ...) on the net.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-7133849466843417677?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/7133849466843417677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=7133849466843417677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7133849466843417677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7133849466843417677'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/12/out-of-box-opensolaris-on-ibm-x60.html' title='out-of-box opensolaris on IBM X60'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-7891769909178422155</id><published>2007-12-31T16:00:00.000+08:00</published><updated>2007-12-31T16:18:33.381+08:00</updated><title type='text'>xVM crashes on IBM X60</title><content type='html'>After a few round of reinstalling of opensolaris b77, I realized that the problem is not due to my installation. The only partially failed package was SUNWfilebench, the rest all looks in /var/sadm/install_data/install_log.&lt;br /&gt;&lt;br /&gt;When I choose SXCE, everything runs fine. But when I choose xVM, everything also ok provided I don't login to GUI (GNOME/CDE). Every attempt will cause the whole system crash.&lt;br /&gt;&lt;br /&gt;Since I am not trained on crash dump analysis, google may provide me some hints. After some tries of different keywords combination, "xen intel graphic cards" lead me to a bug (177465) on bugzilla.novell.com .&lt;br /&gt;&lt;br /&gt;So it's the graphic driver not working properly with XEN. Before the next build of OpenSolaris, my workaround is to use "vesa" instead of "intel" driver.&lt;br /&gt;&lt;br /&gt;Just go to command line login with root, run "/usr/X11R6/bin/xorgcfg", save the /etc/X11/xorg.conf&lt;br /&gt;then change "intel" to "vesa" in the "Device" section.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-7891769909178422155?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/7891769909178422155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=7891769909178422155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7891769909178422155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7891769909178422155'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/12/xvm-crashes-on-ibm-x60.html' title='xVM crashes on IBM X60'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-4203050802670599594</id><published>2007-12-28T09:40:00.000+08:00</published><updated>2007-12-28T09:57:30.075+08:00</updated><title type='text'>mysql easy security.</title><content type='html'>Set password for root,&lt;br /&gt;&lt;blockquote&gt;mysqladmin password &lt;newpasswd&gt;&lt;br /&gt;&lt;/blockquote&gt;Put in /etc/my.cnf (chmod 600), so it's convenient for admin, it's not a good practice, though.&lt;br /&gt;&lt;blockquote&gt;[client]&lt;br /&gt;user=root&lt;br /&gt;password=newpasswd&lt;br /&gt;&lt;/blockquote&gt;For individual database, grant rights to its owner,&lt;br /&gt;&lt;blockquote&gt;grant all on database1.* to 'user1'@'%' identified by 'password';&lt;br /&gt;flush privileges;&lt;br /&gt;&lt;/blockquote&gt;If you did not record down password for root and forgot it, start mysqld with &lt;span style="font-weight: bold;"&gt;--skip-grant-tables&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;run "mysql mysql" with following statement,&lt;br /&gt;&lt;blockquote&gt;UPDATE user SET Password=PASSWORD('YOUR_PASSWORD')&lt;br /&gt;WHERE Host='localhost' AND User='root';&lt;br /&gt;exit&lt;/blockquote&gt;The restart mysqld normally.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-4203050802670599594?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/4203050802670599594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=4203050802670599594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/4203050802670599594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/4203050802670599594'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/12/mysql-easy-security.html' title='mysql easy security.'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-6543056094502141240</id><published>2007-12-24T15:48:00.000+08:00</published><updated>2007-12-24T15:56:17.111+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><title type='text'>qcow - grow as you use.</title><content type='html'>http://www.gnome.org/~markmc/qcow-image-format.html&lt;br /&gt;QCOW is a great and open source way to store disk image file.&lt;br /&gt;&lt;br /&gt;Glad to know Xen also supports qcow-create'd file.&lt;br /&gt;&lt;br /&gt;I will test to create D:\ for my Win XP on OpenSolaris xVM.&lt;br /&gt;&lt;br /&gt;Stay tuned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-6543056094502141240?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/6543056094502141240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=6543056094502141240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/6543056094502141240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/6543056094502141240'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/12/qcow-grow-as-you-use.html' title='qcow - grow as you use.'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-5140682579406839265</id><published>2007-12-17T16:54:00.000+08:00</published><updated>2007-12-24T15:57:27.066+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><title type='text'>opensolaris  xvm install windows XP</title><content type='html'>virt-install&lt;br /&gt;&lt;br /&gt;get xp.iso ready, and answer a few questions.&lt;br /&gt;# su&lt;br /&gt;(do not use "su -", or you have to settle DISPLAY)&lt;br /&gt;&lt;br /&gt;vncpasswd&lt;br /&gt;# svccfg -s xvm/xend setprop config/vncpasswd="qwe123"&lt;br /&gt;# svcadm refresh xvm/xend&lt;br /&gt;# svcadm restart xvm/xend&lt;br /&gt;&lt;br /&gt;cdrom lost after reboot,&lt;br /&gt;&lt;br /&gt;# xm block-attach winxp file:/myxp.iso hdc:cdrom r&lt;br /&gt;# xm reboot winxp&lt;br /&gt;# vncviewer :0&lt;br /&gt;&lt;br /&gt;Option 2,&lt;br /&gt;xm create&lt;br /&gt;&lt;br /&gt;with config like,&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;import os, re&lt;br /&gt;arch = os.uname()[4]&lt;br /&gt;if re.search('64', arch):&lt;br /&gt; arch_libdir = 'lib64'&lt;br /&gt;else:&lt;br /&gt; arch_libdir = 'lib'&lt;br /&gt;kernel = "/usr/lib/xen/boot/hvmloader"&lt;br /&gt;builder='hvm'&lt;br /&gt;memory = 512&lt;br /&gt;shadow_memory = 8&lt;br /&gt;name = "winxp"&lt;br /&gt;vcpus=1&lt;br /&gt;disk = [ 'file:/export/home/XP/winxp.img,hda,w', 'file:/WinXPp2.iso,hdc:cdrom,r' ]&lt;br /&gt;vif = [ 'type=ioemu' ]&lt;br /&gt;&lt;br /&gt;on_poweroff = 'destroy'&lt;br /&gt;on_reboot   = 'restart'&lt;br /&gt;on_crash    = 'preserve'&lt;br /&gt;&lt;br /&gt;device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'&lt;br /&gt;boot='d'&lt;br /&gt;vnc=1&lt;br /&gt;vncpasswd='qwe123'&lt;br /&gt;serial='null'&lt;br /&gt;usb=1&lt;br /&gt;usbdevice='tablet'&lt;/blockquote&gt;last 2 lines make the mouse in vnc works better!&lt;br /&gt;&lt;br /&gt;get rdesktop from blastwave, and a heavy load of other free software.&lt;br /&gt;http://www.blastwave.org/howto.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-5140682579406839265?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/5140682579406839265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=5140682579406839265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/5140682579406839265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/5140682579406839265'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/12/opensolarix-xvm-install-windows-xp.html' title='opensolaris  xvm install windows XP'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-2366815646710602054</id><published>2007-12-09T05:50:00.000+08:00</published><updated>2007-12-09T05:52:25.502+08:00</updated><title type='text'>remove cups from linux server</title><content type='html'>Since it's not used for printing.&lt;br /&gt;&lt;br /&gt;redhat-lsb needs to be removed also, it's a package to ensure printing compatibility.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-2366815646710602054?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/2366815646710602054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=2366815646710602054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2366815646710602054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2366815646710602054'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/12/remove-cups-from-linux-server.html' title='remove cups from linux server'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1493491989060208483</id><published>2007-10-09T15:35:00.000+08:00</published><updated>2007-10-09T15:42:34.149+08:00</updated><title type='text'>MySQL for a start</title><content type='html'>TRUNCATE TABLE &lt;tbl_name&gt;;&lt;br /&gt;  remove all data and reset auto_increment field&lt;br /&gt;&lt;br /&gt;load data local infile '/path/to/localfile.tsv'&lt;br /&gt;into table &lt;tbl_name&gt;&lt;br /&gt;fields terminated by '\t'&lt;br /&gt;lines terminated by '\n'&lt;br /&gt;(field1, field2, field3)&lt;br /&gt;  import data into a table.&lt;br /&gt;&lt;br /&gt;Exploring replication, the basic way to prevent database problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1493491989060208483?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1493491989060208483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1493491989060208483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1493491989060208483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1493491989060208483'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/10/mysql-for-start.html' title='MySQL for a start'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-8874955607049460078</id><published>2007-08-28T19:48:00.000+08:00</published><updated>2007-08-28T20:24:16.223+08:00</updated><title type='text'>waking up i810 on ubuntu</title><content type='html'>suspend &amp;amp; hibernate of my Lenovo X60, everything is fine. But when I try to wake it up, only mouse still responding, screen is black with mouse cursor moving, only keys Fn+&lt;x&gt; are still working.&lt;br /&gt;&lt;br /&gt;When I try to ssh in to it, it works. So it's something to do with graphic. Luckily google tells me some similar issue, which is caused by VBERestore. The following steps work for me,&lt;br /&gt;&lt;br /&gt;/etc/default/acpi-support&lt;br /&gt;POST_VIDEO=false&lt;br /&gt;&lt;br /&gt;/etc/X11/xorg.conf&lt;br /&gt;Driver    "i810"&lt;br /&gt;Options    "VBERestore"    "true"&lt;br /&gt;&lt;br /&gt;Tried to remove "vbetool" without luck, it's required by acpi-tools.&lt;/x&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-8874955607049460078?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/8874955607049460078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=8874955607049460078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/8874955607049460078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/8874955607049460078'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/08/waking-up-i810-on-ubuntu.html' title='waking up i810 on ubuntu'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-7074854012882592774</id><published>2007-08-27T14:17:00.000+08:00</published><updated>2007-08-27T14:20:56.433+08:00</updated><title type='text'>re-compile kernel on ubuntu for Lenovo X60</title><content type='html'>apt-get install linux-source&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;patch suspend2&lt;br /&gt;bzcat *.bz | patch -p1&lt;br /&gt;&lt;br /&gt;patch ieee80211&lt;br /&gt;make patch_kernel SHELL=/bin/bash&lt;br /&gt;&lt;br /&gt;make ipw3945&lt;br /&gt;make SHELL=/bin/bash&lt;br /&gt;ipw3945d-2.6.22-9&lt;br /&gt;&lt;br /&gt;tp_smapi (+hdaps)&lt;br /&gt;make install HDAPS=1 SHELL=/bin/bash&lt;br /&gt;&lt;br /&gt;At least, now hdaps working, as well as systemtap's "hello world".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-7074854012882592774?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/7074854012882592774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=7074854012882592774' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7074854012882592774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/7074854012882592774'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/08/re-compile-kernel-on-ubuntu-for-lenovo.html' title='re-compile kernel on ubuntu for Lenovo X60'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-4618957146204094040</id><published>2007-08-26T01:26:00.000+08:00</published><updated>2007-08-26T01:37:24.014+08:00</updated><title type='text'>manage debian packages</title><content type='html'>similar to rpm / yum in others&lt;br /&gt;&lt;br /&gt;dpkg -s &lt;pkg&gt;        --  get basic package information&lt;br /&gt;dpkg -L &lt;pkg&gt;         --  list all files in a package&lt;br /&gt;dpkg -S &lt;/pkg&gt;    -- which package owns this file&lt;br /&gt;dpkg -l             -- list installed packages&lt;br /&gt;dpkg -l 'linux*'&lt;br /&gt;dpkg -i *.deb    -- install deb&lt;br /&gt;&lt;br /&gt;apt-get install / remove / update / upgrade&lt;br /&gt;&lt;br /&gt;There's another one called &lt;span style="font-weight: bold;"&gt;wajig&lt;/span&gt;, not exploring since above is good enough for me&lt;br /&gt;&lt;/pkg&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-4618957146204094040?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/4618957146204094040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=4618957146204094040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/4618957146204094040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/4618957146204094040'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/08/manage-debian-packages.html' title='manage debian packages'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1275011892221949259</id><published>2007-08-14T14:27:00.000+08:00</published><updated>2007-08-14T14:31:22.019+08:00</updated><title type='text'>Ubuntu on IBM X60</title><content type='html'>/etc/modprobe.d/blacklist&lt;br /&gt;...&lt;br /&gt;blacklist video&lt;br /&gt;blacklist pcspkr&lt;br /&gt;&lt;br /&gt;First one to enable brightness adjustment key.&lt;br /&gt;Second one to mute the annoying loud beep.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1275011892221949259?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1275011892221949259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1275011892221949259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1275011892221949259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1275011892221949259'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/08/ubuntu-on-ibm-x60.html' title='Ubuntu on IBM X60'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1309720953497121793</id><published>2007-08-14T14:21:00.000+08:00</published><updated>2007-08-14T14:27:36.359+08:00</updated><title type='text'>mediawiki ppt upload</title><content type='html'>When people try to upload PowerPoint files, it says extension mismatch or something.&lt;br /&gt;In LocalSettings.php, .ppt is already allowed extension.&lt;br /&gt;&lt;br /&gt;It turned out to be "file" command in Linux/Unix tends to identify .ppt file as "Microsoft Installer".&lt;br /&gt;&lt;br /&gt;A quick solution, disable extension verification.&lt;br /&gt;$wgStrictFileExtensions = false;&lt;br /&gt;&lt;br /&gt;We have disabled MimeType checking also since it's for internal user only.&lt;br /&gt;$wgVerifyMimeType   = false;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1309720953497121793?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1309720953497121793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1309720953497121793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1309720953497121793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1309720953497121793'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/08/mediawiki-ppt-upload.html' title='mediawiki ppt upload'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-586770599142712732</id><published>2007-06-19T21:48:00.000+08:00</published><updated>2007-06-19T21:54:36.118+08:00</updated><title type='text'>cygwin: Could not open default font 'fixed'</title><content type='html'>Patched windows XP to latest, problem still.&lt;br /&gt;Googling with an answer to manually to un-tar the xorg-x11-*fnt* packages.&lt;br /&gt;It works.&lt;br /&gt;&lt;br /&gt;After another setup.exe, have to un-tar again, why?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-586770599142712732?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/586770599142712732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=586770599142712732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/586770599142712732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/586770599142712732'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/06/cygwin-could-not-open-default-font.html' title='cygwin: Could not open default font &apos;fixed&apos;'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-3552953325005794426</id><published>2007-02-22T10:23:00.000+08:00</published><updated>2007-02-22T10:30:48.964+08:00</updated><title type='text'>Octave basic - editing</title><content type='html'>Tasked to look for alternatives to Matlab, I haven't touched Matlab for long time. Anyway, google tells me Octave. Command for a start before you "edit" your own functions.&lt;br /&gt;&lt;br /&gt;path ('~/octave')                # put your src directory in LOADPATH,  &lt;-- Bug?&lt;br /&gt;edit home '~/myproject'    # if not using default.&lt;br /&gt;edit editor "gedit %s &amp;"     # default emacs, can set vim also&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-3552953325005794426?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/3552953325005794426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=3552953325005794426' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/3552953325005794426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/3552953325005794426'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/02/octave-basic-editing.html' title='Octave basic - editing'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-2416547294526214787</id><published>2007-02-10T07:12:00.000+08:00</published><updated>2007-02-01T15:07:41.513+08:00</updated><title type='text'>rip sound from movie file</title><content type='html'>1. Encode sound to make sure it's mp3, skip video to get a .avi with sound only.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mencoder -oac mp3lame -ovc frameno -o aa1.avi vts1.vob&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Dump the raw sound out from .avi&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mplayer -ao pcm mplayer -ao pcm -vo null -vc dummy -dumpaudio -dumpfile aa1.mp3 aa1.avi &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-2416547294526214787?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/2416547294526214787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=2416547294526214787' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2416547294526214787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/2416547294526214787'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/02/rip-sound-from-movie-file.html' title='rip sound from movie file'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1323133530848157954</id><published>2007-02-01T14:49:00.000+08:00</published><updated>2007-02-01T15:03:30.240+08:00</updated><title type='text'>Blend Linux into Windows domain</title><content type='html'>http://samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.html&lt;br /&gt;&lt;br /&gt;This great solution allow us to deploy Linux into the sea of windows.&lt;br /&gt;With the little help from pam_mkhomedir.so,&lt;br /&gt;&lt;br /&gt;session    required     pam_mkhomedir.so skel=/etc/skel umask=0022&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1323133530848157954?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1323133530848157954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1323133530848157954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1323133530848157954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1323133530848157954'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/01/blend-linux-into-windows-domain.html' title='Blend Linux into Windows domain'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-1723782179792732117</id><published>2007-02-01T14:43:00.000+08:00</published><updated>2007-02-01T14:45:54.406+08:00</updated><title type='text'>Provide a name to dhcp server</title><content type='html'>Fedora Core using dhclient.&lt;br /&gt;&lt;br /&gt; /etc/dhclient.conf&lt;br /&gt;&lt;br /&gt;         send fqdn.fqdn "mylinux.domain.local.";&lt;br /&gt;         send fqdn.encoded off;&lt;br /&gt;         send fqdn.server-update off;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-1723782179792732117?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/1723782179792732117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=1723782179792732117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1723782179792732117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/1723782179792732117'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2007/01/provide-name-to-dhcp-server.html' title='Provide a name to dhcp server'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115895352431155645</id><published>2006-09-23T03:24:00.000+08:00</published><updated>2006-09-23T03:32:04.333+08:00</updated><title type='text'>firefox + java vm on ubuntu</title><content type='html'>Segmentation Fault?!&lt;br /&gt;&lt;br /&gt;I was trying to cheat those IE only website with &lt;span style="font-style: italic;"&gt;general.useragent.override.&lt;br /&gt;&lt;/span&gt;Seems that Java VM is the only one picking this up and crashed itself.&lt;br /&gt;&lt;br /&gt;Remove that setting, everything back to normal. Sigh.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115895352431155645?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115895352431155645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115895352431155645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115895352431155645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115895352431155645'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/09/firefox-java-vm-on-ubuntu.html' title='firefox + java vm on ubuntu'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115865377185249717</id><published>2006-09-19T16:05:00.000+08:00</published><updated>2006-09-19T16:21:33.160+08:00</updated><title type='text'>PPTP passthrough NetScreen</title><content type='html'>After one day's frustration, it turns out that, simple solution for PPTP client behind a NetScreen firewall to get through is,&lt;br /&gt;&lt;br /&gt;Configure an IP pool for NAT with fix-port, which means no port translations. This way can make sure "IP 47" passthrough, or else they will drop.&lt;br /&gt;&lt;br /&gt;Is there a better way?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115865377185249717?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115865377185249717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115865377185249717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115865377185249717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115865377185249717'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/09/pptp-passthrough-netscreen.html' title='PPTP passthrough NetScreen'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115819678548095502</id><published>2006-09-14T09:15:00.000+08:00</published><updated>2006-09-14T09:19:45.490+08:00</updated><title type='text'>Scientist for a hostname</title><content type='html'>Don't know since when and who decided we should use famous scientist to name our systems. Anyway a list of names in case I need them one day.&lt;br /&gt;&lt;br /&gt;Pierre de Fermat&lt;br /&gt;John Wallis&lt;br /&gt;Gottfried Wilhelm Leibniz&lt;br /&gt;Joseph Louis Largrange&lt;br /&gt;&lt;br /&gt;Sometime, not so important systems named after a car model,&lt;br /&gt;&lt;br /&gt;Passat&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115819678548095502?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115819678548095502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115819678548095502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115819678548095502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115819678548095502'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/09/scientist-for-hostname.html' title='Scientist for a hostname'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115479298953464104</id><published>2006-08-05T23:39:00.000+08:00</published><updated>2006-08-05T23:49:49.556+08:00</updated><title type='text'>ipaq 5550 wince restoration</title><content type='html'>Using following step to cut user data off the backup image, or else "img_size is too large for region: ..." will show up.&lt;br /&gt;&lt;br /&gt;$ cp wince_image.gz wince_image.gz.big&lt;br /&gt;$ gunzip wince_image.gz&lt;br /&gt;$ mv wince_image wince_image.big&lt;br /&gt;$ dd if=wince_image.big of=wince_image bs=1024 count=32256&lt;br /&gt;$ gzip -9 wince_image&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115479298953464104?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115479298953464104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115479298953464104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115479298953464104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115479298953464104'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/08/ipaq-5550-wince-restoration.html' title='ipaq 5550 wince restoration'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115382077318980558</id><published>2006-07-25T17:42:00.000+08:00</published><updated>2006-07-25T17:46:13.190+08:00</updated><title type='text'>gnome/metacity maximize vertically</title><content type='html'>It's available as Keyboard Shortcut (menu -&gt; Desktops -&gt; Preferences -&gt; Keyboard Shortcuts).&lt;br /&gt;&lt;br /&gt;Good for people like me who opens a lot of gnome-terminals.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115382077318980558?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115382077318980558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115382077318980558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115382077318980558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115382077318980558'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/gnomemetacity-maximize-vertically.html' title='gnome/metacity maximize vertically'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115382053016645398</id><published>2006-07-25T17:31:00.000+08:00</published><updated>2006-07-25T17:42:10.176+08:00</updated><title type='text'>hang after "Freeing unused kernel memory..."</title><content type='html'>The symptom,&lt;br /&gt; After displaying  "Freeing unused kernel memory ... ", the sytem may or maynot display a few more line, then just stop there. You can still type on keyboard and it will display.&lt;br /&gt;&lt;br /&gt;Possible reason,&lt;br /&gt; RAM!!! The system happened to have 2x 128Mb DDR (IBM) and 2x 512Mb DDR (Kingston), remove either set of them, the system return to perfect normal.&lt;br /&gt;&lt;br /&gt;We tried to install RedHat ES 3, installation no problem, but after installation, system stop just there, can't start.&lt;br /&gt;CentOS 4.3 also tried, can't find root when boot from CD.&lt;br /&gt;SuSE 10, CD boot stop at "Freeing unused kernel memory ..."&lt;br /&gt;&lt;br /&gt;Waste me half a day to discover it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115382053016645398?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115382053016645398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115382053016645398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115382053016645398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115382053016645398'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/hang-after-freeing-unused-kernel.html' title='hang after &quot;Freeing unused kernel memory...&quot;'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115258887974010586</id><published>2006-07-11T11:34:00.000+08:00</published><updated>2006-07-11T11:37:43.100+08:00</updated><title type='text'>Nagios - Server/Printer/Network monitoring</title><content type='html'>Inherited from NetSaint, it's a very good tools for sysadmin.&lt;p&gt;Three main parts current explored by myself, &lt;/p&gt;&lt;p&gt;nagios, nagios-plugin and nagiosweb&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115258887974010586?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115258887974010586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115258887974010586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115258887974010586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115258887974010586'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/nagios-serverprinternetwork-monitoring.html' title='Nagios - Server/Printer/Network monitoring'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115252433722293271</id><published>2006-07-10T17:14:00.000+08:00</published><updated>2006-07-10T17:38:57.233+08:00</updated><title type='text'>pvfs2 testing</title><content type='html'>Following &lt;a href="http://www.pvfs.org/pvfs2/pvfs2-quickstart.html"&gt;this link&lt;/a&gt;, trying to get pvfs2 1.5.1 running on a small cluster. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;./configure --prefix=/opt/pvfs2 --with-kernel=/usr/src/....&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;make &amp;&amp;amp; make install&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;make kmod &amp;&amp;amp; make kmod_install &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;need corresponding kernel-devel, specifically, kernel-smp-devel package to make kmod.&lt;br /&gt;&lt;br /&gt;run pvfs2-client before mount         (document not clear enough for me to see this :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115252433722293271?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115252433722293271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115252433722293271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115252433722293271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115252433722293271'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/pvfs2-testing.html' title='pvfs2 testing'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115240876672545109</id><published>2006-07-09T09:28:00.000+08:00</published><updated>2006-07-09T09:32:46.736+08:00</updated><title type='text'>OpenDX unleashed</title><content type='html'>cp opendx-4.3.2-r1.ebuild opendx-4.4.0.ebuild&lt;br /&gt;cp opendx-samples-4.3.2.ebuild opendx-samples-4.4.0.ebuild&lt;br /&gt;(lazy way to upgrade packages :)&lt;br /&gt;&lt;br /&gt;ebuild  ...  digest&lt;br /&gt;motif-config openmotif hdf depended.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115240876672545109?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115240876672545109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115240876672545109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115240876672545109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115240876672545109'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/opendx-unleashed.html' title='OpenDX unleashed'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115215565742022867</id><published>2006-07-06T11:14:00.000+08:00</published><updated>2006-07-06T11:47:54.330+08:00</updated><title type='text'>transcode + mplayer + ffmpeg for video conversion</title><content type='html'>transcode + mplayer + ffmpeg for video conversion&lt;br /&gt;&lt;br /&gt;msmpeg4v2 is a best format to choose if you want to play in Windows.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;transcode -i test.mov -x mplayer,null -y ffmpeg,null -F msmpeg4v2  \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--export_asr 2 -o msmpeg4v2.avi -D0 -E 48000,16,2 -b 224 -N 0x2000 -s2 \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-J modfps --export_fps 15&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115215565742022867?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115215565742022867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115215565742022867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115215565742022867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115215565742022867'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/transcode-mplayer-ffmpeg-for-video.html' title='transcode + mplayer + ffmpeg for video conversion'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115213623560938005</id><published>2006-07-06T05:41:00.000+08:00</published><updated>2006-07-06T06:07:33.153+08:00</updated><title type='text'>funny ati-drivers</title><content type='html'>emerge -avuD world&lt;br /&gt;&lt;br /&gt;If you have 8.26.18, it will ask you to downgrade to 8.23.7, on the contrary, if current system has 8.23.7, it will ask you to upgrade to 8.26.18. Why?&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;Here comes the reason, because I have ati-drivers-extra which depends on ati-drivers same version 8.23.7. So when "emerge --deep"  found that my system don't have ati-drivers-8.23.7, it will ask for it. But when upgrade from 8.23.7 to 8.26.18, it wont check replace 8.23.7 will break the dependency. A bug for "emerge --deep", right?&lt;br /&gt;&lt;br /&gt;How did I find out? I just mask ati-drivers-8.23.7 and wait for emerg --deep to complain, haha.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115213623560938005?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115213623560938005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115213623560938005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115213623560938005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115213623560938005'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/funny-ati-drivers.html' title='funny ati-drivers'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115213539658688021</id><published>2006-07-06T05:31:00.000+08:00</published><updated>2006-07-09T09:02:50.690+08:00</updated><title type='text'>iptables -- share internet connection</title><content type='html'>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;&lt;br /&gt;Have to make sure the following modules is selected in kernel and preloaded,&lt;br /&gt;/etc/modules.autoload.d/kernel-2.6&lt;br /&gt;ip_tables&lt;br /&gt;iptable_nat&lt;br /&gt;ipt_MASQUERADE&lt;br /&gt;&lt;br /&gt;Or else, iptables will give you unknown error, and a very big number, maybe they should detect and load the necessary modules?&lt;br /&gt;&lt;br /&gt;modules iptable_filter is not necessary if you want internet sharing only.&lt;br /&gt;&lt;br /&gt;BTW, if iptable_filter is not loaded, "iptables -L" will give you a friendly message, that should be the way.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;iptables v1.3.5: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Perhaps iptables or your kernel needs to be upgraded.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115213539658688021?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115213539658688021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115213539658688021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115213539658688021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115213539658688021'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/iptables-share-internet-connection.html' title='iptables -- share internet connection'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-115203326821888792</id><published>2006-07-05T01:14:00.000+08:00</published><updated>2006-07-05T01:14:29.316+08:00</updated><title type='text'>Downgrade Creative MuVo N200 firmware</title><content type='html'>Happily using my MuVo N200, until it starts to auto off so frequently. Google leads me to the creative forums.&lt;br /&gt;&lt;br /&gt;People says the problem is due to firmware, and a list of useful firmware list was given &lt;a href="http://forums.creative.com/creativelabs/board/message?board.id=dap&amp;message.id=112037"&gt;here&lt;/a&gt;, so I just picked the latest 1.20.04, since I am always going for the latest.&lt;br /&gt;&lt;br /&gt;Firmware upgrade always looks quite straightforward, &lt;a href="http://forums.creative.com/creativelabs/board/message?board.id=dap&amp;amp;message.id=3"&gt;Recovery Mode&lt;/a&gt;, run the downloaded executable, Bingo! All problems are gone.&lt;br /&gt;&lt;br /&gt;Wait a minute, in fact, it's old problems gone, new problem appears, the volume now goes 0-20 instead of 0-40. At night or other quiet environment, volume 1 is too loud already!&lt;br /&gt;&lt;br /&gt;On the forum, someone said that the downgraded from 1.20.04 to 1.12.01 by luck, try and error, no exact steps to follow. So I started to try my luck.&lt;br /&gt;&lt;br /&gt;Luckily, I did it also, and there are some steps to follow if you have not found your luck.&lt;br /&gt;&lt;br /&gt;1. Connect the MuVo in Recovery Mode, use 1.20.04 firmware, after you see more than 3 blue block, unplug MuVo quickly.&lt;br /&gt;&lt;br /&gt;2. Connect it back in normal mode, try to access the file system, it will tell you not formated, say yes to format it. Now you MuVo is just a USB thumb drive, don't worry.&lt;br /&gt;&lt;br /&gt;3. Connect in Recovery Mode again, now use 1.12.01 firmware, and let it finish. It takes some time to find, if it can't finish, try again from step 1, or else, you are really unlucky.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-115203326821888792?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/115203326821888792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=115203326821888792' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115203326821888792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/115203326821888792'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/07/downgrade-creative-muvo-n200-firmware.html' title='Downgrade Creative MuVo N200 firmware'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-114913988507321981</id><published>2006-06-01T13:29:00.000+08:00</published><updated>2006-06-01T13:31:25.083+08:00</updated><title type='text'>Solaris TIPS</title><content type='html'>1. mount cdrom without vold.&lt;br /&gt;&lt;br /&gt;/dev/dsk/c0t2d0s0       /dev/rdsk/c0t2d0s0      /cdrom  hsfs    0       no   ro&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-114913988507321981?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/114913988507321981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=114913988507321981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114913988507321981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114913988507321981'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/05/solaris-tips.html' title='Solaris TIPS'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-114846382501191011</id><published>2006-05-24T17:01:00.000+08:00</published><updated>2006-07-05T01:25:30.976+08:00</updated><title type='text'>linux software raid root /</title><content type='html'>&lt;span style="font-family:arial;"&gt;For my own reference, raid is good.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Create degraded raid1 first,&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:arial,helvetica,sans-serif;font-size:100%;"  &gt;&lt;pre&gt;&lt;span style="font-family:courier new;"&gt;mdadm --create /dev/md0 --level 1 --raid-devices=2 missing /dev/sdb2&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:arial,helvetica,sans-serif;font-size:100%;"  &gt;&lt;pre&gt;mke2fs -j /dev/md0&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;pre&gt;mount /dev/md0 /mnt&lt;br /&gt;&lt;br /&gt;Clone the / filesystem.&lt;br /&gt;cd /mnt&lt;br /&gt;tar -C / -clspf - . | tar -xlspvf -&lt;/pre&gt;&lt;/span&gt;change /mnt/etc/fstab&lt;br /&gt;&lt;br /&gt;change /boot/grub/menu.lst&lt;br /&gt;root=/dev/md0&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;font&gt;&lt;font&gt;&lt;font&gt;&lt;font&gt;&lt;font&gt;&lt;font&gt;&lt;font&gt;&lt;span style="font-family:courier new;"&gt;mkinitrd --with=raid1 ...&lt;br /&gt;(at least for CentOS 4.2, raid1 is not included in default initrd)&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:arial,helvetica,sans-serif;font-size:100%;"  &gt;&lt;pre&gt;Following command to see the status,&lt;br /&gt;cat /proc/mdstat&lt;br /&gt;&lt;br /&gt;after reboot, add the other mirror,&lt;br /&gt;mdadm /dev/md0 -a /dev/sda2&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-114846382501191011?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/114846382501191011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=114846382501191011' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114846382501191011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114846382501191011'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/05/linux-software-raid-root.html' title='linux software raid root /'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-114826924713587497</id><published>2006-05-22T11:34:00.000+08:00</published><updated>2006-05-22T11:54:05.663+08:00</updated><title type='text'>Join Samba to Active Directory</title><content type='html'>I followed &lt;a href="http://www.enterprisenetworkingplanet.com/netos/article.php/3487081"&gt;this link&lt;/a&gt; exactly, just one more line to add,&lt;br /&gt;&lt;br /&gt;local master = no&lt;br /&gt;&lt;br /&gt;Or else, the master (AD) will always be bugged with MRxSmb, Event ID 8003.&lt;br /&gt;&lt;br /&gt;This is my first time to configure kerberos also.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-114826924713587497?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/114826924713587497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=114826924713587497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114826924713587497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114826924713587497'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/05/join-samba-to-active-directory.html' title='Join Samba to Active Directory'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-114802812062240451</id><published>2006-05-19T16:34:00.000+08:00</published><updated>2006-05-19T16:42:00.633+08:00</updated><title type='text'>enable quota on linux</title><content type='html'>make sure package available,&lt;br /&gt;rpm -qa | grep quota&lt;br /&gt;&lt;br /&gt;/etc/fstab&lt;br /&gt;/dev/sdb3               /home                   ext3    usrquota,defaults&lt;br /&gt;&lt;br /&gt;mount -o remount /home&lt;br /&gt;&lt;br /&gt;quotacheck /home&lt;br /&gt;&lt;br /&gt;quotaon -a&lt;br /&gt;&lt;br /&gt;setquota, better than edquota&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-114802812062240451?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/114802812062240451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=114802812062240451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114802812062240451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/114802812062240451'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2006/05/enable-quota-on-linux.html' title='enable quota on linux'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-113342712280238420</id><published>2005-12-01T16:39:00.000+08:00</published><updated>2005-12-01T16:52:02.823+08:00</updated><title type='text'>qt 3.3 -&gt; qt 4, a big leap forward</title><content type='html'>I found this when I try to emerge moto4lin, my only application that depends on QT.&lt;br /&gt;After, qt3to4 *.pro, the compilation still refuses to go on. Then I realized that I am using qt4 now. The difference I encountered,&lt;br /&gt;&lt;br /&gt;qt3::QString::contains -&gt; qt4::QString::count&lt;br /&gt;qt3::QPixmap::fromMimeSource -&gt; qt4::QPixmap::QPixmap&lt;br /&gt;&lt;br /&gt;Lucky, I got a running program after the above conversions.&lt;br /&gt;http://doc.trolltech.com/ is a very good reference point.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-113342712280238420?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/113342712280238420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=113342712280238420' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113342712280238420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113342712280238420'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/12/qt-33-qt-4-big-leap-forward.html' title='qt 3.3 -&gt; qt 4, a big leap forward'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-113298405923750299</id><published>2005-11-26T13:47:00.000+08:00</published><updated>2005-12-01T16:34:15.190+08:00</updated><title type='text'>gcc4 dropping obsolete things</title><content type='html'>The following expressing is no longer valid in gcc4 (at least gcc-4.0.2)&lt;br /&gt;char argv[][]&lt;br /&gt;The correct way is,&lt;br /&gt;char **argv&lt;br /&gt;&lt;br /&gt;Problem discovered when "emerge libdv"&lt;br /&gt;&lt;br /&gt;In file included from dv.c:50:&lt;br /&gt;quant.h:30: error: array type has incomplete element type&lt;br /&gt;dv.c: In function 'dv_decode_macroblock':&lt;br /&gt;dv.c:224: error: type of formal parameter 5 is incomplete&lt;br /&gt;dv.c: In function 'dv_decode_video_segment':&lt;br /&gt;dv.c:256: error: type of formal parameter 5 is incomplete&lt;br /&gt;make[3]: *** [dv.lo] Error 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-113298405923750299?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/113298405923750299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=113298405923750299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113298405923750299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113298405923750299'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/11/gcc4-dropping-obsolete-things.html' title='gcc4 dropping obsolete things'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-113266607590925472</id><published>2005-11-22T21:25:00.000+08:00</published><updated>2005-12-01T16:37:43.656+08:00</updated><title type='text'>bootloader and initrd</title><content type='html'>emerge mkinitrd  (from redhat I believe)&lt;br /&gt;&lt;br /&gt;mkinitrd will create an initrd file for you. gzip it and pass to bootloader to make it happy (my xbox linux loader requires initrd).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-113266607590925472?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/113266607590925472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=113266607590925472' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113266607590925472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113266607590925472'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/11/bootloader-and-initrd.html' title='bootloader and initrd'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-113202136129927012</id><published>2005-11-15T10:21:00.000+08:00</published><updated>2005-11-15T10:22:41.313+08:00</updated><title type='text'>NTFS write support with captive</title><content type='html'>emerge captive&lt;br /&gt;&lt;br /&gt;after kernel upgrade, do&lt;br /&gt;emerge sys-fs/fuse&lt;br /&gt;&lt;br /&gt;mount -t captive-ntfs /dev/sda5 /mnt/c&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-113202136129927012?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/113202136129927012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=113202136129927012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113202136129927012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113202136129927012'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/11/ntfs-write-support-with-captive.html' title='NTFS write support with captive'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-113092613078459552</id><published>2005-11-02T18:05:00.000+08:00</published><updated>2005-11-02T18:08:50.806+08:00</updated><title type='text'>dyndns.org</title><content type='html'>Build into Linksys wireless router, so sweet. So have to use.&lt;br /&gt;&lt;br /&gt;http://myxbox.homelinux.net:&lt;stupid&gt;/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-113092613078459552?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/113092613078459552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=113092613078459552' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113092613078459552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113092613078459552'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/11/dyndnsorg.html' title='dyndns.org'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-113032029783264272</id><published>2005-10-26T17:50:00.000+08:00</published><updated>2005-10-26T17:51:37.840+08:00</updated><title type='text'>floating-point assist fault</title><content type='html'>1) How to stop the program immediatly at the site&lt;br /&gt;   of the fault?&lt;br /&gt;&lt;br /&gt;There is a command "prctl" on the SGI Altix system, with which&lt;br /&gt;you can specify what to do for the two notorious kernel&lt;br /&gt;emulations: unaligned access and floating-point assist fault.&lt;br /&gt;For example, if your Fortran program is run as&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;  $ prctl --fpemu=signal  your_program&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;the floating-point assist fault condition triggers SIGFPE.  So,&lt;br /&gt;if you compile your program with -g and run it under gdb as&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;  $ prctl --fpemu=signal gdb your_program&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;you'll find which line of your code is causing the fault.&lt;br /&gt;&lt;br /&gt;On an ordianry Linux, there's a system call "prctl". This command&lt;br /&gt;on Altix may be encapsulating it. (I found Solaris 9 also has this&lt;br /&gt;command.)  I wonder what other Linux systems on Itanium machines&lt;br /&gt;are doing.  This problem should be common to all Linuxes on Itanium&lt;br /&gt;systems.&lt;br /&gt;&lt;br /&gt;2) What does the "ip" information in /ver/log/messages mean?&lt;br /&gt;&lt;br /&gt;I found that the listing from the "-Wl,--print-map" does not match&lt;br /&gt;what /var/log/messages says.  Or, otherwise I'm missing something.&lt;br /&gt;The messages file says the problem occurs at "ip 400000000005d6e1"&lt;br /&gt;and the listing from the linker has this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[...]&lt;br /&gt;.text  0x400000000005ca00 0x3080 sfcng-delete-this.o&lt;br /&gt;       0x400000000005db80           bdyflx_&lt;br /&gt;       0x400000000005ca00           sfcflx_&lt;br /&gt;.text  0x400000000005fa80 0x7f40 libogcm.a(atmct.o)&lt;br /&gt;       0x400000000005fa80           tmstup_&lt;br /&gt;       0x4000000000065e80           tmstpc_&lt;br /&gt;[...]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This address 5d6e1 is after the top of sfcflx_ (5ca00) and before&lt;br /&gt;bdyflx_ (5db80).  That means the problem is in sfcflx_.  At least&lt;br /&gt;so I thought.&lt;br /&gt;&lt;br /&gt;The fact is that the problem was in bdyflx_.&lt;br /&gt;&lt;br /&gt;I hope this will be helpful for other people having the same&lt;br /&gt;problem.&lt;br /&gt;&lt;br /&gt;from Ryo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-113032029783264272?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/113032029783264272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=113032029783264272' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113032029783264272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/113032029783264272'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/10/floating-point-assist-fault.html' title='floating-point assist fault'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-112297505965069951</id><published>2005-08-02T17:26:00.000+08:00</published><updated>2005-08-02T17:30:59.656+08:00</updated><title type='text'>PERL datelocal $month 0-11</title><content type='html'>Famous book may also contain errors.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.unix.org.ua/orelly/perl/cookbook/ch03_03.htm"&gt;http://www.unix.org.ua/orelly/perl/cookbook/ch03_03.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Today I spent quite some time on datelocal, end up found that in PERL, month of year range 0-11!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-112297505965069951?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/112297505965069951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=112297505965069951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/112297505965069951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/112297505965069951'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/08/perl-datelocal-month-0-11.html' title='PERL datelocal $month 0-11'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-112115422565553401</id><published>2005-07-12T15:38:00.000+08:00</published><updated>2005-11-15T14:39:20.133+08:00</updated><title type='text'>VMWare full screen refresh rate</title><content type='html'>With Linux host and WinXP guest, when full screen, system shows 85Hz, but monitor says 58Hz!&lt;br /&gt;&lt;br /&gt;Check /var/log/Xorg.0.log, there's a few default mode for "1024x768". To eliminate that, I changed VertRefresh to 80-85.&lt;br /&gt;&lt;br /&gt;Is there a better way to ask X use only given modes?&lt;br /&gt;&lt;br /&gt;VMWare conflicts with my scim input. For programs do not require chinese input,&lt;br /&gt;export GTK_IM_MODULE=xim&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-112115422565553401?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/112115422565553401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=112115422565553401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/112115422565553401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/112115422565553401'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/07/vmware-full-screen-refresh-rate.html' title='VMWare full screen refresh rate'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-112009529359302054</id><published>2005-06-30T09:11:00.000+08:00</published><updated>2005-07-04T16:50:57.423+08:00</updated><title type='text'>Softmod XBOX 1.6 (cheap way)</title><content type='html'>Without paying for Action Replay and original MechAssault game.&lt;br /&gt;Can change for a bigger harddisk.&lt;br /&gt;1 year warranty is void :p&lt;br /&gt;&lt;br /&gt;Softmod,&lt;br /&gt;&lt;a href="http://forums.afterdawn.com/thread_view.cfm/198478"&gt;http://forums.afterdawn.com/thread_view.cfm/198478&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hotswapping,&lt;br /&gt;&lt;a href="http://forums.xbox-scene.com/index.php?showtopic=332179"&gt;http://forums.xbox-scene.com/index.php?showtopic=332179&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Exploit (UXE complete 0.2.x from #Xbins)&lt;br /&gt;&lt;a href="http://redeyedfoolz0.tripod.com/ref/index.html"&gt;http://redeyedfoolz0.tripod.com/ref/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Notes, when TV is connected, and DVD ide cable disconnected, error 12 will occur. If TV (maybe cable?) not connected, should be other error code, because light around Eject button is not blinking red. So spend some effort to connect the TV.&lt;br /&gt;&lt;br /&gt;WD harddisk (80G) gives me problem, it's a single - !!! Lucky I have a Maxtor 60G disk to use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-112009529359302054?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/112009529359302054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=112009529359302054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/112009529359302054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/112009529359302054'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/06/softmod-xbox-16-cheap-way.html' title='Softmod XBOX 1.6 (cheap way)'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-111293901735680734</id><published>2005-04-08T13:42:00.000+08:00</published><updated>2005-04-08T13:44:27.556+08:00</updated><title type='text'>rrdtools compilation on AMD64</title><content type='html'>Add -fPIC to get the compilation going.&lt;br /&gt;&lt;br /&gt;From `man gcc',&lt;br /&gt;&lt;br /&gt;      -fPIC&lt;br /&gt;          If supported for the target machine, emit position-independent&lt;br /&gt;          code, suitable for dynamic linking and avoiding any limit on the&lt;br /&gt;          size of the global offset table.  This option makes a difference on&lt;br /&gt;          the m68k and the SPARC.&lt;br /&gt;&lt;br /&gt;          Position-independent code requires special support, and therefore&lt;br /&gt;          works only on certain machines.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-111293901735680734?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/111293901735680734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=111293901735680734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/111293901735680734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/111293901735680734'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/04/rrdtools-compilation-on-amd64.html' title='rrdtools compilation on AMD64'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-111155729025110082</id><published>2005-03-23T13:53:00.000+08:00</published><updated>2005-03-23T13:54:50.253+08:00</updated><title type='text'>Mutt forwarding with attachment</title><content type='html'>&lt;p&gt;On Thu, May 01, 2003 at 12:57:49PM -0700, Joel Baumert   wrote:&lt;br /&gt;  &gt; How do you forward attachments with mutt?&lt;/p&gt;      &lt;p&gt;Two ways...&lt;br /&gt;  'b' bounces the message completely unmodified to a new   address&lt;/p&gt;      &lt;p&gt;'Esc E' uses a current message as a template for a new   message,&lt;br /&gt;  allowing you to fiddle with anything like detach attachments   and&lt;br /&gt;  such. You may have to clear the "From" address (Esc F) from&lt;br /&gt;  the send menu if you want it to appear to come from you.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;Solved my problem :)&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-111155729025110082?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/111155729025110082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=111155729025110082' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/111155729025110082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/111155729025110082'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/03/mutt-forwarding-with-attachment.html' title='Mutt forwarding with attachment'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-111035645771179885</id><published>2005-03-09T16:13:00.000+08:00</published><updated>2005-03-09T16:20:57.713+08:00</updated><title type='text'>multicast switches and iperf</title><content type='html'>iperf can be used to test multicast traffic.&lt;br /&gt;&lt;pre&gt;For future searchers, here is the recipe for "opening" a Foundry EdgeIron 48G:&lt;br /&gt;&lt;br /&gt;In the web based interface, go to&lt;br /&gt;IGMP Snooping --&gt; IGMP Configuration --&gt;&lt;br /&gt;once there, uncheck IGMP Status and Ganglia should start receiving it's&lt;br /&gt;info after one or two refreshes.&lt;br /&gt;&lt;br /&gt;-Jeremy Lawrence&lt;/pre&gt; Same problem for 3Com switches.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-111035645771179885?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/111035645771179885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=111035645771179885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/111035645771179885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/111035645771179885'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/03/multicast-switches-and-iperf.html' title='multicast switches and iperf'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110965356734463262</id><published>2005-03-01T13:04:00.000+08:00</published><updated>2005-04-21T09:42:20.340+08:00</updated><title type='text'>Linux DV</title><content type='html'>see whether kino (&lt;a href="http://http//kino.schirmacher.de/"&gt;http://kino.schirmacher.de/&lt;/a&gt;) can help me to avoid windows in video capturing and editing.&lt;br /&gt;&lt;br /&gt;module raw1394, dv1394 are required.&lt;br /&gt;&lt;br /&gt;Edit the /etc/init.d/bootmisc.sh file with the following:&lt;br /&gt;   &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;&lt;br /&gt;&lt;/div&gt;                 # Begin Edit. 20041031 RCB - Added to hopefully get the raw1394 devicenode.&lt;br /&gt;mknod /dev/raw1394 c 171 0&lt;br /&gt;chown root:video /dev/raw1394&lt;br /&gt;chmod 666 /dev/raw1394&lt;br /&gt;#End Edit&lt;br /&gt;&lt;br /&gt;kino can't brighten the captured movie, any other software can do?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110965356734463262?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110965356734463262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110965356734463262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110965356734463262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110965356734463262'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/02/linux-dv.html' title='Linux DV'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110915031287505852</id><published>2005-02-23T17:00:00.000+08:00</published><updated>2005-02-23T17:18:32.876+08:00</updated><title type='text'>making vcd/dvd</title><content type='html'>I made my first vcd (about my baby, Sean).&lt;br /&gt;With,&lt;br /&gt;&lt;a href="http://forums.gentoo.org/viewtopic.php?t=117709"&gt;http://forums.gentoo.org/viewtopic.php?t=117709&lt;/a&gt; (format conversion)&lt;br /&gt;Windows Movie Maker (capture from DV and categorize).&lt;br /&gt;Ulead VideoStudio (add menu and music, then burn to CD).&lt;br /&gt;&lt;br /&gt;Things to note,&lt;br /&gt;To get the higher quality, use AVI (pal) to capture from DV. Make sure your harddisk is fast enough! Windows Movie Maker tends to hang, maybe due to the files too big :)&lt;br /&gt;Ulead VideoStudio 8 doesn't support ac3 yet.&lt;br /&gt;use transcode and mplayer to convert,&lt;br /&gt;&lt;blockquote&gt;transcode -i $file.wmv -x mplayer,mplayer -y ffmpeg -F mpeg1video -Z&lt;br /&gt;352x288 --export_asr 2 -o $file -D0 -E 48000,16,2 -b 224 -N 0x2000 -s2 -m&lt;br /&gt;$file.ac3 -J modfps --export_fps 25&lt;br /&gt;&lt;/blockquote&gt;for dvd,&lt;br /&gt;&lt;blockquote&gt;transcode -i matrix.avi -y ffmpeg --export_prof dvd-pal --export_asr 2 -o&lt;br /&gt;matrix -D0 -s2 -m matrix.ac3 -J modfps --export_fps 25&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110915031287505852?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110915031287505852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110915031287505852' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110915031287505852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110915031287505852'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/02/making-vcddvd.html' title='making vcd/dvd'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110913804665787419</id><published>2005-02-23T13:50:00.000+08:00</published><updated>2005-02-23T13:57:23.503+08:00</updated><title type='text'>usb wheel mouse</title><content type='html'>USB mouse wheel not working?&lt;br /&gt;&lt;br /&gt;Check to ensure,&lt;br /&gt;&lt;br /&gt;module "uhci-hcd" is loaded.&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;Mouse option in /etc/X11/xorg.conf&lt;br /&gt;  "Protocol" "IMPS/2"&lt;br /&gt;  "ZAxisMapping" "4 5"&lt;br /&gt;  "Emulate3Buttons" "no"&lt;br /&gt;&lt;br /&gt;Reason,&lt;br /&gt;When USB module is not loaded, USB mouse works as a normal psaux, things not normal are,&lt;br /&gt;cursor moves very fast,&lt;br /&gt;wheel is not functioning.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110913804665787419?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110913804665787419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110913804665787419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110913804665787419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110913804665787419'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/02/usb-wheel-mouse.html' title='usb wheel mouse'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110680386164522837</id><published>2005-01-27T13:25:00.000+08:00</published><updated>2005-01-27T13:32:41.006+08:00</updated><title type='text'>module autoload?</title><content type='html'>I used to put my nic driver module in /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;but then /etc/init.d/net.eth0 tends to fail.&lt;br /&gt;&lt;br /&gt;Then I did an alias in /etc/module.d/alias&lt;br /&gt;&lt;blockquote&gt;alias eth0 e1000&lt;/blockquote&gt;then&lt;br /&gt;&lt;blockquote&gt;modules-update&lt;/blockquote&gt; all ok. why?&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110680386164522837?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110680386164522837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110680386164522837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110680386164522837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110680386164522837'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/01/module-autoload.html' title='module autoload?'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110679782048069737</id><published>2005-01-27T11:50:00.000+08:00</published><updated>2005-01-27T13:22:05.596+08:00</updated><title type='text'>Sensors for Dell Precision 360</title><content type='html'>Thermal sensor of my Dell Precision 360, based on info on&lt;br /&gt;&lt;a href="http://mbm.livewiredev.com/comp/dell.html"&gt;http://mbm.livewiredev.com/comp/dell.html&lt;/a&gt;&lt;br /&gt;it's a lm85 (ADM1027).&lt;br /&gt;&lt;br /&gt;can use lm_sensors + gDesklets&lt;br /&gt;or GKrellM ( &lt;a href="http://gkrellm.net/"&gt;http://gkrellm.net&lt;/a&gt; )&lt;br /&gt;but only GKrellM 1.x is supported, so ...&lt;br /&gt;&lt;br /&gt;In kernel compilation, must enable i2c hardware bus also (in my case, it's Intel 801). i2c-dev seems not necessary.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110679782048069737?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110679782048069737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110679782048069737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110679782048069737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110679782048069737'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/01/sensors-for-dell-precision-360.html' title='Sensors for Dell Precision 360'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110620504952269127</id><published>2005-01-20T15:08:00.000+08:00</published><updated>2005-01-20T15:12:08.996+08:00</updated><title type='text'>d4x 2.5.0 final</title><content type='html'>In main/face/lod.cc, 2 structs conflicted with gtk2&lt;br /&gt;GtkCellRendererProgressClass&lt;br /&gt;GtkCellRendererProgress&lt;br /&gt;&lt;br /&gt;rename to something else, then compile, ok ;)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110620504952269127?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110620504952269127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110620504952269127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110620504952269127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110620504952269127'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/01/d4x-250-final.html' title='d4x 2.5.0 final'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110609904672152972</id><published>2005-01-19T09:41:00.000+08:00</published><updated>2005-01-19T09:44:06.723+08:00</updated><title type='text'>vmware and /tmp</title><content type='html'>When a guest host is started in vmware, /tmp free space reduces roughly equal to RAM of guest host. No file is created, how they did it?&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/10228381-110609904672152972?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110609904672152972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110609904672152972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110609904672152972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110609904672152972'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/01/vmware-and-tmp.html' title='vmware and /tmp'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10228381.post-110604210943750646</id><published>2005-01-18T17:49:00.000+08:00</published><updated>2005-02-23T17:23:35.936+08:00</updated><title type='text'>gentoo (~x86) nautilus 2.8.2</title><content type='html'>gnome_cups_ui_init (); //should have one argument.&lt;br /&gt;gnome_cups_ui_init (NULL); //make it works&lt;br /&gt;no time to do further study, no garranty&lt;br /&gt;&lt;br /&gt;Note,&lt;br /&gt;change to 2005.0, 2.8.2-r1 now ok.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10228381-110604210943750646?l=gladoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gladoo.blogspot.com/feeds/110604210943750646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10228381&amp;postID=110604210943750646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110604210943750646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10228381/posts/default/110604210943750646'/><link rel='alternate' type='text/html' href='http://gladoo.blogspot.com/2005/01/gentoo-x86-nautilus-282.html' title='gentoo (~x86) nautilus 2.8.2'/><author><name>GlaDoo</name><uri>http://www.blogger.com/profile/03743374131510865014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
