Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] shutdown hang up with laptop-mode-tools and wicd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ligq
n00b
n00b


Joined: 11 Mar 2012
Posts: 7

PostPosted: Thu Apr 05, 2012 1:11 pm    Post subject: [solved] shutdown hang up with laptop-mode-tools and wicd Reply with quote

I install a pure no-multilib 64bit gentoo (tuxonice-sources) on my T400s laptop in last four days. While the installation, I use eth0 to connect the internet, the shutdown and reboot all are OK. But when I switch to wireless connection and disconnect the eth0 connection, I reboot and then I found It will hang up after mount / read only.
I googling a while and try to do a lot of test, at the end I use wicd-kde frontend to set wired-default to lo. The shutdown and reboot change to OK.

But by this way, the disadvantage is that wicd kde frontend always show wired-default not wireless connection.

Is there a way to add a script to call "ifconfig eth0 down" before shutdown?
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 187
Location: Cork, Ireland

PostPosted: Fri Apr 06, 2012 9:24 pm    Post subject: Reply with quote

is this a laptop with e1000e NIC?
It's probably this: https://bugzilla.kernel.org/show_bug.cgi?id=36132
solved in Linux 3.3.0

http://forums.gentoo.org/viewtopic-t-914040-highlight-.html
http://forums.gentoo.org/viewtopic-t-911696-highlight-e1000e.html

workaround for you, unload the modules before shutdown or
Code:
risko-glaptop ~ # cat /etc/local.d/e1000e.stop
#!/bin/bash
rmmod e1000e
risko-glaptop ~ # chmod 755 /etc/local.d/e1000e.stop


or
Code:
vi /etc/local.d/eth0.stop
#!/bin/bash
ifconfig eth0 down

chmod 755 /etc/local.d/eth0.stop
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum