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

Re: [Xen-users] powernow-k8 + linux-image-2.6.16-1-xen-k7



On 09/17/06 05:35, Ralf Schenk wrote:
> Hannes Petschauer schrieb:
>> Hi
>>
>> i'm running sarge, xen 3.0.2 with original debian-kernel 2.6.16-1-xen-k7.
>>
>> my problem:
>> when i try to alter cpufrequency in dom0 via
>> /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed,
>> it results in an error:
>> powernow-k8: vid trans failed, vid 0x11, curr 0x12
>>
>> when i boot my coputer with non-Xen debian-kernel 2.6.16-1-k7, i have no
>> problem changing cpu-speed.
>>
>> do i have to use a more recent kernel or xen-unstable to get it work
>> (which), or is there a other problem?
>>
>> Thanks!
> 
> You have to patch the kernel to get powernow-k8 running under xen. The
> (small) patch is attached and works for me for kernel 2.6.16.[0-29].
> 
> Bye

I have a dual core chip, and I just tried this patch with the latest
3.0.3-testing release, (kernel 2.6.16.29), and it does not work.  I get
the error reported in this bug

https://launchpad.net/products/linux/+bug/33116
https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/33846

After applying the patch in that thread, it still doesn't work.  I even
commented out that entire check, and it still fails with the code right
below it ("init not cpu 0" powernow-k8.c:1048)

I suspect it has to do with the fact that I have a dual core chip, and
the xen interface does not currently handle it.  (I notice a comment in
the patch saying something about multiple cpus not working).

For reference, cpufreq works with the stock ubuntu dapper kernel (which
has the patch from that bug applied).  So it is something with the xen
interface.

John

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.