My first question would be, what is the structure in creating the open-
iscsi modules and files? I can imagine that creating the open iscsi module
and files first and then compiling the kernel would be the right order but I
do not know for sure. There is unfortunately no detailed instruction to
create open-iscsi properly so I hope someone can help. The included README
does not provide enough info about it either. THe problem is I don't seem to
be able to add the open-iscsi modules properly in the kernel. When I create
the kernel first and then compile the open-iscsi it looks like it is going
to work. I see it creates all the files well, like the binary files like
iscsid and iscsiadm are in the bin directories. So this is ok. But when I
look further at the directory structure it looks like it did not place the
files in the proper folders. There is a seperate directory structure. This
might be because it is not created in the proper order, but I'm not sure
though.

This is the original directory the iscsi package made
/lib/modules/2.6.16.27/build
/lib/modules/2.6.16.27/kernel
/lib/modules/2.6.16.27/source
and some other files

And the one I created with all the kernel stuff:
/lib/modules/2.6.16.27Promise/build

I tried both kernel 2.6.16.27 which is standard for LFS and kernel version
2.6.19.2. In the end it is the same behavior though.

So my second question is: Where is this information stored about that other
"/lib/modules/2.6.16.27/xxx" directory? Is this a configuration file
somewhere which I could edit? Or maybe I missed something else? So in this
case I tried to create the kernel first and then the openiscsi package but
it does not seem to be the right order because of the directory confusion
(above). Additionally, when I try want to modprobe iscsi_tcp after I create
the kernel first and then compile the open-iscsi package, it says
iscsi_transport_iscsi can not be loaded because it is an invalid module.
Although the iscsi_tcp module looks to load correct. However when I try to
create theopeniscsi modules and files before I recompile the kernel it fails
even sooner. The full log of the open-iscsi make command is below.  So what
would be the proper order to create? Maybe someone knows some other things I
forgot or missed? If you need more detailed information please let me know.
Thanks.


[EMAIL PROTECTED]:/sources# cd open-iscsi*
[EMAIL PROTECTED]:/sources/open-iscsi-2.0-754# make
make -C usr
make[1]: Entering directory `/sources/open-iscsi-2.0-754/usr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/sources/open-iscsi-2.0-754/usr'
make -C kernel
make[1]: Entering directory `/sources/open-iscsi-2.0-754/kernel'
echo "kernel check... OK"
kernel check... OK
cp 2.6.16-2.6.19/*.c .
cp 2.6.16-2.6.19/*.h .
make -C /lib/modules/2.6.19.2/build M=`pwd` KBUILD_OUTPUT=  V=0 modules
make[2]: Entering directory `/lib/modules/2.6.19.2/build'

 ERROR: Kernel configuration is invalid.
        include/linux/autoconf.h or include/config/auto.conf are missing.
        Run 'make oldconfig && make prepare' on kernel src to fix it.

make[2]: *** [include/config/auto.conf] Error 1
make[2]: Leaving directory `/lib/modules/2.6.19.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/sources/open-iscsi-2.0-754/kernel'
make: *** [all] Error 2
[EMAIL PROTECTED]:/sources/open-iscsi-2.0-754#

Joris
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to