#1 Le 03/03/2007, à 19:46
- Bhaal
[Resolu]Pb de gestion de la fréquence du cpu par un module noyau
Salut,
je voudrais faire varier la frequence du cpu de mon pc portable en fonction de son activite, donc j'ai suivi ce tuto :
http://doc.ubuntu-fr.org/cpu-frequtils?s=powernowd
tout c'est bien passe, pourtant cela ne fonctionne pas !
voici mes parametres :
Ubuntu edgy
bhaal@bhaal-laptop:~$ cat /proc/cpuinfo|grep name
model name : Intel(R) Pentium(R) M processor 1.70GHz
bhaal@bhaal-laptop:~$
j'ai choisit le gouverneur : conservative
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
fuse
cpufreq_conservative
cpufreq_ondemand
cpufreq_powersave
cpufreq_stats
cpufreq_userspace
conservative
/etc/sysfs.conf - Configuration file for setting sysfs attributes.
#
# The sysfs mount directory is automatically prepended to the attribute paths.
#
# Syntax:
# attribute = value
# mode attribute = 0600 # (any valid argument for chmod)
# owner attribute = root:wheel # (any valid argument for chown)
#
# Examples:
#
# Always use the powersave CPU frequency governor
# devices/system/cpu/cpu0/cpufreq/scaling_governor=powersave
#
# Use userspace CPU frequency governor and set initial speed
# devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace
# devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000
#
# Set permissions of suspend control file
# mode power/state = 0660
# owner power/state = root:power
devices/system/cpu/cpu0/cpufreq/scaling_governor=conservative
donc ensuite j'ai redemarrer j'ai installe cpufrequtils et voilà ce que ça me donne
bhaal@bhaal-laptop:~$ cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Veuillez rapportez les erreurs et les bogues à linux@brodo.de, s'il vous plait.
analyse du CPU 0 :
pas de pilotes cpufreq reconnu pour ce CPU
bhaal@bhaal-laptop:~$
c'est pas normal "pas de pilotes cpufreq reconnu pour ce CPU" , non ?
en plus depuis que j'ai redemarer je trouve que mon ventilo s'enclenche plus souvent et j'ai aussi remarque que le dossier "cpufreq" dans "/sys/devices/system/cpu/cpu0/" n'existe plus
c'est embetant ça car d'apres ce que j'ai compris il va chercher les infos de gestion de mon cpu à cet endroit pendant le boot du pc !
à la place y'a un fichier nomme "crash note" et un dossier "topology"
bhaal@bhaal-laptop:/sys/devices/system/cpu/cpu0$ sudo cat crash_notes
1fad0800
bhaal@bhaal-laptop:/sys/devices/system/cpu/cpu0$
est-ce que quelqu'un a une idee de ce qui c'est passe ? qu'est-ce que je j'ai pas fait comme il le fallait ?
merci d'avance pour vos reponse
Dernière modification par Bhaal (Le 05/03/2007, à 19:13)
Hors ligne
#2 Le 03/03/2007, à 19:52
- blackdream
Re : [Resolu]Pb de gestion de la fréquence du cpu par un module noyau
Désolé, je ne peux pas t'aider, mais j'ai une question : c'est possible de revoir les fréquences à la hausse ? (overclocké, quoi) par cette tecknique, ou on peut juste les faires varier vers le bas ?
Hors ligne
#3 Le 04/03/2007, à 17:59
- Bhaal
Re : [Resolu]Pb de gestion de la fréquence du cpu par un module noyau
Désolé, je ne peux pas t'aider, mais j'ai une question : c'est possible de revoir les fréquences à la hausse ? (overclocké, quoi) par cette tecknique, ou on peut juste les faires varier vers le bas ?
non on peut pas overclocke avec ça, pour overclocke faut aller dans le bios ...
sinon personne n'a dejà utlise cette application ? personne ne peut m'aider ?
@++
Hors ligne
#4 Le 05/03/2007, à 02:37
- zetotof
Re : [Resolu]Pb de gestion de la fréquence du cpu par un module noyau
c'est marrant parce que je suis sous gentoo (depuis 1 semaine, sous ubuntu j'avais pas eu ce problème) et j'avais exactement la meme chose que toi.
deux trois conseils :
-Regarde la sortie de "dmesg | grep ACPI" et poste la.
-"lsmod" pour savoir si tes modules de "/etc/module" sont bien chargés dans le noyau.
-essaye de faire "un modprobe acpi_cpufreq" et si cpufreq-info donne une sortie plus encourageante, tente de le mettre au début de "/etc/modules". je viens tout juste d'avoir une sortie valable grâce à ce truc, j'espère que ça va marcher pour toi. (je craaaque ça faisait deux jours que je cherchais comment faire, j'ai trouvé tout seul )
Hors ligne
#5 Le 05/03/2007, à 19:04
- Bhaal
Re : [Resolu]Pb de gestion de la fréquence du cpu par un module noyau
salut ,
alors voilà a la demande de zetotof
bhaal@bhaal-laptop:~$ dmesg | grep ACPI
[17179569.184000] BIOS-e820: 000000003f680000 - 000000003f68b000 (ACPI data)
[17179569.184000] BIOS-e820: 000000003f68b000 - 000000003f700000 (ACPI NVS)
[17179569.184000] ACPI: RSDP (v000 PTLTD ) @ 0x000f6bd0
[17179569.184000] ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x3f684fa4
[17179569.184000] ACPI: FADT (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x3f68ae88
[17179569.184000] ACPI: MADT (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x3f68aefc
[17179569.184000] ACPI: HPET (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x3f68af64
[17179569.184000] ACPI: MCFG (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x3f68af9c
[17179569.184000] ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x3f68afd8
[17179569.184000] ACPI: SSDT (v001 PmRef Cpu0Ist 0x00003000 INTL 0x20030224) @ 0x3f6853d9
[17179569.184000] ACPI: SSDT (v001 PmRef Cpu0Cst 0x00003001 INTL 0x20030224) @ 0x3f685201
[17179569.184000] ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20030224) @ 0x3f684fe8
[17179569.184000] ACPI: DSDT (v001 INTEL ALVISO 0x06040000 MSFT 0x0100000e) @ 0x00000000
[17179569.184000] ACPI: PM-Timer IO Port: 0x1008
[17179569.184000] ACPI: Local APIC address 0xfee00000
[17179569.184000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[17179569.184000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
[17179569.184000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[17179569.184000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[17179569.184000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[17179569.184000] ACPI: IRQ0 used by override.
[17179569.184000] ACPI: IRQ2 used by override.
[17179569.184000] ACPI: IRQ9 used by override.
[17179569.184000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[17179569.184000] Using ACPI (MADT) for SMP configuration information
[17179569.808000] ACPI: Core revision 20060707
[17179569.836000] ACPI: Looking for DSDT ... not found!
[17179569.996000] ACPI: bus type pci registered
[17179570.016000] ACPI: Interpreter enabled
[17179570.016000] ACPI: Using IOAPIC for interrupt routing
[17179570.016000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[17179570.016000] PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
[17179570.020000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[17179570.024000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
[17179570.028000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
[17179570.028000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
[17179570.028000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
[17179570.028000] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 12 14 15)
[17179570.028000] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[17179570.028000] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[17179570.028000] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *11 12 14 15)
[17179570.028000] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[17179570.028000] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[17179570.028000] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[17179570.028000] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 *11 12 14 15)
[17179570.028000] ACPI: Embedded Controller [EC0] (gpe 29) interrupt mode.
[17179570.048000] pnp: PnP ACPI init
[17179570.048000] pnp: PnP ACPI: found 9 devices
[17179570.048000] PnPBIOS: Disabled by ACPI PNP
[17179570.048000] PCI: Using ACPI for IRQ routing
[17179570.048000] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 169
[17179570.048000] ACPI: PCI Interrupt 0000:00:1c.1[b] -> GSI 16 (level, low) -> IRQ 177
[17179570.048000] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 185
[17179570.048000] ACPI: PCI Interrupt 0000:06:01.0[A] -> GSI 18 (level, low) -> IRQ 185
[17179570.088000] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 169
[17179570.088000] ACPI: PCI Interrupt 0000:00:1c.1[b] -> GSI 16 (level, low) -> IRQ 177
[17179570.088000] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 185
[17179570.516000] ACPI: (supports S0 S3 S4 S5)
[17179571.676000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
[17179571.676000] ACPI: Processor [CPU0] (supports 8 throttling states)
[17179571.676000] ACPI Exception (acpi_processor-0693): AE_NOT_FOUND, Processor Device is not present [20060707]
[17179571.676000] ACPI: Getting cpuindex for acpiid 0x1
[17179571.680000] ACPI: Thermal Zone [THRM] (28 C)
[17179571.960000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
[17179573.508000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 225
[17179573.612000] ACPI: PCI Interrupt 0000:00:1d.1[b] -> GSI 19 (level, low) -> IRQ 233
[17179573.716000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
[17179573.820000] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 177
[17179573.924000] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 225
[17179584.648000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 177
[17179585.240000] ACPI: PCI Interrupt 0000:06:01.0[A] -> GSI 18 (level, low) -> IRQ 185
[17179585.476000] ACPI: PCI Interrupt 0000:06:08.0[A] -> GSI 16 (level, low) -> IRQ 177
[17179585.484000] ACPI: PCI Interrupt 0000:06:04.0[A] -> GSI 17 (level, low) -> IRQ 169
[17179590.884000] ACPI: AC Adapter [ACAD] (on-line)
[17179590.936000] ACPI: Battery Slot [BAT1] (battery present)
[17179590.952000] ACPI: Power Button (FF) [PWRF]
[17179590.952000] ACPI: Lid Switch [LID]
[17179590.952000] ACPI: Power Button (CM) [PWRB]
[17179590.952000] ACPI: Sleep Button (CM) [SLPB]
[17179591.192000] ACPI: Video Device [GFX0] (multi-head: yes rom: yes post: no)
[17179593.284000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 177
bhaal@bhaal-laptop:~$
bhaal@bhaal-laptop:~$ lsmod
Module Size Used by
binfmt_misc 13448 1
i915 21632 3
drm 74644 4 i915
video 17540 0
tc1100_wmi 8324 0
sbs 16804 0
sony_acpi 6412 0
pcc_acpi 14080 0
i2c_ec 6272 1 sbs
i2c_core 23424 1 i2c_ec
hotkey 11556 0
dev_acpi 12292 0
button 7952 0
battery 11652 0
container 5632 0
ac 6788 0
asus_acpi 17688 0
ipv6 272288 8
af_packet 24584 4
cpufreq_userspace 5408 0
cpufreq_stats 7744 0
freq_table 6048 1 cpufreq_stats
cpufreq_powersave 2944 0
cpufreq_ondemand 8876 0
cpufreq_conservative 8712 0
fuse 43912 2
parport_pc 37796 0
lp 12964 0
parport 39496 2 parport_pc,lp
arc4 3200 2
ieee80211_crypt_wep 6528 1
pcmcia 40380 0
8139cp 24832 0
joydev 11200 0
tsdev 9152 0
ipw2200 115652 0
8139too 29056 0
mii 6912 2 8139cp,8139too
ieee80211 35272 1 ipw2200
ieee80211_crypt 7552 2 ieee80211_crypt_wep,ieee80211
yenta_socket 28812 1
rsrc_nonstatic 15360 1 yenta_socket
pcmcia_core 43924 3 pcmcia,yenta_socket,rsrc_nonstatic
usbhid 45152 0
snd_hda_intel 20116 1
snd_hda_codec 164608 1 snd_hda_intel
snd_pcm_oss 47360 0
snd_mixer_oss 19584 1 snd_pcm_oss
snd_pcm 84612 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 25348 1 snd_pcm
evdev 11392 1
psmouse 41352 0
hw_random 7320 0
intel_agp 26012 1
agpgart 34888 3 drm,intel_agp
shpchp 42144 0
pci_hotplug 32828 1 shpchp
serio_raw 8452 0
snd 58372 8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11232 1 snd
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
ext3 142856 1
jbd 62228 1 ext3
ehci_hcd 34696 0
uhci_hcd 24968 0
usbcore 134912 4 usbhid,ehci_hcd,uhci_hcd
ide_generic 2432 0
ide_cd 33696 0
cdrom 38944 1 ide_cd
ide_disk 18560 4
piix 11780 1
generic 6276 0
thermal 15624 0
processor 31560 1 thermal
fan 6020 0
fbcon 41504 0
tileblit 3840 1 fbcon
font 9344 1 fbcon
bitblit 7168 1 fbcon
softcursor 3328 1 bitblit
vesafb 9244 0
capability 5896 0
commoncap 8704 1 capability
bhaal@bhaal-laptop:~$
voilà
Hors ligne
#6 Le 05/03/2007, à 19:12
- Bhaal
Re : [Resolu]Pb de gestion de la fréquence du cpu par un module noyau
problème regle !
en fait je m'etais plante dans la partie 6 du tuto j'avais mis "conservative" au lieu de "speedstep-centrino" pfffff quel nul
Hors ligne