public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Sam Ravnborg <sam@ravnborg.org>,
	James Bottomley <james.bottomley@steeleye.com>,
	linux-scsi@vger.kernel.org, Jeff Garzik <jeff@garzik.org>,
	Andi Kleen <andi@firstfloor.org>,
	Folkert van Heusden <folkert@vanheusden.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] SCSI: split Kconfig menu into two
Date: Sat, 15 Sep 2007 18:42:20 +0200	[thread overview]
Message-ID: <20070915164219.GW3563@stusta.de> (raw)
In-Reply-To: <46EBF9DC.1000503@s5r6.in-berlin.de>

On Sat, Sep 15, 2007 at 05:27:24PM +0200, Stefan Richter wrote:
> Adrian Bunk wrote:
> > On Sat, Sep 15, 2007 at 04:11:45PM +0200, Stefan Richter wrote:
> >> Perfect is in the eye of the beholder.  You would consequently have to
> >> add such options into all menus which contain scsi low-level providers.
> > 
> > Kconfig is a user interface, so perfect is what is best for the
> > kconfig users.
> 
> Duplicate options with different names in different menus, but which all
> do the same, --- is this the best for users?

Different to your approach of trying to achieve the same with one huge 
help text I see a realistic chance of it working.

What's other alternatives do we have?

Automatically select BLK_DEV_SD and BLK_DEV_SR if one driver that uses 
the SCSI layer gets enabled by the user?

> >> Also, one more question on whether CONFIG_SCSI ought to be 'select'ed:
> >> Where do scsi-core options like CONFIG_SCSI_CONSTANTS go?
> > 
> > The first question is whether it's for actual SCSI hardware [1] or for 
> > the block layer functionality which the SCSI subsystem has become.
> > The mixture of these two is the root of much user confusion.
> > 
> > With the help text "The error messages regarding your SCSI hardware will 
> > be easier to understand if you say Y here" a user wouldn't have expected 
> > to see you using it in a firewire driver.
> 
> FireWire hardware which implements SBP-2 is SCSI hardware...  But this
> detail aside --- yes, of course this help text is old and misleading.
> 
> > But unless I miss anything, 
> > the setting of SCSI_SCAN_ASYNC does only affect "real" SCSI hardware.
> 
> It affects every hardware which is driven by scsi low-level providers
> which have been integrated with the SCSI_SCAN_ASYNC facility.
> 
> > If you check each option and place it either in the generic storage menu 
> > or the SCSI lowlevel menu this would fix much possible user confusion.
> > 
> > But these are relatively unimportant options compared to e.g.
> > USB_STORAGE=y, BLK_DEV_SD=n, which is a misconfiguration many
> > users run into, so having one menu somewhere with these advanced 
> > options should be enough.
> 
> True.
> 
> So,
>     config SCSI_CONSTANTS
>         "Kernel log messages from the SCSI subsystem will be easier to
>         understand if you say Y here..."
> would say what this option really does.  But to some degree the need to
> explain what the SCSI subsystem or SCSI core is and which other
> subsystems make use of it remains.  Maybe it's OK to provide
> documentation of this kind outside of Kconfig help though.

This is a debug option and it's unlikely that users will need it unless 
someone explicitely requested them to do so, so it's not such an 
important issue.

> > [1] SCSI as in "sold as SCSI"
> 
> Difficult.  Does e.g. hardware sold as SAS count as "sold as SCSI"?  How
> about SBP-2 then?  ;-)

If SBP-2 is what you get in a shop when asking for an external
Firewire disk enclosure then it's not sold as SCSI.

> Stefan Richter

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  parent reply	other threads:[~2007-09-15 16:42 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 12:48 sata & scsi suggestion for make menuconfig Folkert van Heusden
2007-09-07 14:40 ` Jan Engelhardt
2007-09-07 14:58   ` Folkert van Heusden
2007-09-07 19:38     ` Krzysztof Halasa
2007-09-07 23:02       ` Jan Engelhardt
2007-09-08  7:27         ` Jan Engelhardt
2007-09-07 15:35 ` Randy Dunlap
2007-09-07 15:59   ` Folkert van Heusden
2007-09-07 16:21     ` Stefan Richter
2007-09-07 23:05       ` Folkert van Heusden
2007-09-08  7:05         ` Stefan Richter
2007-09-08  7:29           ` Jan Engelhardt
2007-09-08  7:56             ` Stefan Richter
2007-09-08 16:31           ` Randy Dunlap
2007-09-08 16:44             ` Stefan Richter
2007-09-08 16:48               ` Randy Dunlap
2007-09-08 19:45                 ` Stefan Richter
2007-09-08  8:43   ` Sam Ravnborg
2007-09-13  8:50   ` Helge Hafting
2007-09-14 16:42     ` Goswin von Brederlow
2007-09-14 18:44       ` Stefan Richter
2007-09-08 16:07 ` Andi Kleen
2007-09-08 16:50   ` Randy Dunlap
2007-09-08 16:53     ` Matthew Wilcox
2007-09-08 18:13     ` Andi Kleen
2007-09-08 18:30       ` Stefan Richter
2007-09-08 19:14         ` Andi Kleen
2007-09-08 19:32           ` Stefan Richter
2007-09-09 21:00   ` James Bottomley
2007-09-09 21:03     ` Andi Kleen
2007-09-09 21:11       ` Jeff Garzik
2007-09-09 21:22         ` Andi Kleen
2007-09-09 21:39           ` James Bottomley
2007-09-10  6:38             ` Stefan Richter
2007-09-10 12:43               ` Rene Herman
2007-09-11 20:16           ` Bauke Jan Douma
2007-09-12 22:46         ` Adrian Bunk
2007-09-14 14:54           ` Stefan Richter
2007-09-14 15:15             ` Adrian Bunk
2007-09-14 15:37               ` Stefan Richter
2007-09-14 16:01                 ` [PATCH] SCSI: update Kconfig help text to indicate SCSI core's widespread usage Stefan Richter
2007-09-14 16:29                   ` Jeff Garzik
2007-09-14 18:02                   ` [RFC PATCH] SCSI: split Kconfig menu into two Stefan Richter
2007-09-14 18:04                     ` [PATCH] SCSI: trailing whitespace in Kconfig Stefan Richter
2007-09-14 19:00                     ` [RFC PATCH] SCSI: split Kconfig menu into two Sam Ravnborg
2007-09-14 19:06                       ` Adrian Bunk
2007-09-14 20:01                         ` Stefan Richter
2007-09-15 11:40                           ` Adrian Bunk
2007-09-15 12:24                             ` Stefan Richter
2007-09-15 12:50                               ` Adrian Bunk
2007-09-15 13:20                                 ` Stefan Richter
2007-09-15 13:53                                   ` Adrian Bunk
2007-09-15 14:11                                     ` Stefan Richter
2007-09-15 14:43                                       ` Adrian Bunk
2007-09-15 15:27                                         ` Stefan Richter
2007-09-15 15:44                                           ` Jeff Garzik
2007-09-15 16:23                                             ` Adrian Bunk
2007-09-15 16:52                                               ` Bartlomiej Zolnierkiewicz
2007-09-15 19:17                                                 ` Jeff Garzik
2007-09-15 20:54                                                   ` Bartlomiej Zolnierkiewicz
2007-09-16 20:12                                               ` Greg KH
2007-09-15 16:42                                           ` Adrian Bunk [this message]
2007-09-17 11:29                               ` Maciej W. Rozycki
2007-09-17 14:46                                 ` Stefan Richter
2007-09-14 20:20                     ` Stefan Richter
2007-09-14 21:22                       ` [PATCH update] " Stefan Richter
2007-09-14 18:54                   ` [PATCH] SCSI: update Kconfig help text to indicate SCSI core's widespread usage Lennart Sorensen
2007-09-14 20:14                     ` Stefan Richter
2007-09-14 20:21                       ` Lennart Sorensen
2007-09-14 21:06                         ` Stefan Richter
2007-09-14 21:11                           ` Lennart Sorensen
2007-09-14 21:14                           ` [PATCH update] " Stefan Richter
2007-09-14 22:02                             ` FUJITA Tomonori
2007-09-15  6:16                               ` Stefan Richter
2007-09-15 10:52                                 ` FUJITA Tomonori
2007-09-15 12:30                                   ` Stefan Richter
2007-09-15 12:53                                     ` FUJITA Tomonori
2007-09-15 12:59                             ` Adrian Bunk
2007-09-15 13:19                               ` Stefan Richter
2007-09-14 16:16                 ` sata & scsi suggestion for make menuconfig Adrian Bunk
2007-09-14 16:50                   ` Stefan Richter
2007-09-15  8:04               ` Paul Rolland
2007-09-15  8:25                 ` Stefan Richter
2007-09-15 13:00                   ` Paul Rolland
2007-09-15 15:50                     ` x86_64 usability bug: Kconfig prompt without help text (was Re: sata & scsi suggestion for make menuconfig) Stefan Richter
2007-09-15 16:21                       ` Andi Kleen
2007-09-15 17:13                         ` [PATCH] x86_64: configure HPET_EMULATE_RTC automatically Stefan Richter
2007-09-15 18:23                 ` sata & scsi suggestion for make menuconfig david

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070915164219.GW3563@stusta.de \
    --to=bunk@kernel.org \
    --cc=andi@firstfloor.org \
    --cc=folkert@vanheusden.com \
    --cc=james.bottomley@steeleye.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox