I was able to verify that the new kernel fixes the issue:

root@dixie:~# uname -a
Linux dixie 3.13.0-62-generic #101-Ubuntu SMP Thu Jul 30 09:01:36 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux

root@dixie:~# iscsiadm -m discovery --op=show --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 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:~# ls /dev/sdc
/dev/sdc

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, 1.01833 s, 1.1 GB/s

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

### NO KERNEL PANIC!!! (as it used to happen)

Logout of [sid: 3, target: iqn.2001-04.com.hertz-lunit1, portal: 
172.16.0.1,3260] successful.
                                                                                
  [ OK ]
 * Stopping iSCSI initiator service                                             
  [ OK ]
root@dixie:~#
root@dixie:~#
root@dixie:~# service open-iscsi start
 * Starting iSCSI initiator service iscsid                                      
  [ OK ]
 * Setting up iSCSI targets
iscsiadm: No records found
                                                                                
  [ OK ]
 * Mounting network filesystems                                                 
  [ OK ]

** Tags removed: verification-needed-trusty
** Tags added: verification-done

** Tags added: sts

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