View previous topic :: View next topic |
Author |
Message |
MACHINE Tux's lil' helper
Joined: 30 Mar 2004 Posts: 141 Location: Earth
|
Posted: Wed Mar 22, 2006 2:46 am Post subject: How to select timer by using kernel parameter? |
|
|
I just install Kernel 2.6.16, and PM_TIMER is automatically started instead of HPET_TIMER.
My system (Acer TravelMate 3001) always hangs up by using PM_TIMER no idea why.
However, since 2.6.16, i can no longer find the PM_TIMER option and no idea how to disable it.
So how to select timer by using kernel parameter?
Thanks! _________________ Hi, Gentoo men!! |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Mar 22, 2006 3:35 am Post subject: Re: How to select timer by using kernel parameter? |
|
|
MACHINE wrote: | My system (Acer TravelMate 3001) always hangs up by using PM_TIMER no idea why. |
That also happens with some Dell servers, caused by the BIOS hardware clock supposedly being "better".
You can run grep TIMER /usr/src/linux/.config, or in the kernel's "make menuconfig" press "/" and just search for "timer". |
|
Back to top |
|
|
MACHINE Tux's lil' helper
Joined: 30 Mar 2004 Posts: 141 Location: Earth
|
Posted: Wed Mar 22, 2006 5:21 am Post subject: Re: How to select timer by using kernel parameter? |
|
|
PaulBredbury wrote: | MACHINE wrote: | My system (Acer TravelMate 3001) always hangs up by using PM_TIMER no idea why. |
That also happens with some Dell servers, caused by the BIOS hardware clock supposedly being "better".
You can run grep TIMER /usr/src/linux/.config, or in the kernel's "make menuconfig" press "/" and just search for "timer". |
it does not work, it will be overwritten everytime i "make". _________________ Hi, Gentoo men!! |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Mar 22, 2006 5:40 am Post subject: |
|
|
Try it, and I think you'll find it does work. Otherwise, people would have a most annoying time of trying to configure their kernels
grep does not change anything, it just shows matches. You make the change within make menuconfig. |
|
Back to top |
|
|
MACHINE Tux's lil' helper
Joined: 30 Mar 2004 Posts: 141 Location: Earth
|
Posted: Wed Mar 22, 2006 7:36 am Post subject: |
|
|
PaulBredbury wrote: | Try it, and I think you'll find it does work. Otherwise, people would have a most annoying time of trying to configure their kernels
grep does not change anything, it just shows matches. You make the change within make menuconfig. |
1. make menuconfig
2. vi .config (to comment out CONFIG_X86_PM_TIMER)
3. make
4. cat .config | grep PM_TIMER (and you will see CONFIG_X86_PM_TIMER is set to yes again)
5. make modules_install
6. make install
7. reboot
8. (hang up) _________________ Hi, Gentoo men!! |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Mar 22, 2006 7:40 am Post subject: |
|
|
MACHINE wrote: | 2. vi .config (to comment out CONFIG_X86_PM_TIMER) |
Don't do that - heed the warning at the stop of the file:
Quote: | # Automatically generated make config: don't edit |
Edit the file via the user interface from make menuconfig |
|
Back to top |
|
|
MACHINE Tux's lil' helper
Joined: 30 Mar 2004 Posts: 141 Location: Earth
|
Posted: Wed Mar 22, 2006 9:21 am Post subject: |
|
|
PaulBredbury wrote: | MACHINE wrote: | 2. vi .config (to comment out CONFIG_X86_PM_TIMER) |
Don't do that - heed the warning at the stop of the file:
Quote: | # Automatically generated make config: don't edit |
Edit the file via the user interface from make menuconfig |
as I said, there is no such option in menuconfig in 2.6.16. _________________ Hi, Gentoo men!! |
|
Back to top |
|
|
Primozic Apprentice
Joined: 11 Jun 2004 Posts: 186 Location: Dover, NH, USA
|
Posted: Wed Mar 22, 2006 4:44 pm Post subject: |
|
|
I'm using 2.6.16, and it's there. You have to have ACPI enabled to see it, and I'm assuming you do since you're using a laptop.
Power management options (ACPI, APM) --> ACPI (Advanced Configuration and Power Interface) Support
[ ] Power Management Timer Support |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Mar 22, 2006 5:53 pm Post subject: |
|
|
make menuconfig's search on pm_timer explains everything:
Code: | Symbol: X86_PM_TIMER [=y]
│ Prompt: Power Management Timer Support │
│ Defined at drivers/acpi/Kconfig:287 │
│ Depends on: !X86_VOYAGER && !X86_VISWS && !IA64_HP_SIM && (IA64 || X8 │
│ Location: │
│ -> Power management options (ACPI, APM) │
│ -> ACPI (Advanced Configuration and Power Interface) Support │
│ -> ACPI Support (ACPI [=y]) |
|
|
Back to top |
|
|
MACHINE Tux's lil' helper
Joined: 30 Mar 2004 Posts: 141 Location: Earth
|
Posted: Wed Mar 22, 2006 7:45 pm Post subject: |
|
|
PaulBredbury wrote: | make menuconfig's search on pm_timer explains everything:
Code: | Symbol: X86_PM_TIMER [=y]
©¦ Prompt: Power Management Timer Support ©¦
©¦ Defined at drivers/acpi/Kconfig:287 ©¦
©¦ Depends on: !X86_VOYAGER && !X86_VISWS && !IA64_HP_SIM && (IA64 || X8 ©¦
©¦ Location: ©¦
©¦ -> Power management options (ACPI, APM) ©¦
©¦ -> ACPI (Advanced Configuration and Power Interface) Support ©¦
©¦ -> ACPI Support (ACPI [=y]) |
|
What!!!!!! Unbelievable........It does not exist in my kernel config.......
By the way, I'm using CK's kernel. _________________ Hi, Gentoo men!! |
|
Back to top |
|
|
MACHINE Tux's lil' helper
Joined: 30 Mar 2004 Posts: 141 Location: Earth
|
Posted: Wed Mar 22, 2006 8:36 pm Post subject: |
|
|
oh no........even gentoo-sources does not have that option.
i'm gonna try vanilla-sources tonight...
thank everybody! _________________ Hi, Gentoo men!! |
|
Back to top |
|
|
dundas Guru
Joined: 16 Dec 2004 Posts: 317 Location: China, Earth
|
Posted: Sun Jun 18, 2006 10:37 am Post subject: |
|
|
u should have it now wiz current stable gentoo-sources r9 _________________ Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer |
|
Back to top |
|
|
|