RE: iferror codes list

2009-11-10 Thread Ciprian Marius Vizitiu


> > The iferror values are just normal old errnos. -1 is
> > 
> > #define EPERM1  /* Operation not permitted */
> > 
> > You should get the iferror translated to a string in 
> /var/log/messages. 
[...]
> Ignore this last part about the log message. The printf and 
> iferror use 
> is broken.

Well I was about to suggest that; the only relevant error messages that I
see are:

iscsid: Received iferror -1
iscsid: cannot make a connection to 192.168.1.10:3260 (-1,11)

Which to me is not very informative. :-|



OK, here's the problem: I'm trying to hook a RHEL 5.4 x86_64 running on M610
to an EQL6000XV. I'm way past network problems if only because I can easily
use the tcp transport and it works. Heck, apart for the lack of jumbo
support I can't really complain about the tcp transport. Yet, out of a sick
curiosity about system performance I'm stubbornly insisting into making use
of the bnx2i driver to offload some iSCSI into the 57009S; yes, I DO have
the hardware key. After some agonizing attempts I've reached the point where
I can detect the targets but any attempts to actually start the session will
result (depending apparently on the planets position) in either two of the
targets connecting or none of the targets connected. A simple "service iscsi
restart" will sometimes result in success and sometimes in failure. It's
puzzling and maddening in the same time... Don't even know where to start, I
was really hoping the iferror values would mean something. Any help would be
really appreciated! o:-)


--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iferror codes list

2009-11-10 Thread Mike Christie

Mike Christie wrote:
> Ciprian Marius Vizitiu (GBIF) wrote:
>> Hi everybody, 
>>
>> Is there a list with all the "iferror" codes and their meaning? I'm trying
>> to use bnx2i on RHEL 5.4 in order to do iSOE on a Dell M610 and a EQL
>> PS6000XV and from time to time I get "iferror -1".
>>
> 
> The iferror values are just normal old errnos. -1 is
> 
> #define EPERM1  /* Operation not permitted */
> 
> You should get the iferror translated to a string in /var/log/messages. 
> Do you see
> 
> Received iferror -1: Operation not permitted
> 

Ignore this last part about the log message. The printf and iferror use 
is broken.

--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iferror codes list

2009-11-10 Thread Mike Christie

Ciprian Marius Vizitiu (GBIF) wrote:
> Hi everybody, 
> 
> Is there a list with all the "iferror" codes and their meaning? I'm trying
> to use bnx2i on RHEL 5.4 in order to do iSOE on a Dell M610 and a EQL
> PS6000XV and from time to time I get "iferror -1".
> 

The iferror values are just normal old errnos. -1 is

#define EPERM1  /* Operation not permitted */

You should get the iferror translated to a string in /var/log/messages. 
Do you see

Received iferror -1: Operation not permitted

?

--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---