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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080708162945.4b94608f.randy.dunlap@oracle.com>
Date:	Tue, 8 Jul 2008 16:29:45 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Johannes Berg <johannes@...solutions.net>
Cc:	linux-kernel@...r.kernel.org,
	Rusty Russell <rusty@...tcorp.com.au>,
	Christoph Hellwig <hch@...radead.org>,
	Michael Kerrisk <mtk.manpages@...il.com>,
	Randy Dunlap <rdunlap@...otime.net>, linux-doc@...r.kernel.org
Subject: Re: [RFC 10/11] remove mention of CONFIG_KMOD from documentation

On Tue, 08 Jul 2008 19:00:25 +0200 Johannes Berg wrote:

> Also includes a few Kconfig files (xtensa, blackfin)
> 
> Signed-off-by: Johannes Berg <johannes@...solutions.net>
> Cc: Michael Kerrisk <mtk.manpages@...il.com>
> Cc: Randy Dunlap <rdunlap@...otime.net>
> Cc: linux-doc@...r.kernel.org

Acked-by: Randy Dunlap <rdunlap@...otime.net>


> ---
>  Documentation/filesystems/bfs.txt                     |   10 +++++-----
>  Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl |    2 +-
>  Documentation/telephony/ixj.txt                       |   13 +++----------
>  Documentation/video4linux/w9968cf.txt                 |    3 ---
>  arch/blackfin/Kconfig                                 |    4 ++--
>  arch/xtensa/Kconfig                                   |    4 ++--
>  6 files changed, 13 insertions(+), 23 deletions(-)
> 
> --- everything.orig/Documentation/filesystems/bfs.txt	2008-07-08 18:54:03.000000000 +0200
> +++ everything/Documentation/filesystems/bfs.txt	2008-07-08 18:59:25.000000000 +0200
> @@ -26,11 +26,11 @@ You can simplify mounting by just typing
>  
>  this will allocate the first available loopback device (and load loop.o 
>  kernel module if necessary) automatically. If the loopback driver is not
> -loaded automatically, make sure that your kernel is compiled with kmod 
> -support (CONFIG_KMOD) enabled. Beware that umount will not
> -deallocate /dev/loopN device if /etc/mtab file on your system is a
> -symbolic link to /proc/mounts. You will need to do it manually using
> -"-d" switch of losetup(8). Read losetup(8) manpage for more info.
> +loaded automatically, make sure that you have compiled the module and
> +that modprobe is functioning. Beware that umount will not deallocate
> +/dev/loopN device if /etc/mtab file on your system is a symbolic link to
> +/proc/mounts. You will need to do it manually using "-d" switch of
> +losetup(8). Read losetup(8) manpage for more info.
>  
>  To create the BFS image under UnixWare you need to find out first which
>  slice contains it. The command prtvtoc(1M) is your friend:
> --- everything.orig/Documentation/telephony/ixj.txt	2008-07-08 18:54:03.000000000 +0200
> +++ everything/Documentation/telephony/ixj.txt	2008-07-08 18:59:25.000000000 +0200
> @@ -305,21 +305,14 @@ driver, like this:
>  
>  which will result in the needed drivers getting loaded automatically.
>  
> -   g.  if you are planning on using kerneld to automatically load the 
> -module for you, then you need to edit /etc/conf.modules and add the 
> +   g.  if you are planning on having the kernel automatically request
> +the module for you, then you need to edit /etc/conf.modules and add the
>  following lines:
>  
>  	options ixj dspio=0x340 xio=0x330 ixjdebug=0
>  
>  If you do this, then when you execute an application that uses the
> -module kerneld will load the module for you.  Note that to do this,
> -you need to have your kernel set to support kerneld.  You can check
> -for this by looking at /usr/src/linux/.config and you should see this:
> -
> -	# Loadable module support
> -	#
> -	<snip>
> -	CONFIG_KMOD=y
> +module the kernel will request that it is loaded.
>  
>    h.  if you want non-root users to be able to read and write to the 
>  ixj devices (this is a good idea!) you should do the following:
> --- everything.orig/Documentation/video4linux/w9968cf.txt	2008-07-08 18:54:02.000000000 +0200
> +++ everything/Documentation/video4linux/w9968cf.txt	2008-07-08 18:59:25.000000000 +0200
> @@ -193,9 +193,6 @@ Description:     Automatic 'ovcamchip' m
>  		 loads that module automatically. This action is performed as
>  		 once soon as the 'w9968cf' module is loaded into memory.
>  Default:         1
> -Note:            The kernel must be compiled with the CONFIG_KMOD option
> -		 enabled for the 'ovcamchip' module to be loaded and for
> -		 this parameter to be present.
>  -------------------------------------------------------------------------------
>  Name:           simcams
>  Type:           int
> --- everything.orig/Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl	2008-07-08 18:54:03.000000000 +0200
> +++ everything/Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl	2008-07-08 18:59:25.000000000 +0200
> @@ -42,7 +42,7 @@
>       <sect1><title>Device Components</title>
>  !Esound/core/device.c
>       </sect1>
> -     <sect1><title>KMOD and Device File Entries</title>
> +     <sect1><title>Module requests and Device File Entries</title>
>  !Esound/core/sound.c
>       </sect1>
>       <sect1><title>Memory Management Helpers</title>
> --- everything.orig/arch/blackfin/Kconfig	2008-07-08 18:54:02.000000000 +0200
> +++ everything/arch/blackfin/Kconfig	2008-07-08 18:59:25.000000000 +0200
> @@ -873,8 +873,8 @@ config HOTPLUG
>  	  plugged into slots found on all modern laptop computers.  Another
>  	  example, used on modern desktops as well as laptops, is USB.
>  
> -	  Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
> -	  software (at <http://linux-hotplug.sourceforge.net/>) and install it.
> +	  Enable HOTPLUG and build a modular kernel.  Get agent software
> +	  (from <http://linux-hotplug.sourceforge.net/>) and install it.
>  	  Then your kernel will automatically call out to a user mode "policy
>  	  agent" (/sbin/hotplug) to load modules and set up software needed
>  	  to use devices as you hotplug them.
> --- everything.orig/arch/xtensa/Kconfig	2008-07-08 18:54:02.000000000 +0200
> +++ everything/arch/xtensa/Kconfig	2008-07-08 18:59:25.000000000 +0200
> @@ -194,8 +194,8 @@ config HOTPLUG
>  	plugged into slots found on all modern laptop computers.  Another
>  	example, used on modern desktops as well as laptops, is USB.
>  
> -	Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
> -	software (at <http://linux-hotplug.sourceforge.net/>) and install it.
> +	Enable HOTPLUG and build a modular kernel.  Get agent software
> +	(from <http://linux-hotplug.sourceforge.net/>) and install it.
>  	Then your kernel will automatically call out to a user mode "policy
>  	agent" (/sbin/hotplug) to load modules and set up software needed
>  	to use devices as you hotplug them.
> 
> -- 

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
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