Summary: | Net rc script won't run for interfaces added by coldplug | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Whitlock <gentoo> |
Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gregkh |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Whitlock
2005-10-03 17:26:31 UTC
remove hotplug/coldplug and try again I removed coldplug and hotplug from my startup using rc-update. I added ath_pci to my modules.autoload.d since I didn't think it would be inserted otherwise. Now it works: * Mounting proc at /proc ... * Mounting sysfs at /sys ... * Mounting /dev for udev ... * Configuring system to use udev ... * Setting /sbin/udevsend as hotplug agent ... * Mounting devpts at /dev/pts ... * Activating (possible) swap ... Adding 506036k swap on /dev/hda2. Priority:-1 extents:1 * Checking root filesystem ... Reiserfs super block in block 16 on 0x303 of format 3.6 with standard journal Blocks (total/free): 7675040/1927520 by 4096 bytes Filesystem is clean Filesystem seems mounted read-only. Skipping journal replay. Checking internal tree..finished * Remounting root filesystem read/write ... * Setting hostname to matt-notebook ... * Using /etc/modules.autoload.d/kernel-2.6 as config: * Loading module ath_pci ... * Autoloaded 1 module(s) * Checking all filesystems ... /dev/hda1: clean, 48/10040 files, 7660/40128 blocks * Mounting local filesystems ... * Mounting USB device filesystem (usbfs) ... * Activating (possibly) more swap ... * Setting system clock to hardware clock [UTC] ... * Mounting tmpfs at /var/lib/init.d ... * Caching service dependencies ... * Starting service hdparm * Service hdparm started OK * Starting service keymaps * Starting service bootmisc * Starting service net.lo * Starting service urandom * Starting service rmnologin * Starting service consolefont * Service rmnologin started OK * Service urandom started OK * Service keymaps started OK * Service net.lo started OK * Service bootmisc started OK * Service consolefont started OK INIT: Entering runlevel: 3 * Starting service acpid * Starting service metalog * Service acpid started OK * Starting service net.eth0 * Starting service ntp-client * Service metalog started OK * Starting service netmount * Starting service vixie-cron * Starting service sshd * Starting service net.ath0 * Starting service xdm * Starting service local * Service xdm started OK No link on eth0, aborting configuration preup eth0 failed * FAILED to start service net.eth0! Configuration not set for ath0 - assuming dhcp * Service net.ath0 started OK * Service netmount started OK * Service sshd started OK * Service ntp-client started OK * Service vixie-cron started OK * Service local started OK I readded hotplug and coldplug to boot, and it still works. So something funny is happening with net.ath0 when I just have hotplug inserting the ath_pci module into the kernel rather than loading it with modules.autoload.d. I'd rather let hotplug do it so it doesn't load if I don't have my wireless card inserted, but I will leave it as is for now. Thanks. i'm pretty sure you're not supposed to use hotplug Heh - everything is working as it should :) With your config, I would recommend setting RC_STRICT_NET_CHECKING="lo" in /etc/conf.d/rc so that all net services come up even when none are actually "up". Let coldplug load net.ath0 as it should (better than hardcoding it in the modules.autoload.d). As spanky said the hotplug init script isn't used anymore (hotplug itself is, just not the init script as coldplug has replaced it) Re-open if you disagree |