[Bug 349569] New: CPUFreq doesn't work at startup, but works later
https://bugzilla.novell.com/show_bug.cgi?id=349569 Summary: CPUFreq doesn't work at startup, but works later Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: fabien@crespel.net QAContact: qa@suse.de Found By: --- Created an attachment (id=188093) --> (https://bugzilla.novell.com/attachment.cgi?id=188093) boot.msg As the title suggests, CPUFreq doesn't work at startup although I know my CPU (Intel Core 2 Duo T5500, in ASUS F3JC) supports it. I get the "(CPUFreq not supported)" message when haldaemon starts. Extract from /var/log/boot.msg : Starting HAL daemon<notice>startproc: execve (/usr/sbin/hald) [ /usr/sbin/hald --daemon=yes ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=124 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x317 RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-1024x768.cfg PREVLEVEL=N LINES=44 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/disk/by-id/scsi-SATA_ST9100824AS_5PL1NYLP-part7 _=/sbin/startproc DAEMON=/usr/sbin/hald ] done Loading CPUFreq modules (CPUFreq not supported) Thus, the CPU speed is always at the maximum and I can't control it. This happens every time. So you would suppose the CPU really doesn't support it, but it works after doing "service haldaemon restart" as root, once I'm logged in. I can then control the CPU speed with KPowersave for example. I don't know exactly what's the problem, but I noticed something strange in /var/log/messages : Dec 18 17:35:05 FABP rchal: CPU frequency scaling is not supported by your processor. Dec 18 17:35:05 FABP rchal: boot with 'CPUFREQ=no' in to avoid this warning. Dec 18 17:35:05 FABP rchal: Cannot load cpufreq governors - No cpufreq driver available [... other stuff ...] Dec 18 17:35:08 FABP kernel: powernow: This module only works with AMD K7 CPUs Dec 18 17:35:08 FABP kernel: ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (0FFFFFFFD) is beyond end of object [20070126] Dec 18 17:35:08 FABP kernel: ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._PSS] (Node dffdcdc4), AE_AML_PACKAGE_LIMIT Dec 18 17:35:08 FABP kernel: ACPI Exception (processor_perflib-0234): AE_AML_PACKAGE_LIMIT, Evaluating _PSS [20070126] Dec 18 17:35:08 FABP kernel: ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (0FFFFFFFD) is beyond end of object [20070126] Dec 18 17:35:08 FABP kernel: ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU2._PSS] (Node dfd43720), AE_AML_PACKAGE_LIMIT Dec 18 17:35:08 FABP kernel: ACPI Exception (processor_perflib-0234): AE_AML_PACKAGE_LIMIT, Evaluating _PSS [20070126] As you can see, there is a message about powernow (from module powernow_k7), and some ACPI errors about missing methods in the DSDT. So it looks like the startup script for haldaemon doesn't wait for the kernel modules to be loaded, and thinks they all fail while they are still loading...? Note that after startup, the various cpufreq modules aren't loaded, neither is acpi_cpufreq. But they are loaded after restarting haldaemon, and acpi_cpufreq works correctly. Please help :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349569
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=349569
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c2
Thomas Renninger
Btw. Isn't there a way to autoload the modules depending on the CPU type, e.g. via udev, instead of use the HAL rc script? For acpi-cpufreq and powernow-k8 autoloading could be possible, I am thinking about loading if processor _PPC and _PSS cpufreq ACPI functions are available, maybe it's worth it...
Fabien: This looks like an ACPI interpreter issue. Did this ever worked before? Please look for a BIOS update first. If this does not help, pls attach acpidump with the latest BIOS installed. Oh wait..., no need to update the BIOS, it seems the BIOS update breaks it, you see this bug (ASUS F3JC after BIOS update): http://bugzilla.kernel.org/show_bug.cgi?id=9558 Let's give the Intel ACPI people some time to resolve this... Maybe it is possible to downgrade the BIOS? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349569
User fabien@crespel.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c3
--- Comment #3 from Fabien Crespel
Fabien: This looks like an ACPI interpreter issue. Did this ever worked before? Please look for a BIOS update first. If this does not help, pls attach acpidump with the latest BIOS installed.
Oh wait..., no need to update the BIOS, it seems the BIOS update breaks it, you see this bug (ASUS F3JC after BIOS update): http://bugzilla.kernel.org/show_bug.cgi?id=9558
Let's give the Intel ACPI people some time to resolve this... Maybe it is possible to downgrade the BIOS?
I remember it worked several months ago, with an old BIOS. Sadly I can't really downgrade, because I originally had to update it to support Windows Vista, and (as silly as it sounds :p) I want to keep Vista. The problem reported in the bug you mentioned seems to be the same (except the node address and index). But what I don't understand, is that it only fails the FIRST time. If I reload acpi_cpufreq afterward, it works. It doesn't sound very .. logical, if there was a severe problem with the BIOS/DSDT/whatever, it should fail every time.. shouldn't it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349569
User fabien@crespel.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c4
--- Comment #4 from Fabien Crespel
https://bugzilla.novell.com/show_bug.cgi?id=349569
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c5
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=349569
User fabien@crespel.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c6
--- Comment #6 from Fabien Crespel
https://bugzilla.novell.com/show_bug.cgi?id=349569
Fabien Crespel
https://bugzilla.novell.com/show_bug.cgi?id=349569
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c7
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=349569
User fabien@crespel.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c8
--- Comment #8 from Fabien Crespel
https://bugzilla.novell.com/show_bug.cgi?id=349569
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=349569#c9
Holger Macht
participants (1)
-
bugzilla_noreply@novell.com