<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>NOVELL FORUMS - SLES: Hardware</title>
		<link>http://forums.novell.com/</link>
		<description />
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 12:39:52 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.novell.com/images/ca_serenity/misc/rss.jpg</url>
			<title>NOVELL FORUMS - SLES: Hardware</title>
			<link>http://forums.novell.com/</link>
		</image>
		<item>
			<title>Build Nex bnx2x driver to use in SLES 10 SP2 initrd for PXE</title>
			<link>http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise-server-sles/sles-hardware/393331-build-nex-bnx2x-driver-use-sles-10-sp2-initrd-pxe.html</link>
			<pubDate>Thu, 19 Nov 2009 20:56:35 GMT</pubDate>
			<description>First I built a SLES 10 SP2 64 bit system with everything installed. 
I used the new system to build a new bnx2x driver with driver source package. 
...</description>
			<content:encoded><![CDATA[<div>First I built a SLES 10 SP2 64 bit system with everything installed.<br />
I used the new system to build a new bnx2x driver with driver source package.<br />
<br />
Server with SLES 10 SP2 64 bit installed<br />
# rpm -ivh netxtreme2-5.0.24-1.src.rpm<br />
# cd /usr/src/packages/SPECS<br />
# rpmbuild -bb netxtreme2.spce<br />
# cd /usr/src/packages/BUILD/netxtreme2-5.0.24/bnx2x/src/<br />
<br />
copied bnx2x.ko to PXE server to build the initrd<br />
<br />
# mkdir /tmp/initrd<br />
# cd /tmp/initrd<br />
<br />
copied bnx2x.ko into /tmp/initrd<br />
<br />
# cp /tftpboot/SLES-10-SP2-64/boot/x86_64/loader/initrd .<br />
# mkdir /tmp/initrd/wd<br />
# cp initrd wd/initrd.gz<br />
# cd wd<br />
# gzip -d inittrd.gz<br />
# cpio -ivdum initrd<br />
# rm initrd<br />
# cp /tmp/initrd/bnx2x.ko modules/.<br />
<br />
Added in bnx2x vendor ID information into modules.alias and modules.pcimap<br />
<br />
# find . | cpio -o -H newc &gt; ../initrd.cpio<br />
# cd ..<br />
# gzip --best initrd.cpio<br />
# cp initrd.cpio.gz /tftpboot/SLES-10-SP2-64/boot/x86_64/loader/initrd<br />
<br />
When I now PXE to try an install, the PXE client fails, on screen &lt;alt&gt; &lt;f3&gt; the error states &quot;insmod: error inserting '/modules/bnx2x.ko': -1 Invalid module format&quot;.  On screen &lt;alt&gt; &lt;f4&gt; it states &quot;bnx2x: disagrees about verson of symbol struct_module&quot;.  When I try to manually load the bnx2x, I get an error saying that ir failed to load module &quot;bnx2x&quot;.<br />
<br />
When I run this:<br />
# file bnx2x.ko<br />
# bnx2x.ko:  ELF 64-bit LSB relocatable, AMD x86_64, version 1 (SSYV), not stripped</div>

]]></content:encoded>
			<category domain="http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise-server-sles/sles-hardware/">SLES: Hardware</category>
			<dc:creator>spanky_partain</dc:creator>
			<guid isPermaLink="true">http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise-server-sles/sles-hardware/393331-build-nex-bnx2x-driver-use-sles-10-sp2-initrd-pxe.html</guid>
		</item>
	</channel>
</rss>
