View previous topic :: View next topic |
Author |
Message |
Tifauv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 13 Location: Angers, France
|
Posted: Mon Aug 21, 2006 9:31 pm Post subject: [SOLVED] [Shutdown] ifplugd fails to stop |
|
|
_o/ Hi all !
Since I updated baselayout, a problem occurs when shutting down my laptop. The shutdown process seems to go well but it fails after "Service hostname stopped" with a red message saying "ifplugd can't stop". And then nothing happens, it can stay like this forever (well, I only gave him one hour) without halting.
If I manually stop the ifplugd processes (for eth0 and ath0) before shutting down, there is no error message but it stops at the same level (Service hostname stopped) and doesn't halt either.
I guess I did something wrong when merging the config files, but I don't know the init and network scripts enough to find out what happens...
Thanks in advance !
Last edited by Tifauv on Wed Aug 23, 2006 8:07 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zaphyr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1023022011436b958ca9064.png)
Joined: 07 Dec 2004 Posts: 312 Location: Copenhagen, Denmark
|
Posted: Tue Aug 22, 2006 7:08 am Post subject: |
|
|
I have the same problem, it stops after hostname.
I have to press ctrl+c to force it to continue
this is on a amd64 box, on my x86 laptop I have no problems. They are both using the latest baselayout
perhaps we can re-emerge an older baselayout and see if that helps? I am not at my computer atm, so I can't try it right now _________________ emerge IQ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tifauv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 13 Location: Angers, France
|
Posted: Tue Aug 22, 2006 12:18 pm Post subject: |
|
|
UberLord wrote: | Try removing ifplugd from your runlevels - baselayout supports it internally now. |
Thanks, I'll try that when I get back home. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tifauv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 13 Location: Angers, France
|
Posted: Tue Aug 22, 2006 6:44 pm Post subject: |
|
|
Well, removing ifplugd from the runlevels didn't change anything ; except that I get Code: | WARNING: net.eth0 has started but is inactive | as the last message on tty1. I don't have the login prompt on tty1.
rc-status when logged in KDE gives me the following services as still in state starting :
- ntp-client
- sshd
- cupsd
- local
- vixie-cron
- wlanconfig.ath0
- net.ath0
- netmount
It seems that wlanconfig.ath0 is blocking all the others, so I tried to remove it. I get a lot of error messages about ath0 not existing (the pcmcia card is not plugged in), cupsd & Co not started. It's ugly but at least the boot completes to the login prompt.
It's on a laptop with eth0 (wired) and ath0 (wireless pcmcia card).
Here is an extract of /etc/conf.d/rc : Code: | RC_PARALLEL_STARTUP="yes"
RC_INTERACTIVE="no"
RC_HOTPLUG="yes"
RC_COLDPLUG="yes"
RC_PLUG_SERVICES=""
RC_NET_STRICT_CHECKING="no"
RC_DOWN_INTERFACE="yes" |
I'm starting with eth0 cable plugged and without the pcmcia card.
PS: I udapted to latest baselayout-1.12.4-r7 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Aug 22, 2006 7:13 pm Post subject: |
|
|
Tifauv wrote: |
It seems that wlanconfig.ath0 is blocking all the others, so I tried to remove it. |
Great. If that's wlanconfig - the madwifi tool to create interfaces then please stop using it (as in the init script - you can use wlanconfig in preup() functons in conf.d/net) as it seriously blows chunks.
The madwifi devs graciously allow proper behavior these days and an ath0 interface should be created for you automatically without any need for it. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tifauv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 13 Location: Angers, France
|
Posted: Tue Aug 22, 2006 10:38 pm Post subject: |
|
|
Thanks, it starts better now.
But one problem remains. When booting, the services netmount, net-client and sshd don't start because net.ath0 fails (the card is not plugged, so it should fail, but perhaps more silently) :
Code: | ERROR: net.ath0 failed to start
ERROR: cannot start netmount because net.ath0 could not start
ERROR: netmount failed to start
ERROR: cannot start ntp-client because net.ath0 could not start
ERROR: ntp-client failed to start
ERROR: cannot start sshd because net.ath0 could not start
ERROR: sshd failed to start |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tifauv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 13 Location: Angers, France
|
Posted: Tue Aug 22, 2006 11:39 pm Post subject: |
|
|
It is already, and it works well when I plug the card in. WPA PSK again, at last.
But I still get the messages even if the cable is plugged on eth0... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tifauv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 13 Location: Angers, France
|
Posted: Wed Aug 23, 2006 8:06 pm Post subject: |
|
|
\o/ It works !
Thanks a lot... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|