Operating System - Linux
1753321 Members
6160 Online
108792 Solutions
New Discussion юеВ

Re: How to patch new module into initrd image

 
Raghu Chikkamenahalli
Frequent Advisor

How to patch new module into initrd image

Hello All,

Trying to install sles9-sp3 on DL380G6 using autoYast method. Successful with Sles10, but not able to proceed with sle9sp3. In the console 3( during the installation ) it is not loading the bnx2.ko ( broadcom driver ) module, when I tried to load the module using the tui ( terminal user interface )it is not listing the module itslef. Could please guide me how to load the module automatically. And also if possible can you share a writeup about how to patch the initrd image with the new modules if any.

many Thanks,
Regards,
Raghu
2 REPLIES 2
Steven1970
Occasional Advisor

Re: How to patch new module into initrd image

Does your /etc/modprobe.conf on the sles9 install have an alias for the ethernet interface to the bnx driver? e.g. on some of my systems we use the e1000 driver and so the modprobe.conf has the line:
alias eth0 e1000

For patching the initrd image
- first make sure the current system has all the drivers you want loaded and modprobe.conf is up to date
- Next copy your current initrd to a backup
- then run the command:
mkinitrd /boot/initrd-`uname -r` `uname -r`

It's been a little while since I have had to rebuild the initrd so I may have some of the details wrong...I'm sure some of the folks here will correct me if I am wrong.

Cheers
Steven1970
Occasional Advisor

Re: How to patch new module into initrd image

Oops, got the mkinitrd line wrong, it should be:
mkinitrd /boot/initrd-`uname-r`.img `uname -r`

Watch the spaces in the command