Hannes Petschauer
2006-Sep-17 09:35 UTC
[Xen-users] powernow-k8 + linux-image-2.6.16-1-xen-k7
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! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ralf Schenk
2006-Sep-17 10:35 UTC
Re: [Xen-users] powernow-k8 + linux-image-2.6.16-1-xen-k7
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 -- __________________________________________________ Ralf Schenk fon (02 41) 9 91 21-0 fax (02 41) 9 91 21-59 rs@databay.de Databay AG Hüttenstraße 7 D-52068 Aachen www.databay.de Databay - einfach machen. _________________________________________________ Diese E-Mail und etwa angehängte Dateien enthalten vertrauliche Informationen und sind ausschließlich für den Adressaten bestimmt. Sollten Sie irrtümlich diese E-Mail erhalten haben, bitten wir Sie, uns darüber unter info@databay.de zu informieren und die E-Mail ungelesen an uns zurückzusenden und aus Ihrem System zu löschen. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify info@databay.de. If you are not the named recipient, you should return this message without reading further and delete it from your system. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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]. > > ByeI 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@lists.xensource.com http://lists.xensource.com/xen-users