<?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-315599971345619083</id><updated>2011-08-22T06:38:09.850-07:00</updated><category term='2.6.31'/><category term='read'/><category term='Firefox'/><category term='mptsas_port_delete'/><category term='compilation'/><category term='drivers/char/vt.c'/><category term='kzalloc'/><category term='Andhrajyothy'/><category term='view'/><category term='tracer'/><category term='Fonts'/><category term='Mac'/><category term='Telugu daily'/><category term='Kernel'/><category term='con_init'/><category term='Eenadu'/><title type='text'>My Learnings</title><subtitle type='html'>These are my  learnings and prepared for my reference. If this information is useful to you, then you can use it with your own risk.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mekaananth.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mekaananth.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ajay</name><uri>http://www.blogger.com/profile/07428302418716255035</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>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-315599971345619083.post-705582308490886648</id><published>2011-02-16T23:38:00.000-08:00</published><updated>2011-02-16T23:53:35.213-08:00</updated><title type='text'>Indian Government PF Site</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;The PF Details of individuals can be tracked through online using the following url:&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;&lt;b&gt;     &lt;a href="http://www.epfindia.com/RegSites.html"&gt;http://www.epfindia.com/RegSites.html&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;The site in the above url contains the links to the PF offices at different states in India.&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;For Example, Karnataka ( Bangalore ) state PF information can be found in the http://www.epfbng.kar.nic.in/ &lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;If you want to know your PF status, then click on the " Know Your Claim Status" tab, which redirects to a new page . Enter the required details like PF Branch Office, Establishment Code , Extension code, and the employee number. The last three details can be found from your PF account number provided by your organization.&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&gt;For example, if your PF number from your current organization is : KN/23534/611 then 23534 is the establishment code and the 611 is the employee number&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 1.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica"&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/315599971345619083-705582308490886648?l=mekaananth.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mekaananth.blogspot.com/feeds/705582308490886648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mekaananth.blogspot.com/2011/02/indian-government-pf-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/705582308490886648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/705582308490886648'/><link rel='alternate' type='text/html' href='http://mekaananth.blogspot.com/2011/02/indian-government-pf-site.html' title='Indian Government PF Site'/><author><name>Ajay</name><uri>http://www.blogger.com/profile/07428302418716255035</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-315599971345619083.post-8541973196863351384</id><published>2009-09-28T22:07:00.000-07:00</published><updated>2009-09-28T22:07:53.116-07:00</updated><title type='text'></title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/315599971345619083-8541973196863351384?l=mekaananth.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mekaananth.blogspot.com/feeds/8541973196863351384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mekaananth.blogspot.com/2009/09/blog-post_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/8541973196863351384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/8541973196863351384'/><link rel='alternate' type='text/html' href='http://mekaananth.blogspot.com/2009/09/blog-post_28.html' title=''/><author><name>Ajay</name><uri>http://www.blogger.com/profile/07428302418716255035</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-315599971345619083.post-7896463149476710985</id><published>2009-09-28T21:57:00.000-07:00</published><updated>2009-09-28T22:16:22.732-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Telugu daily'/><category scheme='http://www.blogger.com/atom/ns#' term='Eenadu'/><category scheme='http://www.blogger.com/atom/ns#' term='read'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='Andhrajyothy'/><category scheme='http://www.blogger.com/atom/ns#' term='view'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>How to read Telugu news paper in Mac</title><content type='html'>I used to read the &lt;span style="font-weight: bold;"&gt;Eenadu&lt;/span&gt;, a telugu daily news paper using my notebook with windows vista installed in the notebook.&lt;br /&gt;&lt;br /&gt;One of my friend had a notebook with MAC os ( firefox browser ) installed in it, ad he was having the problem to read the news paper in his system, since the font was not supported in the MAC os&lt;br /&gt;&lt;br /&gt;To resolve this problem,&lt;br /&gt;&lt;br /&gt;    - Download the Fonts from the eenadu's font's help URL&lt;br /&gt;                    http://www.eenadu.net/fonthelp.htm&lt;br /&gt;&lt;br /&gt;The instructions provided in the Eenadu web site ( in the above URL ) are w.r.t to the Windows OS. If we need to do the relavent changes in the MAC os, then  we need to install the fonts in the respective directory in the MAC. The following process will help you to do the following:&lt;br /&gt;&lt;br /&gt;    -  Download the fonts  ( you will get the font.zip file after downloading )&lt;br /&gt;&lt;br /&gt;    - unzip or extract the zip file ( you will get the eenadu.ttf file after extracting )&lt;br /&gt;&lt;br /&gt;    In the MAC os, the fonts are stored in the " /Library/Fonts   " directory. So, copy the extracted "eenadu.ttf " file to the "/Library/Fonts" directory,&lt;br /&gt;&lt;br /&gt;              cp     eenadu.ttf    /Library/Fonts&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------------------------&lt;br /&gt;If you want read the &lt;span style="font-weight: bold;"&gt;Andhrajyothy&lt;/span&gt; news paper, then download the font from the Andhrajyothy's web site. You will get a SHREE900.ttf file after downloading. Copy this file to the "/Library/Fonts" directory.&lt;br /&gt;    &lt;br /&gt;------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Now you should be able to read the news paper with it's font.&lt;br /&gt;&lt;br /&gt;If you are not able to read any telugu ( or any other language ) news paper due to font's problem in MAC, you should be able to resolve it using the above procedure&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Additional:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- To be consistent with other ttf files in the " /Library/fonts" directory, change the files access permissions and the owner as follows ( these steps are optional)&lt;br /&gt;&lt;br /&gt;             cd   /Library/Fonts&lt;br /&gt;             chmod    644     eenadu.ttf&lt;br /&gt;&lt;br /&gt;             ( The following step is not mandatory, but for consistency reason, I had done the following )&lt;br /&gt;&lt;br /&gt;             sudo chown root eenadu.ttf&lt;br /&gt;             ( you will be prompted to enter your passwor, after executing the above command)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/315599971345619083-7896463149476710985?l=mekaananth.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mekaananth.blogspot.com/feeds/7896463149476710985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mekaananth.blogspot.com/2009/09/how-to-read-eenadu-in-mac.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/7896463149476710985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/7896463149476710985'/><link rel='alternate' type='text/html' href='http://mekaananth.blogspot.com/2009/09/how-to-read-eenadu-in-mac.html' title='How to read Telugu news paper in Mac'/><author><name>Ajay</name><uri>http://www.blogger.com/profile/07428302418716255035</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>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-315599971345619083.post-3772863449574013277</id><published>2009-09-16T02:29:00.000-07:00</published><updated>2009-09-16T02:30:00.694-07:00</updated><title type='text'></title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/315599971345619083-3772863449574013277?l=mekaananth.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mekaananth.blogspot.com/feeds/3772863449574013277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mekaananth.blogspot.com/2009/09/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/3772863449574013277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/3772863449574013277'/><link rel='alternate' type='text/html' href='http://mekaananth.blogspot.com/2009/09/blog-post.html' title=''/><author><name>Ajay</name><uri>http://www.blogger.com/profile/07428302418716255035</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-315599971345619083.post-4133506589080272073</id><published>2009-09-15T22:15:00.001-07:00</published><updated>2009-09-18T03:55:21.501-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tracer'/><category scheme='http://www.blogger.com/atom/ns#' term='mptsas_port_delete'/><category scheme='http://www.blogger.com/atom/ns#' term='drivers/char/vt.c'/><category scheme='http://www.blogger.com/atom/ns#' term='kzalloc'/><category scheme='http://www.blogger.com/atom/ns#' term='Kernel'/><category scheme='http://www.blogger.com/atom/ns#' term='compilation'/><category scheme='http://www.blogger.com/atom/ns#' term='con_init'/><category scheme='http://www.blogger.com/atom/ns#' term='2.6.31'/><title type='text'>How to compile the Linux Kernel  (2.6.31)</title><content type='html'>&lt;strong&gt;Step 1:&lt;/strong&gt; Download the latest stable kernel from the &lt;a href="http://www.kernel.org/"&gt;http://www.kernel.org/&lt;/a&gt;&lt;br /&gt;( As on 16-Sep-2009, The latest stable kernel version is 2.6.31)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; unpack the downloaded source file. To unpack the source file you can use&lt;br /&gt;&lt;em&gt;$ tar -xvzf (file name) -----&gt; &lt;file&gt;&lt;/em&gt;&lt;tar&gt;[ if the downloaded file is .gz file ]&lt;br /&gt;&lt;em&gt;$ tar -xvjf (file name) ------&gt; &lt;file&gt;&lt;/em&gt;&lt;tar&gt;[ If the downloaded file is .bz2 file ]&lt;br /&gt;&lt;br /&gt;The above commands will automatically create a new directory, in the current working directory. If you want the unpacked source code in some other directory, then you need to mantion the destination directory in the above command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 3: Kernel Building&lt;/strong&gt;&lt;br /&gt;For detailed build instructions on how to build the kernel , please go through the file "README". in the kernel source directory. For quick instrcutions use the following informaiton&lt;br /&gt;&lt;strong&gt;Select the kernel options that are needed for your development using&lt;br /&gt;&lt;/strong&gt;The kernel options can be selected using the commad&lt;br /&gt;&lt;em&gt;$ cd (kernel source directory)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$ make menuconfig&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;Build the kernel &lt;/strong&gt;&lt;br /&gt;&lt;em&gt;$ make &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;/p&gt;&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;I encountered the following issues during the kernel build&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Issue 1:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;span style="font-size:85%;"&gt;During the compilation of linux-2.6.31 kernel, I got the following error ( with default configuaration )&lt;br /&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;- drivers/message/fusion/mptsas.c: In function `mptsas_port_delete':&lt;br /&gt;- drivers/message/fusion/mptsas.c: 105: sorry, unimplemented: inlining failed in call to 'mptsas_set_rphy': function body not available&lt;br /&gt;- drivers/message/fusion/mptsas.c: 467: sorry, unimplemented: called from here&lt;/span&gt;&lt;/em&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3366ff;"&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;Reason:&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;The 'mptsas_set_rphy' function is defined after the 'mptsas_port_delete' function in the file.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#6600cc;"&gt;&lt;strong&gt;Solution :&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Moved the 'mptsas_set_rphy' function definition before to the function 'mptsas_port_delete' function definition.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Issue 2:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff6666;"&gt;drivers/built-in.o(.init.text+0x3bad): In function `con_init':&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6666;"&gt;include/trace/events/kmem.h:47: undefined reference to `.L1452'&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;Temporary Hack:&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;This problem was due to the result of allocating the memory using &lt;strong&gt;kzalloc()&lt;/strong&gt; in &lt;strong&gt;con_init()&lt;/strong&gt; function in the &lt;strong&gt;drivers/char/vt.c &lt;/strong&gt;file. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;The compilation problem is occuring for the statement &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;&lt;em&gt;vc_cons[currcons].d = vc = kzalloc(sizeof(struct vc_data), GFP_NOWAIT);&lt;/em&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;To resolve the compilation issue, this statement was re-coded as in the previous kernel versions ( i.e allocating the memory for this structure using the bootmem )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;&lt;em&gt;vc_cons[currcons].d = vc = alloc_bootmem(sizeof(struct vc_data));&lt;/em&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;Now the compilation issue is resolved. ( Need to check during the boot time for any side-effects ). &lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;During the boot time, if we got any issue, then the memory allocation for the screen buffer also need to be changed to allocate using the bootmem, and change reset the flag vc-&gt;vc_kmallocated to zero.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#6633ff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;See my future blogs for related topics like&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&lt;em&gt;- How to burn the kernel Image onto the custome board&lt;br /&gt;- How build the file system for the new board&lt;br /&gt;- How to compile the toolchain in host system for the custom board&lt;/em&gt;&lt;br /&gt;etc.,&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/315599971345619083-4133506589080272073?l=mekaananth.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/4133506589080272073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/315599971345619083/posts/default/4133506589080272073'/><link rel='alternate' type='text/html' href='http://mekaananth.blogspot.com/2009/09/how-to-compile-linux-kernel-2631.html' title='How to compile the Linux Kernel  (2.6.31)'/><author><name>Ajay</name><uri>http://www.blogger.com/profile/07428302418716255035</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></entry></feed>
