Ross Walker wrote: > On Oct 16, 2009, at 2:42 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote: > > >> Does anyone have any recommendations for the best way to bring up a >> iSCSI Target on a C5.3+ server ? Various blogs suggest compiling IET >> from source, but thats not real appealing to me (not that I can't do >> it, >> I just don't want to have to support it long term). I looked in >> rpmforge but didn't see anything. >> > > If you do compile it yourself start with the 1.4.18 release and use > the .spec that comes with it to rpmbuild either a kabi tracking module > or a dkms module so the maintenance is minimal. > i haven't gotten desperate enough to try a tarball build yet, rather, I've been trying to rpmbuild from various -supposed to work with rhel5/centos5- .src.rpm's... rotten karma so far. can't use ATRPM's prebuilt RPMs, they want vmlinuz-2.6.18-164.2.1.el5 and I have 2.6.18-164.el5 which afaik is the latest centos5.3+ kernel I've tried variations on http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=RedHat_install_advice using about every .src.rpm there and they all get various build errors, typically culminating in... .../BUILD/iscsitarget-0.4.12/kernel/iscsi_dbg.h:39:5: warning: "D_IOV" is not defined .../BUILD/iscsitarget-0.4.12/kernel/iscsi_dbg.h:51:5: warning: "D_DUMP_PDU" is not defined .../BUILD/iscsitarget-0.4.12/kernel/event.c: In function 'event_init': .../BUILD/iscsitarget-0.4.12/kernel/event.c:102: warning: passing argument 2 of 'netlink_kernel_create' makes integer from pointer without a cast .../BUILD/iscsitarget-0.4.12/kernel/event.c:102: error: too few arguments to function 'netlink_kernel_create' I've tried all three of these .src.rpm's from http://www.cryptoforge.net/iscsi/RPMS/ anyways... iscsitarget-0.4.12-6.src.rpm iscsitarget-0.4.13-0.1264.2.src.rpm iscsitarget-0.4.13-0.1266.1.src.rpm afaik, I have all the required -devel packages installed. this is a virgin install of 5.3 x86_64 w/ yum -y update as of now..... OH WAIT. now why didn' someone tell me about this earlier? http://bitbud.com/2009/05/27/installing-the-iscsi-target-framework-tgt/ its a NATIVE FEATURE, not IET, rather, the new kernel iscsi is in 5.3 well, THAT was Easy! _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos