All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch: add to Documentation/scsi for scsi_dev_flags and command line passing
@ 2017-10-18 17:13 Laurence Oberman
  2017-10-18 17:25 ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Laurence Oberman @ 2017-10-18 17:13 UTC (permalink / raw)
  To: linux-scsi; +Cc: Martin K. Petersen

Tired of forgetting about this so documented it for others so they also
don't spend unnecessary time figuring this out.

Signed-off-by: Laurence Oberman <loberman@redhat.com>

diff --git a/Documentation/scsi/scsi-parameters.txt
b/Documentation/scsi/scsi-parameters.txt
index 8477655..c9e9ce8 100644
--- a/Documentation/scsi/scsi-parameters.txt
+++ b/Documentation/scsi/scsi-parameters.txt
@@ -116,3 +116,9 @@ parameters may be changed at runtime by the command
 
 	wd33c93=	[HW,SCSI]
 			See header of drivers/scsi/wd33c93.c.
+
+Additional notes on passing parameters on the command line.
+Its not intuitively obvious how to pass certain parameters on the boot
line.
+For parameters such as scsi_dev_flags, you need to pass to the
scsi_mod as follows
+scsi_mod.dev_flags=LIO-ORG:thin2:0x80000000
+
-- 
1.8.3.1

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

* Re: Patch: add to Documentation/scsi for scsi_dev_flags and command line passing
  2017-10-18 17:13 Patch: add to Documentation/scsi for scsi_dev_flags and command line passing Laurence Oberman
@ 2017-10-18 17:25 ` Randy Dunlap
       [not found]   ` <CAFfF4qua-gutNTT+s+HuxrgS_B8sV5J+8x0-VbrYwObd5mN4bQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2017-10-18 17:25 UTC (permalink / raw)
  To: Laurence Oberman, linux-scsi; +Cc: Martin K. Petersen

On 10/18/17 10:13, Laurence Oberman wrote:
> Tired of forgetting about this so documented it for others so they also
> don't spend unnecessary time figuring this out.
> 
> Signed-off-by: Laurence Oberman <loberman@redhat.com>
> 
> diff --git a/Documentation/scsi/scsi-parameters.txt
> b/Documentation/scsi/scsi-parameters.txt
> index 8477655..c9e9ce8 100644
> --- a/Documentation/scsi/scsi-parameters.txt
> +++ b/Documentation/scsi/scsi-parameters.txt
> @@ -116,3 +116,9 @@ parameters may be changed at runtime by the command
>  
>  	wd33c93=	[HW,SCSI]
>  			See header of drivers/scsi/wd33c93.c.
> +
> +Additional notes on passing parameters on the command line.

                                                         line:

> +Its not intuitively obvious how to pass certain parameters on the boot

   It's

> line.
> +For parameters such as scsi_dev_flags, you need to pass to the
> scsi_mod as follows

           as follows:

> +scsi_mod.dev_flags=LIO-ORG:thin2:0x80000000
> +
> -- 
> 1.8.3.1


Also the patch has some weird line breaks.


-- 
~Randy

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

* Re: Patch: add to Documentation/scsi for scsi_dev_flags and command line passing
       [not found]   ` <CAFfF4qua-gutNTT+s+HuxrgS_B8sV5J+8x0-VbrYwObd5mN4bQ@mail.gmail.com>
@ 2017-10-18 17:46     ` Randy Dunlap
  2017-10-18 17:51       ` Laurence Oberman
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2017-10-18 17:46 UTC (permalink / raw)
  To: Laurence Oberman; +Cc: linux-scsi, Martin K. Petersen

On 10/18/17 10:28, Laurence Oberman wrote:
> I just noticed that
> Was taken straight out of git after changing the Doc file.
> Let me see why git did that
> 

It's more likely that Evolution did it.

> 
> On Wed, Oct 18, 2017 at 1:25 PM, Randy Dunlap <rdunlap@infradead.org <mailto:rdunlap@infradead.org>> wrote:
> 
>     On 10/18/17 10:13, Laurence Oberman wrote:
>     > Tired of forgetting about this so documented it for others so they also
>     > don't spend unnecessary time figuring this out.
>     >
>     > Signed-off-by: Laurence Oberman <loberman@redhat.com <mailto:loberman@redhat.com>>
>     >
>     > diff --git a/Documentation/scsi/scsi-parameters.txt
>     > b/Documentation/scsi/scsi-parameters.txt
>     > index 8477655..c9e9ce8 100644
>     > --- a/Documentation/scsi/scsi-parameters.txt
>     > +++ b/Documentation/scsi/scsi-parameters.txt
>     > @@ -116,3 +116,9 @@ parameters may be changed at runtime by the command
>     >  
>     >       wd33c93=        [HW,SCSI]
>     >                       See header of drivers/scsi/wd33c93.c.
>     > +
>     > +Additional notes on passing parameters on the command line.
> 
>                                                              line:
> 
>     > +Its not intuitively obvious how to pass certain parameters on the boot
> 
>        It's
> 
>     > line.
>     > +For parameters such as scsi_dev_flags, you need to pass to the
>     > scsi_mod as follows
> 
>                as follows:
> 
>     > +scsi_mod.dev_flags=LIO-ORG:thin2:0x80000000
>     > +
>     > -- 
>     > 1.8.3.1
> 
> 
>     Also the patch has some weird line breaks.
> 
> 
>     --
>     ~Randy
> 
> 


-- 
~Randy

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

* Re: Patch: add to Documentation/scsi for scsi_dev_flags and command line passing
  2017-10-18 17:46     ` Randy Dunlap
@ 2017-10-18 17:51       ` Laurence Oberman
  2017-10-19  0:52         ` Martin K. Petersen
  0 siblings, 1 reply; 5+ messages in thread
From: Laurence Oberman @ 2017-10-18 17:51 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-scsi, Martin K. Petersen

Indeed it was Evolution and then linux-scsi rejected my fix.

Trying again, for some reason it thought I had html

Signed-off-by: Laurence Oberman <loberman@redhat.com>

--- a/Documentation/scsi/scsi-parameters.txt
+++ b/Documentation/scsi/scsi-parameters.txt
@@ -116,3 +116,11 @@ parameters may be changed at runtime by the command

  wd33c93= [HW,SCSI]
  See header of drivers/scsi/wd33c93.c.
+
+Additional notes on passing parameters on the command line:
+
+It's not intuitively obvious how to pass certain parameters on the boot line.
+For parameters such as scsi_dev_flags, you need to pass to the scsi_mod as
+follows.
+On kernel line add scsi_mod.dev_flags=LIO-ORG:thin2:0x8000000
+

On Wed, Oct 18, 2017 at 1:46 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
> On 10/18/17 10:28, Laurence Oberman wrote:
>> I just noticed that
>> Was taken straight out of git after changing the Doc file.
>> Let me see why git did that
>>
>
> It's more likely that Evolution did it.
>
>>
>> On Wed, Oct 18, 2017 at 1:25 PM, Randy Dunlap <rdunlap@infradead.org <mailto:rdunlap@infradead.org>> wrote:
>>
>>     On 10/18/17 10:13, Laurence Oberman wrote:
>>     > Tired of forgetting about this so documented it for others so they also
>>     > don't spend unnecessary time figuring this out.
>>     >
>>     > Signed-off-by: Laurence Oberman <loberman@redhat.com <mailto:loberman@redhat.com>>
>>     >
>>     > diff --git a/Documentation/scsi/scsi-parameters.txt
>>     > b/Documentation/scsi/scsi-parameters.txt
>>     > index 8477655..c9e9ce8 100644
>>     > --- a/Documentation/scsi/scsi-parameters.txt
>>     > +++ b/Documentation/scsi/scsi-parameters.txt
>>     > @@ -116,3 +116,9 @@ parameters may be changed at runtime by the command
>>     >
>>     >       wd33c93=        [HW,SCSI]
>>     >                       See header of drivers/scsi/wd33c93.c.
>>     > +
>>     > +Additional notes on passing parameters on the command line.
>>
>>                                                              line:
>>
>>     > +Its not intuitively obvious how to pass certain parameters on the boot
>>
>>        It's
>>
>>     > line.
>>     > +For parameters such as scsi_dev_flags, you need to pass to the
>>     > scsi_mod as follows
>>
>>                as follows:
>>
>>     > +scsi_mod.dev_flags=LIO-ORG:thin2:0x80000000
>>     > +
>>     > --
>>     > 1.8.3.1
>>
>>
>>     Also the patch has some weird line breaks.
>>
>>
>>     --
>>     ~Randy
>>
>>
>
>
> --
> ~Randy

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

* Re: Patch: add to Documentation/scsi for scsi_dev_flags and command line passing
  2017-10-18 17:51       ` Laurence Oberman
@ 2017-10-19  0:52         ` Martin K. Petersen
  0 siblings, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2017-10-19  0:52 UTC (permalink / raw)
  To: Laurence Oberman; +Cc: Randy Dunlap, linux-scsi, Martin K. Petersen


Laurence,

> Indeed it was Evolution and then linux-scsi rejected my fix.

Please use git send-email for patch submissions.

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2017-10-19  0:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18 17:13 Patch: add to Documentation/scsi for scsi_dev_flags and command line passing Laurence Oberman
2017-10-18 17:25 ` Randy Dunlap
     [not found]   ` <CAFfF4qua-gutNTT+s+HuxrgS_B8sV5J+8x0-VbrYwObd5mN4bQ@mail.gmail.com>
2017-10-18 17:46     ` Randy Dunlap
2017-10-18 17:51       ` Laurence Oberman
2017-10-19  0:52         ` Martin K. Petersen

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.