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

<channel>
	<title>S. P. T. Krishnan&#039;s take on things...</title>
	<atom:link href="http://shruta.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://shruta.net</link>
	<description>perspectives, opinions, ideas</description>
	<lastBuildDate>Sat, 02 May 2009 10:48:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>the cost/efficiency of paper processes in a e-world</title>
		<link>http://shruta.net/2009/05/the-costefficiency-of-paper-processes-in-a-e-world/</link>
		<comments>http://shruta.net/2009/05/the-costefficiency-of-paper-processes-in-a-e-world/#comments</comments>
		<pubDate>Sat, 02 May 2009 10:48:35 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Etc]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=164</guid>
		<description><![CDATA[Today, I had an interesting experience. I had to mail a banking form in paper due to local banking regulations. As there is no post office on my way to my work place and none nearby I had to wait until the weekend to do so.
I started around 11:05 AM to the nearest post office. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today, I had an interesting experience. I had to mail a banking form in paper due to local banking regulations. As there is no post office on my way to my work place and none nearby I had to wait until the weekend to do so.</p>
<p style="text-align:justify;">I started around 11:05 AM to the nearest post office. I had to travel using <a title="Singapore LRT" href="http://en.wikipedia.org/wiki/Light_Rapid_Transit_%28Singapore%29" target="_blank">LRT</a> to the post office. I reached the post office at 11:20 AM. I was in the queue until 12:00 PM and was serviced in 3 minutes. The cost of the mailing was S$0.50 while the cost of the journey was (S$0.69 + S$0.69) to and fro. The efficiency of the transaction &#8211; wait until the end of the week, wait in queue for over 40 minutes, transport cast ~3 times the cost of actual transaction <img src='http://shruta.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align:justify;">Just to tickle our thoughts. Isn&#8217;t it time to go fully &#8216;e-*&#8217; ?</p>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/05/the-costefficiency-of-paper-processes-in-a-e-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Roaming and operator-updated time</title>
		<link>http://shruta.net/2009/04/roaming-and-operator-updated-time/</link>
		<comments>http://shruta.net/2009/04/roaming-and-operator-updated-time/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 04:04:17 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=161</guid>
		<description><![CDATA[I am writing this from India (GMT + 5.5) and roaming with my Singapore (GMT + 8.0) mobile phone. I noticed something very strange. In all my mobile phones, under &#8220;time and date&#8221; settings, I usually setup time zone as local time instead of GMT +/- X and Network operator time as auto-update. By this [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I am writing this from <strong>India (GMT + 5.5)</strong> and roaming with my <strong>Singapore (GMT + 8.0) mobile phone</strong>. I noticed something very strange. In all my mobile phones, under &#8220;<strong>time and date</strong>&#8221; settings, I usually setup <strong>time zone</strong> as <strong>local time</strong> instead of <strong>GMT +/- X</strong> and <strong>Network operator time</strong> as <strong>auto-update</strong>. By this way, I hope to always have the current local time updated automatically. Everything seem to have worked fine until now&#8230;</p>
<p style="text-align:justify;"><span id="more-161"></span>In my <strong>Nokia E71</strong>, I noticed a time skew of around 2.5 hours (<strong>GMT+8-GMT-5.5 ?</strong>) when I switched on the phone after landing in the local airport. I thought the time synchronization hasn&#8217;t happened yet and waited. However, instead of correcting itself, the skew kept on becoming big and eventually it was <strong>7 hours</strong> ahead of the local time. All my alarms, reminders would go off in the middle of the night waking us up even before we have actually slept <img src='http://shruta.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align:justify;">I turned off and on again my phone couple of times and still the problem would not go away. Now, it was showing time as per GMT+7 time zone. At this stage, I wondered if it could be the operator issue and looked at my other mobile (iPhone) which was also setup to auto-update from mobile operator. There were no issues and the phone synced well and it always showed the correct local time.</p>
<p style="text-align:justify;">At this stage, I started to wonder what could be issue ? there were 4 combination possible &#8211; home mobile network, roaming mobile network, phone model / manufacturer and time zone differences. I did a look up table. My Nokia E71 is on <strong>Starhub</strong> Network in Singapore, and was connected to the <strong>Vodafone IN</strong> network automatically and was showing GMT+7 time zone time. My <strong>iPhone</strong> is on<strong> SingTel </strong>in Singapore and was connected to the <strong>Airtel</strong> network automatically and was showing the correct GMT+5.5 time zone time. My primary suspect was the mobile operators&#8217; algorithm in sync roaming mobile phones. Initially I thought, perhaps my mobile phone is in GMT+8 so there was a bug in time synchronisation and the network was pushing GMT+8+localtime. However, this was not the case as well. It was pushing down GMT+7+localtime. This left me with the only possibility of Singapore being registered as GMT+7 in the network operator. Incidentally, the natural time zone of Singapore is also GMT+7 (see <a href="http://sptkrishnan.wordpress.com/2007/03/31/what-is-the-natural-time-zone-of-singapore/">natural time zone of singapore</a>). Any way, all is theories and I don&#8217;t have any concrete solutions.</p>
<p style="text-align:justify;">If you have experienced such issues and know of an possibility, do drop an comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/04/roaming-and-operator-updated-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtualisation and missing RAM</title>
		<link>http://shruta.net/2009/04/virtualisation-and-missing-ram/</link>
		<comments>http://shruta.net/2009/04/virtualisation-and-missing-ram/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 18:58:50 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Computer Science]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=156</guid>
		<description><![CDATA[This is part 2 to my earlier post &#8220;A Linux crash, burn and recover experience&#8220;. I had mentioned in there that I plan to use a Virtual Machine (VM) strategy for easy backup and porting in future. However, the reality forced me to abandon the approach. It could also be that I don&#8217;t know the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">This is part 2 to my earlier post &#8220;<a href="http://sptkrishnan.wordpress.com/2009/04/02/a-linux-crash-burn-and-recover-experience/">A Linux crash, burn and recover experience</a>&#8220;. I had mentioned in there that I plan to use a Virtual Machine (VM) strategy for easy backup and porting in future. However, the reality forced me to abandon the approach. It could also be that I don&#8217;t know the trade secrets <img src='http://shruta.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  read on&#8230;</p>
<p style="text-align:justify;"><span id="more-156"></span>As you know, I am using Red Hat Enterprise Linux (RHEL) for my server for the last several years. After recovery I decided to continue using the same OS. Therefore, the natural choice was to use xen as the virtual machine monitor. I used this server downtime to add more RAM totaling to 4GB and now the entire root partition is also protected by RAID 5.</p>
<p style="text-align:justify;">During the OS installation, I selected virtualisation to be installed. Basically, this means xen-enabled linux kernel would be installed by default. Everything seemed to be ok and I continued on to firstboot. After completion, I logged into the system and from a comman prompt, I did <strong>cat /proc/meminfo</strong> and to my shock the first line was <strong>MemTotal: 3753984 KB (3.58 GB)</strong> a whopping half-a-gb gone missing. This is no-go as then the VM would be running much slower with fewer resources <img src='http://shruta.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p style="text-align:justify;">In theory, 2^32 = 4096 so the entire 4GB of RAM should be addressable by the OS as physical memory. If there are any exception then it should be rounded-off to some big number but here <strong>3.58 GB</strong> doesn&#8217;t sound like it either. With no choice, I decide to re-install with the <strong>64-bit</strong> version of <strong>RHEL</strong> with the thoughts that 64 bit might recognize the entire 4GB. I was a bit hesitant about compatibility of the application software with a 64-bit OS. However, there was no other choice except to take the risk.</p>
<p style="text-align:justify;">As with 32 bit installation I selected virtualisation and this installed the xen-enabled 64-bit RHEL kernel. After firstboot, I checked the total memory and got another shock. The memtotal now is <strong>3708928 KB</strong>. This is <strong>45,056 KB</strong> less than 32 bit xen-enabled RHEL kernel. I was confused as to why a 64 bit kernel recognise less RAM compared to 32 bit OS. I googled around and didn&#8217;t find a direct answer. At the same time, some one was suggesting that PAE kernels recognise 4GB or more RAM. Also, I remembered about my another system where I have <strong>8GB of RAM</strong> and running <strong>Ubuntu 8.10 64 bit</strong> with kernel version <strong>2.6.27</strong>. Cat <strong>/pro/meminfo</strong> showed <strong>8181976 kB (7.8 GB)</strong>. I use vmware workstation and not xen as VMM in that box. I then did a <strong>yum search pae</strong> to select an appropriate PAE kernel. I discovered that PAE is a 32-bit kernel feature and is not available available for 64-bit kernel. It made sense; why will we need physical pages extension when 2^64 is itself a huge number. Now, my second choice is to use continue using 64 bit kernel (risking any future software incompatibilities), lose ~50MB more than corresponding 32 bit kernel. It didn&#8217;t add up to be a good choice. At this juncture, I thought about PAE 32 kernel with Xen might do the trick. I started my 3rd install of RHEL for the day.</p>
<p style="text-align:justify;">The 3rd choice was to install a PAE 32 bit kernel, verify the RAM is fully accessible and then turn on visualisation. The installation was smooth and after first boot, as with earlier attempts I did cat <strong>/proc/meminfo</strong> and hurray I got MemTotal: <strong>4149928 kB</strong>. I then did a <strong>uname -a</strong> and inferred that by default (without virtualisation selected at install) the <strong>anaconda</strong> system installer installs PAE enabled kernel if it detects 4GB or more RAM. This was a welcome note. Now, I again did a yum-search for xen and installed it and rebooted it. On the grub bootup screen I became wiser <img src='http://shruta.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and learned the following</p>
<ul>
<li>32 bit kernel + xen = okay</li>
<li>32 bit kernel + PAE = okay</li>
<li>32 bit kernel + PAE + xen = NOT POSSIBLE</li>
</ul>
<p style="text-align:justify;">The above summarises it all. If you want PAE, forget XEN; if you want XEN forget PAE. Now, I have to make a hard decision whether to stick with my VM strategy and be constrained with only 3.5GB of RAM which could mean that the guest OS have only a maximum of 3GB RAM OR forget virtualisation and use all 4GB of RAM. I then factored in my hardware features (not to be generalized). The server is more than 4 years old and does not have vTX (hardware virtualisation) feature. I learned that this would make the VM run slower and compound this with the fact that 0.5GB is not there, this might result in a very slow VM or may be it won&#8217;t be noticeable. I was already tired for the day and wasn&#8217;t interested in doing another combinatorial experiment this time with VM variable. Therefore, I decided to abandon my VM strategy and be happy with the increased resources. As a take-away from this experience I have compiled who would have made the memory missing. I actually don&#8217;t know the answer, if you know please drop a reply, thanks !</p>
<p style="text-align:justify;">There are several suspects in my list</p>
<ol>
<li>Linux kernel ? RHEL version 5 uses 2.6.18.x as the base kernel. I am wondering if the Linux kernel has been fixed some time after the above kernel release. The reasoning being, Ubuntu 8.10 is able to see all the 8GB RAM (of course it was without xen)</li>
<li>Xen ? Is it that xen-enabling the Linux kernel makes the memory vanish ? If so, what do we conclude of xen technology in general ? do the peers face the same missing memory issues ?</li>
<li>Xen + PAE could have solved my problem but they were not compatible. Why ?</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/04/virtualisation-and-missing-ram/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pleasantly surprised by Windows 7</title>
		<link>http://shruta.net/2009/04/pleasantly-surprised-by-windows-7/</link>
		<comments>http://shruta.net/2009/04/pleasantly-surprised-by-windows-7/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 08:15:17 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Computer Science]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=151</guid>
		<description><![CDATA[I had a chance to beta test the upcoming release of Windows OS, version 7. I didn&#8217;t have any expectations for the Windows Vista successor; I have downgraded all my factory-installed Vista systems to Windows XP within 15 minutes   &#8230; I was pleasantly surprised with what Microsoft had done this time though :O

With [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I had a chance to beta test the upcoming release of Windows OS, version 7. I didn&#8217;t have any expectations for the Windows Vista successor; I have downgraded all my factory-installed Vista systems to Windows XP within 15 minutes <img src='http://shruta.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  &#8230; I was pleasantly surprised with what Microsoft had done this time though :O</p>
<p style="text-align:justify;"><span id="more-151"></span></p>
<p style="text-align:justify;">With no expectations and in fact negative expectations, I didn&#8217;t want to destroy any of my trusted Windows XP systems . I had a 7 year old laptop (P4 and 1GB RAM) which I came with Windows XP and now serving as test machine for anything that came new (Fedora 10, Ubuntu 8.10, Open BSD among others). I decided to lose my Fedora 10 (it rocks btw) and risk with that Windows 7 will turn out to be.</p>
<p style="text-align:justify;">The installation was very smooth. Very few questions being asked and the time it took was also reasonable given that the hardware is very old. When I rebooted for the first time after installation, I noticed that the startup time is very fast (&lt; 20 secs ?). You should read this number taking my hardware into picture. Therefore, I would assume that it would be much faster in modern systems. Once I logged in I noticed that the system was much more smoother and more responsive that Windows Vistas. I would even say that on the same hardware, it was probably more responsive that the original OS, Windows XP.</p>
<p style="text-align:justify;">I didn&#8217;t spend much time with the OS but in the quick 2 hours or so, I concluded that Windows 7 would be good product and worth a try. Let us wait and see. In the mean time, for more information click on <a title="Windows 7" href="http://www.microsoft.com/windows/windows-7/default.aspx">Windows 7</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/04/pleasantly-surprised-by-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Linux crash, burn and recover experience&#8230;</title>
		<link>http://shruta.net/2009/04/a-linux-crash-burn-and-recover-experience/</link>
		<comments>http://shruta.net/2009/04/a-linux-crash-burn-and-recover-experience/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 13:12:06 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Computer Science]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=143</guid>
		<description><![CDATA[One of my trustworthy RHEL servers which was up (virtually) for 4+ years and served thousands of users over-the-web recently crashed. As data in the server was critical, we had to undertake a salvage operation before re-install. This post is my experience of recovering the server&#8217;s data and also some of the lessons learned and [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">One of my trustworthy <strong>RHEL</strong> servers which was up (virtually) for 4+ years and served thousands of users over-the-web recently crashed. As data in the server was critical, we had to undertake a salvage operation before re-install. This post is my experience of recovering the server&#8217;s data and also some of the lessons learned and new strategies evolved for configuring future resilient server&#8230;</p>
<p style="text-align:justify;"><span id="more-143"></span>Since 2002, I have been volunteering some of my free time to help out the local red cross unit in Singapore. The story begins somewhere in 2004 when we decided to procure a server for running some of the internal IT services used for blood donor recruitment, recognition, retention and recall. Over time, the server got loaded with more and more services and it was beginning to look like a crash could mean a lot of downtime.</p>
<p style="text-align:justify;">It is not the case that we didn&#8217;t have any backup. With the IT budget that was available, I had configured a <strong>soft raid</strong> of <strong>level 1(replication)</strong> for two of the critical partitions of the server &#8211; <strong>/home</strong> and <strong>/var</strong>. All was well until last year when we began taking regular backups of important configuration files and storing them remotely conforming to business continuity best practices. Late last year, I decided to take local full backups.</p>
<p style="text-align:justify;">The first sign of trouble seem to have been visible last year. As part of the backup process, we wanted to use an external usb hard disk. However, the server did not recognize the hard disk and create the respective <strong>/dev/</strong> entries although <strong>dmesg</strong> was showing the usb device as being recognized. with no /<strong>dev/</strong> entry the hard disk could not be mounted. I concluded at that time that it could be because of the mismatch between old <strong>usb1.x</strong> port and the new <strong>usb2</strong> hard disk. I wasn&#8217;t very convinced with that hypothesis but I didn&#8217;t have any alternate theories as well. Now in hind sight I know this hypothesis is not right.</p>
<p style="text-align:justify;">One fine day, the system console stopped responding normally and there was huge delays between echos for key strokes. I suspected a run-away process with potential memory leaks so just hit the reboot. On <strong>POST</strong> screen, <strong>BIOS</strong> reported that one of the hard disks is reporting a future failure (a <strong>SMART </strong>feature of new generation hard disks). Following this, the <strong>kernel</strong> refused to boot and dropped me into the maintenance prompt. After running <strong>fsck</strong> for well over an hour with hundreds of <strong>inodes</strong> being orphaned and added to the <strong>lost+found</strong> list, finally the server started booting&#8230;</p>
<p style="text-align:justify;">During the startup, two <strong>daemons</strong> &#8211; <strong>httpd</strong> and <strong>mysqld</strong> did not come up owning to some missing files. These two services are key to all our web apps and thus the server came to a stand still. Coupled with this was the fact that the server stopped at console-login and did not start up in <strong>X</strong> although the <strong>runlevel</strong> listed the server being in 5. I decided it was not worthy to continue using this server as what all was broken could not be cumulatively listed let alone being fixed.</p>
<p style="text-align:justify;">I didn&#8217;t even want to reboot since my intuition suspected that the server might never come up again. With the local external hard disk not recognizable the only option was to do a remote backup. Luckily, <strong>ssh</strong> was up and I was able to connect from outside to the server. However, I soon found out that <strong>scp</strong> was not found in the <strong>PATH</strong> and not on the filesystem. I did a which <strong>sftp</strong> and it was found. With a sigh of relief, I started to connect from outside. The relief was short lived because although the control connection could be established the data connection was not being created. There was no firewall and no other network blockage. I thought the missing scp could be the cause. Therefore, it seems that the only option was to dismantle the server and recover the data.</p>
<p style="text-align:justify;">Luckily, one of my friends (Kumar c/o thoughtsware) accidentally discovered that although pull technique was not working, push technique using <strong>ftp</strong> after ssh-in was working. Armed with this, I scrambled to setup with a ftp server to be the receiving end. By setup, I mean it, as I don&#8217;t usually use ftp because it is insecure. I started to move data one file a time from the server to this ftp site. The data was flowing but at a very slow rate. After a few days of data transfer, I decided it was time for the surgical data recovery on site. Another good friend and a mentor, Harish from Red Hat, offered to help out with the recovery.</p>
<p style="text-align:justify;">First, I wanted to test out if a flash drive was readable on the server. To my surprise, the crippled server was able to recognise the <strong>fat32</strong> filesystem drive and created the necessary <strong>/dev/</strong> entries. At this stage, I concluded that there was nothing wrong with the server hardware and something was not okay in the software when I earlier tried a <strong>ext3</strong> formatted disk. I started copying the data into the thumb drive but very soon the data transfer halted with the process becoming non-responsive as well. We guessed the process may have hit a <strong>bad sector.</strong> We decided it was time to shutdown the broken OS and try our last alternative.</p>
<p style="text-align:justify;">Our plan was that we boot the server using a live cd, <strong>Fedora 10</strong> in this case. Then mount an external hard disk and the internal hard disks and <strong>dd</strong> out the partitions and attempt a system recovery using the binary img files. The only unknown factor being the partition was <strong>soft raid</strong> partitions and we haven&#8217;t done a recovery before on this filesystem type.</p>
<p style="text-align:justify;">We booted the server using Fedora 10 live cd and successfully mounted the internal hard disks. Next, when we inserted the same external hard disk into the usb port, Fedora mounted it without any fuss. At this point, I infered that earlier attempts to mount it may have failed because root filesystem may have developed bad sectors at exactly the same spot where the entries are created.</p>
<p style="text-align:justify;">Without any delay, using <strong>dd</strong> we copied all the 4 raw partitions (2 raw partitions per raid 1 partition) to the external hard disk. Our attempts to copy out the <strong>boot</strong> and <strong>root</strong> partitions did not succeed as dd complained of missing superblocks info. After copying the raid partitions out, we decided to try our luck with booting the server back into the original, now broken OS and try out copy out configuration files by mounted a thumb drive as earlier. However, on reboot the server didn&#8217;t go anywhere beyond grub prompt. The server was totalled.</p>
<p style="text-align:justify;">Armed with the dd created partition binary files, I mounted the hard disk containing them in another Fedora 10 machine. Then I used <strong>losetup</strong> to mount the binary files as a loop back device. I then used <strong>mdadm</strong> to combine the respective component partitions and mounted them as a <strong>md0</strong> device. Following this, I mounted this md0 device under a directory and was able to see the files. Finally, I performed a recursive copy of the data in these mounted partitions into a clean <strong>ext3</strong> partition for restoring. In the end, we could not recover a few configuration files like <strong>apache, networking</strong> and such. However, majority of the data was recovered.</p>
<p style="text-align:justify;">I am now awaiting the hardware vendor to replace the parts and hopefully the server would be online in a few days.</p>
<p style="text-align:justify;">Based on this experience, new knowledge and technologies, our new server would be designed to be more reliable than the current one and in case of another crash, should be easier to recover as well. Our idea is to use <strong>virtualisation</strong> and run our current server in a <strong>VM</strong>. By this way, we can easily backup the entire server and also restore from backups more easily. Secondly, we can enforce security policies on the host OS and also on the guest OS while monitoring all the network traffic flowing to VM at the host level. The host will be responsible for providing a abstracted and redundant hardware layer to the VM taking care of the raid and other hardware specific features.</p>
<p style="text-align:justify;"><em>Feel free to comment on our recovery experience and the new server design strategy as well <img src='http://shruta.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p style="text-align:justify;">
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/04/a-linux-crash-burn-and-recover-experience/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Did my 20th blood donation on Saturday :)</title>
		<link>http://shruta.net/2009/03/did-my-20th-blood-donation-on-saturday/</link>
		<comments>http://shruta.net/2009/03/did-my-20th-blood-donation-on-saturday/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 05:06:09 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=140</guid>
		<description><![CDATA[the heading says it all&#8230;
I started donating blood in April 2002 and until March 2009 I have donated 20 times. I am not sure if I should feel proud about it because in theory I could have donated up to 28 times (4 years a year is allowed in Singapore for whole blood donation). However, [...]]]></description>
			<content:encoded><![CDATA[<p>the heading says it all&#8230;</p>
<p>I started donating blood in April 2002 and until March 2009 I have donated 20 times. I am not sure if I should feel proud about it because in theory I could have donated up to 28 times (4 years a year is allowed in Singapore for whole blood donation). However, My target was 21 (or 3 times a year). So, I guess I am short of 1 time now and that amounts to 95% of goal.</p>
<p>I am hoping that I will be able to donate 5 more times this and next year to reach 25 in 2010 and get a silver medal <img src='http://shruta.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/03/did-my-20th-blood-donation-on-saturday/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hackers Vs Crackers</title>
		<link>http://shruta.net/2009/02/hackers-vs-crackers/</link>
		<comments>http://shruta.net/2009/02/hackers-vs-crackers/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 15:08:23 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Computer Science]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=130</guid>
		<description><![CDATA[Exactly, 8 months ago to this date I had a chance to visit the Museum of Science and Industry in Chicago, United States. The exhibition was one of the largest I have ever been to. It featured exhibits from multiple disciplines of Science and was lively, interactive and very well maintained. Even with a few [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Exactly, 8 months ago to this date I had a chance to visit the <a title="Museum of Science and Industry, Chicago, US" href="http://www.msichicago.org/">Museum of Science and Industry in Chicago,</a> United States. The exhibition was one of the largest I have ever been to. It featured exhibits from multiple disciplines of Science and was lively, interactive and very well maintained. Even with a few stop-by&#8217;s it took us ~6 hours to cover it. I recommend a visit to the museum if you are in Chicago.</p>
<p style="text-align:justify;">One of the exhibits that captured my interest was on computer criminals&#8230;</p>
<p style="text-align:justify;"><span id="more-130"></span>&#8230;the museum has used the opportunity to educate the public on the intricate difference between the words &#8220;Hackers&#8221; and &#8220;Crackers&#8221;. While, even to this date, many IT publications refer to computer criminals as hackers, I am happy to note that the exhibition has done its part to help to clarify the  difference. The following tells it all, thanks msichicago <img src='http://shruta.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<div class="mceTemp mceIEcenter" style="text-align:justify;">
<dl class="wp-caption aligncenter">
<dt class="wp-caption-dt"><a href="http://sptkrishnan.files.wordpress.com/2009/02/dscn2117.jpg"><img class="size-full wp-image-132" title="Hackers Vs Crackers" src="http://sptkrishnan.files.wordpress.com/2009/02/dscn2117.jpg" alt="Hackers Vs Crackers" width="500" height="375" /></a></dt>
<dd class="wp-caption-dd">Hackers Vs Crackers (click to enlarge)
</dd>
</dl>
</div>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/02/hackers-vs-crackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Android from source, a compiled guide</title>
		<link>http://shruta.net/2009/02/building-android-from-source-a-compiled-guide/</link>
		<comments>http://shruta.net/2009/02/building-android-from-source-a-compiled-guide/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 12:15:27 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=125</guid>
		<description><![CDATA[Recently I got my hands on a Android dev phone 1, the unlocked developer-friendly phone using the shiny new Linux-based OS from Google. I spent a few days to figure out how to compile a new OS into the phone. Unlike the application development process that is well documented by Google, system development is largely [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Recently I got my hands on a <a title="Android Developer Phone 1" href="http://code.google.com/android/dev-devices.html" target="_blank">Android dev phone 1</a>, the unlocked developer-friendly phone using the shiny new <a title="Open Handset Alliance" href="http://www.openhandsetalliance.com/">Linux-based OS</a> from Google. I spent a few days to figure out how to compile a new OS into the phone. Unlike the <a title="Android Developer Website" href="http://developer.android.com/" target="_blank">application development</a> process that is well documented by Google, system development is largely left to the community to figure out. I am providing here a step-by-step guide for those who are like me with some inputs of mine but mostly with links to the websites&#8230;</p>
<p style="text-align:justify;"><span id="more-125"></span>First off, you need a system where you can download the android sources from the web and compile. There are several platforms which are supported for the build process &#8211; <a title="Ubuntu OS" href="http://www.ubuntu.com">Ubuntu 32 bit, 64bit</a> and <a title="MAC OS X, Apple" href="http://www.apple.com">Mac OS X</a>. My personal view being 32 bit OS is the best as it requires least modifications. If you have a ubuntu box sitting around you can start-off right away. If not, I suggest using a <a title="Virtual Machine, wikipedia" href="http://en.wikipedia.org/wiki/Virtual_machine">virtual machine</a> instead of installing an OS. You can install the free <a title="VMware player" href="http://www.vmware.com/products/player/">vmware player</a> from <a title="VMware" href="http://www.vmware.com">vmware</a> and use a prebuilt <a title="Ubuntu virtual application" href="http://www.vmware.com/appliances/directory/54735">ubuntu 32 bit virtual appliance</a> for compiling Android. Either way, apply all pending security and software updates before setting up the Android development tool chain.</p>
<p style="text-align:justify;">Your starting point for android system development is <a title="Download Android source website" href="http://source.android.com/download">Android source</a> website. Follow the instructions there to the dot. The &#8220;repo sync&#8221; or download process should take less than a hour if you are on a good broadband connection. The &#8220;make&#8221; will take nearly 3 hours on a raw metal machine. On a virtual machine based ubuntu system it might take more time. The compilation will produce 4 img files &#8211; boot, userdata, ramdisk, and recovery.</p>
<p style="text-align:justify;">Now, before you flash the binary img files you need to take care of few more details. Follow the <a title="Building for the dream" href="http://source.android.com/documentation/building-for-dream">dream aka dev phone 1</a> instructions as we are compiling for the google dev phone 1. In step 5, you may get a error. This is just a path issue. Setup your path and you should be fine. Once you run the repo sync &amp; make again, it will get some updates from the web and build the img files suitable for the dev phone.</p>
<p style="text-align:justify;">Google website doesn&#8217;t tell you how to get the img files into the developer phone. You need to use two tools &#8216;fastboot&#8217; and &#8216;adb&#8217; to get the images into the phones. They are located in the folder &#8220;out/target/product/dream/&#8221; relative to the code branch you checked out &#8211; either main or cupcake. Add that directory to the path variable. Connect dev phone 1 to the PC and verify through &#8216;abd devices&#8217; from the terminal. Adb will start a daemon on first run. Some users have reported that they problems identifying the devices. This seems to be mainly the case if you are using a VM. If this is the case, &#8217;sudo&#8217; all your commands. Once you have verified the device is identified by adb, next boot the phone into fastboot mode. For this, switch off your phone and then press and hold both the poweroff+back until you see the 3 Androids on skates and the words &#8220;fastboot&#8221; in the middle of the screen. Now issue &#8220;fastboot devices&#8221;. You should be able to see your phone and it should say it is in fastboot model. At this stage, you need to issue the following commands</p>
<p style="text-align:justify;"><strong><em>fastboot flash boot boot.img</em></strong></p>
<p style="text-align:justify;"><strong><em>fastboot flash userdata userdata.img</em></strong></p>
<p style="text-align:justify;"><strong><em>fastboot flash system system.img</em></strong></p>
<p style="text-align:justify;">and finally <strong><em>fastboot reboot</em></strong> and you are done getting a new OS on the phone <img src='http://shruta.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <strong><em><br />
</em></strong></p>
<p style="text-align:justify;"><em>ps: feel free to drop a comment or question</em><strong><em><br />
</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/02/building-android-from-source-a-compiled-guide/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blood Donor and living in Singapore?, Join us :-)</title>
		<link>http://shruta.net/2009/02/blood-donor-and-living-in-singapore-join-us/</link>
		<comments>http://shruta.net/2009/02/blood-donor-and-living-in-singapore-join-us/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 14:42:48 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Etc]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=123</guid>
		<description><![CDATA[We would like to introduce our online group for blood donors living in Singapore. If the following matches you consider joining us&#8230;

Are you living in Singapore ?
Are you on Facebook ?
Are you a blood donor ?

Then join us by clicking here Singapore Blood Donors .
Feel free to drop a comment if you have some suggestions [...]]]></description>
			<content:encoded><![CDATA[<p>We would like to introduce our online group for blood donors living in Singapore. If the following matches you consider joining us&#8230;</p>
<ol>
<li>Are you living in Singapore ?</li>
<li>Are you on Facebook ?</li>
<li>Are you a blood donor ?</li>
</ol>
<p>Then join us by clicking here <a title="Singapore Blood Donors Facebook group" href="http://www.facebook.com/group.php?gid=59929861065" target="_blank">Singapore Blood Donors</a> .</p>
<p><em>Feel free to drop a comment if you have some suggestions on how to better engage blood donors</em></p>
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/02/blood-donor-and-living-in-singapore-join-us/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My January wish for Google reader</title>
		<link>http://shruta.net/2009/01/my-jan-wish-for-google-reader/</link>
		<comments>http://shruta.net/2009/01/my-jan-wish-for-google-reader/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 15:01:30 +0000</pubDate>
		<dc:creator>Kris Flyer</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://sptkrishnan.wordpress.com/?p=112</guid>
		<description><![CDATA[I primarily use Google reader* to sync with many websites these days. Many a times I subscribe to many news sources that specialize on the same domain, just to make sure that I don&#8217;t miss out on any interesting development carried by only one of them. For example, I am now subscribing to half dozen [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I primarily use Google reader* to sync with many websites these days. Many a times I subscribe to many news sources that specialize on the same domain, just to make sure that I don&#8217;t miss out on any interesting development carried by only one of them. For example, I am now subscribing to half dozen blogs on Symbian OS, the OS for my primary project.</p>
<p style="text-align:justify;"><span id="more-112"></span></p>
<p style="text-align:justify;">Again, most of the times I have got the same news from many sources and they are usually identical or mostly identical because the root source is usually one of them.</p>
<p style="text-align:justify;">
<p style="text-align:justify;">I have always wondered, why Google Reader does not group them together just like it groups emails together in <a href="http://mail.google.com">Gmail</a> or more appropriately in <a href="http://news.google.com">Google News.</a> The server software in both of these products groups related news articles from various sources together automatically even if they are separated by a huge time difference. For example, today&#8217;s announcement that Apple has released 2.2.1 version of iPhone firmware has been carried by most of the tech sources. I have subscribed to 6 of them and all the news articles are exactly the same. Yet, there are 6 articles and not one <img src='http://shruta.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Therefore, my conclusion is that Google has all the technologies in place &#8211; search, categorize, display. Yet, I haven&#8217;t seen the solution in Google reader since its inception and at least for the last one year since I started thinking of this useful feature.</p>
<p style="text-align:justify;">
<p style="text-align:justify;">I wonder when my wish will come true ?</p>
<p style="text-align:justify;">
<p style="text-align:justify;">Do you know of any RSS readers that does this already ? or know of a tweak in Google Reader that makes it possible ? or simply wish for this feature? then drop a comment, thanks <img src='http://shruta.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:justify;">Updated on Jan 30 2009: Added a sample image below to show my wish pictorially. As you can see, the same news has been pulled from two different RSS sources at different times. In this case, they are next to each other. In many cases, they are not. If Google can club together like a conversation in Gmail or as related news articles in Google News, then it would save a lot of time and scrolling <img src='http://shruta.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align:justify;"><a href="http://sptkrishnan.files.wordpress.com/2009/01/google_reader_grouping.png"><img class="aligncenter size-full wp-image-117" title="google_reader_grouping" src="http://sptkrishnan.files.wordpress.com/2009/01/google_reader_grouping.png" alt="google_reader_grouping" width="500" height="529" /></a></p>
<p style="text-align:justify;">
<p style="text-align:justify;">* &#8211; Google reader is a RSS feed reader which picks up updates from websites on your behalf automatically. You need a Google account and access it here <a href="http://reader.google.com">Google Reader</a></p>
<p style="text-align:justify;">
]]></content:encoded>
			<wfw:commentRss>http://shruta.net/2009/01/my-jan-wish-for-google-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
