<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.kerneltrap.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap blogs</title>
 <link>http://www.kerneltrap.com/blog</link>
 <description>KernelTrap is a web community devoted to sharing the latest in kernel development news.</description>
 <language>en-local</language>
<item>
 <title>Function Growth: Big O vs. Small o</title>
 <link>http://www.kerneltrap.com/node/78273</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;When I started to study Computational Complexity based on Oded Goldreich&#039;s &lt;a href=&quot;http://www.wisdom.weizmann.ac.il/~oded/cc-drafts.html&quot;&gt;book&lt;/a&gt;, I encountered brief explanations of big O and small o notations in section 1.1.5. So, I used Wikipedia to dig deeper which was very helpful. But, I got the true enlightment about the intuitions of big O and small o notations in the class when someone sitting beside me asked the teaching assistant (TA) about the meaning of the small o notation.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/78273&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/78273#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5499">big O vs. small o notations</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5505">what is intuition of big O notation</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5511">what is intuition of small o notation</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/25">Life</category>
 <pubDate>Wed, 17 Nov 2010 22:26:15 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">78273 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>Elvis Long Path Or File Name Bug</title>
 <link>http://www.kerneltrap.com/node/78249</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Some days ago when I wanted to edit a file having a long file name that is located in a deep subdirectory also bearing long name with Elvis 2.2.0 on GNU/Linux Ubuntu 9.04, Elvis crashed because the system&#039;s C library detected buffer overflow. Since Emacs could open the same file properly, I concluded that this is Elvis&#039; problem.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/78249&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/78249#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5481">vi elvis long file name buffer overflow</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/30">Applications/tools</category>
 <pubDate>Wed, 17 Nov 2010 21:50:33 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">78249 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>GIMP: Cannot Erase To Background Color</title>
 <link>http://www.kerneltrap.com/node/77565</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;The other day when I was working with the GIMP, I was very surprised that whenever I erased something, GIMP started to erase to transparent background. Previously whenever I erased something, GIMP erased to the background color, which was I wanted. I googled for &quot;gimp erase to background color&quot;. But, the results were mostly the exact opposite: how to erase to transparent background. Finally, I figured out the solution myself.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/77565&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/77565#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5463">gimp cannot erase to background</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5457">gimp erase to background color</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5469">gimp how to not erase to transparent background</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5475">why gimp erase to transparent background</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/30">Applications/tools</category>
 <pubDate>Sun, 14 Nov 2010 11:11:45 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">77565 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>advengame</title>
 <link>http://www.kerneltrap.com/node/77019</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&lt;a href=&quot;http://www.games96.com/tag27-Bike-Games&quot;&gt;Bike Games&lt;/a&gt; |&lt;br /&gt;
&lt;a href=&quot;http://www.games96.com/tag20-Car-Games&quot;&gt;Car Games&lt;/a&gt; |&lt;br /&gt;
&lt;a href=&quot;http://www.games96.com/tag22-Racing-Games&quot;&gt;Racing Games&lt;/a&gt; |&lt;br /&gt;
&lt;a href=&quot;http://www.games96.com/tag28-Action-Games&quot;&gt;Action Games&lt;/a&gt; |&lt;br /&gt;
&lt;a href=&quot;http://www.games96.com/tag29-Adventure-Games&quot;&gt;Adventure Games&lt;/a&gt;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;</description>
 <comments>http://www.kerneltrap.com/node/77019#comments</comments>
 <category domain="http://www.kerneltrap.com/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/29">BeOS</category>
 <pubDate>Tue, 09 Nov 2010 14:53:14 +0000</pubDate>
 <dc:creator>advengame</dc:creator>
 <guid isPermaLink="false">77019 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>Database Modeling vs. Implementation: Making All Entities Strong</title>
 <link>http://www.kerneltrap.com/node/76959</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;When I was following the Database course in my undergraduate study, I was introduced to Entity-Relationship model, in particular, the notion of weak entity. But, having learned the notions of strong and weak entity, I always wondered whether or not I should model an entity as a strong or weak entity when both were possible.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/76959&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/76959#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5427">implementation of weak entity</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5415">strong entity vs. weak entity</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5421">use of weak entity in software engineering</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/25">Life</category>
 <pubDate>Mon, 08 Nov 2010 20:04:26 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">76959 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>Making ramfs - VFS: Unable to mount root fs</title>
 <link>http://www.kerneltrap.com/node/76083</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;I was following a step-by-step instruction of making a ramfs to be run on QEMU&#039;s ARM machine. The instruction says that the ramfs is to be created from BusyBox&#039;s _install directory with the following command: &quot;find . | cpio -H newc -o | gzip &amp;gt; ../ramfs.img&quot;. But, after reading &quot;info cpio&quot;, I decided to change &quot;find .&quot; with &quot;find . -depth&quot;, which is considered a good practice to avoid problem with strict directory permission during cpio extraction since the directory permission is only set after all files inside the directory are copied into the directory. However, running qemu-system-arm, the kernel panics saying that it cannot mount the root filesystem as follows:&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/76083&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/76083#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5403">find cpio ramfs kernel panic unable to mount root fs</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/30">Applications/tools</category>
 <pubDate>Mon, 01 Nov 2010 10:24:42 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">76083 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>Emacs Octave Mode: Underscore As Word Separator</title>
 <link>http://www.kerneltrap.com/node/75285</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;I was using octave-mode in Emacs when I found a little inconvenience when editing an Octave function name that has underscores in it, for example, &quot;C_square_exp&quot;. Specifically, when I wanted to change &quot;square&quot; to &quot;triangle&quot; when the cursor is after the last character, pressing Alt+B made the cursor jump to the first character instead to the character after the last underscore.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/75285&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/75285#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5379">emacs octave-mode forward-word backward-word underscore</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5385">octave emacs forward-word backward-word underscore</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5391">octave emacs underscore as delimiter</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/30">Applications/tools</category>
 <pubDate>Thu, 28 Oct 2010 21:59:03 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">75285 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>Rough Overview of Agent-oriented Software Engineering</title>
 <link>http://www.kerneltrap.com/node/74145</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;For this week, the course on Agent-oriented Software Engineering (AOSE) was taught by a post-doc student named &lt;a href=&quot;http://sites.google.com/site/akchoprawww/&quot;&gt;Amit Chopra&lt;/a&gt;. Chopra presented his PhD dissertation topic on the interaction in a multi-agent system (MAS) based on the concept of commitment. It was very enlightening and gave me the key to understand the advantage of Agent-oriented Software Engineering over Object-oriented Software Engineering.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/74145&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/74145#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5367">agent-oriented software engineering overview</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5361">aose overview</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/25">Life</category>
 <pubDate>Wed, 20 Oct 2010 20:42:25 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">74145 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>Tapping WLAN: It Is Just Another Radio</title>
 <link>http://www.kerneltrap.com/node/73203</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;About 1.5 years ago when I were with my friend in his office in our alma mater university in the evening, I tried to tap his wireless communication. With iwconfig I put my WLAN card to monitor mode and fired Wireshark. But, data packets were not received although WLAN management frames were captured. I wondered what was wrong but didn&#039;t pursue the matter further.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/73203&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/73203#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5343">how to sniff wireless lan communication</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5337">how to tap wireless lan communication</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5349">no packet wireless lan listen monitor mode</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/25">Life</category>
 <pubDate>Sun, 10 Oct 2010 12:51:49 +0000</pubDate>
 <dc:creator>Eus</dc:creator>
 <guid isPermaLink="false">73203 at http://www.kerneltrap.com</guid>
</item>
<item>
 <title>How to allow tracing of VLAN Tags in wireshark</title>
 <link>http://www.kerneltrap.com/node/73161</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Problem:&lt;br /&gt;
--------&lt;/p&gt;
&lt;p&gt;Wireshark captured the incoming Ethernet Frames without any VLAN tags because the driver stripped VLAN tags from the received frames. How can I see VLAN tags in incoming frames?&lt;/p&gt;
&lt;p&gt;Solution:&lt;br /&gt;
---------&lt;/p&gt;
&lt;p&gt;Patch the ixgbe driver:&lt;/p&gt;
&lt;p&gt;File: ixgbe_main.c&lt;/p&gt;
&lt;p&gt;Function: static int __devinit ixgbe_probe(struct pci_dev *pdev,&lt;br /&gt;
                 const struct pci_device_id *ent)&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.com/node/73161&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.com/node/73161#comments</comments>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5313">ixgbe</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5325">tracing</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5331">VLAN</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/5319">wireshark</category>
 <category domain="http://www.kerneltrap.com/taxonomy/term/23">Linux</category>
 <pubDate>Thu, 07 Oct 2010 15:02:57 +0000</pubDate>
 <dc:creator>bhal</dc:creator>
 <guid isPermaLink="false">73161 at http://www.kerneltrap.com</guid>
</item>
</channel>
</rss>


