From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Tue, 03 Aug 2004 13:01:05 +0000 Subject: Re: Bug#263079: udev: missing mknod on ppp Message-Id: <410F8C91.80103@ums.usu.ru> List-Id: References: <20040802231148.GA19178@wonderland.linux.it> In-Reply-To: <20040802231148.GA19178@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Marco d'Itri wrote: > On Aug 03, "Alexander E. Patrakov" 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