<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - Kernel</title>
 <link>http://kerneltrap.org/taxonomy/term/189/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>syscall interception module on 2.6.32 </title>
 <link>http://kerneltrap.org/node/59303</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using the following kernel module to intercept some syscalls. I have got sys_call_table address from the /boot/System.map.x.x. The module works file on Ubuntu 7.10 (2.6.24) but gets killed upon insmod in Ubuntu 10.04 and Fedora 12 (2.6.32) with error &quot;Kernel paging request error address c0xxxxx [which is, based on System.map, an address in sys_call_table]&quot;.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/node/59303&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/node/59303#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/4513">system call interception</category>
 <category domain="http://kerneltrap.org/taxonomy/term/4503">sys_call_table</category>
 <pubDate>Sat, 08 May 2010 14:00:15 +0000</pubDate>
 <dc:creator>saliari2</dc:creator>
 <guid isPermaLink="false">59303 at http://kerneltrap.org</guid>
</item>
<item>
 <title>How to determine Amount of free kernel memory and problem with __get_free_pages()</title>
 <link>http://kerneltrap.org/node/58983</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/taxonomy/term/171&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/files/category_pictures_0&quot; alt=&quot;Linux&quot; title=&quot;Linux&quot;  width=&quot;&quot; height=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;I want to write a loop that sucks up all the 2mb slugs of memory I can get in the kernel.  However, I want to leave &quot;some&quot; free space (say 20% of the machine&#039;s total phys mem).  So, how can I do that?  I have a loop now something like as an experiment to get all the mem I can and then release enough for the system to continue running but the kernel hangs:&lt;/p&gt;
&lt;p&gt;for( i = 0; i &amp;lt; MAX_SLUGS; ++i )&lt;br /&gt;
{&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/node/58983&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/node/58983#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/4463">free space</category>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/4453">__get_free_pages</category>
 <pubDate>Wed, 05 May 2010 03:41:06 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">58983 at http://kerneltrap.org</guid>
</item>
<item>
 <title>NFS mount failure</title>
 <link>http://kerneltrap.org/node/46133</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/taxonomy/term/171&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/files/category_pictures_0&quot; alt=&quot;Linux&quot; title=&quot;Linux&quot;  width=&quot;&quot; height=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;I have a problem I&#039;m hoping someone can help me with...&lt;/p&gt;
&lt;p&gt;I have an NFS server/client setup.  On the server side, I export a romfs filesystem to the NFS.  The client computers boot via PXE bootloader and mount their root filesystem via NFS, using tempfs/unionfs to make parts of the filesystem read/write (i.e., /etc, /var, etc)&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/node/46133&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/node/46133#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://kerneltrap.org/NFS">NFS</category>
 <category domain="http://kerneltrap.org/taxonomy/term/3383">romfs</category>
 <pubDate>Mon, 02 Nov 2009 18:53:54 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">46133 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Dealing with Linux kernel configuration&#039;s diffs</title>
 <link>http://kerneltrap.org/node/41863</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/taxonomy/term/171&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/files/category_pictures_0&quot; alt=&quot;Linux&quot; title=&quot;Linux&quot;  width=&quot;&quot; height=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;We&#039;re using a lot of different kernel configurations on our servers running Gentoo Linux and Linux VServer. Kernels&#039; configs depend on hardware and functions of every server. Every time new kernel is released and/or we need to enable/disable some features for all servers&#039; kernels we have to update .config&#039;s manually.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/node/41863&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/node/41863#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/1883">config</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1893">diff</category>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/583">patch</category>
 <pubDate>Fri, 11 Sep 2009 16:22:31 +0000</pubDate>
 <dc:creator>Dmitry Shurupov</dc:creator>
 <guid isPermaLink="false">41863 at http://kerneltrap.org</guid>
</item>
<item>
 <title>mtrr: type mismatch on starting X server</title>
 <link>http://kerneltrap.org/node/19153</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/taxonomy/term/171&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/files/category_pictures_0&quot; alt=&quot;Linux&quot; title=&quot;Linux&quot;  width=&quot;&quot; height=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;I am using Debian Lenny with 2.6.30 kernel on my Intel Atom Poulsbo chipset computer and I get the following messages in my dmesg when I start the X server:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
[   22.760737] mtrr: type mismatch for 3ffc0000,10000 old: write-back new: write-combining&lt;br /&gt;
[   22.760805] mtrr: type mismatch for 3ff80000,40000 old: write-back new: write-combining&lt;/code&gt;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/node/19153&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/node/19153#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1333">mtrr</category>
 <category domain="http://kerneltrap.org/taxonomy/term/275">X</category>
 <pubDate>Thu, 23 Jul 2009 23:00:07 +0000</pubDate>
 <dc:creator>kushalkoolwal</dc:creator>
 <guid isPermaLink="false">19153 at http://kerneltrap.org</guid>
</item>
<item>
 <title>High Idle Load Average</title>
 <link>http://kerneltrap.org/Linux/High_Idle_Load_Average</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;When a Linux user &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/2/327816&quot;&gt;reported a repeatedly high load average&lt;/a&gt; on an idle server, tracking the problem to a specific patch labeled, &quot;&lt;i&gt;user of the jiffies rounding code&lt;/i&gt;&quot;, Andrew Morton replied, &quot;&lt;i&gt;this is unexpected.  High load average is due to either a task chewing a lot of CPU time or a task stuck in uninterruptible sleep.&lt;/i&gt;&quot;  Linus Torvalds disagreed, explaining:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;We saw high loadaverages with the timer bogosity with &#039;gettimeofday()&#039; and &#039;select()&#039; not agreeing, so they would do things like &lt;code&gt;&#039;date = time(..); select(.. , timeout =  );&#039;&lt;/code&gt;  and when &#039;date&#039; wasn&#039;t taking the jiffies offset into account, and thus mixing these kinds of different time sources, the select ended up returning immediately because they effectively used different clocks, and suddenly we had some applications chewing up 30% CPU time, because they were in a loop that *tried* to sleep.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Linus offered what he described as an &quot;&lt;i&gt;idiotic patch&lt;/i&gt;&quot; to cause the load average to not be calculated exactly once every 5 seconds to prevent it from being in sync with something else waking up every 5 seconds, noting, &quot;&lt;i&gt;the load average is not calculated every tick, because that&#039;s not just expensive, but we also want to have some time-based decay.&lt;/i&gt;&quot;  Arjan van de Ven pointed out that this shouldn&#039;t help, &quot;&lt;i&gt;I mean, the load gets only updated in actual timer interrupts... and on a tickless system there&#039;s very few of those around..... and usually at places round_jiffies() already put a timer on.&lt;/i&gt;&quot; Linus agreed with this reasoning, suggesting, &quot;&lt;i&gt;maybe Anders&#039; problem stems partly from the fact that he really is using the tweaks to make that tickless theory more true than it tends to be on most systems?&lt;/i&gt;&quot;  Arjan pointed out that a lot of work has been successful in making tickless kernels wake up less, &quot;&lt;i&gt;we fixed a TON of stuff over the last months.. standard desktops (F8 / next Ubuntu) will be around 10 wakeups/sec, in a lab environment you can get below 2 ;)&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/High_Idle_Load_Average&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/High_Idle_Load_Average#comments</comments>
 <category domain="http://kerneltrap.org/Andrew_Morton">Andrew Morton</category>
 <category domain="http://kerneltrap.org/Arjan_van_de_Ven">Arjan van de Ven</category>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/tickless">tickless</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Sat, 06 Oct 2007 18:59:52 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14524 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Error during installation</title>
 <link>http://kerneltrap.org/node/11757</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/taxonomy/term/172&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/files/category_pictures_0&quot; alt=&quot;Linux&quot; title=&quot;Linux&quot;  width=&quot;&quot; height=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;when installing linux error shows:&lt;br /&gt;
append a correct &quot;root&quot; boot option&lt;br /&gt;
kernel panic: VFS: Unable to mount root fs on 48:05&lt;/p&gt;
&lt;p&gt;Details:&lt;br /&gt;
i am using windows XP on NTFS partition on core dual with sata harddisk of ATAPI...&lt;br /&gt;
And want to install Linux redhat 9 on same working environment.&lt;/p&gt;
&lt;p&gt;Please help to solve the error.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;</description>
 <comments>http://kerneltrap.org/node/11757#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/172">Linux general</category>
 <pubDate>Fri, 13 Jul 2007 04:56:14 +0000</pubDate>
 <dc:creator>mayank.jarsaniya</dc:creator>
 <guid isPermaLink="false">11757 at http://kerneltrap.org</guid>
</item>
<item>
 <title>How to create a very adaptive kernel which will work on every hardware ? (Especially laptop and Desktop)</title>
 <link>http://kerneltrap.org/node/11734</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/taxonomy/term/171&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;h