On Apr 10, 2007, at 4:13 PM, Nigel Smith wrote:

Ok, that's interesting.
The mdb stack back-trace is indicating an assertion caused by the code here:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/ iscsi/iscsitgtd/iscsi_sess.c

At line 220, we see the start of the routine "sess_from_t10()"
As it then calls "t10_handle_destroy()" in line 247 this indicate we are processing
a message of type "msg_shutdown_rsp"
But the iscsitgt daemon's state machine thinks this is wrong to
occur at this stage & core dumps.


The t10 state machine isn't having a problem with the message. The problem is that within t10_handle_destroy() the daemon is cleaning up some commands that are active, but will never receive a response. The code is incorrectly looking at a command which is in the "Freeing" state and attempts to free it. That's a invalid state transition and the state machine correctly kicks it out.

One thing that is unusual here is that the daemon is in the process of shutting down the connection. Why is the initiator closing the connection. This is not normal, especially so since the initiator is transferring data.

Well that my reading of what is happening, but it will be even more interesting
to hear Rick McNeal's view on what's happening here!

Ok, I will try to reproduce the error on my system, although I have snv_60
installed at the moment, and I am not yet using ZFS with the target.
I'm testing with the Microsoft iScsi Initiator at this moments, and every
thing is fine so far.

Nicolas, were you just coping the files across to the iscsi target when this
happened, or were you doing anything special or unusual?
Thanks
Nigel Smith


This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

----
Rick McNeal

"If ignorance is bliss, this lesson would appear to be a deliberate attempt on your part to deprive me of happiness, the pursuit of which is my unalienable right according to the Declaration of Independence. I therefore assert my patriotic prerogative not to know this material. I'll be out on the playground." -- Calvin


_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to