sl9164bit seems to always configure sata_sil
Hi all: I am testing a aarsi3x raid driver for RAID adapter based on SIL 3512/3112 product. My aarsi3x.ko -default works for the installation kernel and my aarsi3x.ko -smp works fine for the 2.6.4-52-smp kernel, tested. Because of the nature that my aarsi3x is using the same hardware with sata_sil, I need to rmmod sata_sil in order for my aarsi3x to init. 1) So my problem rises whenever theninstallation procedure configs the smp kernel for the next boot, it always configs sata_sil before my aarsi3x, which makes my aarsi3x not runable, and I tried to remove that sata_sil entry in the update.post from /etc/sysconfig/kernel -- INITRD_MODULES= line but still won't work, the sed -e is doing the job when I tried it outside so I put it in, but the yast script or whatever seems to config sata_sil after my update.post has been executed, so the next reboot sata_sil is still running before my aarsi3x driver. 2) The other thing I have tried is /etc/install.inf, I remove the sata_sil entry with update.pre and sata_sil is still running before my driver. 3) I even tried rmmod sata_sil in the update.post, think maybe the kernel setting up script uses lsmod to determine what needs to be configed in, it is not the case, neither. Is there any way to : 1) remove sata_sil from initrd, or 2) put it runs after my aarsi3x.ko Help is much appreciated. Richard
Is there any way to : 1) remove sata_sil from initrd, or
Remove it from INITRD_MODULES and run mkinitrd. You can add your own module instead. But hotplug will load it again later. To prevent that you can either add it to the hotplug blacklists (probably no good idea because it will prevent your driver from being loaded automatically too) or remove sata_sil from /lib/modules/<version>/modules.pcimap However when you load your module from initrd loading sata_sil later should just fail. -Andi
participants (2)
-
Andi Kleen
-
Lee, Richard