Re: iscsid segfaulting when running 'iscsiadm -k 0'

2008-04-18 Thread Konrad Rzeszutek

On Fri, Apr 18, 2008 at 09:59:54AM -0500, Mike Christie wrote:
 
 Konrad Rzeszutek wrote:
  On Thu, Apr 17, 2008 at 11:16:34AM -0500, Mike Christie wrote:
  Konrad Rzeszutek wrote:
  With the 869-rc4 and a SLES10 SP2 kernel with the 869-rc4 drivers 
  compiled out of
  the tree I can get:
 
  iscsid[27598]: segfault at 2b4327f11000 rip 0040981b rsp 
  7fff826f61a0 error 4
 
  when I run the 'iscsiadm -k 0' command.
 
  I haven't dug deep in this yet, but was wondering if somebody else has 
  been seeing
  this peculiar behavior?
  Are you running any sessions at the time? I have not seen this before.
  
  Yes. Let me play around with this some more.
  
 
 Ok, just so you know the iscsid kill code is really fragile. As you know 
   if sessions are running you do not want to normally kill iscsid. We 
 only do it during boot and during shutdown. If you kill iscsid while 
 sessions are being brought up or down we can end up with lots of 
 problems. We need to make iscsid's shutdown code more graceful and 
 handle cleanup whatever it is in the middle of doing (for example if it 
 is in the middle of logging in then we need to finish that or kill the 
 login so we do not leave sockets/eps in the kernel).

I found out that the bug was one that Hannes had fixed a couple of days back:
git commit b7091cfb686c279c2fea9b634e9b2ef7da249d63

on top of rc4 made the problem disappear.

--~--~-~--~~~---~--~~
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: iscsid segfaulting when running 'iscsiadm -k 0'

2008-04-17 Thread Mike Christie

Konrad Rzeszutek wrote:
 With the 869-rc4 and a SLES10 SP2 kernel with the 869-rc4 drivers compiled 
 out of
 the tree I can get:
 
 iscsid[27598]: segfault at 2b4327f11000 rip 0040981b rsp 
 7fff826f61a0 error 4
 
 when I run the 'iscsiadm -k 0' command.
 
 I haven't dug deep in this yet, but was wondering if somebody else has been 
 seeing
 this peculiar behavior?

Are you running any sessions at the time? I have not seen this before.

--~--~-~--~~~---~--~~
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: iscsid segfaulting when running 'iscsiadm -k 0'

2008-04-17 Thread Konrad Rzeszutek

On Thu, Apr 17, 2008 at 11:16:34AM -0500, Mike Christie wrote:
 
 Konrad Rzeszutek wrote:
  With the 869-rc4 and a SLES10 SP2 kernel with the 869-rc4 drivers compiled 
  out of
  the tree I can get:
  
  iscsid[27598]: segfault at 2b4327f11000 rip 0040981b rsp 
  7fff826f61a0 error 4
  
  when I run the 'iscsiadm -k 0' command.
  
  I haven't dug deep in this yet, but was wondering if somebody else has been 
  seeing
  this peculiar behavior?
 
 Are you running any sessions at the time? I have not seen this before.

Yes. Let me play around with this some more.

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