lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A384FE4.9090703@gmail.com>
Date:	Wed, 17 Jun 2009 10:07:32 +0800
From:	Changli Gao <xiaosuo@...il.com>
To:	James.Bottomley@...senPartnership.com
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	linux-scsi@...r.kernel.org, xiaosuo <xiaosuo@...il.com>
Subject: [PATCH] scsi_wait_scan: no option appears when configuring for scsi_wait_scan.

FIXBUG: missing comment after tristate leads to no option for
scsci_wait_scan when configuring.

When build kernel, this module is always built if I choose SCSI, and I
can't find any option in the configuration menu, so I can't disable it
or build it into kernel statically. After diving into the kernel source
code, I found no comment after keyword tristate, then I added the
comment and help.

Signed-off-by: Changli Gao <xiaosuo@...il.com <mailto:xiaosuo@...il.com>>
----

Kconfig | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

--- drivers/scsi/Kconfig.orig	2009-06-17 09:52:46.000000000 +0800
+++ drivers/scsi/Kconfig	2009-06-17 09:55:57.000000000 +0800
@@ -259,10 +259,15 @@
 	  or async on the kernel's command line.
 
 config SCSI_WAIT_SCAN
-	tristate
+	tristate "Wait until all the async scans are complete"
 	default m
 	depends on SCSI
 	depends on MODULES
+	help
+	  Wait until all the async scans are complete. The idea is to use it in
+	  initrd/initramfs scripts.  You modprobe it after all the modprobes of
+	  the root SCSI drivers and it will wait until they have all finished
+	  scanning their busses before allowing the boot to proceed
 
 menu "SCSI Transports"
 	depends on SCSI

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ