[CentOS] [OT] 3Ware 9.2.1.1 firmware for 9000 series released ...

Fri Sep 9 18:59:19 UTC 2005
Remco Barendse <redhat at barendse.to>

On Fri, 9 Sep 2005, Bryan J. Smith wrote:

> Joshua Baker-LePain <jlb17 at duke.edu> wrote:
>> Yes.  You just need to put the driver in the /lib/modules
>> directory of the right kernel (in place of the old driver),
>> and then make a new initrd for the kernel you're running.
>
> Anal Note:
>  Don't forget to run "depmod -a" between the two steps.

OK, so the full sequence would be :

cd /lib/modules/2.6.9-11.ELsmp/kernel/drivers/scsi/
mv 3w-9xxx.ko 3w-9xxx.dist
cp ~/src/driver-9.2.1.1/3w-9xxx.ko 3w-9xxx.9.2.1.1
cp 3w-9xxx.9.2.1.1 3w-9xxx.ko
cd /boot/
depmod -a
rm initrd-2.6.9-11.ELsmp.img
mkinitrd initrd-2.6.9-11.ELsmp.img 2.6.9-11.ELsmp


(what on earth does depmod do, depmod --help prints a lot of nice stuff 
but does't make any sense to me). Is it just to check all required modules 
are there or is that the util used to specify which modules to (not) load.

How can I see which modules are currently in initrd?