LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-10-2005, 02:01 AM   #1
lvgandhi
LQ Newbie
 
Registered: Jul 2001
Distribution: Debian
Posts: 27

Rep: Reputation: 15
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
 
Old 10-10-2005, 11:26 AM   #2
lpd
Member
 
Registered: Nov 2004
Distribution: Debian Unstable
Posts: 77

Rep: Reputation: 15
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
 
Old 10-11-2005, 02:44 AM   #3
lvgandhi
LQ Newbie
 
Registered: Jul 2001
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New init scripts? xconspirisist Fedora 9 12-09-2004 11:41 AM
Bootsplash init scripts TheRepublican Slackware 5 05-11-2004 02:13 AM
startup scripts for init.d/ soredz Red Hat 2 10-16-2003 03:27 PM
Scripts in /etc/rc.d/init.d correro Linux - General 1 03-13-2003 09:47 PM
Slackware init scripts. jpweston Slackware 1 04-17-2002 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration