<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - Linux kernel</title>
 <link>http://www.kerneltrap.org/taxonomy/term/171/0</link>
 <description>Discussion about the Linux kernel.</description>
 <language>en-local</language>
<item>
 <title>why the funny kernel always crashes ?</title>
 <link>http://www.kerneltrap.org/node/60633</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;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/60633&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/60633#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4643">sys_fork</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4633">tasklist_lock</category>
 <pubDate>Thu, 27 May 2010 20:50:23 +0000</pubDate>
 <dc:creator>gazolinia</dc:creator>
 <guid isPermaLink="false">60633 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Linux: Dual port 3G SAS drive get port swapped after power cycling</title>
 <link>http://www.kerneltrap.org/node/60133</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://www.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;Hi All :&lt;/p&gt;
&lt;p&gt;   We do power cycling test over our dual port 3G/6G drive test over LSI 3G 1068E/ 6G 2008 Controller. We sometime found the port get swapped during the power cycling. It happened more often in 3G SAS controller than 6G controller.&lt;br /&gt;
For example:&lt;br /&gt;
   In the beginning before power off,&lt;br /&gt;
      phy 0, sas_addr 0x50014ee30005078e were associated with sda and sg2&lt;br /&gt;
   but after power on.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/60133&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/60133#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <pubDate>Thu, 20 May 2010 23:43:37 +0000</pubDate>
 <dc:creator>jupiturliu123</dc:creator>
 <guid isPermaLink="false">60133 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>what is an APE memory?</title>
 <link>http://www.kerneltrap.org/node/59573</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://www.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;Hey I was going through Broadcom Tigon 3 drivers code and I see that APE memory is mapped using pic_ioremap_bar(pdev,BAR_2).&lt;/p&gt;
&lt;p&gt;I couldn&#039;t any information in the broadcom datasheet about APE memory. What is an APE memory and what exactly it is used for?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://lxr.linux.no/linux+v2.6.33/drivers/net/tg3.c#L14499&quot; title=&quot;http://lxr.linux.no/linux+v2.6.33/drivers/net/tg3.c#L14499&quot;&gt;http://lxr.linux.no/linux+v2.6.33/drivers/net/tg3.c#L14499&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Santhosh Kokala&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;</description>
 <comments>http://www.kerneltrap.org/node/59573#comments</comments>
 <category domain="http://www.kerneltrap.org/David_Miller">David Miller</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <pubDate>Thu, 13 May 2010 06:16:08 +0000</pubDate>
 <dc:creator>skokal01</dc:creator>
 <guid isPermaLink="false">59573 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>kernel hangs</title>
 <link>http://www.kerneltrap.org/node/59363</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://www.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;my hp proliant DL185 server doesn&#039;t boot up as expected .&lt;/p&gt;
&lt;p&gt;i&#039;ve managed to capture the msgs &amp;amp; traces dumped to console. See below&lt;/p&gt;
&lt;p&gt;Quote:&lt;br /&gt;
end_request: I/O error, dev cciss/c0d2, sector 0&lt;br /&gt;
end_request: I/O error, dev cciss/c0d2, sector 0&lt;br /&gt;
end_request: I/O error, dev cciss/c0d2, sector 1&lt;br /&gt;
Quote:&lt;br /&gt;
ciss: cmd f6c00000 has CHECK CONDITION sense key = 0x4&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/59363&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/59363#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <pubDate>Mon, 10 May 2010 08:54:19 +0000</pubDate>
 <dc:creator>ub007</dc:creator>
 <guid isPermaLink="false">59363 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>syscall interception module on 2.6.32 </title>
 <link>http://www.kerneltrap.org/node/59303</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://www.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;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://www.kerneltrap.org/node/59303&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/59303#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4513">system call interception</category>
 <category domain="http://www.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://www.kerneltrap.org</guid>
</item>
<item>
 <title>Compile new kernel on old system - problems</title>
 <link>http://www.kerneltrap.org/node/59083</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://www.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;Hello,&lt;/p&gt;
&lt;p&gt;I have a old SuSe Linux 9.3 distribution with a 2.6.11.4-21 Suse Kernel.&lt;br /&gt;
Now i have new Hardware and will the old system run on this new Hardware, but some new Hardware&lt;br /&gt;
is not working (Network, PCI, Graphic an so on). And i need the old System (very important).&lt;/p&gt;
&lt;p&gt;So i compiled an new Suse kernel (2.6.31 from Suse 11.2) on the old Suse 9.3 in the new Hardware System.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/59083&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/59083#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <pubDate>Thu, 06 May 2010 10:32:13 +0000</pubDate>
 <dc:creator>witjojo</dc:creator>
 <guid isPermaLink="false">59083 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>How to determine Amount of free kernel memory and problem with __get_free_pages()</title>
 <link>http://www.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://www.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://www.kerneltrap.org/node/58983&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/58983#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4463">free space</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/189">Kernel</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <category domain="http://www.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://www.kerneltrap.org</guid>
</item>
<item>
 <title>TCP Limited Transmit</title>
 <link>http://www.kerneltrap.org/node/58953</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://www.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;Where is implemented in the kernel linux the Limited Transmit Algorithm? It is explained in rfc 3042.. I have not found it in the tcp_input.c file...&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/node/58953&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/node/58953#comments</comments>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <pubDate>Tue, 04 May 2010 20:57:19 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">58953 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>CFS scheduler patch for 2.6.18-164?</title>
 <link>http://www.kerneltrap.org/node/57133</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://www.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&#039;m using RHEL 5.4 with the kernel 2.6.18-164.Can I introduce the CFS into the kernel by adding a patch,or should I create the patch myself?&lt;br /&gt;
Is there any available patch for this kernel?&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;</description>
 <comments>http://www.kerneltrap.org/node/57133#comments</comments>
 <category domain="http://www.kerneltrap.org/CFS">CFS</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/171">Linux kernel</category>
 <pubDate>Wed, 21 Apr 2010 03:11:36 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">57133 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Problem with sock_create in KLM</title>
 <link>http://www.kerneltrap.org/node/56923</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://www.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;Hello, i am dealing with studiing kernel module. As example i am using block device from lwn&lt;br /&gt;
&lt;a href=&quot;http://lwn.net/Articles/58719/&quot; title=&quot;http://lwn.net/Articles/58719/&quot;&gt;http://lwn.net/Articles/58719/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and so far so good, but i am trying to create simple network disk (just for test, ...) &lt;/p&gt;
&lt;p&gt;I found this article.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.linuxjournal.com/n