WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] RE: Cpufreq on k8 with xen dom0

To: xeb <xeb@xxxxxxx>
Subject: Re: [Xen-devel] RE: Cpufreq on k8 with xen dom0
From: geaaru <geaaru@xxxxxxxxx>
Date: Mon, 01 Oct 2007 21:41:09 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Oct 2007 12:42:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=ikxrIYJ1JdbUTwADN2iPE7VeDxJnPeegYj2haz7pl9M=; b=ecbuU72e/dNxj8K/TlgPKaDFRrVsgiEJ9KkMK3/TNX9p6amm3j6u/o3+k4s09P2w2JBv8eJ81y5wY8dEFrJd+c/HgtrcYPQu0G4oWj0oa4G2aG1VgZMeDS+S2OEAJ2tlGeAHU1CFnqp/mYXWm5sslPSrMaSIhAIQyWXTaOYHWZg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=a7tHyHjPNsPE/V1x8tyEA9gUkR+uzvjrzU4h+Q0qp9frOr3+7W5u4er8uQXR1Gu2lGs1eq63XOpStllkfu0LSlGakhKdds6y8XPaJYCuuF2OfJamISjXpzChWBnwToiCKCa1AFVwgs6Pe3017toon0CxfrD0hOwsGcMapkHgNlU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <12960971.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1190726705.9986.18.camel@localhost> <1449F58C868D8D4E9C72945771150BDF0207701C@xxxxxxxxxxxxxxxxx> <87tzpg63p0.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1449F58C868D8D4E9C72945771150BDF0207702E@xxxxxxxxxxxxxxxxx> <1190975833.6909.2.camel@localhost> <1449F58C868D8D4E9C72945771150BDF02077034@xxxxxxxxxxxxxxxxx> <1190990731.6914.1.camel@localhost> <1449F58C868D8D4E9C72945771150BDF02077036@xxxxxxxxxxxxxxxxx> <1191072122.6879.4.camel@localhost> <12960971.post@xxxxxxxxxxxxxxx>
Reply-to: geaaru@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, 2007-09-30 at 22:38 -0700, xeb wrote:
> 
> geaaru wrote:
> > 
> > I have done another test: i insert powernow-k8 driver as module not
> > built-in and now when i try to insert powernow-k8 kernel module i have a
> > segfault (but seems that so, before do a segfault found cpu frequencies:
> > 
> > powernow-k8: Found 1 AMD Turion(tm) 64 Mobile Technology ML-30
> > processors (version 2.00.00)
> > powernow-k8:    0 : fid 0x8, vid 0x4
> > powernow-k8:    1 : fid 0x0, vid 0x16
> > powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x4
> > powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x16
> > general protection fault: 0000 [1] SMP 
> > CPU 0 
> > Modules linked in: powernow_k8 snd_pcm_oss snd_mixer_oss snd_seq_dummy
> > snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device rtc_sysfs rtc_dev
> > rtc_proc rtc_core rtc_lib video processor ac button dm_crypt ipt_REJECT
> > ipt_LOG xt_state nf_conntrack nfnetlink iptable_filter ip_tables
> > x_tables pktcdvd psmouse radeon drm 8139too capability commoncap tsdev
> > evdev usbmouse usbhid sdhci mmc_core ohci1394 ieee1394 snd_atiixp
> > snd_atiixp_modem snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd
> > soundcore snd_page_alloc ehci_hcd ohci_hcd
> > Pid: 5485, comm: modprobe Not tainted 2.6.18-xen #2
> > RIP: e030:[<ffffffff880a8060>]
> > [<ffffffff880a8060>] :powernow_k8:pending_bit_stuck+0x10/0x20
> > RSP: e02b:ffff880035ecdbd0  EFLAGS: 00010297
> > RAX: 0000000000000000 RBX: 0000000000001600 RCX: 00000000c0010042
> > RDX: ffffffffff578000 RSI: 0000000000000000 RDI: ffff880001e39420
> > RBP: ffff880037b20200 R08: 0000000000000036 R09: 0000000000000000
> > R10: ffff880037b20200 R11: 0000000000000002 R12: 0000000000000001
> > R13: 000000000000000f R14: ffff8800367308c0 R15: ffff880036522730
> > FS:  00002b9b7af5bae0(0000) GS:ffffffff806fc000(0000)
> > knlGS:0000000000000000
> > CS:  e033 DS: 0000 ES: 0000
> > Process modprobe (pid: 5485, threadinfo ffff880035ecc000, task
> > ffff8800009bd040)
> > Stack:  ffffffff880a9d85 ffff880035ecdc68 0000000000000060
> > ffff8800367308f8
> >  00000001349ebf08 ffff880036522720 ffff880036522720 0000000000000002
> >  0000000000000060 0000000100000001 ffffffff807741e8 ffffffff806a30a0
> > Call Trace:
> >  [<ffffffff880a9d85>] :powernow_k8:powernowk8_cpu_init+0xb45/0xdd0
> >  [<ffffffff804e4884>] cpufreq_add_dev+0x174/0x540
> >  [<ffffffff8022b6e3>] __wake_up+0x43/0x70
> >  [<ffffffff8020d540>] monotonic_clock+0x50/0xa0
> >  [<ffffffff805a54f5>] thread_return+0x0/0x13b
> >  [<ffffffff805a54f5>] thread_return+0x0/0x13b
> >  [<ffffffff804304f6>] sysdev_driver_register+0x96/0x100
> >  [<ffffffff804e3947>] cpufreq_register_driver+0xc7/0x1b0
> >  [<ffffffff80253faf>] sys_init_module+0x189f/0x1aa0
> >  [<ffffffff8020a2ee>] system_call+0x86/0x8b
> >  [<ffffffff8020a268>] system_call+0x0/0x8b
> > 
> > 
> > Code: 0f 32 c1 e8 1f f3 c3 66 66 90 66 66 90 66 66 90 8b 57 60 85 
> > RIP  [<ffffffff880a8060>] :powernow_k8:pending_bit_stuck+0x10/0x20
> >  RSP <ffff880035ecdbd0>
> > 
> It seems you forgot to pass cpufreq option to xen hypervisor.
> 
> I have tested cpufreq patchset for K8 and it works fine. Frequencies
> successfully switches from userspace. But i have tested it not long time.

What options i forgot, please?

This error is happened if i try to insert powernow-k8 kernel module.
While, if i compile it as built-in doesn't work.

Thanks.

Ge@@ru


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

<Prev in Thread] Current Thread [Next in Thread>