<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for dan&#039;s linux blog</title>
	<atom:link href="http://www.dark.ca/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dark.ca</link>
	<description>direct from the mysterious land of the sysadmin</description>
	<lastBuildDate>Mon, 30 Aug 2010 21:13:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on initrd, modules, and tools by SJS</title>
		<link>http://www.dark.ca/2009/06/10/initrd-modules-and-tools/comment-page-1/#comment-1139</link>
		<dc:creator>SJS</dc:creator>
		<pubDate>Mon, 30 Aug 2010 21:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/wordpress/?p=8#comment-1139</guid>
		<description>Hi Dan,

I followed your suggestions (The makefile uses only uname -m, -a, and -r options):

[root@localhost ~]# /bin/uname.orig -m
i686
[root@localhost ~]# /bin/uname.orig -a
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
[root@localhost ~]# uname -m
i586
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i586 i586 i386 GNU/Linux
[root@localhost ~]#

And after I compiled my module:
[root@localhost src]# strings e1000e.ko &#124; grep verm
vermagic=2.6.23.1-42.fc8 SMP mod_unload 686 4KSTACKS 

The vermagic is still 686... I think that I would need to compile the e1000e module against the 586 kernel sources. 

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Hi Dan,</p>
<p>I followed your suggestions (The makefile uses only uname -m, -a, and -r options):</p>
<p>[root@localhost ~]# /bin/uname.orig -m<br />
i686<br />
[root@localhost ~]# /bin/uname.orig -a<br />
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux<br />
[root@localhost ~]# uname -m<br />
i586<br />
[root@localhost ~]# uname -a<br />
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i586 i586 i386 GNU/Linux<br />
[root@localhost ~]#</p>
<p>And after I compiled my module:<br />
[root@localhost src]# strings e1000e.ko | grep verm<br />
vermagic=2.6.23.1-42.fc8 SMP mod_unload 686 4KSTACKS </p>
<p>The vermagic is still 686&#8230; I think that I would need to compile the e1000e module against the 586 kernel sources. </p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on initrd, modules, and tools by dan</title>
		<link>http://www.dark.ca/2009/06/10/initrd-modules-and-tools/comment-page-1/#comment-1126</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Thu, 26 Aug 2010 07:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/wordpress/?p=8#comment-1126</guid>
		<description>Ah, yes, i&#039;ve run into the same problem that you&#039;re describing (version magic).  In your case it has nothing to do with 32 vs 64-bit - if this were the case, force loading the module wouldn&#039;t help.  As you&#039;ve discovered, a 32-bit Fedora 8 system will report (via uname) the first string you quoted (with a 686 arch), while a PXE booted 32-bit Fedora 8 will report the second (with a 586 arch).  Luckily, both of these architectures are 32-bit, and they have no functional differences at this high a level, which is why the module can be force loaded successfully.

If you want the module to load cleanly during the kickstart, you need to make sure that the output of uname -a is the same on both the PXE system and the compile system.  The last time i had to make this happen, i just temporarily replaced the uname binary on the compile system with a shell script that spit out the string i wanted, compiled the module, then put the proper uname back.  A little bit hacky, but it only took 30 seconds, and it worked like a charm.

As for passing options to your module, if you still need to, i&#039;d suggest taking a look at the &quot;device&quot; keyword in kickstart :
http://fedoraproject.org/wiki/Anaconda/Kickstart#device

(p.s. Sorry for the late reply - it&#039;s vacation season around these parts. :) )</description>
		<content:encoded><![CDATA[<p>Ah, yes, i&#8217;ve run into the same problem that you&#8217;re describing (version magic).  In your case it has nothing to do with 32 vs 64-bit &#8211; if this were the case, force loading the module wouldn&#8217;t help.  As you&#8217;ve discovered, a 32-bit Fedora 8 system will report (via uname) the first string you quoted (with a 686 arch), while a PXE booted 32-bit Fedora 8 will report the second (with a 586 arch).  Luckily, both of these architectures are 32-bit, and they have no functional differences at this high a level, which is why the module can be force loaded successfully.</p>
<p>If you want the module to load cleanly during the kickstart, you need to make sure that the output of uname -a is the same on both the PXE system and the compile system.  The last time i had to make this happen, i just temporarily replaced the uname binary on the compile system with a shell script that spit out the string i wanted, compiled the module, then put the proper uname back.  A little bit hacky, but it only took 30 seconds, and it worked like a charm.</p>
<p>As for passing options to your module, if you still need to, i&#8217;d suggest taking a look at the &#8220;device&#8221; keyword in kickstart :<br />
<a href="http://fedoraproject.org/wiki/Anaconda/Kickstart#device" rel="nofollow">http://fedoraproject.org/wiki/Anaconda/Kickstart#device</a></p>
<p>(p.s. Sorry for the late reply &#8211; it&#8217;s vacation season around these parts. :) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on initrd, modules, and tools by SJS</title>
		<link>http://www.dark.ca/2009/06/10/initrd-modules-and-tools/comment-page-1/#comment-1084</link>
		<dc:creator>SJS</dc:creator>
		<pubDate>Wed, 18 Aug 2010 14:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/wordpress/?p=8#comment-1084</guid>
		<description>Dan,

The work I am doing involves a PXE booting attempt of an old Fedora release, Fedora 8, on a relatively new Intel hardware. I used a trick to make the PXE booting work that shed some more light onto a possible difficulty I described to you earlier.

I plugged a USB to Ethernet adaptor to the new hardware while still having an Ethernet cable plugged into the Ethernet card and tried to boot the system up. The Ethernet card did dhcp request and got its IP and PXE info. The USB driver got preloaded and took over the Ethernet card to finish the OS installation and booting.

Now, I changed my kickstart file and added in the post section compiling &amp; installing of the e1000e module and got a more readable error this time:

e1000e: version magic &#039;2.6.23.1-42.fc8 SMP mod_unload 686 4KSTACKS&#039; 
should be &#039;2.6.23.1-42.fc8 SMP mod_unload 586 4KSTACKS&#039;

suggesting an 32 vs 64 bits incompatibility. However, when installing the very same driver after an initial boot, I do not get this error any more. This suggests that some difference between the kickstart environment vs post kickstart root environment that knows how to handle 64 bit targeted modules (I think).

I can still force install the e1000e from the kickstart file by issuing &quot;modprobe -f e1000e&quot; and that seems to work OK. Which brings to my question to you. The method that you describe uses some implicit way to pre load the module: you define alias and pci.id translation and when kernel sees this PCI it attempts to load the module. However, there seems to be no way to specify the details of *how* to load the module to include module settings or maybe, as it is in my case, to force the module loading. Do you know if there is a way to specify that?

Thanks</description>
		<content:encoded><![CDATA[<p>Dan,</p>
<p>The work I am doing involves a PXE booting attempt of an old Fedora release, Fedora 8, on a relatively new Intel hardware. I used a trick to make the PXE booting work that shed some more light onto a possible difficulty I described to you earlier.</p>
<p>I plugged a USB to Ethernet adaptor to the new hardware while still having an Ethernet cable plugged into the Ethernet card and tried to boot the system up. The Ethernet card did dhcp request and got its IP and PXE info. The USB driver got preloaded and took over the Ethernet card to finish the OS installation and booting.</p>
<p>Now, I changed my kickstart file and added in the post section compiling &amp; installing of the e1000e module and got a more readable error this time:</p>
<p>e1000e: version magic &#8217;2.6.23.1-42.fc8 SMP mod_unload 686 4KSTACKS&#8217;<br />
should be &#8217;2.6.23.1-42.fc8 SMP mod_unload 586 4KSTACKS&#8217;</p>
<p>suggesting an 32 vs 64 bits incompatibility. However, when installing the very same driver after an initial boot, I do not get this error any more. This suggests that some difference between the kickstart environment vs post kickstart root environment that knows how to handle 64 bit targeted modules (I think).</p>
<p>I can still force install the e1000e from the kickstart file by issuing &#8220;modprobe -f e1000e&#8221; and that seems to work OK. Which brings to my question to you. The method that you describe uses some implicit way to pre load the module: you define alias and pci.id translation and when kernel sees this PCI it attempts to load the module. However, there seems to be no way to specify the details of *how* to load the module to include module settings or maybe, as it is in my case, to force the module loading. Do you know if there is a way to specify that?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on initrd, modules, and tools by dan</title>
		<link>http://www.dark.ca/2009/06/10/initrd-modules-and-tools/comment-page-1/#comment-1068</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Mon, 16 Aug 2010 09:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/wordpress/?p=8#comment-1068</guid>
		<description>Hi SJS,

The first thing that comes to mind is that you may have built the module against a different kernel than that used by the network boot image.  If you did a &quot;yum update&quot; on the build machine, for example, you are definitely using a different kernel...</description>
		<content:encoded><![CDATA[<p>Hi SJS,</p>
<p>The first thing that comes to mind is that you may have built the module against a different kernel than that used by the network boot image.  If you did a &#8220;yum update&#8221; on the build machine, for example, you are definitely using a different kernel&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on initrd, modules, and tools by SJS</title>
		<link>http://www.dark.ca/2009/06/10/initrd-modules-and-tools/comment-page-1/#comment-1030</link>
		<dc:creator>SJS</dc:creator>
		<pubDate>Thu, 12 Aug 2010 22:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/wordpress/?p=8#comment-1030</guid>
		<description>Dan,

Great article!

I followed your steps pretty closely trying to update the e1000e NIC driver in the modules.cgz file (there was one there but obsolete) and added my NIC card device ID to modules.alias and pci.ids (the e1000e does not depend of other module similarly to e1000).

I got the driver from the same box after I installed fedora 8 on it manually, build the driver, installed it, and tested.

When I try to boot of the network with the new initrd.img, it fails to insert the e1000e module with following message:
...
warning: failed to insert module (8)
Error : failed to insert /tmp/e1000e.ko
...

Would you know what it means and what possibly could be wrong or how to get more meaningful error indication?

Thanks</description>
		<content:encoded><![CDATA[<p>Dan,</p>
<p>Great article!</p>
<p>I followed your steps pretty closely trying to update the e1000e NIC driver in the modules.cgz file (there was one there but obsolete) and added my NIC card device ID to modules.alias and pci.ids (the e1000e does not depend of other module similarly to e1000).</p>
<p>I got the driver from the same box after I installed fedora 8 on it manually, build the driver, installed it, and tested.</p>
<p>When I try to boot of the network with the new initrd.img, it fails to insert the e1000e module with following message:<br />
&#8230;<br />
warning: failed to insert module (8)<br />
Error : failed to insert /tmp/e1000e.ko<br />
&#8230;</p>
<p>Would you know what it means and what possibly could be wrong or how to get more meaningful error indication?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on setting the from address in GNU mail by dan</title>
		<link>http://www.dark.ca/2009/07/03/setting-the-from-address-in-mail/comment-page-1/#comment-878</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Mon, 19 Jul 2010 13:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/?p=99#comment-878</guid>
		<description>Glad that you found the article useful !</description>
		<content:encoded><![CDATA[<p>Glad that you found the article useful !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on initrd, modules, and tools by OR</title>
		<link>http://www.dark.ca/2009/06/10/initrd-modules-and-tools/comment-page-1/#comment-851</link>
		<dc:creator>OR</dc:creator>
		<pubDate>Wed, 14 Jul 2010 22:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/wordpress/?p=8#comment-851</guid>
		<description>awesome article, well thought   -since initrd methods change frequently, I never really understood initrd or how to manipulate it

Thanks!</description>
		<content:encoded><![CDATA[<p>awesome article, well thought   -since initrd methods change frequently, I never really understood initrd or how to manipulate it</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on setting the from address in GNU mail by clayzer</title>
		<link>http://www.dark.ca/2009/07/03/setting-the-from-address-in-mail/comment-page-1/#comment-809</link>
		<dc:creator>clayzer</dc:creator>
		<pubDate>Tue, 06 Jul 2010 21:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/?p=99#comment-809</guid>
		<description>Whoops! angle brackets got removed...

&lt;blockquote cite=&quot;#commentbody-808&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-808&quot; rel=&quot;nofollow&quot;&gt;clayzer&lt;/a&gt; :&lt;/strong&gt;
          Excellent leads for me. Thank you both!
Turned out to get the from header (I use postfix) I needed to type:
mail -s “testing” to@example.com ~h
FROM: from@example.com ^D
CC: ^D
         &lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Whoops! angle brackets got removed&#8230;</p>
<blockquote cite="#commentbody-808"><p>
<strong><a href="#comment-808" rel="nofollow">clayzer</a> :</strong><br />
          Excellent leads for me. Thank you both!<br />
Turned out to get the from header (I use postfix) I needed to type:<br />
mail -s “testing” <a href="mailto:to@example.com">to@example.com</a> ~h<br />
FROM: <a href="mailto:from@example.com">from@example.com</a> ^D<br />
CC: ^D
         </p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on setting the from address in GNU mail by clayzer</title>
		<link>http://www.dark.ca/2009/07/03/setting-the-from-address-in-mail/comment-page-1/#comment-808</link>
		<dc:creator>clayzer</dc:creator>
		<pubDate>Tue, 06 Jul 2010 21:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/?p=99#comment-808</guid>
		<description>Excellent leads for me. Thank you both!

Turned out to get the from header (I use postfix) I needed to type:
mail -s &quot;testing&quot;  ~h
FROM:  ^D
CC: ^D</description>
		<content:encoded><![CDATA[<p>Excellent leads for me. Thank you both!</p>
<p>Turned out to get the from header (I use postfix) I needed to type:<br />
mail -s &#8220;testing&#8221;  ~h<br />
FROM:  ^D<br />
CC: ^D</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on load balancing, or, « how i learned to love a piranha » by Shona Balaban</title>
		<link>http://www.dark.ca/2009/10/21/load-balancing-or-how-i-learned-to-love-a-piranha/comment-page-1/#comment-797</link>
		<dc:creator>Shona Balaban</dc:creator>
		<pubDate>Sun, 04 Jul 2010 17:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.dark.ca/?p=131#comment-797</guid>
		<description>Incredible! is actually awesome discussing. Thank you significantly!</description>
		<content:encoded><![CDATA[<p>Incredible! is actually awesome discussing. Thank you significantly!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
