linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Documentation
@ 2004-05-27 13:12 Alexander E. Patrakov
  2004-05-28 23:25 ` Documentation Greg KH
  2004-06-02  6:11 ` Documentation Niko Sauer
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander E. Patrakov @ 2004-05-27 13:12 UTC (permalink / raw)
  To: linux-hotplug

In the Linux From Scratch (LFS) support mailing list a question has been 
asked: why can't hotplug load the "snd-pcm-oss" module automatically 
despite the fact that the Creative Live! soundcard is found and the 
"snd-emu10k1" module is loaded automatically for it. I answered this 
question, but another point has been raised there that should be really 
discussed here.

Namely, the problem is that the recommendations on building Linux kernel 
and writing /etc/modules.conf (or modprobe.conf) file that predate 
adoption of Hotplug are now wrong, invalid and even harmful. Since 
Hotplug and Udev will be probably included in the next version of LFS, 
and even experienced developers cannot build a trouble-free kernel for 
use with Hotplug and Udev on their first attempt, we expect a sharp 
increase of support questions per day in our list.

I could not find any up-to-date "good practice" documents upon building 
the kernel that work well with Hotplug and Udev. E.g., it is mentioned 
nowhere that if a character or block device driver is built as a module, 
then it will not be loaded automatically. Yes, that is in the Udev FAQ, 
but in the wrong form: you state that it is not the task of Udev to load 
modules (it is a negative statement), and I need an URL with some 
positive recommendations how to load modules and to avoid various 
chicken-and-egg problems. The snd-pcm-oss problem is also documented 
nowhere. (is there any comprehensive list of such undetectable modules?)

Could you please post link here to some good (possibly even "official") 
up-to-date and newbie-proof list of good kernel building practices? The 
discussion of modprobe.conf will be also very nice. I will be glad to 
put that link into the LFS book, thus avoiding repeated support questions.

If such document is not written yet, we should collaborate and write it.

-- 
Alexander E. Patrakov


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_idÅ66&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Documentation
  2004-05-27 13:12 Documentation Alexander E. Patrakov
@ 2004-05-28 23:25 ` Greg KH
  2004-06-02  6:11 ` Documentation Niko Sauer
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-05-28 23:25 UTC (permalink / raw)
  To: linux-hotplug

On Thu, May 27, 2004 at 07:12:23PM +0600, Alexander E. Patrakov wrote:
> 
> Could you please post link here to some good (possibly even "official") 
> up-to-date and newbie-proof list of good kernel building practices? The 
> discussion of modprobe.conf will be also very nice. I will be glad to 
> put that link into the LFS book, thus avoiding repeated support questions.
> 
> If such document is not written yet, we should collaborate and write it.

I do not know of such a document yet, sorry.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_idÅ66&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Documentation
  2004-05-27 13:12 Documentation Alexander E. Patrakov
  2004-05-28 23:25 ` Documentation Greg KH
@ 2004-06-02  6:11 ` Niko Sauer
  1 sibling, 0 replies; 3+ messages in thread
From: Niko Sauer @ 2004-06-02  6:11 UTC (permalink / raw)
  To: linux-hotplug

On Thu, 27 May 2004, Alexander E. Patrakov wrote:

> Date: Thu, 27 May 2004 19:12:23 +0600
> From: Alexander E. Patrakov <patrakov@ums.usu.ru>
> To: linux-hotplug-devel@lists.sourceforge.net
> Subject: Documentation
> 
> In the Linux From Scratch (LFS) support mailing list a question has been 
> asked: why can't hotplug load the "snd-pcm-oss" module automatically 
> despite the fact that the Creative Live! soundcard is found and the 
> "snd-emu10k1" module is loaded automatically for it. I answered this 
> question, but another point has been raised there that should be really 
> discussed here.
> 
> Namely, the problem is that the recommendations on building Linux kernel 
> and writing /etc/modules.conf (or modprobe.conf) file that predate 
> adoption of Hotplug are now wrong, invalid and even harmful. Since 
> Hotplug and Udev will be probably included in the next version of LFS, 
> and even experienced developers cannot build a trouble-free kernel for 
> use with Hotplug and Udev on their first attempt, we expect a sharp 
> increase of support questions per day in our list.
> 
> I could not find any up-to-date "good practice" documents upon building 
> the kernel that work well with Hotplug and Udev. E.g., it is mentioned 
> nowhere that if a character or block device driver is built as a module, 
> then it will not be loaded automatically. Yes, that is in the Udev FAQ, 
> but in the wrong form: you state that it is not the task of Udev to load 
> modules (it is a negative statement), and I need an URL with some 
> positive recommendations how to load modules and to avoid various 
> chicken-and-egg problems. The snd-pcm-oss problem is also documented 
> nowhere. (is there any comprehensive list of such undetectable modules?)
> 
> Could you please post link here to some good (possibly even "official") 
> up-to-date and newbie-proof list of good kernel building practices? The 
> discussion of modprobe.conf will be also very nice. I will be glad to 
> put that link into the LFS book, thus avoiding repeated support questions.
> 
> If such document is not written yet, we should collaborate and write it.
> 
> 
Dear Alexander

I do not have what you are looking for, but some notes I have made on use
of udev for hotplugging flash memory devices and cd writing. In Linux-2.6
the kernel configuration for achieving these things are much simpler than
for the 2.4 kernel. CD writing with the new kernel is so simple that the
existing HOWTO (also included in Beyond LFS) is hopelessly outdated. Would
you be able to use these notes, and would someone else in the LFS team be
interested?

Kind regards

Niko Sauer
______________________
Unit of Advanced Study
University of Pretoria
Pretoria 0002
South Africa

Tel: [27][12] 420 3558
Fax: [27][12] 420 3904



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-02  6:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 13:12 Documentation Alexander E. Patrakov
2004-05-28 23:25 ` Documentation Greg KH
2004-06-02  6:11 ` Documentation Niko Sauer

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).