Docs guys, Can you look into this bug fix request from the forums? We should check with chadh to make sure that this is the correct fix. From the msg: First of all I would like to thank the Gentoo team for all their efforts in making Gentoo such a pleasurable Linux distribution. It really is a good way to learn about Linux, and the forum is a great resource. I've been through a few installs, manily on notebooks. I've just downloaded x86-1.4-20030807 release and followed the instructions. Please can you add a small note at Code listing 17.3 in respect of pcmcia. I found that "rc-update add pcmcia boot" was also required before pcmcia cards would work correctly, especially for networking. If I missed something obvious please let me know, and I'll appologise in advance for being such a noob
This has needed to be fixed for a while. The note in the install guide about adding "need pcmcia" to the net script is wrong. The correct procedure is to rc-update add pcmcia (I recommend boot, but default is fine, too), and you *don't* have to rc-update add net.ethX (pcmcia starts it).
Created attachment 15858 [details, diff] Proposed patch to the installation guide Proposed patch for the installation guide. However, I'm not certain if this really is valid: /etc/init.d/net.eth0 reads: """ # For pcmcia users. note that pcmcia must be added to the same # runlevel as the net.* script that needs it. """ However, you say that /etc/init.d/net.eth0 doesn't have to be added to a runlevel ever. Also, how does the /etc/init.d/pcmcia service know what /etc/init.d/net.eth* it must activate? Or if you are referring to /etc/pcmcia/network, it tries to start all net.*, right? But when is /etc/pcmcia/network activated?
That comment in the net.ethX script is wrong as well. Is azarah still in charge of init scripts? Our modified /etc/init.d/pcmcia/network script calls the correct net.ethX script (pcmcia know which device it just detected and calls the corresponding script).
I don't seem to have /etc/init.d/pcmcia/network, I do have /etc/init.d/pcmcia. * sys-apps/pcmcia-cs Latest version available: 3.2.4 Latest version installed: 3.2.4 Size of downloaded files: 1,282 kB Homepage: http://pcmcia-cs.sourceforge.net Description: PCMCIA tools for Linux
oops. *** /etc/pcmcia/network ***
When is /etc/pcmcia/network started? I don't immediately see it being sourced or whatever from /etc/init.d/pcmcia...
It is started whenever a pcmcia device is detected by cardmgr (which is started by /etc/init.d/pcmcia). That is why you don't want net.ethX rc-updated: What if the network card hasn't been inserted yet?
Got it :)
Reviewed. Post it Sven :)
Committed to cvs.