Re: A few problems with FC6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 07, 2006 at 08:22:31AM -0800, Antonio Olivares wrote:
 
 > error inserting acpi_cpufreq in /lib/modules/2.6.18-1.2798.fc6/kernel/arch/i386/kernel/cpu/cpufreq
 > 
 > It goes by really fast.  If it isn't identifiable from this I'll just 
 > have to reboot 20 times to read it all.
 > 
 > This is harmless.  It just means that it is looking for acpi_cpufreq.ko in /lib/modules/2.6.18-1.2798.fc6/kernel/arch/i386/kernel/cpu/cpufreq.ko 
 > The file could be there and there is a configuration file that points to it.  In my case, since I have an AMD Athlon CPU, the driver should be powernow-k7 which is not the same as cpufreq.ko and it reports this error.  There was a workaround from test-list archives,
 > Dave gave the following explanation
 > https://www.redhat.com/archives/fedora-test-list/2006-October/msg00373.html
 > and workaround was given by Jason and its bugzilla here
 > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201832

I think this needs a cpuspeed update.  Changing the /etc/init.d/cpuspeed to
do something like this should make it quiet again..


--- /etc/init.d/cpuspeed	2006-07-29 03:01:23.000000000 -0400
+++ /etc/init.d/cpuspeed	2006-11-07 16:31:48.000000000 -0500
@@ -28,8 +28,15 @@
 				/sbin/modprobe "$DRIVER"
 			else
 				if [ -d /proc/acpi ]; then
-					# use ACPI as a fallback
-					/sbin/modprobe acpi-cpufreq
+					EST=`grep flags /proc/cpuinfo | grep est`
+					if [ "$EST" ]; then
+						# use ACPI as a fallback
+						/sbin/modprobe acpi-cpufreq
+						# even ACPI didn't work, remove it, and bail out.
+						if [ -d /sys/devices/system/cpu/cpu0/cpufreq ]; then
+							/sbin/rmmod acpi-cpufreq
+						fi
+					fi
 				else
 					# This is a no-ACPI machine. Just exit.
 					return 0


Then we'll only use acpi-cpufreq on speedstep capable machines.
(which is the only time you really want to be running it anyway
 if speedstep-centrino doesn't do the right thing).

Let me know how that works out, and I'll get an update done if it dtrt.

		Dave

-- 
http://www.codemonkey.org.uk

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux