On Thu, 09 Aug 2012 07:46:26 -0700, ML mail wrote: > I have a new LSI MegaRAID card which is not recognized by the Debian 6.0 > squeeze installer so I thought I would modify the initrd.gz installation > image which gets loaded at PXE boot in order to include my self-compiled > latest version of that module (megaraid_sas.ko).
So you finally managed to compile the driver for Debian, congrats! :-) > I unpacked then the initrd.gz using cpio and looked at its > /modules/2.6.32-5-amd64/kernel/drivers/scsi to notice that it's all > empty. I conclude here that the SCSI card drivers are not located in the > initrd.gz image. > > Do you know where and how I can get my version of megaraid_sas.ko module > driver loaded at installation time instead of the default one? A dirty trick can be placing/copying the kernel module under "/lib/ modules/$(uname -r)/kernel/drivers/scsi" from the installer itself. You will need to put file into a USB stick and jump to a console to manually mount the USB disk ("mount /dev/sdb1" /mnt) and then issue a simple "cp /dev/sdb1/megaraid_sas.ko /lib/modules/$(uname -r)/kernel/ drivers/scsi/" (note that YMMV with names and paths, do not copy/paste "as is"). After that I supoose you will have to "modprobe megaraid_sas" so the module becomes available from the partitioner. P.S. Remember that the kernel module you have self-compiled has to match with the kernel version you are going to use, otherwise it will fail to load ;-( Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k00lq5$t9u$1...@dough.gmane.org