📄 readme.k26
字号:
This is a short document about how to run UNH iSCSI code under Linux 2.6.0-testx. We currently tested the code under 2.6.0-test5, test9, and test11.Q: How to compile and run under 2.6 kernel?A:1) Generate user layer application such as iscsi_manage pushd cmd make popd2) copy Makefile-26 as the default Makefile. You can not simply use'make -f Makefile-26'. You have to do mv Makefile-26 Makefile3) make, you might get some warnings. Ignore them.4) cd cmd. run ini-install-26/target-install-26 for initiator or target.Use chmod to make them executable.5) run other scripts to get connected.Q: How to get DISKIO mode workable?A:1) modify target/scsi_target.h to choose DISKIO mode;2) modify your kernel source /drivers/scsi/scsi_sysfs.c to add the line "EXPORT_SYMBOL(scsi_bus_type);" after its declaration. Recompile and load the new kernel.3) Compile and run the UNH target.Q: After compiling the module for the 2.6 kernel, "ls -a" finds some ".xx.cmd"files. How to clean these up?A: rm $(find ./ -iname ".*")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -