%% Chris Gianelloni <wolf31o2-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx> writes:
>> I quite understand your position: you are using ostensibly stable
>> Gentoo packages and your work is focused on making sure Catalyst
>> works. I'm using unstable/development packages and assuming that
>> Catalyst is stable.
cg> Catalyst is anything but stable. It works quite well for building
cg> a *Gentoo* release, but is not well suited for other things (yet)
cg> simply due to that being the only focus of catalyst until
cg> recently.
:-) Yes, understood.
>> My current project is understanding where the kernel boot parameters
>> come from (my bootline has "nodhcp" which I don't want). My other
>> problem is that the hardware detection stuff is running too late in the
>> "default" boot process; it brings up eth0, then sshd, then apache,
>> _THEN_ runs the hardware detection. So, I can't quite figure out how it
>> brings up eth0 without detecting the hardware... maybe it runs twice?
cg> All of the boot parameters come from the archscript.
I found this now.
cg> Normally, autoconfig is started first due to it being first
cg> alphabetically.
Oops. That's not terribly robust :-). I'm adding "apache2" and that
comes before "autoconfig". Not sure why SSH is starting earlier, but
apache2 depends on "net" and presumably (although there isn't a "net"
runscript) that somehow translates into net.eth0 etc.
cg> The "hwsetup" portion you see on the Gentoo releases is done by
cg> autoconfig, and runs before coldplug.
Hm. In my version of autoconfig this seems to be commented out:
depend() {
need modules
use alsasound
# provide gpm pcmcia apmd acpid coldplug
}
Maybe that's my problem? I'm getting this from livecd-tools-1.0.20.
I don't see anything depending on coldplug either.
It sure would be nice if the rc scripts tools had some debugging
capabilities, like a "don't do it" mode that just printed what would be
run for a given runlevel or init script, and why. It would make this
stuff a lot simpler...
It seems like basic things like "net" should depend on coldplug and/or
autoconfig.
cg> Just curious, but what arch are you building? x86? amd64? ppc?
x86
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith-ZIRUuHA3oDzQT0dZR+AlfA@xxxxxxxxxxxxxxxx>
HASMAT--HA Software Mthds & Tools
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
gentoo-catalyst-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx mailing list
|