From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760755AbYGHXfN (ORCPT ); Tue, 8 Jul 2008 19:35:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760517AbYGHXao (ORCPT ); Tue, 8 Jul 2008 19:30:44 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:44399 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932568AbYGHXan (ORCPT ); Tue, 8 Jul 2008 19:30:43 -0400 Date: Tue, 8 Jul 2008 16:29:45 -0700 From: Randy Dunlap To: Johannes Berg Cc: linux-kernel@vger.kernel.org, Rusty Russell , Christoph Hellwig , Michael Kerrisk , Randy Dunlap , linux-doc@vger.kernel.org Subject: Re: [RFC 10/11] remove mention of CONFIG_KMOD from documentation Message-Id: <20080708162945.4b94608f.randy.dunlap@oracle.com> In-Reply-To: <20080708170048.633321000@sipsolutions.net> References: <20080708170015.470877000@sipsolutions.net> <20080708170048.633321000@sipsolutions.net> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Michael Kerrisk > Cc: Randy Dunlap > Cc: linux-doc@vger.kernel.org Acked-by: Randy Dunlap > --- > 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 > - # > - > - 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 @@ > Device Components > !Esound/core/device.c > > - KMOD and Device File Entries > + Module requests and Device File Entries > !Esound/core/sound.c > > Memory Management Helpers > --- 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 ) and install it. > + Enable HOTPLUG and build a modular kernel. Get agent software > + (from ) 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 ) and install it. > + Enable HOTPLUG and build a modular kernel. Get agent software > + (from ) 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/