Re: computer reboot when iscsi ethernet cable is unpluged

2010-03-05 Thread Marc Grunberg


On 5 mar, 08:50, Pasi Kärkkäinen pa...@iki.fi wrote:

 So are you using the open-iscsi/iscsi-initiator-utils from the distributions,
 or self-compiled from open-iscsi.org ?

 Are you using the open-iscsi kernel modules provided by the distribution 
 default kernels?

Yes I use the provided kernel and open-iscsi from debian 5 and CentOS
5.4 :/
Do you think I should compile my own kernel with latest code from open-
iscsi web sites ?

Could it be realted to x86-64 bit mode ? I have not tested this
behavior on 32 bits distributions.

I will try first to enable debug mode to catch some error log ... if
any.

Just for information ... without ethernet cable link unpluged, iscsi
disks work very well !

--
Marc

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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?hl=en.



Re: computer reboot when iscsi ethernet cable is unpluged

2010-03-05 Thread Pasi Kärkkäinen
On Fri, Mar 05, 2010 at 01:05:18AM -0800, Marc Grunberg wrote:
 
 
 On 5 mar, 08:50, Pasi Kärkkäinen pa...@iki.fi wrote:
 
  So are you using the open-iscsi/iscsi-initiator-utils from the 
  distributions,
  or self-compiled from open-iscsi.org ?
 
  Are you using the open-iscsi kernel modules provided by the distribution 
  default kernels?
 
 Yes I use the provided kernel and open-iscsi from debian 5 and CentOS
 5.4 :/

Ok. Mike should know if there are known bugs like this in the EL5 open-iscsi 
drivers..

 Do you think I should compile my own kernel with latest code from open-
 iscsi web sites ?
 

Well you can always try them.. make sure you replace both the kernel module
and tools.

 Could it be realted to x86-64 bit mode ? I have not tested this
 behavior on 32 bits distributions.
 

No, I don't think it's x86_64 causing problems.

 I will try first to enable debug mode to catch some error log ... if
 any.
 

Yeah.. serial console should help you and allow you to capture the error 
messages.

 Just for information ... without ethernet cable link unpluged, iscsi
 disks work very well !
 

Yep.

-- Pasi


-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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?hl=en.



Re: computer reboot when iscsi ethernet cable is unpluged

2010-03-05 Thread Mike Christie

On 03/04/2010 10:42 AM, Marc Grunberg wrote:

Hi

I am a newcomer on this group and  I just own an 2xEquallogic PS6000
that I use on linux.

I am facing strange unwanted computer reboot using iscsi with this
Equallogic

This problem is easily reproducible on different hardware/software
combination.
the first computer is Debian 5/Lenny x86-64 with a Broadcom
Corporation NetXtreme II BCM5708 Gigabit Ethernet
the second one is Centos 5.4 x86-64 with Intel Corporation 82546GB
Gigabit Ethernet Controller (e1000 module)
booth are running up to date resease of  open-iscsi/iscsi-initiator-
utils.

To make this strange behavior happens  Equalogic disks have to be
mounted  first.
Then the reboot comes when I unplug the computer's ethernet iscsi
cable from the switch. I have not made
exhaustive test  but the disconnection is around  1 minute then
computers reboot (like reset)  without shutting down and without any
log message  !



If you have a FS mounted and then you disconnect the disk for longer 
than you have set the node.session.timeo.replacement_timeout to the FS 
is going to get IO errors and then probably panic and kill the system. 
If you hook up a serial line or look in /var/log/messages do you see 
something about IO errors, then FS errors, then a panic from the FS 
(What FS are you using btw?)?



There also might be bug where I think the iscsi layer will fail the 
session, disconnect the socket, and then fail IO upwards. But, the 
network layer still has references to the IO's pages, and so when we 
fail upwards the upper layers might be freeing the pages while the 
network system still thinks it has a valid reference. This is just a 
guess of what I have seen on a system reported in bugzilla. I have not 
been able to replicate it here. And I think everyone is using refcounts 
on the pages, so I do not think upper layers are just going to free the 
page from under the network layer. I cannot get any info on the bug. If 
you are not seeing panics from the FS let me know.


--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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?hl=en.



computer reboot when iscsi ethernet cable is unpluged

2010-03-04 Thread Marc Grunberg
Hi

I am a newcomer on this group and  I just own an 2xEquallogic PS6000
that I use on linux.

I am facing strange unwanted computer reboot using iscsi with this
Equallogic

This problem is easily reproducible on different hardware/software
combination.
the first computer is Debian 5/Lenny x86-64 with a Broadcom
Corporation NetXtreme II BCM5708 Gigabit Ethernet
the second one is Centos 5.4 x86-64 with Intel Corporation 82546GB
Gigabit Ethernet Controller (e1000 module)
booth are running up to date resease of  open-iscsi/iscsi-initiator-
utils.

To make this strange behavior happens  Equalogic disks have to be
mounted  first.
Then the reboot comes when I unplug the computer's ethernet iscsi
cable from the switch. I have not made
exhaustive test  but the disconnection is around  1 minute then
computers reboot (like reset)  without shutting down and without any
log message  !

Does anybody have similar problems ? Any clue to overcome this ?

Best regards

Marc

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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?hl=en.



Re: computer reboot when iscsi ethernet cable is unpluged

2010-03-04 Thread Pasi Kärkkäinen
On Thu, Mar 04, 2010 at 08:42:36AM -0800, Marc Grunberg wrote:
 Hi
 
 I am a newcomer on this group and  I just own an 2xEquallogic PS6000
 that I use on linux.
 
 I am facing strange unwanted computer reboot using iscsi with this
 Equallogic
 
 This problem is easily reproducible on different hardware/software
 combination.
 the first computer is Debian 5/Lenny x86-64 with a Broadcom
 Corporation NetXtreme II BCM5708 Gigabit Ethernet
 the second one is Centos 5.4 x86-64 with Intel Corporation 82546GB
 Gigabit Ethernet Controller (e1000 module)
 booth are running up to date resease of  open-iscsi/iscsi-initiator-
 utils.
 

So are you using the open-iscsi/iscsi-initiator-utils from the distributions,
or self-compiled from open-iscsi.org ?

Are you using the open-iscsi kernel modules provided by the distribution 
default kernels? 

 To make this strange behavior happens  Equalogic disks have to be
 mounted  first.
 Then the reboot comes when I unplug the computer's ethernet iscsi
 cable from the switch. I have not made
 exhaustive test  but the disconnection is around  1 minute then
 computers reboot (like reset)  without shutting down and without any
 log message  !
 
 Does anybody have similar problems ? Any clue to overcome this ?
 

Please set up a serial console so you're able to log the crash/error messages.

Anyway, this sounds like a really weird problem.

-- Pasi

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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?hl=en.