View previous topic :: View next topic |
Author |
Message |
mike934 n00b
Joined: 25 Aug 2007 Posts: 15 Location: Moscow, Russia
|
Posted: Wed Dec 17, 2008 8:55 am Post subject: No power off after upgrading the kernel |
|
|
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 |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Wed Dec 17, 2008 8:59 am Post subject: |
|
|
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 |
|
|
mike934 n00b
Joined: 25 Aug 2007 Posts: 15 Location: Moscow, Russia
|
Posted: Wed Dec 17, 2008 9:13 am Post subject: |
|
|
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 |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 17, 2008 12:32 pm Post subject: |
|
|
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 |
|
|
mike934 n00b
Joined: 25 Aug 2007 Posts: 15 Location: Moscow, Russia
|
Posted: Wed Dec 17, 2008 2:56 pm Post subject: |
|
|
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 |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Dec 17, 2008 4:55 pm Post subject: |
|
|
Simple question: does 'poweroff' typed in the console work ? |
|
Back to top |
|
|
mike934 n00b
Joined: 25 Aug 2007 Posts: 15 Location: Moscow, Russia
|
Posted: Wed Dec 17, 2008 8:51 pm Post subject: |
|
|
VoidMage wrote: | Simple question: does 'poweroff' typed in the console work ? |
No, it does not. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Dec 18, 2008 11:59 am Post subject: |
|
|
Hi, maybe you have a ACPI problem, can you post this :
Code: |
# dmesg | grep -i acpi
|
|
|
Back to top |
|
|
hoacker Guru
Joined: 04 Aug 2007 Posts: 505 Location: Bürstadt, Germany
|
Posted: Thu Dec 18, 2008 12:22 pm Post subject: |
|
|
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 |
|
|
mike934 n00b
Joined: 25 Aug 2007 Posts: 15 Location: Moscow, Russia
|
Posted: Fri Dec 19, 2008 8:58 am Post subject: |
|
|
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 |
|
|
mike934 n00b
Joined: 25 Aug 2007 Posts: 15 Location: Moscow, Russia
|
Posted: Fri Dec 19, 2008 9:01 am Post subject: |
|
|
hoacker,
I have CONFIG_CLASSIC_RCU=y and CONFIG_PREEMPT_RCU is absent in my configuration. |
|
Back to top |
|
|
Tronil n00b
Joined: 04 Aug 2004 Posts: 21 Location: Denmark
|
Posted: Mon Dec 29, 2008 11:17 pm Post subject: |
|
|
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 |
|
|
|