On May 5, 6:05 pm, aspasia <[EMAIL PROTECTED]> wrote:
> Hello again,
>
> Also trying to configure iscsi root on a Gentoo build server;  I
> followed instructions to configure the initiator:
>
> http://gentoo-wiki.com/HOWTO_iscsi
>
> But as I attempt to emerge, I encountered an installation error:
> .........
>  * Preparing iscsi_tcp module
> make: *** No rule to make target `linux_2_6_24', needed by
> `kernel_check'.  Stop.
>  *
>  * ERROR: sys-block/open-iscsi-2.0.865.12 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 3462:  Called linux-mod_src_compile
>  *             environment, line 2638:  Called die
> ....
>
> Upon googling I stumbled across this bug:
>
> http://bugs.gentoo.org/show_bug.cgi?id=197136
>
> My question:  Is there a workaround to this - and if so, is there some
> instructions that documents how to workaround this bug?  I'd like to
> configure my gentoo host as an initiator.

The work around that I have been using is to compile open-iscsi from
the source tarball and then copy the iscsid init file from portage ( /
usr/portage/sys-block/openiscsi/files/iscsid-init.d to /etc/init.d/
iscsid) and edit it to correct the paths a bit:

#7c7
#< CONFIG_FILE=/etc/iscsid.conf
#---
#> CONFIG_FILE=/etc/iscsi/iscsid.conf
#11,12c11,12
#< INITIATORNAME=/etc/initiatorname.iscsi
#< DAEMON=/usr/sbin/iscsid
#---
#> INITIATORNAME=/etc/iscsi/initiatorname.iscsi
#> DAEMON=/sbin/iscsid

> thanks in advance,
>
> A.

Let me know how and if this works out for you,

Shaun
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to