Re: Login retries on Wasabi target

2008-05-15 Thread Albert Pauw

And here is the (very modest) patch for it.

--- usr/iface.c 2008-05-15 22:04:38.0 +0200
+++ usr/iface.c.new 2008-05-15 22:04:46.0 +0200
@@ -23,6 +23,7 @@
 #include errno.h
 #include string.h
 #include unistd.h
+#include limits.h
 #include sys/types.h
 #include sys/stat.h


On May 15, 9:45 pm, Albert Pauw [EMAIL PROTECTED] wrote:
 And I can confirm that it works fine, the git version of open-iscsi
 under FC9.
 I do not get the errors mentioned before.

 So at least no regression.

 Albert

 On May 15, 9:25 pm, Albert Pauw [EMAIL PROTECTED] wrote:

  Been able to compile now under FC9,
  had to include

  #include limits.h

  in usr/iface.c

  Albert

  On May 15, 6:39 pm, Albert Pauw [EMAIL PROTECTED] wrote:

   Hi Mike,

   had to reinstall my laptop. I went for the new FC9, with kernel
   2.6.25.
   When I am using the stock open-iscsi that comes with it, it works fine
   (v 2.0-868), no delays loggin in.

   The git version wouldn't compile under FC9 yet:

   iface.c: In function ‘iface_get_next_id’:
   iface.c:305: error: ‘INT_MAX’ undeclared (first use in this function)
   iface.c:305: error: (Each undeclared identifier is reported only once
   iface.c:305: error: for each function it appears in.)

   Albert

   On May 14, 7:06 pm, Albert Pauw [EMAIL PROTECTED] wrote:

Had to add the following line to kernel/Makefile:

linux_2_6_24: $(unpatch_code)

But still it won't compile:

/usr/src/redhat/BUILD/open-iscsi-2.0-865.15/kernel/
scsi_transport_iscsi.c:1529: error: too few arguments to function
‘netlink_kernel_create’

Any ideas?

Albert

On May 14, 5:55 pm, Mike Christie [EMAIL PROTECTED] wrote:

 Albert Pauw wrote:
  Hi Mike,

  I can't compile 865.15:

  login.o: In function `resolve_address':
  /usr/src/redhat/BUILD/open-iscsi-2.0-865.15/usr/login.c:168: 
  warning:
  Using 'getaddrinfo' in statically linked applications requires at
  runtime the shared libraries from the glibc version used for linking

 That is just a warning. You can ignore since it is just for 
 iscsistart too.

  So I can't try that out. And yes, the firmware was updated as well. 
  So
  it is difficult for me to track it down.
  Did you see any particular in the wireshark log?

 No, but I am still looking at it to try and line up changes with the
 iscsi_tcp changes.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Login retries on Wasabi target

2008-05-14 Thread Albert Pauw

Had to add the following line to kernel/Makefile:


linux_2_6_24: $(unpatch_code)


But still it won't compile:

/usr/src/redhat/BUILD/open-iscsi-2.0-865.15/kernel/
scsi_transport_iscsi.c:1529: error: too few arguments to function
‘netlink_kernel_create’

Any ideas?

Albert

On May 14, 5:55 pm, Mike Christie [EMAIL PROTECTED] wrote:
 Albert Pauw wrote:
  Hi Mike,

  I can't compile 865.15:

  login.o: In function `resolve_address':
  /usr/src/redhat/BUILD/open-iscsi-2.0-865.15/usr/login.c:168: warning:
  Using 'getaddrinfo' in statically linked applications requires at
  runtime the shared libraries from the glibc version used for linking

 That is just a warning. You can ignore since it is just for iscsistart too.

  So I can't try that out. And yes, the firmware was updated as well. So
  it is difficult for me to track it down.
  Did you see any particular in the wireshark log?

 No, but I am still looking at it to try and line up changes with the
 iscsi_tcp changes.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Login retries on Wasabi target

2008-05-12 Thread Mike Christie

Albert Pauw wrote:
 I am using the current open-iscsi git version (as of May 9th) on Fedora 8
 (2.6.24.5-85.fc8 kernel) with the Wasabi target (version 4.01). It used to
 take a fraction of a second to login. Since I haven't worked on it for a few
 months while away I started again, and now it takes 5-10 seconds. The Wasabi
 log shows time outs and eventually it logs in fine, no errors after that. I
 have used Wireshark on a login and subsequent logout command, which is
 attached, please note that in this 192.168.1.10 is the target,
 192.168.1.40is the initiator.
 
 I also attached the Wasabi log, as both machines (initiator and target) are
 using ntp, the times are easily comparible.
 

Did you try 865.15 with 2.6.24.5-85.fc8?

In git/2.6.25 we have a new data path code, so it might be that or it 
might be some scsi-ml scanning issue. The wasabi firmware hasn't changed 
has it?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---