- Subject: New portal feature breaks systems without IPv6 in kernel
- From: Novgorodov Igor <igor@xxxxxxxx>
- Date: Tue, 10 May 2011 16:34:19 +0400
- Organization: Novg
- Reply-to: igor@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
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
[Linux SCSI]
[Linux RAID]
[Linux Clusters]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[XFree86]
[Video Devices]