* Fw: scsi_wait_scan Kconfig option
@ 2007-12-07 19:39 Nick Warne
2007-12-07 19:47 ` Matthew Wilcox
0 siblings, 1 reply; 6+ messages in thread
From: Nick Warne @ 2007-12-07 19:39 UTC (permalink / raw)
To: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 1509 bytes --]
Hi all,
Please see below.
Nick
Begin forwarded message:
Date: Fri, 7 Dec 2007 19:12:42 +0000
From: Nick Warne <nick@ukfsn.org>
To: linux-kernel@vger.kernel.org
Subject: scsi_wait_scan Kconfig option
Hi all,
I am bringing this up again - primarily as I forgot about it after
patching my build tree ages ago:
http://lkml.org/lkml/2007/10/27/68
Today I built and installed git for the first time and cloned Linus'
tree (very trick!).
I try not to build a modular kernel, but only have modules ON due to
nVidia (sigh). So I was semi-surprised when I saw the scsi_wait_scan
module being built again, yet NO WHERE in menuconfig is it present to
turn OFF. Even if I hand edit .config, make puts it back again...
.config
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_SCSI_PROC_FS is not set
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m
I have attached my patch again :-)
Nick
--
Free Software Foundation Associate Member 5508
--
Free Software Foundation Associate Member 5508
[-- Attachment #2: scsi_wait.patch --]
[-- Type: text/x-patch, Size: 682 bytes --]
--- linux-current/drivers/scsi/Kconfig_old 2007-10-20 12:44:50.000000000 +0100
+++ linux-current/drivers/scsi/Kconfig 2007-10-20 12:57:13.000000000 +0100
@@ -248,10 +248,17 @@
or async on the kernel's command line.
config SCSI_WAIT_SCAN
- tristate
+ tristate "Wait for SCSI scan completion"
default m
depends on SCSI
depends on MODULES
+ help
+ The SCSI subsystem can probe for devices while the rest of the
+ system continues booting, and even probe devices on different
+ busses in parallel, leading to a significant speed-up.
+
+ You can load the scsi_wait_scan module to ensure that all scans
+ have completed.
menu "SCSI Transports"
depends on SCSI
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fw: scsi_wait_scan Kconfig option
2007-12-07 19:39 Fw: scsi_wait_scan Kconfig option Nick Warne
@ 2007-12-07 19:47 ` Matthew Wilcox
2007-12-07 21:31 ` Nick Warne
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2007-12-07 19:47 UTC (permalink / raw)
To: Nick Warne; +Cc: linux-scsi
On Fri, Dec 07, 2007 at 07:39:53PM +0000, Nick Warne wrote:
> I try not to build a modular kernel, but only have modules ON due to
> nVidia (sigh). So I was semi-surprised when I saw the scsi_wait_scan
> module being built again, yet NO WHERE in menuconfig is it present to
> turn OFF. Even if I hand edit .config, make puts it back again...
You have modules on ... which means you might decide to load a scsi
driver as a module. Maybe one that isn't part of the source tree.
The scsi_wait_scan module is only 1500 bytes. Apart from a sense of
ideological purity (odd in someone who chooses to use nVidia rather
than, say, nv or nouveau), this really isn't a problem.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: scsi_wait_scan Kconfig option
2007-12-07 19:47 ` Matthew Wilcox
@ 2007-12-07 21:31 ` Nick Warne
0 siblings, 0 replies; 6+ messages in thread
From: Nick Warne @ 2007-12-07 21:31 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: linux-scsi
Hi Matthew,
On Fri, 7 Dec 2007 12:47:56 -0700
Matthew Wilcox <matthew@wil.cx> wrote:
> On Fri, Dec 07, 2007 at 07:39:53PM +0000, Nick Warne wrote:
> > I try not to build a modular kernel, but only have modules ON due to
> > nVidia (sigh). So I was semi-surprised when I saw the
> > scsi_wait_scan module being built again, yet NO WHERE in menuconfig
> > is it present to turn OFF. Even if I hand edit .config, make puts
> > it back again...
>
> You have modules on ... which means you might decide to load a scsi
> driver as a module. Maybe one that isn't part of the source tree.
> The scsi_wait_scan module is only 1500 bytes. Apart from a sense of
> ideological purity (odd in someone who chooses to use nVidia rather
> than, say, nv or nouveau), this really isn't a problem.
Alas the card I have isn't supported, but that debate isn't for here.
OK, I only have SCSI set for USB storage etc. I find it strange that
this one and only option in the whole of Kconfig builds a module, and
yet, even though I know I will never need it, I can't stop it.
Surely if people build their own kernels, they should know (and) be
allowed to configure such options?
Nick
--
Free Software Foundation Associate Member 5508
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20071207191242.71a9cc3e@linuxamd.linicks.net>]
end of thread, other threads:[~2007-12-08 22:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 19:39 Fw: scsi_wait_scan Kconfig option Nick Warne
2007-12-07 19:47 ` Matthew Wilcox
2007-12-07 21:31 ` Nick Warne
[not found] <20071207191242.71a9cc3e@linuxamd.linicks.net>
[not found] ` <475A9810.4070104@anagramm.de>
2007-12-08 16:21 ` Nick Warne
2007-12-08 21:21 ` Stefan Richter
2007-12-08 22:16 ` Matthew Wilcox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).