The 'rc' script is supposed to check for a loaded kernel module and not attempt to re-load it..
FATAL: Error inserting mhvtl (/lib/modules/2.6.18-128.el5/kernel/drivers/scsi/mhvtl.ko): Bad address
The .el5 indicates a RedHat 5.<something> box..
Care to elaborate on how to reproduce the error ?
The error message you pasted is coming from the rc script..
I'd like to fix any startup script to be smarter.
If I get a chance, I'll run up a RH5 box and see if I can reproduce..
Setting up iSCSI
- "lsscsi -g" and identify your '/dev/sgXX' to export via iSCSI
- Compile & install SCSI Target Framework (http://stgt.sourceforge.net/) - Don't use the OS supplied one, it will be way out of date..
- Create / edit /etc/tgt/targets.conf to look something like below..
(you can create one target and add all LUNs to that or multiple targets with one LUN each - or a combo of both.)
In my test environment,I update the kernel and then after reboot,I successfully installed scst,but when I install mhvtl,in the kernel directory,I execute make distclean,make && make install,but unfortunately,I got the error message:
FATAL:Error inserting mhvtl (/lib/modules/2.6.32/kernel/drivers/scsi/mhvtl.ko):Bad address.
so,what's your sollution to solve this.can you tell me the may to fix it?thank you.