Powernow-k8 support
Hi,
I recently subscribed to xen-users asking about a powernow-k8 problem, but in the meantime I am not sure if the users-list was the right place for it. So I decided to repeat my question here ;-)
My current config is attached.
--- snip ---
Hi,
I recently installed Xen on my AMD64 for my first time and so far, everything seems to work pretty fine. :-)
I tried to enable cpu frequency support.
After booting, I get the following message in Dom0-dmesg:
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.0)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
I tried to find answers in the mailing-list archive and with Google, but could not find answers.
Is there support in Xen? Are there any patches, I can download anywhere?
Would be really nice to get an answer
Thanks in advance
--- snap ---
Kind regards
Christian
Signature · 2 lines
Tel.: 0641-2097252, Mobil: 0171-3611230 PGP: http://www.roessner-net.com/0x6B929997.asc
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 9 lines · Christian Roessner
After booting, I get the following message in Dom0-dmesg:
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.0)
powernow-k8: BIOS error - no PSB or ACPI_PSSobjectsI tried to find answers in the mailing-list archive and with Google, but could not find answers.
Is there support in Xen? Are there any patches, I can download anywhere?
Try adding cpufreq.debug=11 to your domain0 Linux kernel command line. That should get more debugging about what's going wrong. Also, what does boot output look like for native Linux? Perhaps it's possible to see where the cpufreq paths diverge for native versus running on Xen.
-- Keir
Hi,
I have activated debugging. The output is attached.
dmesg.gz is the native kernel with debug enabled both others are self explaining ;-) ; also debug enabled
Thanks in advance
Quoted 27 lines · Keir Fraser
Quoted 9 lines · Christian Roessner
After booting, I get the following message in Dom0-dmesg:
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.0)
powernow-k8: BIOS error - no PSB or ACPI_PSSobjectsI tried to find answers in the mailing-list archive and with Google, but could not find answers.
Is there support in Xen? Are there any patches, I can download anywhere?
Try adding cpufreq.debug=11 to your domain0 Linux kernel command line. That should get more debugging about what's going wrong. Also, what does boot output look like for native Linux? Perhaps it's possible to see where the cpufreq paths diverge for native versus running on Xen.
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
Tel.: 0641-2097252, Mobil: 0171-3611230 PGP: http://www.roessner-net.com/0x6B929997.asc
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 4 lines · Christian Roessner
I have activated debugging. The output is attached.
dmesg.gz is the native kernel with debug enabled both others are self explaining ;-) ; also debug enabled
Edit source file arch/i386/kernel/cpu/cpufreq/powernow-k8.c and change use of phys_to_virt() to isa_bus_to_virt().
-- Keir
Hi,
it seems that the change did work partially. But the frequency can not be changed.
The kernel freezes when udev is loading the alsa modules and/or the nvidia module. After that the machine may reboot automatically.
Here some infos I found in my /var/log/messages file:
==== Example 1 ====
Jun 12 01:54:02 desktop kernel: NVRM: Trying to sleep during raised irql!! Jun 12 01:54:02 desktop kernel: NVRM: are we holding a lock? Jun 12 01:54:02 desktop kernel: NVRM: skipping os_delay Jun 12 01:54:02 desktop kernel: NVRM: Trying to sleep during raised irql!! Jun 12 01:54:02 desktop kernel: NVRM: are we holding a lock? Jun 12 01:54:02 desktop kernel: NVRM: skipping os_delay Jun 12 01:54:02 desktop kernel: NVRM: Trying to sleep during raised irql!! Jun 12 01:54:02 desktop kernel: NVRM: are we holding a lock? Jun 12 01:54:02 desktop kernel: NVRM: skipping os_delay
==== Example 2 ====
Jun 12 01:57:48 desktop kernel: NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8762 Mon May 15 13:06:38 PDT 2006 Jun 12 01:57:48 desktop kernel: Modules linked in: snd_emu10k1
snd_rawmidi snd_ac97_codec snd_ac97_bus nvidia snd_pcm_oss snd_mixer_oss ohci1394 snd_pcm snd_seq_device ieee1394 snd_timer snd_page_alloc snd_util_mem b1pci b1 snd_hwdep kernelcapi snd i2c_nforce2 ehci_hcd ohci_hcd soundcore usbcore i2c_core forcedeth evdev
Jun 12 01:57:48 desktop kernel: EIP: 0061:[<ec84fa5a>] Tainted: P
VLI
Jun 12 01:57:48 desktop kernel: EFLAGS: 00010082 (2.6.16.20-4 #1)==== Example 3 ====
Jun 12 02:11:21 desktop kernel: NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8762 Mon May 15 13:06:38 PDT 2006 Jun 12 02:11:21 desktop kernel: Modules linked in: nvidia parport_pc lp
parport capi capifs xt_tcpudp ip6table_filter ip6_tables xt_state xt_pkttype iptable_raw xt_CLASSIFY xt_connmark xt_physdev xt_conntrack iptable_mangle ipt_ULOG ipt_TTL ipt_ttl ipt_TOS ipt_tos ipt_TCPMSS ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent ipt_policy ipt_owner ipt_NETMAP ipt_multiport ipt_MASQUERADE ipt_LOG ipt_iprange ipt_hashlimit ipt_esp ipt_ECN ipt_ecn ipt_DSCP ipt_dscp ipt_CLUSTERIP ipt_ah ipt_addrtype ip_nat_irc ip_nat_tftp ip_nat_ftp ip_conntrack_irc ip_conntrack_tftp ip_conntrack_ftp iptable_nat ip_nat ip_conntrack nfnetlink iptable_filter ip_tables x_tables zaurus usbhid md5 ipv6 cdc_ether usbnet it87 hwmon_vid lm90 hwmon eeprom i2c_isa saa7134 video_buf compat_ioctl32 v4l1_compat ir_kbd_i2c ir_common videodev tuner v4l2_common tda9887 b1pci b1 kernelcapi ohci1394 ieee1394 ehci_hcd ohci_hcd usbcore forcedeth i2c_nforce2 i2c_core evdev
Jun 12 02:11:21 desktop kernel: EIP: 0061:[<ecab9a5a>] Tainted: P
VLI
Jun 12 02:11:21 desktop kernel: EFLAGS: 00010082 (2.6.16.20-4 #1)
Jun 12 02:11:55 desktop exiting on signal 15So it seems that the nvidia driver has some problems with this code modification??
Attached the last dmesg output. You my look at the end of this file
Thanks in advance
Christian
Quoted 13 lines · Keir Fraser
Quoted 4 lines · Christian Roessner
I have activated debugging. The output is attached.
dmesg.gz is the native kernel with debug enabled both others are self explaining ;-) ; also debug enabled
Edit source file
arch/i386/kernel/cpu/cpufreq/powernow-k8.cand change use ofphys_to_virt()toisa_bus_to_virt().-- Keir
Signature · 2 lines
Tel.: 0641-2097252, Mobil: 0171-3611230 PGP: http://www.roessner-net.com/0x6B929997.asc
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 2 lines · Christian Roessner
it seems that the change did work partially. But the frequency can not be changed.
Ah yes, I have some patches for this that are waiting to get merged into the tree.
Quoted 2 lines
The kernel freezes when udev is loading the alsa modules and/or the nvidia module. After that the machine may reboot automatically.
Has this started since you made my suggested patch?
-- Keir