11.11.2010 19:31, KP Kirchdoerfer пишет: > Hi; > > I've migrated from 3.x to 4.x and copied /etc/modules.conf to have a working > setup ASAP. Therefor I wasn't aware of the huge improvements in the modules > area. > > I start to realize that "modules autoloading" works better than I expected. In > fact I thought running hwdetect is needed. But that's not the case. > My network card and it's dependencies are detected automatically; pppoe on the > other hand not, ipv6 is loaded... > > Deploying LEAF Bering-uClibc 4 will shurely be easier, than it had been > before, but can someone (Andrew, David?), explain how it works? I mean why are > some loaded (NIC), others like pppoe not? > > This will be a good chapter in the wiki :) > > kp Automatically loaded hardware modules (NIC, CPU, bridges, ATA/SATA and so on) which have modalias in /sys/devices. It's one part, user-level. 2nd part - modules that are loaded by kernel (for ex., ecb4 - which is required for wireless, but actually isn't present in modules dependencies because is loaded dynamically) or kernel-related software (iptables modules and so on). I can't say truly if iptables loaded modules by itself or if it asks kernel for module presence and kernel decides to load module if it is available - but this really doesn't matter for end user. Also automatically loaded modules dependencies by depmod.
For packages that requires modules to be loaded - current /etc/init.d/modutils script supports 'modules.d' directory that should contain text files with module names that must be loaded (like current /etc/modules). I just don't reviewed all packages that requires kernel modules. ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel