FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-21-2008, 09:24 AM
Moritz Muehlenhoff
 
Default Bug#373947: powernow-k8: scaling cpu frequency not working with xen

On Fri, Jun 16, 2006 at 03:51:46PM +0200, Uwe Mesecke wrote:
> Package: linux-image-2.6.16-2-xen-amd64-k8
> Version: 2.6.16-14
> Severity: normal
>
> Hi,
>
> after switching to a xen-kernel the frequency scaling of my AMD Athlon64
> CPU stopped working. Instead my syslog is filled with following messages:
>
> Jun 16 15:30:03 harry kernel: powernow-k8: fid trans failed, fid 0x2, curr
> 0xc
> Jun 16 15:30:03 harry kernel: powernow-k8: transition frequency failed
> Jun 16 15:31:00 harry kernel: powernow-k8: fid trans failed, fid 0x2, curr
> 0xc
> Jun 16 15:31:00 harry kernel: powernow-k8: transition frequency failed
>
> It seems that there is a patch[0] available and according to the
> posting[1] of another person having that problem it fixes the issue.
>
> Have not tested the patch yet but I am willing to test prepared packages
> when someone integrates the changes.

Does this error still occur with more recent kernel versions?

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-21-2008, 11:13 AM
Uwe Mesecke
 
Default Bug#373947: powernow-k8: scaling cpu frequency not working with xen

Am 21.12.2008 um 11:24 schrieb Moritz Muehlenhoff:


On Fri, Jun 16, 2006 at 03:51:46PM +0200, Uwe Mesecke wrote:

Package: linux-image-2.6.16-2-xen-amd64-k8
Version: 2.6.16-14
Severity: normal

Hi,

after switching to a xen-kernel the frequency scaling of my AMD
Athlon64
CPU stopped working. Instead my syslog is filled with following
messages:


Jun 16 15:30:03 harry kernel: powernow-k8: fid trans failed, fid
0x2, curr

0xc
Jun 16 15:30:03 harry kernel: powernow-k8: transition frequency
failed
Jun 16 15:31:00 harry kernel: powernow-k8: fid trans failed, fid
0x2, curr

0xc
Jun 16 15:31:00 harry kernel: powernow-k8: transition frequency
failed


It seems that there is a patch[0] available and according to the
posting[1] of another person having that problem it fixes the issue.

Have not tested the patch yet but I am willing to test prepared
packages

when someone integrates the changes.


Does this error still occur with more recent kernel versions?


Hi Moritz,

it's been a while since I last did xen on a debian server. Currently I
have no spare system where I could test this. The only server with xen
in my reach is an ubuntu hardy amd64 system with kernel 2.6.24-22-xen.
I just tried modprobing powernow-k8 in dom0 and then the following
happened:


--- snip ---

Dec 21 12:47:33 spion29 kernel: [1121687.937075] powernow-k8: Found 1
AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ processors (2 cpu
cores) (version 2.20.00)
Dec 21 12:47:33 spion29 kernel: [1120973.557353] powernow-k8: 0 :
fid 0x16 (3000 MHz), vid 0x8
Dec 21 12:47:33 spion29 kernel: [1120973.557356] powernow-k8: 1 :
fid 0x14 (2800 MHz), vid 0xa
Dec 21 12:47:33 spion29 kernel: [1120973.557358] powernow-k8: 2 :
fid 0x12 (2600 MHz), vid 0xc
Dec 21 12:47:33 spion29 kernel: [1120973.557360] powernow-k8: 3 :
fid 0x10 (2400 MHz), vid 0xe
Dec 21 12:47:33 spion29 kernel: [1120973.557361] powernow-k8: 4 :
fid 0xe (2200 MHz), vid 0x10
Dec 21 12:47:33 spion29 kernel: [1120973.557362] powernow-k8: 5 :
fid 0xc (2000 MHz), vid 0x10
Dec 21 12:47:33 spion29 kernel: [1120973.557363] powernow-k8: 6 :
fid 0xa (1800 MHz), vid 0x10
Dec 21 12:47:33 spion29 kernel: [1120973.557365] powernow-k8: 7 :
fid 0x2 (1000 MHz), vid 0x12
Dec 21 12:47:33 spion29 kernel: [1120973.562424] powernow-k8: fid
trans failed, fid 0xa, curr 0x0
Dec 21 12:47:33 spion29 kernel: [1120973.562437] Unable to handle
kernel paging request at ffff8808017603f8 RIP:
Dec 21 12:47:33 spion29 kernel: [1120973.562448]
[<ffffffff88495080>] :cpufreq_stats:cpufreq_stats_update+0x40/0x70
Dec 21 12:47:33 spion29 kernel: [1120973.562482] PGD 1d7c067 PUD 0 Dec
21 12:47:33 spion29 kernel: [1120973.562496] Oops: 0002 [1] SMP Dec 21
12:47:33 spion29 kernel: [1120973.562510] CPU 0 Dec 21 12:47:33
spion29 kernel: [1120973.562521] Modules linked in: powernow_k8
cpufreq_powersave cpufreq_stats cpufreq_ondemand freq_table
cpufreq_userspace cpufreq_conservative af_packet battery xt_tc
pudp xt_physdev bridge iptable_filter ip_tables x_tables parport_pc lp
parport loop ipv6 snd_hda_intel snd_pcm snd_timer snd_page_alloc
snd_hwdep snd soundcore i2c_piix4 button shpchp 8250_pnp 8250 seri
al_core k8temp i2c_core pcspkr pci_hotplug evdev pata_atiixp pata_acpi
ata_generic sg ehci_hcd r8169 ohci_hcd usbcore ssb sd_mod raid10
raid456 async_xor async_memcpy async_tx xor multipath linear dm_mi
rror dm_snapshot dm_mod thermal processor fan fuse raid1 raid0 md_mod
atiixp ahci sata_nv sata_sil sata_via libata via82cxxx ide_core
3w_9xxx 3w_xxxx scsi_mod xfs ext3 jbd ext2 mbcache reiserfs
Dec 21 12:47:33 spion29 kernel: [1120973.562811] Pid: 9196, comm:
modprobe Not tainted 2.6.24-22-xen #1
Dec 21 12:47:33 spion29 kernel: [1120973.562820] RIP: e030:
[<ffffffff88495080>]
[<ffffffff88495080>] :cpufreq_stats:cpufreq_stats_update+0x40/0x70
Dec 21 12:47:33 spion29 kernel: [1120973.562839] RSP:
e02b:ffff88000a953b28 EFLAGS: 00010246
Dec 21 12:47:33 spion29 kernel: [1120973.562849] RAX: 0000000000000000
RBX: 0000000000000000 RCX: ffff880001760400
Dec 21 12:47:33 spion29 kernel: [1120973.562864] RDX: 00000000ffffffff
RSI: ffff88000da1e940 RDI: ffffffff88497080
Dec 21 12:47:33 spion29 kernel: [1120973.562878] RBP: 0000000110b7fed0
R08: 0000000000000008 R09: 0000000000000000
Dec 21 12:47:33 spion29 kernel: [1120973.562892] R10: ffff880001cec700
R11: 0000000000000001 R12: 00000000ffffffff
Dec 21 12:47:33 spion29 kernel: [1120973.562906] R13: 00000000ffffffff
R14: 0000000000000001 R15: 0000000000000000
Dec 21 12:47:33 spion29 kernel: [1120973.562921] FS:
00007f2a5d7b46e0(0000) GS:ffffffff805c7000(0000) knlGS:0000000000000000
Dec 21 12:47:33 spion29 kernel: [1120973.562936] CS: e033 DS: 0000
ES: 0000
Dec 21 12:47:33 spion29 kernel: [1120973.562945] DR0: 0000000000000000
DR1: 0000000000000000 DR2: 0000000000000000
Dec 21 12:47:33 spion29 kernel: [1120973.562959] DR3: 0000000000000000
DR6: 00000000ffff0ff0 DR7: 0000000000000400
Dec 21 12:47:33 spion29 kernel: [1120973.562973] Process modprobe
(pid: 9196, threadinfo ffff88000a952000, task ffff88001060d040)
Dec 21 12:47:33 spion29 kernel: [1120973.562988] Stack:
0000000000000000 ffff88000a953c18 ffff88000da1e940 ffffffff88495122
Dec 21 12:47:33 spion29 kernel: [1120973.563015] ffff88001060d040
0000000000000000 00000000fffffffe 0000000000000000
Dec 21 12:47:33 spion29 kernel: [1120973.563039] ffff88000a953c18
ffffffff804749b1 ffffffff806d0ea0 ffff88000a953c18

Dec 21 12:47:33 spion29 kernel: [1120973.563057] Call Trace:
Dec 21 12:47:33 spion29 kernel: [1120973.563075]
[<ffffffff88495122>] :cpufreq_stats:cpufreq_stat_notifier_trans
+0x72/0xc0
Dec 21 12:47:33 spion29 kernel: [1120973.563094] [notifier_call_chain
+0x31/0x60] notifier_call_chain+0x31/0x60
Dec 21 12:47:33 spion29 kernel: [1120973.563108]
[__srcu_notifier_call_chain+0x5a/0x90] __srcu_notifier_call_chain+0x5a/
0x90
Dec 21 12:47:33 spion29 kernel: [1120973.563121]
[cpufreq_notify_transition+0x8e/0xc0] cpufreq_notify_transition+0x8e/
0xc0
Dec 21 12:47:33 spion29 kernel: [1120973.563133]
[<ffffffff884999cd>] owernow_k8owernowk8_target+0x2bd/0x690
Dec 21 12:47:33 spion29 kernel: [1120973.563151]
[cpufreq_governor_performance+0x22/0x30] cpufreq_governor_performance
+0x22/0x30
Dec 21 12:47:33 spion29 kernel: [1120973.563162] [__cpufreq_governor
+0x40/0xf0] __cpufreq_governor+0x40/0xf0
Dec 21 12:47:33 spion29 kernel: [1120973.563173] [__cpufreq_set_policy
+0x128/0x180] __cpufreq_set_policy+0x128/0x180
Dec 21 12:47:33 spion29 kernel: [1120973.563185] [cpufreq_add_dev
+0x3a8/0x4d0] cpufreq_add_dev+0x3a8/0x4d0
Dec 21 12:47:33 spion29 kernel: [1120973.563198] [handle_update
+0x0/0x10] handle_update+0x0/0x10
Dec 21 12:47:33 spion29 kernel: [1120973.563215]
[sysdev_driver_register+0x68/0xe0] sysdev_driver_register+0x68/0xe0
Dec 21 12:47:33 spion29 kernel: [1120973.563226]
[cpufreq_register_driver+0x8c/0x150] cpufreq_register_driver+0x8c/0x150
Dec 21 12:47:33 spion29 kernel: [1120973.563238] [sys_init_module
+0x18e/0x1a90] sys_init_module+0x18e/0x1a90
Dec 21 12:47:33 spion29 kernel: [1120973.563259] [<ffffffff8029a230>]
__kmalloc+0x0/0x160
Dec 21 12:47:33 spion29 kernel: [1120973.563273] [system_call
+0x68/0x6d] system_call+0x68/0x6d
Dec 21 12:47:33 spion29 kernel: [1120973.563284] [system_call
+0x0/0x6d] system_call+0x0/0x6d

Dec 21 12:47:33 spion29 kernel: [1120973.563297]
Dec 21 12:47:33 spion29 kernel: [1120973.563306]
Dec 21 12:47:33 spion29 kernel: [1120973.563306] Code: 48 01 04 d1 48
89 6e 08 c7 05 ee 1f 00 00 01 00 00 00 48 8b
Dec 21 12:47:33 spion29 kernel: [1120973.563381] RIP
[<ffffffff88495080>] :cpufreq_stats:cpufreq_stats_update+0x40/0x70

Dec 21 12:47:33 spion29 kernel: [1120973.563398] RSP <ffff88000a953b28>
Dec 21 12:47:33 spion29 kernel: [1120973.563407] CR2: ffff8808017603f8
Dec 21 12:47:33 spion29 kernel: [1120973.563908] ---[ end trace
5dd3ba92dbf5fbd5 ]---


--- snip ---

The exact package version is: linux-image-2.6.24-22-server
2.6.24-22.45


Perhaps I could find a spare amd64 system at work to test the current
debian packages but that's not going to happen before mid january.





Cheers,
Moritz


Regards,

Uwe



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 01:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org