Frequenza CPU portatile Acer

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Frequenza CPU portatile Acer

Messaggio da Lean »

NOOOOO :( cat/proc/cpuinfo mi da come frequenza 796 Mhz... ho un portatile Acer serie 1350 equipaggiato con un processore Mobile AMD Athlon(tm) XP 2400+ per cui la freq dovrebbe raggiungere 1.7 / 1.8 Ghz o qualcosa del genere. Ho ricompilato il kernel (2.6.12.1) mettendo come processor type Athlon, abilitando cpu freq... qualcuno ha idea??

Avatar utente
People
Linux 2.x
Linux 2.x
Messaggi: 216
Iscritto il: mar 22 giu 2004, 0:00
Slackware: 12.1
Kernel: 2.6.
Desktop: KDE

Messaggio da People »

Se hai abilitato il Cpu Frequency scaling, ed il governor ondemand, oppure il conservative (io non l'ho ancora provato ma il 2.6.12 dovrebbe avere questo nuovo governor) è possibile che, se il tuo pc non sta facendo nulla di impegnativo, la frequenza sia così bassa.
Per ulteriori delucidazioni leggiti questo thread, poi se hai altro da chiedere posta!
Ciao
P.

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

Il link al post in cui sei intervenuto è stato molto chiarificativo. I problemi sono questi: sicuramente il pc non viaggia a 1,7ghz in quanto è di una lentezza impressionante... ho aperto xmms e nel frattempo copiavo una dir e la musica si fermava, il puntatore del mouse andava a rallentatore. Per cui sicuramente il proc non viaggia al massimo. Ho ricompilato il kernel per come dicevi tu ma in /sys/devices/cpu/cp0 non c'è nulla... :( per cui non posso selezionare il governor che voglio (vorrei ondemand)
Qualche consiglio??
Edito: nemmeno cpufreq è presente in cpu0.... cioè do ls e non c'è nulla di nulla

Avatar utente
People
Linux 2.x
Linux 2.x
Messaggi: 216
Iscritto il: mar 22 giu 2004, 0:00
Slackware: 12.1
Kernel: 2.6.
Desktop: KDE

Messaggio da People »

Posta un po la parte di .config "incriminato" :D che vediamo...
Io ho un Athlon 2800+ e lo scaling funzia.... non ho però provato il 2.6.12, mi sono fermato al 2.6.11.... stasera conto di provare l'ultimo.

[Edit]: l'ACPI l'hai abilitato? (anche se centra relativamente con il freq. scaling).

Nel kernel devi anche selezionare il driver della CPU che hai... ora nn ho la mia slack sotto mano... [/Edit]

Ciao.

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

L'ACPI è abilitato... ecco la parte di .config ...

# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

#
# CPUFreq processor drivers
#
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_POWERNOW_K6 is not set
CONFIG_X86_POWERNOW_K7=y
CONFIG_X86_POWERNOW_K7_ACPI=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# shared options
#
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
# CONFIG_X86_SPEEDSTEP_LIB is not set

Avatar utente
rob
Linux 3.x
Linux 3.x
Messaggi: 924
Iscritto il: lun 22 nov 2004, 0:00
Località: Roma

Messaggio da rob »

Ho ricompilato il kernel per come dicevi tu ma in /sys/devices/cpu/cp0 non c'è nulla...
forse è un errore di trascrizione, attento che il percorso giusto è /sys/devices/system/cpu/cpu0/cpufreq/.
non posso selezionare il governor che voglio (vorrei ondemand)
CONFIG_CPU_FREQ_GOV_ONDEMAND=m, compilalo staticamente, penso sia meglio.

ciao, rob

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

Si scusate ho scritto male io... è
/sys/devices/system/cpu/cpu0/
dentro non c'è niente :(

Avatar utente
People
Linux 2.x
Linux 2.x
Messaggi: 216
Iscritto il: mar 22 giu 2004, 0:00
Slackware: 12.1
Kernel: 2.6.
Desktop: KDE

Messaggio da People »

Questo è il mio config; il 2.6.12.1 lo sto compilando ora quindi non so se funzionerà:
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_POWERNOW_K6 is not set
CONFIG_X86_POWERNOW_K7=y
CONFIG_X86_POWERNOW_K7_ACPI=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# shared options
#
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_X86_SPEEDSTEP_LIB is not set
Un suggerimento: ti trovi qualche messaggio strano sul syslog e/o sul dmesg?

P.

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

In effetti se do dmesg ottengo alla fine una 20ina di queste righe...
Losing some ticks... checking if CPU frequency changed.

Avatar utente
People
Linux 2.x
Linux 2.x
Messaggi: 216
Iscritto il: mar 22 giu 2004, 0:00
Slackware: 12.1
Kernel: 2.6.
Desktop: KDE

Messaggio da People »

Da me funzia... se dai

Codice: Seleziona tutto

dmesg | grep powernow
dovresti trovarti qualcosa tipo
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: No PST tables match this cpuid (0x7a0)
powernow: This is indicative of a broken BIOS.
powernow: Trying ACPI perflib
powernow: Minimum speed 530 MHz. Maximum speed 2120 MHz.
La riga relativa al broken bios non preoccupa, significa che il bios non contiene la tabella delle frequenze, ma comunque la conosce il kernel...

Ora come ore, non saprei che altro dirti...

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

root@sid:~# dmesg | grep powernow
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
root@sid:~#

dici che funge?? Mo' provo a stressarlo un po'...ti faccio sapere tra qualche minuto. Grazie mille sei stato gentilissimo...
Senti... potresti postarmi la configurazione che riguarda l'ACPI?

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

Niente da fare.... il pc è lento... quando viene usata la cpu. Compilo programmi e il puntatore si blocca... Problema palese di cpu...
Intanto la dir cpufreq continua a non esistere, cat /proc/cpuinfo dice sempre 796 Mhz... e dmesg grep | powernow da
root@sid:~# dmesg | grep powernow
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
root@sid:~#
People scusa potresti postare la configurazione che riguarda l'ACPI?

Avatar utente
People
Linux 2.x
Linux 2.x
Messaggi: 216
Iscritto il: mar 22 giu 2004, 0:00
Slackware: 12.1
Kernel: 2.6.
Desktop: KDE

Messaggio da People »

Scusa... eccomi, questo è il mio config alla sezione ACPI:

Codice: Seleziona tutto

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set
un suggerimento che ti posso dare è:
fai una prova senza frequency scaling... dovrebbe andare a manettone...
Poi, prova con il frequency scaling e come governor di default, performance... dovrebbe comunque andare al massimo... poi con echo bla bla bla cambi il governor e vedi cosa fa...

Avatar utente
Lean
Linux 3.x
Linux 3.x
Messaggi: 799
Iscritto il: ven 18 mar 2005, 0:00
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: KDE 3.5.9
Località: Modena - Messina
Contatta:

Messaggio da Lean »

Va lento uguale... l'avevo provato stamattina. Ho scaricato speedfreq e mi dice:
speedfreqd: cannot find cpufreq under /sys
Need sysfs mounted on /sys, and kernel configured with cpufreq driver
infatti non trova appunto la dir cpufreq, quindi anche volendo non potrei fare echo eccecc e provare gli altri governor.
Non so cosa sia sysfs... hai idea? Potrebbe essere questo il problema?

[edito] sysfs è montato correttamente:
sysfs on /sys type sysfs (rw)
Ultima modifica di Lean il ven 24 giu 2005, 23:43, modificato 1 volta in totale.

Avatar utente
People
Linux 2.x
Linux 2.x
Messaggi: 216
Iscritto il: mar 22 giu 2004, 0:00
Slackware: 12.1
Kernel: 2.6.
Desktop: KDE

Messaggio da People »

AAAARGGHHH!!!!
posta l'esito di mount e posta pure il tuo fstab.

sysfs è una directory (sarebbe un filesystem) che è stato inrtodotto con i kernel 2.6, serve per scambiare informazioni con il kernel. Se sei passato da 2.4 al 2.6 devi creare una directory sys e specificare in fstab che venga montata...

[EDIT]Meglio, che venga montato il sysfs sulla directory /sys[/EDIT]

Rispondi