Re: [arch-general] powernow-k8 fails to load with linux 3.7.2

Leonid Isaev
2013-01-18T16:59:39Z

[-- Attachment #1: Type: text/plain, Size: 2096 bytes --]

On Fri, 18 Jan 2013 12:37:17 +0100
Borislav Petkov <bp@alien8.de> wrote:

> On Thu, Jan 17, 2013 at 07:40:44PM -0600, Leonid Isaev wrote:
> > Arrh, modprobe still does not exit cleanly with this...
>
> As I said already above:
>
> >> That's correct - we say ENODEV on your CPU which supports hardware
> >> P-states and hand off to acpi-cpufreq which has that functionality
> >> now.
>
> It is supposed to work that way: we return an error from the powernow-k8
> init function so that it doesn't load but hand off to acpi-cpufreq so
> that it gets loaded instead.
>
> > > But, we also have the CPU autoprobing deal:
> > >
> > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=644e9cbbe3fc032cc92d0936057e166a994dc246
> > >
> > > so, *actually*, powernow-k8 should be loaded by default. I dunno, maybe
> > > upgrade udev on your distro?
> >
> > Udev 196 and 197 + linux <= 3.6.11 yield correct CPU autoprobing. However,
> > udev 197 + linux 3.7.2 do not. I haven't tested udev 196 with 3.7.2 though,
> > but it does not look like a udev issue.
>
> Hmm, I'll bet this has something to do with the fact that HW_PSTATE is
> in another CPUID function on AMD than on Intel and udev doesn't see that
> bit to load acpi-cpufreq automatically.
>
> Before I go and install archlinux here, where can I get the udev sources
> which are in your archlinux installation to stare at them a little? :)
> Especially the cpu autoprobing part which supposedly uses the cpuid
> kernel driver.

They are vanilla systemd-197
(http://www.freedesktop.org/software/systemd/systemd-197.tar.xz) with only 1
dbus-related patch
(https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/systemd).

>
> > I don't know if it matters, but I also have AMD microcode "0x10000c8",
> > albeit it didn't cause problems with 3.6.11...
>
> Nah, microcode doesn't have anything to do with it.
>
> Thanks.
>

Thanks,
L.

--
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]