OpenVZ Forum - RDF feed
type: channel
items: Compiling iscsitarget modules on 2.6.32-budarin
items: Re: Compiling iscsitarget modules on 2.6.32-budarin

Compiling iscsitarget modules on 2.6.32-budarin
type: item
description: Hi! I spend all day trying to compile the last dev svn iscsitarget module for the last openvz dev kernel, but I can't be able to do that cd /usr/src/modules/ svn co https://iscsitarget.svn.sourceforge.net/svnroot/iscsitarget iscsitarget cd iscsitarget/trunk/ make .... make[1]: Leaving directory `/usr/src/modules/iscsitarget/trunk/usr' make -C /lib/modules/2.6.32-budarin.1/build SUBDIRS=/usr/src/modules/iscsitarget/trunk/kernel modules make[1]: Entering directory `/lib/modules/2.6.32-budarin.1/build' CC [M] /usr/src/modules/iscsitarget/trunk/kernel/tio.o In file included from include/linux/blkdev.h:6, from /usr/src/modules/iscsitarget/trunk/kernel/iscsi.h:11, from /usr/src/modules/iscsitarget/trunk/kernel/tio.c:7: include/linux/sched.h:50:36: error: asm/param.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:52, from include/linux/blkdev.h:6, from /usr/src/modules/iscsitarget/trunk/kernel/iscsi.h:11, from /usr/src/modules/iscsitarget/trunk/kernel/tio.c:7: include/linux/types.h:4:23: error: asm/types.h: No such file or directory In file included from include/linux/types.h:14, from include/linux/capability.h:16, from include/linux/sched.h:52, from include/linux/blkdev.h:6, from /usr/src/modules/iscsitarget/trunk/kernel/iscsi.h:11, from /usr/src/modules/iscsitarget/trunk/kernel/tio.c:7: ... any idea about why those files are not there? (in asm/) Thanks!! marc
creator: glic3rinu
date: 2010-07-16T13:53:26-00:00

Re: Compiling iscsitarget modules on 2.6.32-budarin
type: item
description: I finally had success compiling the iscsi-target kernel module, building the kernel myself from sources, following the openvz indications. unfortunately when I start the iscsi-target daemon I get a fatal error related with loading crc32c_intel module (modprobe -q crc32c). t1000:/# /etc/init.d/iscsi-target start Starting iSCSI Target: ietdFATAL: Error inserting crc32c_intel (/lib/modules/2.6.32.15/kernel/arch/x86/crypto/crc32c-intel. ko): No such device t1000:/# modprobe -q crc32c FATAL: Error inserting crc32c_intel (/lib/modules/2.6.32.15/kernel/arch/x86/crypto/crc32c-intel. ko): No such device t1000:/# file /lib/modules/2.6.32.15/kernel/arch/x86/crypto/crc32c-intel.k o /lib/modules/2.6.32.15/kernel/arch/x86/crypto/crc32c-intel.k o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped with my Ubuntu (kernel 2.6.32) I can load the module without problems. Is this an openvz bug?
creator: glic3rinu
date: 2010-07-18T17:45:03-00:00

Re: Compiling iscsitarget modules on 2.6.32-budarin
type: item
description: with the debian version of the openvz kernel 2.6.32-5-openvz-amd64 the module crc32c load correctly. Why this doesn't work with my self compiled kernel?
creator: glic3rinu
date: 2010-07-18T17:49:43-00:00

Re: Compiling iscsitarget modules on 2.6.32-budarin
type: item
description: I am having the same problem compiling the latest SVN. Turns out the /lib/modules/2.6.32-budarin.1/build/include/asm directory has only 1 file in it!!!! Where are all the asm files??? -Nathan
creator: sipvoip
date: 2010-08-22T23:06:21-00:00