[<prev] [next>] [day] [month] [year] [list]
Message-ID: <B48049383861234BA9F90C37DCBC24F92240AFD9@IRSMSX104.ger.corp.intel.com>
Date: Thu, 8 May 2014 10:32:34 +0000
From: "Wisniewski, Krzysztof" <krzysztof.wisniewski@...el.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [how to] modify initrd.img from RHEL6.5_tftpboot to include i40e
module
Resending in plain text, sorry, krzysztof
From: Wisniewski, Krzysztof
Sent: Thursday, May 08, 2014 12:19 PM
To: 'e1000-devel@...ts.sourceforge.net'; 'netdev@...r.kernel.org'
Cc: Kepczynski, Tomasz; Gafka, Aleksander; Morgan, Jack; Lawton, Shanon R; Ronciak, John; Kulkarni, Suyog D; Wallace, Andrew; Ciesielski, Dariusz K
Subject: [how to] modify initrd.img from RHEL6.5_tftpboot to include i40e module
Hi,
Looking for help with RHEL 6.5 initrd.img modification to include i40e module for 40G adapter to perform legacy PXE boot on it.
What I try to acomplish: 40G PXE boot of RHEL 6.5 on 40G NIC with PCI ID x1572.
What I do:
-install RHEL 6.5 with kernel 2.6.32-431.el6.x86_64, retrieve tftpboot initrd.img and make o copy of it in /tmp
-build i40e module and test that it works correctly
-exctract the content of initrd.img in /tmp with xz and cpio ->
mv initrd.img initrd.img.xz
xz -d -F lzma initrd.img.xz
mkdir initrd
cd initrd-new
cpio -ivdum < ../initrd.img
-add i40e module into initrd ->
copy i40e.ko into /tmp/initrd/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/i40e/
gzip i40e.ko
modify files: module-info, modules.alias, modules.dep, modules.networking, modules.pcimap
run: depmod -b initrd -a and verify with: modinfo -b initrd i40e
-build initrd into initrd.img ->
find . -print |cpio -o -H newc | xz -F lzma > ../initrd.img
-copy generated initrd.img into PXE linux server into tftpboot data
-reboot platform, select PXE boot on 40G NIC and RHEL 6.5 tftpboot initrd.img is loaded and fails to find 40G networking interface...
with info as in attached file: module i40e not found.....
I would appreciate any hints or links on how to incorporate i40e module into tftpboot initrd.img in RHEL6 ?
Thanks a lot, regards, krzysztof wisniewski
--------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.
Download attachment "fvl-pxe-linux-tftp-fail-1.jpg" of type "image/jpeg" (58020 bytes)
Powered by blists - more mailing lists