LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   init scripts (https://www.linuxquestions.org/questions/debian-26/init-scripts-371419/)

lvgandhi 10-10-2005 02:01 AM

init scripts
 
1) In /etc/inittab run level is 2. In etc/rc2.d/ there is no discover/hotplug link. But discover and hotplug are run. How is it possible?
2) I get in boot as below
Mon Oct 10 10:34:04 2005: Starting Hardware abstraction layer: 10:34:04.535 [W] hald.c:302: Your kernel does not support capabilities; some features will not be available.
What are the options in kernel config which helps hal?
3) I get "already loaded" messages while boot. I have removed discover. I have hotplug. How to know why modules loading duplicated.
I run sarge with self compiled kernel 2.6.13.2 configured with oldconfig

lpd 10-10-2005 11:26 AM

When Debian boots up it first runs all the links in rcS.d (S for Start), then after that is finished it switches to runlevel 2, 3 or whatever was specified at boot.
So hotplug/discover was run from their links in /etc/rcS.d/
The modules are loaded from
  1. The initrd for your kernel, if your kernel uses one. (/boot/initrd.img-2.6.13.2 or some such)
  2. Any modules specified in /etc/modules and any modules that they depend on.
  3. Modules that are loaded by hardware detection(hotplug/discover etc)

The "Module already loaded" aren't really that important

lvgandhi 10-11-2005 02:44 AM

already loaded indicates that some thing is trying to load the module. It this trials are stopped may be booting can be faster. I want modules to be loaded only once. Whether blacklist in hotplug will unload module loaded by some other program? What is the sequence of programs that load modules. I have already disabled discover. initrd loads kernel inbuild modules are some other modules also. How to know what modulkes are loaded by initrd? I have compiled kernel using make-kpkg.


All times are GMT -5. The time now is 02:44 AM.