Re: acpi-cpufreq oddness

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

 



On Fri, Aug 18, 2006 at 03:04:54PM -0400, Dave Jones wrote:

 > No, there's nothing in dmesg.
 > This is from the perror() in modprobe printing out the human-readable form
 > of -EINVAL
 > 
 > An strace shows ..
 > 
 > init_module(0x8287a88, 16244, "")       = -1 EINVAL (Invalid argument)
 > write(2, "FATAL: Error inserting acpi_cpuf"..., 139FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.17-1.2571.fc6/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): Invalid argument

Ok, after a bit more investigation, the -EINVAL seems to be coming
from acpi_processor_preregister_performance()
Should ..
                if (!performance || !performance[i]) {
                        retval = -EINVAL;
                        continue;
                }

be -ENODEV perhaps ?

		Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux