Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No power off after upgrading the kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mike934
n00b
n00b


Joined: 25 Aug 2007
Posts: 15
Location: Moscow, Russia

PostPosted: Wed Dec 17, 2008 8:55 am    Post subject: No power off after upgrading the kernel Reply with quote

I upgraded the kernel from 2.6.25-gentoo-r9 to 2.6.26-gentoo-r4. I just took the .config from the previous kernel, ran "make menuconfig" and saved it without modification. Everything seems to work fine with the new kernel except that power does not want to switch off after I press "Turn off computer" in KDE. What do I do to fix it?
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Dec 17, 2008 8:59 am    Post subject: Reply with quote

I'd suggest when using the .config of a previous kernel to do make oldconfig before doing a make menuconfig.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
mike934
n00b
n00b


Joined: 25 Aug 2007
Posts: 15
Location: Moscow, Russia

PostPosted: Wed Dec 17, 2008 9:13 am    Post subject: Reply with quote

massimo wrote:
I'd suggest when using the .config of a previous kernel to do make oldconfig before doing a make menuconfig.

AFAIR the Gentoo Kernel Upgrade Guide does not recommend using make oldconfig with a new kernel release. They only recommend it when kernel revision changes.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Dec 17, 2008 12:32 pm    Post subject: Reply with quote

Yeah I know that too, but if you copy your .config from one kernel to another, then you really need to run this :

Code:

# make oldconfig
# make menuconfig
# make && make modules_install


I run the make menuconfig, just to be sure that my config are ok.
Back to top
View user's profile Send private message
mike934
n00b
n00b


Joined: 25 Aug 2007
Posts: 15
Location: Moscow, Russia

PostPosted: Wed Dec 17, 2008 2:56 pm    Post subject: Reply with quote

d2_racing wrote:

Code:

# make oldconfig
# make menuconfig
# make && make modules_install


I've done it, but the result is the same: no power off.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Dec 17, 2008 4:55 pm    Post subject: Reply with quote

Simple question: does 'poweroff' typed in the console work ?
Back to top
View user's profile Send private message
mike934
n00b
n00b


Joined: 25 Aug 2007
Posts: 15
Location: Moscow, Russia

PostPosted: Wed Dec 17, 2008 8:51 pm    Post subject: Reply with quote

VoidMage wrote:
Simple question: does 'poweroff' typed in the console work ?

No, it does not.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Dec 18, 2008 11:59 am    Post subject: Reply with quote

Hi, maybe you have a ACPI problem, can you post this :

Code:

# dmesg | grep -i acpi
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Thu Dec 18, 2008 12:22 pm    Post subject: Reply with quote

I once hat a problem with power off on my laptop, but that was with kernel 2.6.24. My solution was to switch .config from
Quote:
# CONFIG_CLASSIC_RCU is not set
CONFIG_PREEMPT_RCU=y

to
Quote:
CONFIG_CLASSIC_RCU=y
# CONFIG_PREEMPT_RCU is not set


Maybe check your .config for this settings...
Back to top
View user's profile Send private message
mike934
n00b
n00b


Joined: 25 Aug 2007
Posts: 15
Location: Moscow, Russia

PostPosted: Fri Dec 19, 2008 8:58 am    Post subject: Reply with quote

d2_racing wrote:
Hi, maybe you have a ACPI problem, can you post this :
Code:

# dmesg | grep -i acpi
It's empty:
# dmesg | grep -i acpi
#
Back to top
View user's profile Send private message
mike934
n00b
n00b


Joined: 25 Aug 2007
Posts: 15
Location: Moscow, Russia

PostPosted: Fri Dec 19, 2008 9:01 am    Post subject: Reply with quote

hoacker,
I have CONFIG_CLASSIC_RCU=y and CONFIG_PREEMPT_RCU is absent in my configuration.
Back to top
View user's profile Send private message
Tronil
n00b
n00b


Joined: 04 Aug 2004
Posts: 21
Location: Denmark

PostPosted: Mon Dec 29, 2008 11:17 pm    Post subject: Reply with quote

Hi,

I had the same problem but it disappeared when i upgraded to 2.6.27-r7. So it looks like there was a bug in the 2.6.26 kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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