This post relates to the procedure of replacing the ko file in the SUSE OS. Let's find below the procedure:
1. Upload the ko file to the host.
2. Generally, the upload directory is /lib/module/xxxx/kernel/scsi.
3. Modify the attributes of the ko to ensure that the attributes are the same as those of other ko.
Load the ko file and check whether the file is successfully loaded.
After the insmod /lib/module/xxxx/kernel/scsi/yyy.ko command has been executed successfully, run the lsmod command to check whether the ko is loaded.
Note:
For the ko that has dependency relationships, you can use modprobe to load ko.
4. Recompile the kernel. Run the mkinitrd command on the host.
5. Restart the host system.
