No Kernel panics for iSER Logout at this time (with this patch):

Linux dixie 3.13.11-ckt18-test01 #3 SMP Fri Apr 24 13:46:29 BRT 2015
x86_64 x86_64 x86_64 GNU/Linux

root@dixie:~# iscsiadm -m discovery --op=new --op=del --type sendtargets 
--portal 172.16.0.1 -I iser
172.16.0.1:3260,1 iqn.2001-04.com.hertz-lunit1

root@dixie:~# iscsiadm -m node -l
Logging in to [iface: iser, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] (multiple)
Login to [iface: iser, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] successful.

root@dixie:~# dd if=/dev/zero of=/dev/sdc bs=1M count=1024 oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 0.996458 s, 1.1 GB/s

root@dixie:~# service open-iscsi stop
 * Unmounting iscsi-backed filesystems [ OK ] 
 * Disconnecting iSCSI targets                                                  
                                 
Logging out of session [sid: 5, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260]
Logout of [sid: 5, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] successful.
 * Stopping iSCSI initiator service [ OK ] 

And then again:

root@dixie:~# iscsiadm -m discovery --op=new --op=del --type sendtargets 
--portal 172.16.0.1 -I iser
172.16.0.1:3260,1 iqn.2001-04.com.hertz-lunit1

root@dixie:~# iscsiadm -m node -l
Logging in to [iface: iser, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] (multiple)
Login to [iface: iser, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] successful.

root@dixie:~# dd if=/dev/zero of=/dev/sdc bs=1M count=1024 oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 0.844185 s, 1.3 GB/s

root@dixie:~# service open-iscsi stop
 * Unmounting iscsi-backed filesystems [ OK ] 
 * Disconnecting iSCSI targets                                                  
                                 
Logging out of session [sid: 2, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260]
Logout of [sid: 2, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] successful.
 * Stopping iSCSI initiator service       

No kernel panic again. Will do some stress testing for iSER to make sure
everything is good.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443648

Title:
  Kernel panics on iSER (iscsi over IB) logouts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1443648/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to