<?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-20988885</id><updated>2011-11-27T19:49:52.675-08:00</updated><category term='xorg'/><category term='signpost'/><category term='oauth'/><category term='android'/><category term='opengl'/><category term='xorg.conf'/><category term='glx'/><title type='text'>Living with errors!!!</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20988885.post-6830624003749478350</id><published>2010-03-27T02:33:00.000-07:00</published><updated>2010-03-27T02:33:59.889-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='signpost'/><category scheme='http://www.blogger.com/atom/ns#' term='oauth'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>OAuth Signpost on Android gives "411 Length Required"</title><content type='html'>Signpost is a great library to quickly get OAuth login working. Makes the modern APIs quickly mashable.&lt;br /&gt;&lt;br /&gt;I got it working on desktop for newly enabled Google Reader OAuth login mechanism. (&lt;a href="http://pastebin.com/VbusAELq"&gt;source here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;But similar code won't run inside Android emulator. And it failed giving a high level exception OAuthCommunicationException while getting request token (1st step). After looking into Signpost code, I found this was a wrapper exception around some low level IOException. After modifying and rebuilding Signpost jar for debug statements, and jumping through several workarounds (which I am too lazy to document), I found the real root cause was the Google login server returning "411 Length required" response.&lt;br /&gt;&lt;br /&gt;That was surprising, especially because SignPost was explicitly setting "Content-Length:0" header on that request. I tried NOT setting Content-Length, no joy. Searched a lot for oauth + signpost + 411, but no definite solution. Finally I found this &lt;a href="http://jira.codehaus.org/browse/OAUTHSS-37"&gt;post&lt;/a&gt;. It still has no explanation and solution, but it has a work around that worked for me.&lt;br /&gt;&lt;br /&gt;I had to change the HTTP request from POST to GET.&lt;br /&gt;&lt;br /&gt;Thankfully Google login server accepts the OAuth requests in both kind so that worked out for now.&lt;br /&gt;&lt;br /&gt;It still puzzles me why should it show up only in my Android App.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-6830624003749478350?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/6830624003749478350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=6830624003749478350' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/6830624003749478350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/6830624003749478350'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2010/03/oauth-signpost-on-android-gives-411.html' title='OAuth Signpost on Android gives &quot;411 Length Required&quot;'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-2156530437020865461</id><published>2008-12-13T14:24:00.000-08:00</published><updated>2008-12-13T16:57:33.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='glx'/><category scheme='http://www.blogger.com/atom/ns#' term='xorg.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='opengl'/><category scheme='http://www.blogger.com/atom/ns#' term='xorg'/><title type='text'>glxgears shows blank window</title><content type='html'>I am trying to get opengl working on my Fedora 10 macbook (2,1). glxgears seems to be a good check for that.&lt;br /&gt;&lt;br /&gt;The video card is:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,&lt;br /&gt;943/940GML Express Integrated Graphics Controller (rev 03)&lt;br /&gt;&lt;/pre&gt;I had &lt;span style="font-style: italic;"&gt;xorg-x11-drv-i810-2.5.0-4.fc10.x86_64&lt;/span&gt; installed. Yet whenevever I ran glxgears I saw blank screen.&lt;br /&gt;&lt;br /&gt;I had to do some changes to my /etc/X11/xorg.conf, now the relevant sections look like:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Section "Device"&lt;br /&gt; Identifier  "Videocard0"&lt;br /&gt; Driver      "intel"&lt;br /&gt; Option      "NoAccel" "True"&lt;br /&gt; Option      "DRI" "True"&lt;br /&gt;EndSection&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I restarted x-server by logging back in and glxgears started showing the rotating gears.&lt;br /&gt;&lt;br /&gt;[Note: after doing above changes I started seeing that my display would not refresh after some intervals. The work around I am using so far is, either relogin or change to text console terminal (ctrl+alt+F2) and switch back to graphical console (ctrl+alt+F1)]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I now realize what I have done. By setting 'NoAccel' to 'True' I have turned off the acceleration in hardware. Although this makes my opengl programs work, it means all the acceraltion is done in software - as is evident from the 90+% CPU during running of these programs. It also proves that the graphics card driver fails to accelerate graphics in hardware.&lt;br /&gt;&lt;br /&gt;This is not a big issue for me, because I am using this setup just to develop some basic opengl programs. So I can live with the CPU hog.&lt;br /&gt;&lt;br /&gt;Also by not loading the 'intel' Driver I seem to have fixed the screen freeze problem I mentioned above. Now my xorg.conf entry looks like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Section "Device"&lt;br /&gt;   Identifier  "Videocard0"&lt;br /&gt;   Option      "NoAccel" "True"&lt;br /&gt;EndSection&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-2156530437020865461?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/2156530437020865461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=2156530437020865461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/2156530437020865461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/2156530437020865461'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2008/12/glxgears-shows-blank-window.html' title='glxgears shows blank window'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-1588227874056043676</id><published>2008-11-20T20:02:00.000-08:00</published><updated>2008-11-20T20:09:15.109-08:00</updated><title type='text'>segfault in libselinux</title><content type='html'>#0  0x00007f471e25281d in &lt;span style="font-weight: bold;"&gt;fini_context_translations () at setrans_client.c:211&lt;/span&gt;&lt;br /&gt;#1  0x00007f471e2452ff in __do_global_dtors_aux () from /lib/libselinux.so.1&lt;br /&gt;#2  0x0000000000413c80 in ?? ()&lt;br /&gt;#3  0x00007fff2c6fade0 in ?? ()&lt;br /&gt;#4  0x00007f471e2540c1 in &lt;span style="font-weight: bold;"&gt;_fini () from /lib/libselinux.so.1&lt;/span&gt;&lt;br /&gt;#5  0x00007fff2c6fade0 in ?? ()&lt;br /&gt;#6  0x00007f47244ed0e4 in ?? () from /lib64/ld-linux-x86-64.so.2&lt;br /&gt;Backtrace stopped: previous frame inner to this frame (corrupt stack?)&lt;br /&gt;&lt;br /&gt;After making some changes in my code I started getting this crash at the end of my application (during exit). No change that I made had anything to do with libselinux. I referred to this &lt;a href="http://ubuntuforums.org/showthread.php?t=762228"&gt;post&lt;/a&gt; a bit. Getting debug version of libselinux helped. But the above stack trace and the discussion in forum led me to believe this was some memory corruption that I had introduced. Running valgrind didn't help a lot.&lt;br /&gt;&lt;br /&gt;After carefully going through all the changes, I figured out that I was now linking to the opengl library, although I hadn't enabled its use yet. When I commented it out, the crash went away. Probably the __fini__ routine of libgl was expecting some cleanup tasks from me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-1588227874056043676?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/1588227874056043676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=1588227874056043676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/1588227874056043676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/1588227874056043676'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2008/11/segfault-in-libselinux.html' title='segfault in libselinux'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-1878352428449565891</id><published>2008-11-14T22:17:00.000-08:00</published><updated>2008-11-14T22:25:26.655-08:00</updated><title type='text'>freeglut Internal error </title><content type='html'>&lt;span style="font-weight: bold;"&gt;freeglut ():  ERROR:  Internal error &amp;lt;Visual with necessary capabilities not found&amp;gt; in function fgOpenWindow&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ran into this error while trying some opengl examples from the redbook. There are some obvious reasons for this error - like absence of 3D graphics card or driver support absent for glx. But that wasn't my case.&lt;br /&gt;&lt;br /&gt;I could solve the problem just by replacing&lt;br /&gt;&lt;pre&gt;glutInitDisplayMode (GLUT_SINGLE | GLUT_INDEX);&lt;/pre&gt;&lt;br /&gt;to&lt;br /&gt;&lt;pre&gt;glutInitDisplayMode (GLUT_SINGLE | GLUT_RGBA);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/archive/index.php/t-333966.html"&gt;Reference thread&lt;/a&gt; that helped.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-1878352428449565891?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/1878352428449565891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=1878352428449565891' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/1878352428449565891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/1878352428449565891'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2008/11/freeglut-internal-error.html' title='freeglut Internal error &lt;Visual with necessary capabilities not found&gt;'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-6197701131410288444</id><published>2008-11-06T23:04:00.000-08:00</published><updated>2008-11-06T23:10:03.109-08:00</updated><title type='text'>scons on Maemo is old</title><content type='html'>On Maemo's latest Diablo SDK scons version is from 2004.&lt;br /&gt;&lt;br /&gt;script: v0.96.1.D001, 2004/08/23&lt;br /&gt;&lt;br /&gt;This breaks some scripts that would work on relatively recent scons installations.&lt;br /&gt;&lt;br /&gt;Workaround: Install scons from source inside SDK. It's pure python code, so no architecture issues. But for some reason distutils will try to write to /scratchbox/tools/bin which has no write permissions from inside scratchbox.&lt;br /&gt;&lt;br /&gt;So I installed inside my directory using --install-lib option of setup.py. But for scripts it would still try to write to /scratchbox/tools/bin I noticed this happens only for few executables inside scripts subdirectory. So I went outside scratchbox and 'su' copied them to those locations, chmod +x'ed them. Now they could be executed. Yet it reported that the engine was old, so I had to set SCONS_LIB_DIR to the installation in my home directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-6197701131410288444?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/6197701131410288444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=6197701131410288444' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/6197701131410288444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/6197701131410288444'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2008/11/scons-on-maemo-is-old.html' title='scons on Maemo is old'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20988885.post-7880841853390696223</id><published>2008-11-05T22:02:00.000-08:00</published><updated>2008-11-05T22:06:13.484-08:00</updated><title type='text'>unable to set property `editable' of type `gboolean' ...</title><content type='html'>&lt;span style="font-weight: bold;"&gt;unable to set property `editable' of type `gboolean' from value of type `gchararray'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This happened when I misunderstood the parameters of TreeViewColumn-&gt;add_attribute() method. I was setting an 'editable' property to 1; whereas it should have been a boolean value.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-7880841853390696223?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/7880841853390696223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=7880841853390696223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/7880841853390696223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/7880841853390696223'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2008/11/unable-to-set-property-editable-of-type.html' title='unable to set property `editable&apos; of type `gboolean&apos; ...'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-2938229313336161065</id><published>2008-11-02T21:26:00.000-08:00</published><updated>2008-11-02T21:28:24.896-08:00</updated><title type='text'>X--tag=CC: command not found</title><content type='html'>autotool's idiosyncrasies!&lt;br /&gt;&lt;br /&gt;delete ltmain.sh, run autoreconf. probably happens when the libtool version is newer and you are working with old autogenerated files.&lt;br /&gt;&lt;br /&gt;Check this too:&lt;br /&gt;http://www.mail-archive.com/libtool@gnu.org/msg10248.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-2938229313336161065?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/2938229313336161065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=2938229313336161065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/2938229313336161065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/2938229313336161065'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2008/11/x-tagcc-command-not-found.html' title='X--tag=CC: command not found'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-2682103356745078237</id><published>2007-05-07T19:33:00.000-07:00</published><updated>2007-05-07T19:45:08.005-07:00</updated><title type='text'>"configure" .pc files</title><content type='html'>"configure" might be a very good utility used while building from source code in many open-source softwares. But some of the errors it generates just leave you baffled if you don't know what it is. For instance when the script tells that so-n-so package is not installed, but you can see from your package manager that it IS installed, you wonder what might be wrong. On redhat systems the solution is to install -devel RPM of the package. This is because the configure script runs "/usr/bin/pkg-config --exists --print-errors &lt;package&gt;" command. The pkg-config command will know of only those packages that have registered their ".pc" files with it. On redhat systems these .pc files come with -devel versions of various packages. So that solves the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-2682103356745078237?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/2682103356745078237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=2682103356745078237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/2682103356745078237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/2682103356745078237'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2007/05/configure-pc-files.html' title='&quot;configure&quot; .pc files'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-113738779732711716</id><published>2006-01-15T20:45:00.000-08:00</published><updated>2006-10-20T14:39:14.061-07:00</updated><title type='text'>partition LABEL problem and making cp recurse infinitely</title><content type='html'>Today was an eventful day, in the sense that many problems got solved. The one I spent my whole morning on was a typical silly mistake of mine. Nothing interesting, just mis-reading my own past email.&lt;br /&gt;&lt;br /&gt;When I was trying to get a domU up, I was getting a file system corruption error something, the one where the kernel give you Ctrl+D option and asks root password, so that you can fix the file system. I don't have the error message right now, but at the boot time it was doing "fsck.ext3 -a LABEL/1" and it was not finding any disk having this label. Some googling made me check my /etc/fstab. It showed a garbled line for swap drive. The line looked like:&lt;br /&gt;"LABEL=bClsid&lt;8d&gt;Ôèÿÿÿvk    swap                    swap    defaults        0 0" (in vi)&lt;br /&gt;"LABEL=bClsid�vk    swap                    swap    defaults        0 0" (in cat)&lt;br /&gt;&lt;br /&gt;Such garbled text was enough to blame that line for my file system problem. So I thought on the lines of fixing its label. I found tune2fs -L&lt;new&gt; , and set the label on my booting partition to this. But that didn't help. I also thought that this Label thing gets set if you make it a root device (as per my understanding. But now I understand having a partition as root means to have only its mount point as a root). Eventually one google result made me understand the problem. The first line of fstab was:&lt;br /&gt;LABEL=/1                /                       ext3    defaults        1 1&lt;br /&gt;So it was trying to fsck the root file system, but by assuming that it has LABEL=/1. So I just changed the line from LABEL=/1 to /dev/&lt;device&gt; and it all worked fine.&lt;br /&gt;&lt;br /&gt;The other funny experience was with cp. Yesterday I was copying a whole partition of one build host to my desktop linux machine for running it as a domU. Today when checked I saw it had filled the whole of my 75G drive. To my amazement I saw that it was a /usr/bin/mh directory which had 'mh' directories recursively. After playing around for sometime, I found that mh was a link to '.' (to that directory itself). So I have witnessed that cp is dumb about such softlinks (at least only with the options I had tried -r and -p). It kept on copying the same directory instead of the symbolic link.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-113738779732711716?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/113738779732711716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=113738779732711716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/113738779732711716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/113738779732711716'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2006/01/partition-label-problem-and-making-cp.html' title='partition LABEL problem and making cp recurse infinitely'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-113728040017534539</id><published>2006-01-14T14:57:00.000-08:00</published><updated>2006-10-20T14:39:14.000-07:00</updated><title type='text'>Re-setup of xen</title><content type='html'>After I screwed my laptop last week while installing Ubuntu Lite, I lost all my previous installation of Xen. So while rebuilding my laptop, I installed RH FC4, and now on weekend when I tried launching xen domUs, it started giving me mount errors.&lt;br /&gt;"mount: error 6 mounting ext3"&lt;br /&gt;&lt;br /&gt;I made one mistake. When you want to reproduce any working system, you should set all the parameters same as they were in your past working system and should not try anything new. I started to boot from LVM volumes this time, which I had never tried before. So it made me believe that the error was because of trying booting from LVMs.&lt;br /&gt;&lt;br /&gt;But when I tried from another physical partition, which used to work before, I found it also giving same error.&lt;br /&gt;&lt;br /&gt;I tried fsck'ing, reinstalling all file systems, and then deleted all the extra partitions and created and reinstalled RHFC4 again on them. Even this didn't solve the problem. At last as it turned out, the 'root' parameter in the xm config file had to be set to the drive from which I was eventually loading OS. I was using it as /dev/hda1 while my domU OS was being loaded from /dev/hda3. So changing this actually solved the problem, and I could boot my domU.&lt;br /&gt;&lt;br /&gt;To my surprise, I had noticed this 'root' anomaly before, but changing it did not help that time. Now I don't recall, but it might had to do with LVM being installed on an extended partition at that time. I don't have any clue on this.&lt;br /&gt;&lt;br /&gt;Anyway, now the field is clear for new experiments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-113728040017534539?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/113728040017534539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=113728040017534539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/113728040017534539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/113728040017534539'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2006/01/re-setup-of-xen.html' title='Re-setup of xen'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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-20988885.post-113727918809663173</id><published>2006-01-14T14:43:00.000-08:00</published><updated>2006-10-20T14:39:13.945-07:00</updated><title type='text'>Why this blog?</title><content type='html'>I already have one blog titled 'My Frequency' then why put this blog?&lt;br /&gt;&lt;br /&gt;My original intention for blogging was to document all kinds of new technical things I learn. Because hacking takes hell lot of effort in learning new things. But now that I have published that blog's link to all my friends, I don't like to bore them by posting debug information which most of them are uninterested in. Hence I am starting this blog which will hopefully serve my original purpose of blogging. The tile itself is enough warning of things to come.&lt;br /&gt;&lt;br /&gt;Besides I don't want to keep my debug posts locally on my machine. This realization came to me when last week a Ubuntu Lite installer CD wiped my entire laptop clean with almost no warning. So I am keeping all my documets on internet from now on. That's the most reliable backup media I guess.&lt;br /&gt;&lt;br /&gt;So keep 'tail' -ing this blog!!!&lt;br /&gt;&lt;br /&gt;I hope to update this one more frequently.&lt;br /&gt;&lt;br /&gt;Cheers!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988885-113727918809663173?l=errorjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://errorjournal.blogspot.com/feeds/113727918809663173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988885&amp;postID=113727918809663173' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/113727918809663173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988885/posts/default/113727918809663173'/><link rel='alternate' type='text/html' href='http://errorjournal.blogspot.com/2006/01/why-this-blog.html' title='Why this blog?'/><author><name>Jayesh</name><uri>http://www.blogger.com/profile/06968196302774793458</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></feed>
