hello,friends I am trying to configure FCoE initiator and SW target. I am following steps mentioned on following link: for initiator: http://www.open-fcoe.org/openfc/wiki/index.php/FCoE_Initiator_Quickstart for SW target: http://www.open-fcoe.org/openfc/wiki/index.php/FCoE_SW_Target_Quickstart I have successfully configured the initiator,but have some problems in configuring the SW target. My configuration is as follows: centOS 5 final Linux bogon 2.6.35.4 kernel In the guide's part of 'initial setup', i followed the steps mentioned but without geting the HBAAPI and buliding 2.6.23 kernel. Because i remember that i have installed hbaapi_src_2.2.tgz in the initiator's configuration and my kernel is a higher 2.6.35 release. Problems comes about when i types "make install" in building scst in the part of 'further setup'. It has three warnings there:
Building modules, stage 2. MODPOST 10 modules WARNING: "sg_copy" [/root/scst/trunk/scst/src/scst.ko] undefined! WARNING: "blk_rq_unmap_kern_sg" [/root/scst/trunk/scst/src/scst.ko] undefined! WARNING: "blk_rq_map_kern_sg" [/root/scst/trunk/scst/src/scst.ko] undefined! make[2]: Leaving directory `/usr/src/linux-2.6.35.4' rm -f /lib/modules/2.6.35.4/extra/scsi_tgt.ko install -d /lib/modules/2.6.35.4/extra install -d /lib/modules/2.6.35.4/extra/dev_handlers install -m 644 dev_handlers/*.ko /lib/modules/2.6.35.4/extra/dev_handlers install -m 644 scst.ko /lib/modules/2.6.35.4/extra install -d /usr/local/include/scst install -m 644 ../include/scst.h /usr/local/include/scst install -m 644 ../include/scst_sgv.h /usr/local/include/scst install -m 644 ../include/scst_debug.h /usr/local/include/scst install -m 644 ../include/scst_user.h /usr/local/include/scst install -m 644 ../include/scst_const.h /usr/local/include/scst rm -f /usr/local/include/scst/Modules.symvers install -m 644 Module.symvers /usr/local/include/scst /sbin/depmod -a 2.6.35.4 mkdir -p /var/lib/scst/pr **************************************************************** *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* *!! !!* *!! Now don't forget to rebuild and reinstall all your !!* *!! target drivers, custom dev handlers and necessary user !!* *!! space applications. Otherwise, because of the versions !!* *!! mismatch, you could have many problems and crashes. !!* *!! See IMPORTANT note in the "Installation" section of !!* *!! SCST's README file for more info. !!* *!! !!* *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* **************************************************************** make[1]: Leaving directory `/root/scst/trunk/scst/src' Maybe I can skip the 3 warnings, so i get to the building of open-fcoe-target. There are also problems there when i type "make SCST=<path-to-scst /trunk/scst install_tgt": [ ! -f openfc.ko ] || make clean #clean since initiator modules exist make -C /lib/modules/2.6.35.4/build M=/root/open-fcoe-target SCST=/root /scst/trunk/scst CONFIG_TGT:=m make[1]: Entering directory `/usr/src/linux-2.6.35.4' CC [M] /root/open-fcoe-target/fcoe/fcoe_dev.o /root/open-fcoe-target/fcoe/fcoe_dev.c: In function ‘fcoe_xmit’: /root/open-fcoe-target/fcoe/fcoe_dev.c:287: error: ‘struct scatterlist’ has no member named ‘page’ /root/open-fcoe-target/fcoe/fcoe_dev.c:294: error: ‘struct scatterlist’ has no member named ‘page’ make[2]: *** [/root/open-fcoe-target/fcoe/fcoe_dev.o] Error 1 make[1]: *** [_module_/root/open-fcoe-target] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.35.4' make: *** [tgt] Error 2 There are so many problems. Your answers will be very helpful to me. Thanks very much in advance. _______________________________________________ devel mailing list [email protected] http://www.open-fcoe.org/mailman/listinfo/devel
