linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: Bug#263079: udev: missing mknod on ppp
Date: Tue, 03 Aug 2004 13:01:05 +0000	[thread overview]
Message-ID: <410F8C91.80103@ums.usu.ru> (raw)
In-Reply-To: <20040802231148.GA19178@wonderland.linux.it>

Marco d'Itri wrote:
> On Aug 03, "Alexander E. Patrakov" <patrakov@ums.usu.ru> wrote:
>>Bedause the ppp-generic module is not autoloaded (put it into 
> I know. My fault then, I assumed that the user had RTFM as instructed.
> 
>>The same problem exists for all "non-hardware" modules. It can be solved 
>>by explicitly loading all these non-hardware modules at system startup. 
> 
> I have already seen the code you propose, but it does much more than
> this: it loads almost *all* modules and I'm not inclined to add this to
> the default configuration.

It loads the following:

the modules that it is intended to load (good, see the list below)
old cdrom drivers (bad)
watchdogs (very bad)

> The debian hotplug package, with my patches, is now able to autoload the
> modules for most hardware (notably floppy and rtc too), so the only
> non-autoloaded modules left are ppp_generic and loop.

You are an optimist. The more complete list of undetectable (and 
unloadable with udev) non-hardware modules in Debian Sarge that want to 
create devices is:

microcode
apm
ppdev
nvram
lp
loop
tun
ppp-generic
(not sure if I want to see sg here)

The list is rather short :) so they look like good candidates for 
/etc/modules. Also please solve the snd-pcm-oss-and-the-like problem: 
add the following to modprobe.conf when installing udev:

install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true
install parport modprobe -i parport ; modprobe lp ; modprobe \
	ppdev ; true
install mptbase modprobe -i mptbase ; modprobe mptscsih ; modprobe \
	mptctl ; modprobe mptlan ; true
install scsi-mod modprobe -i scsi-mod ; modprobe sd-mod ; modprobe \
	sr-mod ; true     # sg may be better added here

The problem is that module autoloading due to char-majors breaks with 
udev, and no package wants to load them instead. So you have virtually 
no choice: either put these entries into /etc/modules at udev 
installation (maybe after asking the user a question), or make a new 
package (that contains just these /etc/modules entries) and make the 
udev package recommend it, or just leave the current broken situation.

-- 
Alexander E. Patrakov



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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

      parent reply	other threads:[~2004-08-03 13:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Brl5k-0006Jd-1F@lkcl.net>
     [not found] ` <20040802224118.GA18849@wonderland.linux.it>
2004-08-02 23:15   ` Bug#263079: udev: missing mknod on ppp Luke Kenneth Casson Leighton
2004-08-02 23:11     ` Marco d'Itri
2004-08-03  1:52       ` Alexander E. Patrakov
2004-08-03  8:35         ` Luke Kenneth Casson Leighton
2004-08-03  8:27       ` Luke Kenneth Casson Leighton
2004-08-03 10:03       ` Marco d'Itri
2004-08-03 10:04       ` Marco d'Itri
2004-08-03 13:01       ` Alexander E. Patrakov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410F8C91.80103@ums.usu.ru \
    --to=patrakov@ums.usu.ru \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).