Hi DongInn,

Just to clarify things.

I loaded the modules onto my master server which was installed with CentOS 6.3 
media and has the same hardware (the same Broadcom network card, same disks 
etc. ).
All the modules are loaded or load correctly.

The node (that I try to install):


1.      It boots PXE correctly

2.      It retrieves and loads the boel kernel (bzimage)

3.      When trying to load the initrd.img it fails not anymore at loading the 
NIC module (bnx2) but

when trying to mount /dev/ram (as specified into the default file retrieved 
from the pxe server)

NOTE: It stops before doing DHCPDISCOVER and so before retrieving oscarimge 
through rsync


>From the messages I see at the console, the new bnx2 module seems to be found 
>and loaded
correctly as I succeeded to include the right driver and .fw files into the 
initrd.image.
The initrd.image was created with something like
dracut /tftpboot/initramfs-` uname -r`.img `uname -r`
with line
add_drivers+=" ...bnx2 tg3 megaraid_sas .."
into /etc/dracut.conf.
I checked afterwards and all the specified modules are inside the initrd.img.

However, when comparing this last image with the previous ones I see that some 
tools
are not included like /sbin/mkfs.cramfs for instance.
I tried to include missing tools with
dracut --include /sbin/mkfs.cramfs ..
or
dracut --install "mkfs.cramfs" ..


NOTE: I tried the different options of dracut tool like for instance to 
generate a initrd.img for the
running kernel onto the master (after I checked that all of my modules were 
loaded). It did rather
generate and incomplete and unusable initrd.img.

I believe the best way would be to find the command that has been used when 
creating
the UYOK kernel and initrd.img.


Kind Regards,
Costel



From: DongInn Kim [mailto:di...@cs.indiana.edu]
Sent: Friday, March 08, 2013 2:32 PM
To: oscar-users@lists.sourceforge.net
Subject: Re: [Oscar-users] Replace bnx2.ko module into initrd.img

Costel,


What I would like to achieve is to have a single oscarimage and a single BOEL 
kernel and initrd.img files that contains all the modules needed by my 3
types of hardware.
Do you believe this would be possible?
Well, this should be possible. That's why we use OSCAR. OSCAR is supposed to be 
able to host heterogenous cluster.


Do you have experience in replacing the NIC (bnx2.ko) module with an updated 
one?
I have setup an OSCAR cluster with bnx2x network driver and its firmware on 
ubuntu box


Can I force the creation of kernel and initrd.img files to include (really) all 
the available drivers into my oscarimage?
It is not really recommended but I think it is OK to update oscarimage directly 
as long as you know exactly what you are doing.

BTW, I would like to clarify your problem.

Can your second machine (e.g., 2nd M) do pxeboot properly?
   - Can 2nd M load up the bnx2 module and get the network connection?
   - Did it get the oscarimge through rsync or whatever you choose?

How did you get the bnx2 module and its firmware?

Have you tried to load up bnx2 module on your head node and does it work?

Regards,

--
- DongInn

On Mar 8, 2013, at 7:52 AM, Costel Seitan 
<csei...@slb.com<mailto:csei...@slb.com>> wrote:


Hi DongInn,

In fact I only have 1 oscarimage and what I did till now was to modify the 
modules already available into the initrd.img
but not loaded during the boot phase. So I modified initrd.img generated by 
systemimager with UYOK selected.
This worked with the first node.

This is what I tried to do with the second node (but different hardware), using 
the same kernel but with a modified initrd.file file.
The problem is that the bnx2.ko into the initrd.img is not the right one and it 
does not contains all the requested .fw files.
I copied the module & .fw files present onto the master node but I got the 
errors about the signature key.

What I would like to achieve is to have a single oscarimage and a single BOEL 
kernel and initrd.img files that contains all the modules needed by my 3
types of hardware.
Do you believe this would be possible?
Do you have experience in replacing the NIC (bnx2.ko) module with an updated 
one?
Can I force the creation of kernel and initrd.img files to include (really) all 
the available drivers into my oscarimage?

I know there are a lot of questions for one posted message. :-)


Kind Regards,
Costel SEITAN



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net<mailto:Oscar-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-users

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to