All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
       [not found] <84b5cd32-3bb6-4541-bbc1-4cbe92c074c6@CMEXHTCAS2.ad.emulex.com>
@ 2014-11-10 17:37 ` Mike Christie
  2014-11-10 18:07   ` Minh Duc Tran
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Christie @ 2014-11-10 17:37 UTC (permalink / raw)
  To: Minh Duc Tran, linux-scsi@vger.kernel.org
  Cc: Jayamohan Kallickal, Vikas Chaudhary

Adding Vikas to verify if qla4xxx has the same issue.

On 11/10/2014 12:52 AM, Minh Duc Tran wrote:
> From: Minh Tran minhduc.tran@emulex.com <mailto:minhduc.tran@emulex.com>
> 
>  
> 
>                We are starting to see problems with certain open-iscsi
> versions out there checking block valid bit.  Iscsi boot target login
> will not happen without this bit being set.
> 

What versions of open-iscsi? Is it just the SUSE based versions?

>  
> 
> Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
> 
> ---
> 
> scsi/be2iscsi/be_main.c |    4 ++--
> 
> 1 files changed, 2 insertions(+), 2 deletions(-)
> 
>  
> 
> diff --git a/scsi/be2iscsi/be_main.c b/scsi/be2iscsi/be_main.c
> 
> index 30d74a0..aacf223 100644
> 
> --- a/scsi/be2iscsi/be_main.c
> 
> +++ b/scsi/be2iscsi/be_main.c
> 
> @@ -429,7 +429,7 @@ static ssize_t beiscsi_show_boot_tgt_info(void
> *data, int type, char *buf)
> 
>                              auth_data.chap.intr_secret);
> 
>                 break;
> 
>         case ISCSI_BOOT_TGT_FLAGS:
> 
> -               rc = sprintf(str, "2\n");
> 
> +               rc = sprintf(str, "3\n");
> 
>                 break;
> 
>         case ISCSI_BOOT_TGT_NIC_ASSOC:
> 
>                 rc = sprintf(str, "0\n");
> 
> @@ -466,7 +466,7 @@ static ssize_t beiscsi_show_boot_eth_info(void
> *data, int type, char *buf)
> 
>  
> 
>         switch (type) {
> 
>         case ISCSI_BOOT_ETH_FLAGS:
> 
> -               rc = sprintf(str, "2\n");
> 
> +               rc = sprintf(str, "3\n");
> 
>                 break;
> 
>         case ISCSI_BOOT_ETH_INDEX:
> 
>                 rc = sprintf(str, "0\n");
> 

I think we want to move SYSFS_FLAG_FW_SEL_BOOT from ql4_def.h to
include/linux/iscsi_boot_sysfs.h (also add a ISCSI_BOOT_ prefix), and
then have both drivers use it.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
  2014-11-10 17:37 ` [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag Mike Christie
@ 2014-11-10 18:07   ` Minh Duc Tran
  2014-11-11 11:36     ` Vikas Chaudhary
  0 siblings, 1 reply; 8+ messages in thread
From: Minh Duc Tran @ 2014-11-10 18:07 UTC (permalink / raw)
  To: Mike Christie, linux-scsi@vger.kernel.org
  Cc: Jayamohan Kallickal, Vikas Chaudhary

>Adding Vikas to verify if qla4xxx has the same issue.

>On 11/10/2014 12:52 AM, Minh Duc Tran wrote:
>> From: Minh Tran minhduc.tran@emulex.com 
>> <mailto:minhduc.tran@emulex.com>
>> 
>>                We are starting to see problems with certain open-iscsi 
>> versions out there checking block valid bit.  Iscsi boot target login 
>> will not happen without this bit being set.
>> 

>What versions of open-iscsi? Is it just the SUSE based versions?

Yes, it's just the new SUSE open-iscsi for now.

>I think we want to move SYSFS_FLAG_FW_SEL_BOOT from ql4_def.h to include/linux/iscsi_boot_sysfs.h (also add a ISCSI_BOOT_ prefix), and then have both drivers use it.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
  2014-11-10 18:07   ` Minh Duc Tran
@ 2014-11-11 11:36     ` Vikas Chaudhary
  0 siblings, 0 replies; 8+ messages in thread
From: Vikas Chaudhary @ 2014-11-11 11:36 UTC (permalink / raw)
  To: Minh Duc Tran, Mike Christie, linux-scsi; +Cc: Jayamohan Kallickal

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]



On 10/11/14 11:37 pm, "Minh Duc Tran" <MinhDuc.Tran@Emulex.Com> wrote:

>>Adding Vikas to verify if qla4xxx has the same issue.
>
>>On 11/10/2014 12:52 AM, Minh Duc Tran wrote:
>>> From: Minh Tran minhduc.tran@emulex.com
>>> <mailto:minhduc.tran@emulex.com>
>>> 
>>>                We are starting to see problems with certain open-iscsi
>>> versions out there checking block valid bit.  Iscsi boot target login
>>> will not happen without this bit being set.
>>> 
>
>>What versions of open-iscsi? Is it just the SUSE based versions?

Looking at latest changes in SUSE open-iscsi code, we require this patch
in qla4xxx also.

>
>Yes, it's just the new SUSE open-iscsi for now.
>
>>I think we want to move SYSFS_FLAG_FW_SEL_BOOT from ql4_def.h to
>>include/linux/iscsi_boot_sysfs.h (also add a ISCSI_BOOT_ prefix), and
>>then have both drivers use it.

I agree.

Thanks,
Vikas.


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 4667 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
@ 2015-01-12 23:05 Minh Duc Tran
  2015-01-15 23:16 ` Mike Christie
  0 siblings, 1 reply; 8+ messages in thread
From: Minh Duc Tran @ 2015-01-12 23:05 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org, linux-scsi-owner@vger.kernel.org
  Cc: Mike Christie (michaelc@cs.wisc.edu), Jayamohan Kallickal


>From: Minh Duc Tran 
>Sent: Sunday, November 09, 2014 10:52 PM
>To: 'linux-scsi@vger.kernel.org'
>Cc: Mike Christie (michaelc@cs.wisc.edu); Jayamohan Kallickal
>Subject: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag

>From: Minh Tran minhduc.tran@emulex.com

>               We are starting to see problems with certain open-iscsi versions out there checking block valid bit.  Iscsi boot target login will not happen without this bit being set.

>Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
>---
>scsi/be2iscsi/be_main.c |    4 ++--
>1 files changed, 2 insertions(+), 2 deletions(-)

>diff --git a/scsi/be2iscsi/be_main.c b/scsi/be2iscsi/be_main.c
>index 30d74a0..aacf223 100644
>--- a/scsi/be2iscsi/be_main.c
>+++ b/scsi/be2iscsi/be_main.c
>@@ -429,7 +429,7 @@ static ssize_t beiscsi_show_boot_tgt_info(void *data, int type, char *buf)
>                             auth_data.chap.intr_secret);
>                break;
>        case ISCSI_BOOT_TGT_FLAGS:
>-               rc = sprintf(str, "2\n");
>+               rc = sprintf(str, "3\n");
>                break;
>        case ISCSI_BOOT_TGT_NIC_ASSOC:
>                rc = sprintf(str, "0\n");
>@@ -466,7 +466,7 @@ static ssize_t beiscsi_show_boot_eth_info(void *data, int type, char *buf)

>        switch (type) {
>        case ISCSI_BOOT_ETH_FLAGS:
>-               rc = sprintf(str, "2\n");
>+               rc = sprintf(str, "3\n");
>                break;
>        case ISCSI_BOOT_ETH_INDEX:
>                rc = sprintf(str, "0\n");
>--
>1.7.1

Hi Mike,
I think we have lost track of this patch.  I've checked 3.19-rc3 today and it's not in yet.  Can we get this in as soon as possible?

Thanks.
-Minh

(Removed html format, sorry about that)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
  2015-01-12 23:05 Minh Duc Tran
@ 2015-01-15 23:16 ` Mike Christie
  2015-01-15 23:26   ` James Bottomley
  2015-01-16  1:26   ` Minh Duc Tran
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Christie @ 2015-01-15 23:16 UTC (permalink / raw)
  To: Minh Duc Tran, linux-scsi@vger.kernel.org; +Cc: Jayamohan Kallickal

On 01/12/2015 05:05 PM, Minh Duc Tran wrote:
> 
>> From: Minh Duc Tran 
>> Sent: Sunday, November 09, 2014 10:52 PM
>> To: 'linux-scsi@vger.kernel.org'
>> Cc: Mike Christie (michaelc@cs.wisc.edu); Jayamohan Kallickal
>> Subject: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
> 
>> From: Minh Tran minhduc.tran@emulex.com
> 
>>               We are starting to see problems with certain open-iscsi versions out there checking block valid bit.  Iscsi boot target login will not happen without this bit being set.
> 
>> Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
>> ---
>> scsi/be2iscsi/be_main.c |    4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
> 
>> diff --git a/scsi/be2iscsi/be_main.c b/scsi/be2iscsi/be_main.c
>> index 30d74a0..aacf223 100644
>> --- a/scsi/be2iscsi/be_main.c
>> +++ b/scsi/be2iscsi/be_main.c
>> @@ -429,7 +429,7 @@ static ssize_t beiscsi_show_boot_tgt_info(void *data, int type, char *buf)
>>                             auth_data.chap.intr_secret);
>>                break;
>>        case ISCSI_BOOT_TGT_FLAGS:
>> -               rc = sprintf(str, "2\n");
>> +               rc = sprintf(str, "3\n");
>>                break;
>>        case ISCSI_BOOT_TGT_NIC_ASSOC:
>>                rc = sprintf(str, "0\n");
>> @@ -466,7 +466,7 @@ static ssize_t beiscsi_show_boot_eth_info(void *data, int type, char *buf)
> 
>>        switch (type) {
>>        case ISCSI_BOOT_ETH_FLAGS:
>> -               rc = sprintf(str, "2\n");
>> +               rc = sprintf(str, "3\n");
>>                break;
>>        case ISCSI_BOOT_ETH_INDEX:
>>                rc = sprintf(str, "0\n");
>> --
>> 1.7.1
> 
> Hi Mike,
> I think we have lost track of this patch.  I've checked 3.19-rc3 today and it's not in yet.  Can we get this in as soon as possible?
> 

The thread got a little busted in my mailer, so I might have missed
something.

Did you see my review comments:
https://www.marc.info/?l=linux-scsi&m=141564103903024&w=2
here?

I am not seeing a follow up patch or comment from you saying you did not
want to do it that way. Did you send that to the list in a new thread?
If so, I lost it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
  2015-01-15 23:16 ` Mike Christie
@ 2015-01-15 23:26   ` James Bottomley
  2015-01-16  1:26   ` Minh Duc Tran
  1 sibling, 0 replies; 8+ messages in thread
From: James Bottomley @ 2015-01-15 23:26 UTC (permalink / raw)
  To: Mike Christie
  Cc: Minh Duc Tran, linux-scsi@vger.kernel.org, Jayamohan Kallickal

On Thu, 2015-01-15 at 17:16 -0600, Mike Christie wrote:
> On 01/12/2015 05:05 PM, Minh Duc Tran wrote:
> > 
> >> From: Minh Duc Tran 
> >> Sent: Sunday, November 09, 2014 10:52 PM
> >> To: 'linux-scsi@vger.kernel.org'
> >> Cc: Mike Christie (michaelc@cs.wisc.edu); Jayamohan Kallickal
> >> Subject: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
> > 
> >> From: Minh Tran minhduc.tran@emulex.com
> > 
> >>               We are starting to see problems with certain open-iscsi versions out there checking block valid bit.  Iscsi boot target login will not happen without this bit being set.
> > 
> >> Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
> >> ---
> >> scsi/be2iscsi/be_main.c |    4 ++--
> >> 1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> >> diff --git a/scsi/be2iscsi/be_main.c b/scsi/be2iscsi/be_main.c
> >> index 30d74a0..aacf223 100644
> >> --- a/scsi/be2iscsi/be_main.c
> >> +++ b/scsi/be2iscsi/be_main.c
> >> @@ -429,7 +429,7 @@ static ssize_t beiscsi_show_boot_tgt_info(void *data, int type, char *buf)
> >>                             auth_data.chap.intr_secret);
> >>                break;
> >>        case ISCSI_BOOT_TGT_FLAGS:
> >> -               rc = sprintf(str, "2\n");
> >> +               rc = sprintf(str, "3\n");
> >>                break;
> >>        case ISCSI_BOOT_TGT_NIC_ASSOC:
> >>                rc = sprintf(str, "0\n");
> >> @@ -466,7 +466,7 @@ static ssize_t beiscsi_show_boot_eth_info(void *data, int type, char *buf)
> > 
> >>        switch (type) {
> >>        case ISCSI_BOOT_ETH_FLAGS:
> >> -               rc = sprintf(str, "2\n");
> >> +               rc = sprintf(str, "3\n");
> >>                break;
> >>        case ISCSI_BOOT_ETH_INDEX:
> >>                rc = sprintf(str, "0\n");
> >> --
> >> 1.7.1
> > 
> > Hi Mike,
> > I think we have lost track of this patch.  I've checked 3.19-rc3 today and it's not in yet.  Can we get this in as soon as possible?
> > 
> 
> The thread got a little busted in my mailer, so I might have missed
> something.

What seems to have happened is that the reply before this erased all the
References: headers and didn't set an In-reply-to: header.

Minh, this is fairly standard RFC non-compliance from Microsoft email
clients.  Since you're posting from a Mac, could you just use the native
apple email clients, because they preserve threading?

Alternatively, there's a hotfix for the issue if you can get your IT
department to apply it:

http://support.microsoft.com/kb/908027/en-us

Thanks,

James



^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
  2015-01-15 23:16 ` Mike Christie
  2015-01-15 23:26   ` James Bottomley
@ 2015-01-16  1:26   ` Minh Duc Tran
  2015-01-16 16:27     ` Michael Christie
  1 sibling, 1 reply; 8+ messages in thread
From: Minh Duc Tran @ 2015-01-16  1:26 UTC (permalink / raw)
  To: Mike Christie, linux-scsi@vger.kernel.org; +Cc: Jayamohan Kallickal

>-----Original Message-----
>From: Mike Christie [mailto:michaelc@cs.wisc.edu] 
>Sent: Thursday, January 15, 2015 3:17 PM
>To: Minh Duc Tran; linux-scsi@vger.kernel.org
>Cc: Jayamohan Kallickal
>Subject: Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag

>On 01/12/2015 05:05 PM, Minh Duc Tran wrote:
>> 
>>> From: Minh Duc Tran
>>> Sent: Sunday, November 09, 2014 10:52 PM
>>> To: 'linux-scsi@vger.kernel.org'
>>> Cc: Mike Christie (michaelc@cs.wisc.edu); Jayamohan Kallickal
>>> Subject: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
>> 
>>> From: Minh Tran minhduc.tran@emulex.com
>>
>>>               We are starting to see problems with certain open-iscsi versions out there checking block valid bit.  Iscsi boot target login will not happen without this bit being set.
>> 
>>> Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
>>> ---
>>> scsi/be2iscsi/be_main.c |    4 ++--
>>> 1 files changed, 2 insertions(+), 2 deletions(-)
>> 
>>> diff --git a/scsi/be2iscsi/be_main.c b/scsi/be2iscsi/be_main.c index 
>>> 30d74a0..aacf223 100644
>>> --- a/scsi/be2iscsi/be_main.c
>>> +++ b/scsi/be2iscsi/be_main.c
>>> @@ -429,7 +429,7 @@ static ssize_t beiscsi_show_boot_tgt_info(void *data, int type, char *buf)
>>>                             auth_data.chap.intr_secret);
>>>                break;
>>>        case ISCSI_BOOT_TGT_FLAGS:
>>> -               rc = sprintf(str, "2\n");
>>> +               rc = sprintf(str, "3\n");
>>>                break;
>>>        case ISCSI_BOOT_TGT_NIC_ASSOC:
>>>                rc = sprintf(str, "0\n"); @@ -466,7 +466,7 @@ static 
>>> ssize_t beiscsi_show_boot_eth_info(void *data, int type, char *buf)
>>> 
>>>        switch (type) {
>>>        case ISCSI_BOOT_ETH_FLAGS:
>>> -               rc = sprintf(str, "2\n");
>>> +               rc = sprintf(str, "3\n");
>>>                break;
>>>        case ISCSI_BOOT_ETH_INDEX:
>>>                rc = sprintf(str, "0\n");
>>> --
>>> 1.7.1
>> 
>> Hi Mike,
>> I think we have lost track of this patch.  I've checked 3.19-rc3 today and it's not in yet.  Can we get this in as soon as possible?
>> 

>The thread got a little busted in my mailer, so I might have missed something.

>Did you see my review comments:
>https://www.marc.info/?l=linux-scsi&m=141564103903024&w=2
>here?

>I am not seeing a follow up patch or comment from you saying you did not want to do it that way. Did you send that to the list in a new thread?
>If so, I lost it.

Mike, nothing is pending from me for this thread.  I've responded that this issue is seen with Suse (sles12).  I think the missing patch you have been waiting for is from Qlogic for ql4_def.h.
Vikas Chaudhary from Q was supposed to send you but my mailer said he is no longer at Q.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
  2015-01-16  1:26   ` Minh Duc Tran
@ 2015-01-16 16:27     ` Michael Christie
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Christie @ 2015-01-16 16:27 UTC (permalink / raw)
  To: Minh Duc Tran; +Cc: linux-scsi@vger.kernel.org, Jayamohan Kallickal


On Jan 15, 2015, at 7:26 PM, Minh Duc Tran <MinhDuc.Tran@Emulex.Com> wrote:

>> -----Original Message-----
>> From: Mike Christie [mailto:michaelc@cs.wisc.edu] 
>> Sent: Thursday, January 15, 2015 3:17 PM
>> To: Minh Duc Tran; linux-scsi@vger.kernel.org
>> Cc: Jayamohan Kallickal
>> Subject: Re: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
> 
>> On 01/12/2015 05:05 PM, Minh Duc Tran wrote:
>>> 
>>>> From: Minh Duc Tran
>>>> Sent: Sunday, November 09, 2014 10:52 PM
>>>> To: 'linux-scsi@vger.kernel.org'
>>>> Cc: Mike Christie (michaelc@cs.wisc.edu); Jayamohan Kallickal
>>>> Subject: [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag
>>> 
>>>> From: Minh Tran minhduc.tran@emulex.com
>>> 
>>>>              We are starting to see problems with certain open-iscsi versions out there checking block valid bit.  Iscsi boot target login will not happen without this bit being set.
>>> 
>>>> Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
>>>> ---
>>>> scsi/be2iscsi/be_main.c |    4 ++--
>>>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>> 
>>>> diff --git a/scsi/be2iscsi/be_main.c b/scsi/be2iscsi/be_main.c index 
>>>> 30d74a0..aacf223 100644
>>>> --- a/scsi/be2iscsi/be_main.c
>>>> +++ b/scsi/be2iscsi/be_main.c
>>>> @@ -429,7 +429,7 @@ static ssize_t beiscsi_show_boot_tgt_info(void *data, int type, char *buf)
>>>>                            auth_data.chap.intr_secret);
>>>>               break;
>>>>       case ISCSI_BOOT_TGT_FLAGS:
>>>> -               rc = sprintf(str, "2\n");
>>>> +               rc = sprintf(str, "3\n");
>>>>               break;
>>>>       case ISCSI_BOOT_TGT_NIC_ASSOC:
>>>>               rc = sprintf(str, "0\n"); @@ -466,7 +466,7 @@ static 
>>>> ssize_t beiscsi_show_boot_eth_info(void *data, int type, char *buf)
>>>> 
>>>>       switch (type) {
>>>>       case ISCSI_BOOT_ETH_FLAGS:
>>>> -               rc = sprintf(str, "2\n");
>>>> +               rc = sprintf(str, "3\n");
>>>>               break;
>>>>       case ISCSI_BOOT_ETH_INDEX:
>>>>               rc = sprintf(str, "0\n");
>>>> --
>>>> 1.7.1
>>> 
>>> Hi Mike,
>>> I think we have lost track of this patch.  I've checked 3.19-rc3 today and it's not in yet.  Can we get this in as soon as possible?
>>> 
> 
>> The thread got a little busted in my mailer, so I might have missed something.
> 
>> Did you see my review comments:
>> https://www.marc.info/?l=linux-scsi&m=141564103903024&w=2
>> here?
> 
>> I am not seeing a follow up patch or comment from you saying you did not want to do it that way. Did you send that to the list in a new thread?
>> If so, I lost it.
> 
> Mike, nothing is pending from me for this thread.  I've responded that this issue is seen with Suse (sles12).  I think the missing patch you have been waiting for is from Qlogic for ql4_def.h.
> Vikas Chaudhary from Q was supposed to send you but my mailer said he is no longer at Q.

I think we are misunderstanding each other on my comments. You need to modify your patch so it fixes the problem in a general way for all drivers.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-16 16:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <84b5cd32-3bb6-4541-bbc1-4cbe92c074c6@CMEXHTCAS2.ad.emulex.com>
2014-11-10 17:37 ` [PATCH 1/1] be2iscsi: add block valid bit to iBFT flag Mike Christie
2014-11-10 18:07   ` Minh Duc Tran
2014-11-11 11:36     ` Vikas Chaudhary
2015-01-12 23:05 Minh Duc Tran
2015-01-15 23:16 ` Mike Christie
2015-01-15 23:26   ` James Bottomley
2015-01-16  1:26   ` Minh Duc Tran
2015-01-16 16:27     ` Michael Christie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.