Hi Christian,
     Thanks for the suggestions. Can you be more specific? The following 
is the current text. Can you let us know where to add "objcopy -R 
.note.module.sig module.ko new_module.ko"?  Is .note.module.sig a keyword 
or a file name?  If it is a file name, does it come with the driver rpm? 
Is new_module.ko a new name for the mudule? 


Adding Drivers to the Genesis Boot Kernel
The xCAT genesis boot kernel/initrd has most of the necessary IBM drivers 
built into it. If you need to add a driver for another type of hardware, 
you can put the driver on the xCAT MN and rebuild genesis with using the 
mknb command. Here is an example of adding the Adaptec AACRAID driver to 
genesis:
Download the tar file and extract the rpm:
tar -zxvf aacraid_linux_rpms_v1.2.1-40300.tgz

Extract aacraid_prebuilt.tgz from the rpm:
rpm2cpio aacraid-1.2.1-40300.rpm | cpio -id '*aacraid_prebuilt.tgz'

List the contents of that tar file and extract the file that matches your 
arch, distro, and kernel version:
tar -ztvf aacraid_prebuilt.tgz
tar -zxvf aacraid_prebuilt.tgz aacraid-2.6.32-358.el6.x86_64-x86_64

Use modinfo to verify it is a kernel module and rename it:
modinfo aacraid-2.6.32-358.el6.x86_64-x86_64
mv aacraid-2.6.32-358.el6.x86_64-x86_64 aacraid.ko
Make the appropriate sub-directory in the genesis file system and move the 
kernel module there:
mkdir -p /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/lib/modules
/2.6.32-431.el6.x86_64/kernel/drivers/scsi/aacraid
mv aacraid.ko /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/lib/modules
/2.6.32-431.el6.x86_64/kernel/drivers/scsi/aacraid

Rebuild the module dependency file in the genesis file system:
depmod -b /opt/xcat/share/xcat/netboot/genesis/x86_64/fs  2.6.32-431.
el6.x86_64

Rebuild genesis:
mknb x86_64

Genesis is now ready to use for discovery. To use the new genesis for 
firmware updates or running other utilities on nodes, run nodeset for the 
nodes again.

Thanks,

Ling

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:   Christian Caruthers <[email protected]>
To:     "xCAT Users Mailing list ([email protected])" 
<[email protected]>
Date:   04/17/2015 11:36 AM
Subject:        [xcat-user] Wiki Edit



Adding a module to the genesis kernel, as outlined here:
 
https://sourceforge.net/p/xcat/wiki/XCAT_iDataPlex_Advanced_Setup/#adding-drivers-to-the-genesis-boot-kernel
 
Can result in the following error:
 
"module signed with unknown key"
 
Could a note be added to the wiki to use "objcopy -R .note.module.sig 
module.ko new_module.ko" as a means to bypass this error?
 
Regards,
Christian Caruthers
Senior Consultant - System x Linux HPC
Mobile: 757-289-9872
 
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live 
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- 
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to