Re: Cool N' Quiet

2004-11-25 Thread Nick
root @ Gatsu # modprobe powernow-k8
FATAL: Error inserting powernow_k8 
(/lib/modules/2.6.7-6-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/powernow-k8.ko):
 No such device

This might be what I've been seeing on my 32 bit install on my Athlon64 system. 
Below are extracts from some emails I've exchanged with [EMAIL PROTECTED]

So it seems that, for at least our cases, the fix is in 2.6.10 (2.6.9 too?). 
But Sarge won't be seeing this unless someone makes a backport to Sarge's 
kernel.

Nick

//

I was just reading your post at
http://lists.debian.org/debian-amd64/2004/09/msg00336.html

I'm currently using an MSI K8T Neo-FIS2R motherboard with an Athlon 64 3200+ 
processor and am using the Debian kernel image 2.6.8-1-k7. When I modprobe 
powernow_k8, I get

"""
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8: BIOS error: numpst must be 1
"""

which seems to match what you were getting (powernow_k7 says it's not suitable 
for my cpu).

//
(A bit from his reply)

> I had to hack the kernel source for that.
> in arch/i386/kernel/cpu/cpufreq/powernow-k8.c comment line 639 out:
> 
>   return -ENODEV;
> 
> That will make the detection not stop, but continue anyway.

//

http://kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.10-rc1


<[EMAIL PROTECTED]>
[CPUFREQ] Work around AMD64 2nd identical PST errata

AMD recently errata'd the definition of the PSB/PST for recent Athlon 
64 and Opteron parts.  The errata
allows for a second, identical PST for those parts.
The current powernow-k8 driver will not work in PST/PSB mode on those 
parts because it requires 
there be 1 and only 1 PST.

From: Mark Langsdorf
Signed-off-by: Dave Jones <[EMAIL PROTECTED]>




Re: Cool N' Quiet

2004-11-17 Thread Ernest jw ter Kuile
On Monday 15 November 2004 22:37, Rafael Rodríguez wrote:
> Dunno.. I'm not a  kernel hacker... i just suppose that something that
> deals with and only with CPU should be in kernelspace...

Not necessarely. I suspect policy (generally speaking) is something you want 
in userspace.

But I suspect this specific case might fit neatly in, or close to the 
skeduller.

Ernest.




Re: Cool N' Quiet

2004-11-15 Thread Rafael Rodríguez
Dunno.. I'm not a  kernel hacker... i just suppose that something that deals 
with and only with CPU should be in kernelspace...

Rafael Rodríguez

El Lunes, 15 de Noviembre de 2004 20:29, Ernest jw ter Kuile escribió:
> On Sunday 14 November 2004 20:50, Rafael Rodríguez wrote:
> > I think that CPU frequency scaling is a task important enough (and with
> > enough priority) to be done in kernel space... deals completely with
> > hardware and with nothing else!
>
> Priority ? does it really matter if you have to wait one, two or even
> (shudder !) three timeslices before the cpu slows down ?
>
> Ernest.




Re: Cool N' Quiet

2004-11-15 Thread Ernest jw ter Kuile
On Sunday 14 November 2004 20:50, Rafael Rodríguez wrote:
>
> I think that CPU frequency scaling is a task important enough (and with
> enough priority) to be done in kernel space... deals completely with
> hardware and with nothing else!

Priority ? does it really matter if you have to wait one, two or even 
(shudder !) three timeslices before the cpu slows down ?

Ernest.




Re: Cool N' Quiet

2004-11-14 Thread Rafael Rodríguez
El Domingo, 14 de Noviembre de 2004 17:24, Harald Dunkel escribió:
> Jared Burke wrote:
> | Slava Risenberg wrote:
> |
> | I just wanted to suggest that the ondemand governor in the kernel
> | replaces a lot of the userspace daemons like powernowd. It might not be
> | as configurable, but it works for me.
>
> I thought the general trend is to move functionality from
> kernel to user space, if possible?

I think that CPU frequency scaling is a task important enough (and with enough 
priority) to be done in kernel space... deals completely with hardware and 
with nothing else!

-- 
Rafael Rodríguez - http://djclue.no-ip.org

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s-: a-- C++ UL++ P++> L++ E--- W+++ N o? K? w--- 
!O !M V-- PS PE- Y+ PGP+ t--- 5? X R* tv- b- DI- D+
G e++ h! r++ y+ 
--END GEEK CODE BLOCK--




Re: Cool N' Quiet

2004-11-14 Thread Bob Proulx
Michael Vang wrote:
> Hmm... What am I doing wrong?
> 
> k8:~# modprobe cpufreq-userspace
> 
> k8:~# modprobe powernow-k8
> FATAL: Error inserting powernow_k8 
> (/lib/modules/2.6.9-9-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/powernow-k8.ko):
>  
> No such device

The "No such device" message means the device driver could not find
any hardware to talk to.  The driver loaded, looked, found nothing it
knew about, printed the message, then bailed out.

This does not necessarily mean that your hardware is not frequency
scalable.  It just means that the driver you tried to load did not
think so.  It does mean that your hardware and device driver are not
compatible.

Bob


signature.asc
Description: Digital signature


Re: Cool N' Quiet

2004-11-14 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jared Burke wrote:
| Slava Risenberg wrote:
|
| I just wanted to suggest that the ondemand governor in the kernel
| replaces a lot of the userspace daemons like powernowd. It might not be
| as configurable, but it works for me.
|
|
I thought the general trend is to move functionality from
kernel to user space, if possible?
Regards
Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBl5TpUTlbRTxpHjcRAvBcAJ0T2Z7G1BLDZ/s+8avMO3hFKXwEdwCgglKS
Z82Oz0QR9CqW86DT/My8ktI=
=wUr5
-END PGP SIGNATURE-



Re: Cool N' Quiet

2004-11-14 Thread Jared Burke
Slava Risenberg wrote:
Hi all!
Thanks for your help.
I got it working by loading powernow-k8 module and installing 
powernowd as Harald Dunkel suggested.
 

I just wanted to suggest that the ondemand governor in the kernel 
replaces a lot of the userspace daemons like powernowd. It might not be 
as configurable, but it works for me.




Re: Cool N' Quiet

2004-11-14 Thread Michael Vang
Andreas Richter wrote:
try a never kernel image. I use 2.6.9 and it works here.
Hmm... What am I doing wrong?
k8:~# modprobe cpufreq-userspace
k8:~# modprobe powernow-k8
FATAL: Error inserting powernow_k8 
(/lib/modules/2.6.9-9-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/powernow-k8.ko): 
No such device

k8:~# ls -l /lib/modules/2.6.9-9-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/
total 32
-rw-r--r--  1 root root  8889 2004-10-28 22:07 acpi.ko
-rw-r--r--  1 root root 17834 2004-10-28 22:07 powernow-k8.ko
k8:~# uname -a
Linux k8 2.6.9-9-amd64-k8 #1 Fri Oct 29 02:34:50 CEST 2004 x86_64 GNU/Linux
k8:~# mount
/dev/hda1 on / type reiserfs (rw,noatime,notail)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
Mike (Xyzzy)



Re: Re: Cool N' Quiet

2004-11-14 Thread Slava Risenberg
I don't think it is possible.
I have AMD64 3000 and my stepping are: 2000, 1800 and 800.
I think it's fixed.
-- 
Slava Risenberg 




Re: Re: Cool N' Quiet

2004-11-14 Thread Slava Risenberg
I'm using 2.6.9-9-amd64-k8 kernel, the latest one.
But probably you will need to load cpufreq-userspace module as well.
And check if you have /sys mounted
-- 
Slava Risenberg 




Re: Cool N' Quiet

2004-11-14 Thread Andreas Richter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sonntag, 14. November 2004 11:36 schrieb Slava Risenberg:
> Thanks for your help.
> I got it working by loading powernow-k8 module and installing
> powernowd as Harald Dunkel suggested.

Yeah, it works. But how can i configure the frequency-stepps? My machine have 
only 3. 2200, 1800 and 800 MHz. I would add a 400 or lower MHz step. But how 
can i add it?

- -- 
Greetings / Gruss
Andreas Richter  http://www.oszine.de
GPG-KeyID  0x7BA12DD9
Fingerprint D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBl2ZhDPI8V3uhLdkRApm2AJ0aWKrVNmYpZckGNhbDEeowem0FXQCg3rK9
OmklTri/jtaVEiz1Wp5Mfqo=
=hkTK
-END PGP SIGNATURE-




Re: Cool N' Quiet

2004-11-14 Thread Andreas Richter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sonntag, 14. November 2004 14:15 schrieb Bibiche:
> root @ Gatsu # modprobe powernow-k8
> FATAL: Error inserting powernow_k8
> (/lib/modules/2.6.7-6-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/powernow-k
>8.ko): No such device

try a never kernel image. I use 2.6.9 and it works here.

- -- 
Greetings / Gruss
Andreas Richter  http://www.oszine.de
GPG-KeyID  0x7BA12DD9
Fingerprint D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBl2TqDPI8V3uhLdkRArY8AJ4gjZaN3kNqkATVp22hH5HO7zT2sQCfT0C7
0vo1wYr8syUTL6PRuOzEU14=
=q42D
-END PGP SIGNATURE-




Re: Cool N' Quiet

2004-11-14 Thread Bibiche
Hi,

On Sun, 14 Nov 2004 12:36:38 +0200
Slava Risenberg <[EMAIL PROTECTED]> wrote:

> I got it working by loading powernow-k8 module and installing 
> powernowd as Harald Dunkel suggested.

root @ Gatsu # modprobe powernow-k8
FATAL: Error inserting powernow_k8 
(/lib/modules/2.6.7-6-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/powernow-k8.ko):
 No such device

Someone has an idea about this error ?

Tks.

Regards,


Johann.




Re: Cool N' Quiet

2004-11-14 Thread Slava Risenberg
Hi all!
Thanks for your help.
I got it working by loading powernow-k8 module and installing 
powernowd as Harald Dunkel suggested.
-- 
Slava Risenberg 




Re: Cool N' Quiet

2004-11-13 Thread Norbert Schultz
Am Samstag, 13. November 2004 20:56 schrieb Slava Risenberg:
> I've tried to get it working, I mean to lower the CPU frequency
> automatically by loading powernow_k8 module, but without any success.
> I guess I have to do something else to get it working. Any ideas?
> I'm using Gigabyte GA-K8 NS motherboard with NVidia 3 250 chipset.
> --
> Slava Risenberg 
You also need to load the cpufreq_userspace module. Then powernowd works.

NoB




Re: Cool N' Quiet

2004-11-13 Thread Theodore Kisner
On Saturday 13 November 2004 11:56, Slava Risenberg wrote:
> I've tried to get it working, I mean to lower the CPU frequency
> automatically by loading powernow_k8 module, but without any success.
> I guess I have to do something else to get it working. Any ideas?
> I'm using Gigabyte GA-K8 NS motherboard with NVidia 3 250 chipset.

Another thing to note is that some BIOS's (like the one on my COMPAQ R3000 
laptop) are broken and don't have the correct frequency table.  In order to 
get it working you have to set the ACPI cpufreq option 
(CONFIG_X86_ACPI_CPUFREQ).  This way the kernel will get the frequency info 
through ACPI, which is how windoze does it...

-Ted




Re: Cool N' Quiet

2004-11-13 Thread Rafael Rodríguez
IMHO having ondemand in-kernel, there's no need for userspace daemons 
anymore... I used to have cpudyn running but now i've purged it...

Rafael Rodríguez

El Sábado, 13 de Noviembre de 2004 18:49, Harald Dunkel escribió:
> Slava Risenberg wrote:
> | I've tried to get it working, I mean to lower the CPU frequency
> | automatically by loading powernow_k8 module, but without any success.
> | I guess I have to do something else to get it working. Any ideas?
> | I'm using Gigabyte GA-K8 NS motherboard with NVidia 3 250 chipset.
>
> I would suggest to install the powernowd package and read the
> READMEs in /usr/share/doc/powernowd. To get the current frequency,
> you can try
>
> cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
>
>
> Good luck
>
> Harri




Re: Cool N' Quiet

2004-11-13 Thread Rafael Rodríguez
Try the 2.6.9 kernel. Compile the ondemand governor (under CPU Frequency 
Scaling) as a module. Put the stupid script i've attached into your 
initscripts directory, and configure it to run... works for me!

Regards,

Rafael Rodríguez

El Sábado, 13 de Noviembre de 2004 19:56, Slava Risenberg escribió:
> I've tried to get it working, I mean to lower the CPU frequency
> automatically by loading powernow_k8 module, but without any success.
> I guess I have to do something else to get it working. Any ideas?
> I'm using Gigabyte GA-K8 NS motherboard with NVidia 3 250 chipset.
> --
> Slava Risenberg 


cpufreq-ondemand
Description: application/shellscript


Re: Cool N' Quiet

2004-11-13 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Slava Risenberg wrote:
| I've tried to get it working, I mean to lower the CPU frequency
| automatically by loading powernow_k8 module, but without any success.
| I guess I have to do something else to get it working. Any ideas?
| I'm using Gigabyte GA-K8 NS motherboard with NVidia 3 250 chipset.
I would suggest to install the powernowd package and read the
READMEs in /usr/share/doc/powernowd. To get the current frequency,
you can try
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
Good luck
Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBllclUTlbRTxpHjcRArVGAJ4vq3Q+lOXMwabgNvBNYrsUyz1tuQCfX4lo
0zpG3ToquL4euUrFJ9DNCzk=
=FBIV
-END PGP SIGNATURE-



Re: Cool N' Quiet

2004-11-13 Thread Rafael Rodríguez
Try the 2.6.9 kernel. Compile the ondemand governor (under CPU Frequency 
Scaling) as a module. Put the stupid script i've attached into your 
initscripts directory, and configure it to run... works for me!

Regards,

Rafael Rodríguez

El Sábado, 13 de Noviembre de 2004 19:56, Slava Risenberg escribió:
> I've tried to get it working, I mean to lower the CPU frequency
> automatically by loading powernow_k8 module, but without any success.
> I guess I have to do something else to get it working. Any ideas?
> I'm using Gigabyte GA-K8 NS motherboard with NVidia 3 250 chipset.
> --
> Slava Risenberg 


cpufreq-ondemand
Description: application/shellscript