Philippe wrote:
> NO news ????
> Nobody can try to help me ..... ?
>
I am not sure. It looks like it is failing when iscsiadm wants to get
the initiator name from iscsid. We had another bug like that the other
week. It was solved by the user just doing a clean build
make clean
make
Could you also try this patch for iscsiadm. It is built over
open-iscsi-2.0-870.3. It will not fix the problem. It will just verify
where it is failing and print out some more info.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---
--- open-iscsi-2.0-870.3/usr/discovery.c 2009-02-22 15:32:46.000000000 -0600
+++ open-iscsi-2.0-870.3.work/usr/discovery.c 2009-05-08 11:17:59.000000000 -0500
@@ -521,16 +521,22 @@ static int request_initiator_name(void)
memset(&req, 0, sizeof(req));
req.command = MGMT_IPC_CONFIG_INAME;
+log_error("requesting iname from iscsid\n");
rc = do_iscsid(&req, &rsp);
- if (rc)
+ if (rc) {
+ log_error("failed %d\n", rc);
return EIO;
+ }
if (rsp.u.config.var[0] != '\0')
strcpy(initiator_name, rsp.u.config.var);
+log_error("got iname %s\n", initiator_name);
+
memset(&req, 0, sizeof(req));
req.command = MGMT_IPC_CONFIG_IALIAS;
+log_error("get alias\n");
rc = do_iscsid(&req, &rsp);
if (rc)
/* alias is optional so return ok */