Re: patch non ufficiali per cpufreq

2005-11-19 Per discussione Luca
On 11/17/05, Luca [EMAIL PROTECTED] wrote:

 quelli del sito li ho provati...ma mi da no such device...cmq sto
 ricompilando con il debug...

allora...con il debug attivo, lanciando modprobe speedstep-smi ottengo

Nov 19 09:52:44 cristal kernel: speedstep-lib: x86: 6, model: 8
Nov 19 09:52:44 cristal kernel: speedstep-lib: Coppermine:
MSR_IA32_EBL_CR_POWERON is 0x46480020, 0x0
Nov 19 09:52:44 cristal kernel: speedstep-lib: Coppermine:
MSR_IA32_PLATFORM ID is 0x0, 0x4b56
Nov 19 09:52:44 cristal kernel: speedstep-smi: signature:0x47534943,
command:0x008000b2, event:0x00b3, perf_level:0x07d1.
Nov 19 09:52:44 cristal kernel: cpufreq-core: trying to register
driver speedstep-smi
Nov 19 09:52:44 cristal kernel: cpufreq-core: adding CPU 0
Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to obtain
ownership with command 47534980 at port b2
Nov 19 09:52:44 cristal kernel: speedstep-smi: result is 0
Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to determine
frequencies with command 47534980 at port b2
Nov 19 09:52:44 cristal kernel: speedstep-smi: result 47534980,
low_freq 0, high_freq 4
Nov 19 09:52:44 cristal kernel: speedstep-smi: could not detect low
and high frequencies by SMI call.
Nov 19 09:52:44 cristal kernel: speedstep-lib: trying to determine both speeds
Nov 19 09:52:44 cristal kernel: speedstep-lib: P3 -
MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0
Nov 19 09:52:44 cristal kernel: speedstep-lib: speed is 70
Nov 19 09:52:44 cristal kernel: speedstep-lib: previous speed is 70
Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to set frequency
to state 1 with command 47534980 at port b2
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 1, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 2, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 3, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 4, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 5, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-lib: P3 -
MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0
Nov 19 09:52:44 cristal kernel: speedstep-lib: speed is 70
Nov 19 09:52:44 cristal kernel: speedstep-lib: low speed is 70
Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to set frequency
to state 0 with command 47534980 at port b2
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 1, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 2, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 3, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 4, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 5, previous
result 0, waiting...
Nov 19 09:52:44 cristal kernel: speedstep-lib: P3 -
MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0
Nov 19 09:52:44 cristal kernel: speedstep-lib: speed is 70
Nov 19 09:52:44 cristal kernel: speedstep-lib: high speed is 70
Nov 19 09:52:44 cristal kernel: speedstep-smi: could not detect two
different speeds -- aborting.
Nov 19 09:52:44 cristal kernel: cpufreq-core: initialization failed
Nov 19 09:52:44 cristal kernel: cpufreq-core: no CPU initialized for
driver speedstep-smi
Nov 19 09:52:44 cristal kernel: cpufreq-core: unregistering CPU 0

può essere indicativo del problema?

grazie
Luca



Re: patch non ufficiali per cpufreq

2005-11-17 Per discussione Mattia Dongili
On Thu, Nov 17, 2005 at 01:21:24AM +0100, Luca wrote:
 On 11/16/05, Mattia Dongili [EMAIL PROTECTED] wrote:
  On Wed, Nov 16, 2005 at 08:33:33PM +0100, Luca wrote:
[...]
  l'output di /proc/cpuinfo sarebbe piu' interessante
 
 eccolo :-)
 [EMAIL PROTECTED]:~$ cat /proc/cpuinfo
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 8
 model name  : Pentium III (Coppermine)
 stepping: 6
 cpu MHz : 549.791
 cache size  : 256 KB
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
 pat p
 se36 mmx fxsr sse
 bogomips: 1099.88
 
 
   :00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX -
 
  speedstep-smi ?
 
 provato(vedi sopra)

si, intendevo che con il tuo chipset _devi_ usare speedstep-smi, al
limite sei sei fortunato acpi-cpufreq

 Che cosa posso fare?

http://www.poupinou.org/cpufreq/
http://www.thinkwiki.org/wiki/How_to_get_SpeedStep_working_on_Coppermine-piix4-smi_based_Thinkpads
http://powersave.sourceforge.net/Cpufreq.html
Ah, e se ti capita ricompila il kernel con CONFIG_CPU_FREQ_DEBUG=y e
fai il boot con cpufreq.debug=2 per avere piu' informazioni su quello
che sta facendo il kernel, puo' tornare utile se ancora non riesci a
caricare il driver.
... a proposito, ma che kernel stai usando?

Purtroppo che io sappia le specifiche non sono pubbliche (o perlomeno
non molto corrette o sufficienti) per i Coppermine, quindi il supporto
nel kernel linux e' quantomeno sperimentale.

-- 
mattia
:wq!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: patch non ufficiali per cpufreq

2005-11-17 Per discussione Luca
On 11/17/05, Mattia Dongili [EMAIL PROTECTED] wrote:
[cut]
 si, intendevo che con il tuo chipset _devi_ usare speedstep-smi, al
 limite sei sei fortunato acpi-cpufreq

  Che cosa posso fare?

 http://www.poupinou.org/cpufreq/
 http://www.thinkwiki.org/wiki/How_to_get_SpeedStep_working_on_Coppermine-piix4-smi_based_Thinkpads
 http://powersave.sourceforge.net/Cpufreq.html
 Ah, e se ti capita ricompila il kernel con CONFIG_CPU_FREQ_DEBUG=y e
 fai il boot con cpufreq.debug=2 per avere piu' informazioni su quello
 che sta facendo il kernel, puo' tornare utile se ancora non riesci a
 caricare il driver.
ok..proverò

 ... a proposito, ma che kernel stai usando?
2.6.14 vanilla con debian testing

 Purtroppo che io sappia le specifiche non sono pubbliche (o perlomeno
 non molto corrette o sufficienti) per i Coppermine, quindi il supporto
 nel kernel linux e' quantomeno sperimentale.
dammit...

grazie mille cmq

ciao
Luca



Re: patch non ufficiali per cpufreq

2005-11-17 Per discussione Luca
ho provato speedstep-detect e questo è il risultato:

dmi_scan: return:
DMI 2.3 present.
49 structures occupying 2000 bytes.
DMI table at 0x000E7010.
BIOS Vendor: NEC
BIOS Version: NOTE BIOS Version /175A2700
BIOS Release: 03/06/2001
System Vendor: NEC
Product Name:
Version:
Board Vendor: NEC
Board Name:
Board Version:
Trying Intel's int15 GSIC:
BIOS support GSIC call:
signature: GSIC
command port = 0x00b2
command =  0x0080
event port =   0x00b3
flags =0x07d1
probing chipsets: Found PIIX4
  pmbase at 0x1000
Dumping PM IO register for this southbridge:
PMCNTRL (0x1004): 0x1401
(0x1006): 0x
GPEN (0x100e):0x0600
PCNTRL (0x1010):  0x1202
(0x1016): 0x
DEVSTS (0x101c):  0x
GLBLEN (0x1020):  0x0400
(0x1022): 0x
GLBCTL (0x1028):  0x02013c05
DEVCTL (0x102c):  0x0100
GPIs: (0x1030):   0x37e863
(0x1033): 0x00
GPOs: (0x1034):   0x37fffefe
(0x1038): 0x63 0xe8 0x37 0x00 0xfe 0xfe 0xff 0x37


You need to boot on AC and battery and see if GPOs change.
Then, see if one bit change in between, you have then to note the number
of this bit.  This will be the gpo_hilo= number kernel option for
enabling the speedstep-piix4 module under Linux.
  ..28..24..20..16..12...8...4...0
GPOs: (0x1034):   0x37fffefe  001101101110


seguendo il suggerimento sopra ho spento e riacceso solo con la
batteria e è cambiato il GPOs:

dmi_scan: return:
DMI 2.3 present.
49 structures occupying 2000 bytes.
DMI table at 0x000E7010.
BIOS Vendor: NEC
BIOS Version: NOTE BIOS Version /175A2700
BIOS Release: 03/06/2001
System Vendor: NEC
Product Name:
Version:
Board Vendor: NEC
Board Name:
Board Version:
Trying Intel's int15 GSIC:
BIOS support GSIC call:
signature: GSIC
command port = 0x00b2
command =  0x0080
event port =   0x00b3
flags =0x07d1
probing chipsets: Found PIIX4
  pmbase at 0x1000
Dumping PM IO register for this southbridge:
PMCNTRL (0x1004): 0x1401
(0x1006): 0x
GPEN (0x100e):0x0600
PCNTRL (0x1010):  0x1202
(0x1016): 0x
DEVSTS (0x101c):  0x
GLBLEN (0x1020):  0x0400
(0x1022): 0x
GLBCTL (0x1028):  0x02013c05
DEVCTL (0x102c):  0x0100
GPIs: (0x1030):   0x37e863
(0x1033): 0x00
GPOs: (0x1034):   0x37fffeff
(0x1038): 0x63 0xe8 0x37 0x00 0xff 0xfe 0xff 0x37


You need to boot on AC and battery and see if GPOs change.
Then, see if one bit change in between, you have then to note the number
of this bit.  This will be the gpo_hilo= number kernel option for
enabling the speedstep-piix4 module under Linux.
  ..28..24..20..16..12...8...4...0
GPOs: (0x1034):   0x37fffeff  00110110



Poi lui parla di speedstep-piix4 ma esiste come modulo?
c'è qualche possibilità di abilitare questo maledetto cpuscaling?

grazie
ciao
Luca



Re: patch non ufficiali per cpufreq

2005-11-17 Per discussione Mattia Dongili
On Thu, Nov 17, 2005 at 06:20:33PM +0100, Luca wrote:
 On 11/17/05, Mattia Dongili [EMAIL PROTECTED] wrote:
 [cut]
  si, intendevo che con il tuo chipset _devi_ usare speedstep-smi, al
  limite sei sei fortunato acpi-cpufreq
 
   Che cosa posso fare?
 
  http://www.poupinou.org/cpufreq/
  http://www.thinkwiki.org/wiki/How_to_get_SpeedStep_working_on_Coppermine-piix4-smi_based_Thinkpads
  http://powersave.sourceforge.net/Cpufreq.html
  Ah, e se ti capita ricompila il kernel con CONFIG_CPU_FREQ_DEBUG=y e
  fai il boot con cpufreq.debug=2 per avere piu' informazioni su quello
  che sta facendo il kernel, puo' tornare utile se ancora non riesci a
  caricare il driver.
 ok..proverò

guarda anche questi:
http://bugzilla.kernel.org/show_bug.cgi?id=5082
http://bugzilla.kernel.org/show_bug.cgi?id=5553

-- 
mattia
:wq!



Re: patch non ufficiali per cpufreq

2005-11-17 Per discussione Mattia Dongili
On Thu, Nov 17, 2005 at 07:01:39PM +0100, Luca wrote:
 ho provato speedstep-detect e questo è il risultato:
 
 dmi_scan: return:
 DMI 2.3 present.
 49 structures occupying 2000 bytes.
 DMI table at 0x000E7010.
 BIOS Vendor: NEC
 BIOS Version: NOTE BIOS Version /175A2700
 BIOS Release: 03/06/2001
 System Vendor: NEC
 Product Name:
 Version:
 Board Vendor: NEC
 Board Name:
 Board Version:
 Trying Intel's int15 GSIC:
 BIOS support GSIC call:
   signature: GSIC
   command port = 0x00b2
   command =  0x0080
   event port =   0x00b3
   flags =0x07d1
 probing chipsets: Found PIIX4

If your southbridge is a PIIX4, you should try those values (they are
safe, I believe):

modprobe speedstep-smi smi_port=0xb2 smi_cmd=0x82 smi_sig=1

Gia' provato?
o anche
modprobe speedstep-smi smi_cmd=0x82
e davvero, fa il tutto con il debug attivo.

[...]
 Poi lui parla di speedstep-piix4 ma esiste come modulo?

This information is now outdated by the newer speedstep-smi driver from
Hiroshi Miura. That driver is already included in cpufreq, and I believe
it is more safe than the (now outdated) speedstep-piix4 driver.
:)

 c'è qualche possibilità di abilitare questo maledetto cpuscaling?

si, qualche

Nota: le citazioni da http://www.poupinou.org/cpufreq/
-- 
mattia
:wq!



Re: patch non ufficiali per cpufreq

2005-11-17 Per discussione Luca
On 11/17/05, Mattia Dongili [EMAIL PROTECTED] wrote:
 [snip]
 If your southbridge is a PIIX4, you should try those values (they are
 safe, I believe):

 modprobe speedstep-smi smi_port=0xb2 smi_cmd=0x82 smi_sig=1
 
 Gia' provato?
 o anche
 modprobe speedstep-smi smi_cmd=0x82
 e davvero, fa il tutto con il debug attivo.
quelli del sito li ho provati...ma mi da no such device...cmq sto
ricompilando con il debug...
non sai se esistono altre opzioni che posso passare al modulo?non ho
trovato niente nella Documentazione del kernel.

 [...]
  Poi lui parla di speedstep-piix4 ma esiste come modulo?

 This information is now outdated by the newer speedstep-smi driver from
 Hiroshi Miura. That driver is already included in cpufreq, and I believe
 it is more safe than the (now outdated) speedstep-piix4 driver.
 :)

ah ...ok..ma quindi quel bit che cambia non mi serve a niente?se non
sbaglio il GP0s..

  c'è qualche possibilità di abilitare questo maledetto cpuscaling?

 si, qualche
spero...ma non sono molto fiducioso...maledetta packard belll :-|

ciao ciao
grazie infinite :-)
Luca



Re: patch non ufficiali per cpufreq

2005-11-16 Per discussione Mattia Dongili
On Wed, Nov 16, 2005 at 08:33:33PM +0100, Luca wrote:
 ciao a tutti,
 non sapete se esistono delle patch non ufficiali del modulo cpufreq

no, non esistono

 per chi ha pc che non ancora sono supportati...io ho un p3 e non è
 supportato...questo è il risultato di lspci -

cioe'? che moduli hai provato?
l'output di /proc/cpuinfo sarebbe piu' interessante

 :00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX -

speedstep-smi ?

-- 
mattia
:wq!



Re: patch non ufficiali per cpufreq

2005-11-16 Per discussione Luca
On 11/16/05, Mattia Dongili [EMAIL PROTECTED] wrote:
 On Wed, Nov 16, 2005 at 08:33:33PM +0100, Luca wrote:
  ciao a tutti,
  non sapete se esistono delle patch non ufficiali del modulo cpufreq

 no, non esistono
dammit...:-)

  per chi ha pc che non ancora sono supportati...io ho un p3 e non è
  supportato...questo è il risultato di lspci -

 cioe'? che moduli hai provato?
ho provato speedstep-smi e mi da questo output:

[EMAIL PROTECTED]:~$ sudo modprobe speedstep-smi
FATAL: Error inserting speedstep_smi
(/lib/modules/2.6.14-p3laptop/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-smi.ko):
No such device

ho provato anche speedstep-ich ma niente:

[EMAIL PROTECTED]:/lib/modules/2.6.14-p3laptop/kernel$ sudo modprobe 
speedstep-ich
FATAL: Error inserting speedstep_ich
(/lib/modules/2.6.14-p3laptop/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-ich.ko):
No such device

 l'output di /proc/cpuinfo sarebbe piu' interessante

eccolo :-)
[EMAIL PROTECTED]:~$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 6
cpu MHz : 549.791
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat p
se36 mmx fxsr sse
bogomips: 1099.88


  :00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX -

 speedstep-smi ?

provato(vedi sopra)

Che cosa posso fare?
grazie
ciao
Luca