I have a gentoo server working as a target, and latest 1.0.16 / GIT tgtd
gives me "No available low level driver",
while 1.0.15 works fine. After some tracing i've found out that by
default it creates "0::0" ipv6 portal along with
default 0.0.0.0, and when it fails to bind to v6 socket, it dies.
So, for now i've just removed the v6 wildcard portal, but we should have
some checks that the current kernel
actually was built with ipv6 before attempting to try it...
# diff -c iscsi_tcp.c.orig iscsi_tcp.c
*** iscsi_tcp.c.orig Tue May 10 16:21:39 2011
--- iscsi_tcp.c Tue May 10 16:21:43 2011
***************
*** 306,312 ****
for ipv4 and ipv6
*/
if (list_empty(&iscsi_portals_list)) {
! iscsi_add_portal("0::0", 0, 1, 0);
iscsi_add_portal("0.0.0.0", 0, 1, 0);
}
--- 306,312 ----
for ipv4 and ipv6
*/
if (list_empty(&iscsi_portals_list)) {
! // iscsi_add_portal("0::0", 0, 1, 0);
iscsi_add_portal("0.0.0.0", 0, 1, 0);
}
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html