According to [EMAIL PROTECTED]: While burning my CPU.
>
> Hello,
> What is the sequential slackware startup routine? I'm trying to find out
> which files get executed when?
/etc/inittab calls rc.S (System start), rc.S mounts partitions does fsck
sets the clock and a few more things as well, i am sure you have read the
file.
Near the bottom it calls /etc/rc.d/rc.modules this dates back to before
there was a daemon called "Kerneld" which automaticly loads modules when
they are needed or called for via the kernel system calls, now realy
rc.modules in slackware is out of date and now overkill. You can of course
leave it where it is and just let it do "depmod -a" and start kerneld, on
the otherhand you can modify your system via rc.S as follows to get rid of
rc.modules all togehter.
Edit rc.S around line 22;
#if [ -x /sbin/kerneld ]; then
# /sbin/kerneld
#fi
Normaly its commented out, the reason for that is stated just above that,
text, you can "safely" uncomment it as those problems are "long gone".
Now goto +/- line 140 and comment out;
if [ -x /etc/rc.d/rc.modules ]; then
. /etc/rc.d/rc.modules
fi
add;
# Update module dependencies:
echo "Updating module dependencies for Linux `uname -r`:"
/sbin/depmod -a
Now you have started kerneld and done depmod -a so realy
/etc/rc.d/rc.modules is now "realy overkill" as we have done all that is
needed. It will no longer get called.
> I want to know conf.modules, vs.
/etc/conf.modules is used by kerneld its the brain behind kerneld, the place
where you supply information on which modules to load for a spesific device,
i will use eth0 for an example, edit /etc/conf.modules;
add;
alias eth0 smc-ultra
That will tell kerneld to load (autoprobe using "modprobe") the smc-ultra
ethernet card driver, replace smc-ultra with whatever driver you need to
suit your card.
There are many "options" which can be put in conf.modules ie, load a driver
at a spesific i/o address, or irq, an "options example";
options smc-ultra io=0x300 irq=10
take a look at the Module.HOWTO in your /usr/doc/* dir.
and while your there read ./mini-howtos/Kerneld
> rc.modules, vs. rc.local, but a sequential step by step startup would be
> helpful. I know that inittab calls /etc/rc.d/rc.S and it also branches to
> other rc.SingleLetter scripts, but how does conf.modules and
> rc.local/rc.cdrom fit in?
I always advise against mounting cdroms at bootime, as 1) possably there is
no cd in the drive, 2) you dont need it for anything.
So you can also comment out
if [ -x /etc/rc.d/rc.cdrom ]; then
. /etc/rc.d/rc.cdrom
fi
Now rc.cdrom does not get called.
All of the above is what i do, remember slackware lets you define what
you want, lets you learn more about Linux than most other distro's.
Others may have other examples for you and may even explain in a little
more detail the advantages of doing the above, or some might say
disadvantages. (that would be there opinion).
The thing which is "most confusing" with slackware is the text in some of
the rc files, it dates back to the year "dot" and therefor can be
misleading to someone new.
Hope this helps.
> Thanks.
> Dave.
>
> ___________________________________________________________________
> You don't need to buy Internet access to use free Internet e-mail.
> Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
> or call Juno at (800) 654-JUNO [654-5866]
>
--
Regards Richard.
[EMAIL PROTECTED]