Re: Need some pointers to debug a target hang

2016-11-08 Thread Zhu Lingshan
On 11/04/2016 02:52 PM, Nicholas A. Bellinger wrote: Hi Zhu & Co, Thanks for the detailed logs. Comments below. On Mon, 2016-10-31 at 16:51 +0800, Zhu Lingshan wrote: Hi Nicholas, (sorry it would be a long mail) Sorry for the delay, I spent some test and debug work. I find the patch

Re: Need some pointers to debug a target hang

2016-11-04 Thread Nicholas A. Bellinger
Hi Zhu & Co, Thanks for the detailed logs. Comments below. On Mon, 2016-10-31 at 16:51 +0800, Zhu Lingshan wrote: > Hi Nicholas, > > (sorry it would be a long mail) > > Sorry for the delay, I spent some test and debug work. I find the patch >

Re: Need some pointers to debug a target hang

2016-10-31 Thread Zhu Lingshan
Hi Nicholas, (sorry it would be a long mail) Sorry for the delay, I spent some test and debug work. I find the patch http://www.spinics.net/lists/target-devel/msg13530.html can solve two issues: (a). iscsit_stop_session() on the top of iscsi_np stack.

Re: Need some pointers to debug a target hang

2016-10-30 Thread Johannes Thumshirn
On Sat, Oct 29, 2016 at 03:53:25PM -0700, Nicholas A. Bellinger wrote: > Hi Johannes & Zhu, > > On Tue, 2016-10-18 at 23:29 -0700, Nicholas A. Bellinger wrote: > > On Tue, 2016-10-18 at 19:35 +0200, Johannes Thumshirn wrote: > > > On Tue, Oct 18, 2016 at 09:01:34AM +0200, Johannes Thumshirn

Re: Need some pointers to debug a target hang

2016-10-29 Thread Johannes Thumshirn
On Sat, Oct 29, 2016 at 03:53:25PM -0700, Nicholas A. Bellinger wrote: > Hi Johannes & Zhu, > > On Tue, 2016-10-18 at 23:29 -0700, Nicholas A. Bellinger wrote: > > On Tue, 2016-10-18 at 19:35 +0200, Johannes Thumshirn wrote: > > > On Tue, Oct 18, 2016 at 09:01:34AM +0200, Johannes Thumshirn

Re: Need some pointers to debug a target hang

2016-10-29 Thread Nicholas A. Bellinger
Hi Johannes & Zhu, On Tue, 2016-10-18 at 23:29 -0700, Nicholas A. Bellinger wrote: > On Tue, 2016-10-18 at 19:35 +0200, Johannes Thumshirn wrote: > > On Tue, Oct 18, 2016 at 09:01:34AM +0200, Johannes Thumshirn wrote: > > > > [...] > > > > > > > > > > This is likely the missing SCF_ACK_KREF

Re: Need some pointers to debug a target hang

2016-10-19 Thread Nicholas A. Bellinger
On Tue, 2016-10-18 at 19:35 +0200, Johannes Thumshirn wrote: > On Tue, Oct 18, 2016 at 09:01:34AM +0200, Johannes Thumshirn wrote: > > [...] > > > > > > > This is likely the missing SCF_ACK_KREF assignment in >= v4.1.y: > > > > > > http://www.spinics.net/lists/target-devel/msg13530.html > >

Re: Need some pointers to debug a target hang

2016-10-18 Thread Johannes Thumshirn
On Tue, Oct 18, 2016 at 09:01:34AM +0200, Johannes Thumshirn wrote: [...] > > > > This is likely the missing SCF_ACK_KREF assignment in >= v4.1.y: > > > > http://www.spinics.net/lists/target-devel/msg13530.html Sorry to disappoint you but it didn't fix my issue. Is there any debug data I can

Re: Need some pointers to debug a target hang

2016-10-18 Thread Johannes Thumshirn
[+Cc Robert LeBlanc and full quote for context ] On Mon, Oct 17, 2016 at 10:57:55PM -0700, Nicholas A. Bellinger wrote: > Hello Johannes, > > Apologies for the extended delayed follow-up on this bug report. > > On Fri, 2016-09-02 at 16:14 +0200, Johannes Thumshirn wrote:

Re: Need some pointers to debug a target hang

2016-10-17 Thread Nicholas A. Bellinger
Hello Johannes, Apologies for the extended delayed follow-up on this bug report. On Fri, 2016-09-02 at 16:14 +0200, Johannes Thumshirn wrote: > Hi Nick et al, > > I'm having a "interesting" problem with the kernel's iSCSI target and > could use a debug hint. > > My target uses an iblock

Need some pointers to debug a target hang

2016-09-02 Thread Johannes Thumshirn
Hi Nick et al, I'm having a "interesting" problem with the kernel's iSCSI target and could use a debug hint. My target uses an iblock backstore on a dm-linear target. When I now get I/O form the initiator (I used a simple dd if=/dev/sda of=/dev/null) and call 'dmsetup suspend $backstore' it'll