Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/03/2006, à 12:29

Skippy le Grand Gourou

[Résolu] Disparition de la gestion fréquence CPU (suite à manip ?)

Salut,

J'ai un problème, à savoir que depuis ce matin mon portable ne gère plus les changements de fréquence de mon CPU (AMD Sempron 3200+)... hmm

Au démarrage, j'ai droit à une fenêtre avec :

CPU frequency scaling unsupported
You will not be able to modify the frequency of your machine.  Your machine may be misconfigured or not have hardware support for CPU frequency scaling.

et le CPU tourne à 997 MHz en continu (au lieu de 1.8 GHz max)...

Pourtant jusqu'ici tout allait bien... Quand je fais sudo modprobe acpi j'ai l'erreur :

FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.12-10-k7/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

Et quand je fais sudo modprobe powernowd :

powernowd: PowerNow Daemon v0.96, (c) 2003-2005 John Clemens
powernowd: Found 1 cpu:  -- 1 thread (or core) per physical cpu
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory

PowerNowd encountered and error and could not start.
Please make sure that:
- You are running a v2.6.7 kernel or later
- That you have sysfs mounted /sys
- That you have the core cpufreq and cpufreq-userspace
   modules loaded into your kernel
- That you have the cpufreq driver for your cpu loaded,
   and that it works. (check dmesg for errors)
If all of the above are true, and you still have problems,
please email the author: clemej@alum.rpi.edu

Un dmesg me donne :

~$ dmesg

96000] ACPI: PM-Timer IO Port: 0x8008
[4294667.296000] ACPI: Local APIC address 0xfee00000
[4294667.296000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[4294667.296000] Processor #0 15:15 APIC version 16
[4294667.296000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[4294667.296000] Using ACPI for processor (LAPIC) configuration information
[4294667.296000] Intel MultiProcessor Specification v1.4
[4294667.296000] Virtual Wire compatibility mode.
[4294667.296000] OEM ID: Product ID: APIC at: 0xFEE00000
[4294667.296000] I/O APIC #1 Version 33 at 0xFEC00000.
[4294667.296000] Enabling APIC mode: Flat. Using 1 I/O APICs
[4294667.296000] Processors: 1
[4294667.296000] Allocating PCI resources starting at 20000000 (gap: 20000000:c0000000)
[4294667.296000] Built 1 zonelists
[4294667.296000] Kernel command line: root=/dev/hda2 ro vga=771 quiet splash noapictimer acpi=noirq
[4294667.296000] mapped APIC to ffffd000 (fee00000)
[4294667.296000] mapped IOAPIC to ffffc000 (fec00000)
[4294667.296000] Initializing CPU#0
[4294667.296000] PID hash table entries: 2048 (order: 11, 32768 bytes)
[4294667.296000] Detected 997.353 MHz processor.
[4294667.296000] Using pmtmr for high-res timesource
[4294667.296000] Console: colour dummy device 80x25
[4294667.480000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[4294667.481000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[4294667.490000] Memory: 379644k/392128k available (1632k kernel code, 11808k reserved, 740k data, 168k init, 0k highmem)
[4294667.490000] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[4294667.490000] Calibrating delay loop... 1966.08 BogoMIPS (lpj=983040)
[4294667.512000] Security Framework v1.0.0 initialized
[4294667.512000] SELinux: Disabled at boot.
[4294667.512000] Mount-cache hash table entries: 512
[4294667.512000] CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001
[4294667.512000] CPU: After vendor identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001
[4294667.512000] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[4294667.512000] CPU: L2 Cache: 256K (64 bytes/line)
[4294667.512000] CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000010 00000001 00000000 00000001
[4294667.512000] Intel machine check architecture supported.
[4294667.512000] Intel machine check reporting enabled on CPU#0.
[4294667.512000] CPU: AMD Sempron(tm) Processor 3200+ stepping 02
[4294667.512000] Enabling fast FPU save and restore... done.
[4294667.512000] Enabling unmasked SIMD FPU exception support... done.
[4294667.512000] Checking 'hlt' instruction... OK.
[4294667.516000] checking if image is initramfs... it is
[4294668.424000] Freeing initrd memory: 5516k freed
[4294668.425000] ACPI: Looking for DSDT in initrd... not found!
[4294668.530000] not found!
[4294668.543000] ACPI: setting ELCR to 0e00 (from 0c00)
[4294669.285000] NET: Registered protocol family 16
[4294669.285000] ACPI: bus type pci registered
[4294669.285000] PCI: PCI BIOS revision 2.10 entry at 0xfd84c, last bus=4
[4294669.285000] PCI: Using configuration type 1
[4294669.285000] mtrr: v2.0 (20020519)
[4294669.285000] ACPI: Subsystem revision 20050729
[4294669.359000] ACPI: Interpreter enabled
[4294669.359000] ACPI: Using PIC for interrupt routing
[4294669.359000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[4294669.359000] PCI: Probing PCI hardware (bus 00)
[4294669.360000] ACPI: Assume root bridge [\_SB_.PCI0] segment is 0
[4294669.407000] PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
[4294669.408000] Boot video device is 0000:01:05.0
[4294669.434000] PCI: Transparent bridge - 0000:00:14.4
[4294669.437000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[4294669.441000] burst-mode-ec-10-Aug
[4294669.441000] ACPI: Embedded Controller [EC0] (gpe 26)
[4294669.484000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB4_._PRT]
[4294669.509000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
[4294669.509000] ACPI-0362: *** Error: Looking up [\_SB_.PCI0.LPC0.LNK4] in namespace, AE_NOT_FOUND
[4294669.509000] search_node d7ed5d20 start_node d7ed5d20 return_node 00000000
[4294669.509000] ACPI-0508: *** Error: Method execution failed [\_SB_.PCI0.P2P_._PRT] (Node d7ed5d20), AE_NOT_FOUND
[4294669.510000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[4294669.511000] Linux Plug and Play Support v0.97 (c) Adam Belay
[4294669.511000] pnp: PnP ACPI init
[4294669.559000] pnp: PnP ACPI: found 9 devices
[4294669.559000] PnPBIOS: Disabled by ACPI PNP
[4294669.559000] PCI: Probing PCI hardware
[4294670.727000] pnp: 00:07: ioport range 0x1080-0x1080 has been reserved
[4294670.727000] pnp: 00:07: ioport range 0x220-0x22f has been reserved
[4294670.727000] pnp: 00:07: ioport range 0x40b-0x40b has been reserved
[4294670.727000] pnp: 00:07: ioport range 0x4d0-0x4d1 has been reserved
[4294670.728000] audit: initializing netlink socket (disabled)
[4294670.728000] audit: initialized
[4294670.728000] VFS: Disk quotas dquot_6.5.1
[4294670.728000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[4294670.728000] devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
[4294670.728000] devfs: boot_options: 0x0
[4294670.728000] Initializing Cryptographic API
[4294670.729000] PCI: 0000:00:04.0 has unsupported PM cap regs version (3)
[4294670.729000] PCI: Setting latency timer of device 0000:00:04.0 to 64
[4294670.729000] pcie_portdrv_probe->Dev[5a36:1002] has invalid IRQ. Check vendor BIOS
[4294670.729000] assign_interrupt_mode Found MSI capability
[4294670.729000] Allocate Port Service[pcie00]
[4294670.729000] isapnp: Scanning for PnP cards...
[4294671.082000] isapnp: No Plug & Play device found
[4294671.108000] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[4294671.115000] serio: i8042 AUX port at 0x60,0x64 irq 12
[4294671.115000] serio: i8042 KBD port at 0x60,0x64 irq 1
[4294671.115000] Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
[4294671.117000] io scheduler noop registered
[4294671.117000] io scheduler anticipatory registered
[4294671.117000] io scheduler deadline registered
[4294671.117000] io scheduler cfq registered
[4294671.118000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[4294671.118000] NET: Registered protocol family 2
[4294671.124000] input: AT Translated Set 2 keyboard on isa0060/serio0
[4294671.127000] IP: routing cache hash table of 4096 buckets, 32Kbytes
[4294671.127000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[4294671.127000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[4294671.127000] TCP: Hash tables configured (established 16384 bind 16384)
[4294671.127000] NET: Registered protocol family 8
[4294671.127000] NET: Registered protocol family 20
[4294671.127000] ACPI wakeup devices:
[4294671.127000] LID KBC0 MSE0 PB4 P2P ELAN
[4294671.127000] ACPI: (supports S0 S3 S4 S5)
[4294671.127000] Freeing unused kernel memory: 168k freed
[4294671.222000] request_module: runaway loop modprobe net-pf-1
[4294672.193000] Capability LSM initialized
[4294672.198000] vesafb: framebuffer at 0xc0000000, mapped to 0xd8880000, using 937k, total 131072k
[4294672.198000] vesafb: mode is 800x600x8, linelength=800, pages=254
[4294672.198000] vesafb: protected mode interface info at c000:5369
[4294672.198000] vesafb: scrolling: redraw
[4294672.198000] vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
[4294672.203000] Console: switching to colour frame buffer device 100x37
[4294672.203000] fb0: VESA VGA frame buffer device
[4294672.211000] NET: Registered protocol family 1
[4294672.230000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[4294672.230000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[4294672.230000] ACPI: bus type ide registered
[4294672.241000] ATIIXP: IDE controller at PCI slot 0000:00:14.1
[4294672.241000] ATIIXP: chipset revision 0
[4294672.241000] ATIIXP: not 100% native mode: will probe irqs later
[4294672.241000] ide0: BM-DMA at 0x8410-0x8417, BIOS settings: hda:DMA, hdb:pio
[4294672.241000] ide1: BM-DMA at 0x8418-0x841f, BIOS settings: hdc:DMA, hdd:pio
[4294672.241000] Probing IDE interface ide0...
[4294672.505000] hda: TOSHIBA MK6025GAS, ATA DISK drive
[4294673.117000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4294673.117000] Probing IDE interface ide1...
[4294673.789000] hdc: TSSTcorpCD/DVDW TS-L532R, ATAPI CD/DVD-ROM drive
[4294674.401000] ide1 at 0x170-0x177,0x376 on irq 15
[4294674.401000] Probing IDE interface ide2...
[4294674.914000] Probing IDE interface ide3...
[4294675.426000] Probing IDE interface ide4...
[4294675.938000] Probing IDE interface ide5...
[4294676.454000] hda: max request size: 128KiB
[4294676.503000] hda: 117210240 sectors (60011 MB), CHS=65535/16/63, UDMA(100)
[4294676.503000] hda: cache flushes supported
[4294676.503000] /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
[4294676.555000] hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
[4294676.555000] Uniform CD-ROM driver Revision: 3.20
[4294676.913000] Attempting manual resume
[4294676.927000] swsusp: Suspend partition has wrong signature?
[4294676.974000] usbcore: registered new driver usbfs
[4294676.974000] usbcore: registered new driver hub
[4294676.975000] ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[4294676.975000] ohci_hcd 0000:00:13.0: PCI device 1002:4374 (ATI Technologies Inc)
[4294676.975000] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
[4294676.975000] ohci_hcd 0000:00:13.0: irq 11, io mem 0xb0000000
[4294676.980000] hub 1-0:1.0: USB hub found
[4294676.980000] hub 1-0:1.0: 4 ports detected
[4294676.985000] ohci_hcd 0000:00:13.1: PCI device 1002:4375 (ATI Technologies Inc)
[4294676.985000] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
[4294676.985000] ohci_hcd 0000:00:13.1: irq 11, io mem 0xb0001000
[4294676.990000] hub 2-0:1.0: USB hub found
[4294676.990000] hub 2-0:1.0: 4 ports detected
[4294677.019000] ehci_hcd 0000:00:13.2: PCI device 1002:4373 (ATI Technologies Inc)
[4294677.019000] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
[4294677.019000] ehci_hcd 0000:00:13.2: irq 11, io mem 0xb0002000
[4294677.019000] ehci_hcd 0000:00:13.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
[4294677.020000] hub 3-0:1.0: USB hub found
[4294677.020000] hub 3-0:1.0: 8 ports detected
[4294677.195000] 8139too Fast Ethernet driver 0.9.27
[4294677.197000] eth0: RealTek RTL8139 at 0xa000, 00:0f:b0:b8:df:ac, IRQ 10
[4294677.197000] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
[4294677.198000] 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
[4294679.618000] ACPI: CPU0 (power states: C1[C1])
[4294679.618000] ACPI: Processor [CPU0] (supports 8 throttling states)
[4294679.623000] ACPI: Thermal Zone [THRM] (35 C)
[4294679.846000] Attempting manual resume
[4294679.866000] swsusp: Suspend partition has wrong signature?
[4294679.896000] ReiserFS: hda2: found reiserfs format "3.6" with standard journal
[4294680.428000] ReiserFS: hda2: using ordered data mode
[4294680.441000] ReiserFS: hda2: journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[4294680.443000] ReiserFS: hda2: checking transaction log (hda2)
[4294680.507000] ReiserFS: hda2: Using r5 hash to sort names
[4294682.154000] md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
[4294685.767000] Adding 642528k swap on /dev/hda7. Priority:-1 extents:1
[4294702.127000] lp: driver loaded but no devices found
[4294702.148000] mice: PS/2 mouse device common for all mice
[4294702.176000] Linux agpgart interface v0.101 (c) Dave Jones
[4294702.178000] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[4294702.191000] [fglrx] Maximum main memory to use for locked dma buffers: 314 MBytes.
[4294702.191000] [fglrx] module loaded - fglrx 8.16.20 [Aug 16 2005] on minor 0
[4294702.217000] ndiswrapper version 1.1 loaded (preempt=no,smp=no)
[4294702.439000] ndiswrapper: driver bcmwl5 (Broadcom,02/11/2005, 3.100.64.0) loaded
[4294702.448000] ndiswrapper: using irq 10
[4294702.707000] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x23a0b1, caps: 0xa04713/0x200000
[4294702.711000] input: SynPS/2 Synaptics TouchPad on isa0060/serio1
[4294702.955000] wlan0: ndiswrapper ethernet device 00:14:a5:25:68:02 using driver bcmwl5, configuration file 14E4:4318:103C:1356.5.conf
[4294702.955000] wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
[4294703.048000] ts: Compaq touchscreen protocol output
[4294705.672000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
[4294709.814000] ReiserFS: hda5: found reiserfs format "3.6" with standard journal
[4294709.814000] ReiserFS: hda5: using ordered data mode
[4294709.815000] ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[4294709.816000] ReiserFS: hda5: checking transaction log (hda5)
[4294709.816000] ReiserFS: hda5: Using r5 hash to sort names
[4294711.491000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[4294711.501000] spurious 8259A interrupt: IRQ7.
[4294711.552000] shpchp: shpc_init : shpc_cap_offset == 0
[4294711.552000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[4294713.139000] Linux Kernel Card Services
[4294713.139000] options: [pci] [cardbus] [pm]
[4294713.155000] Yenta: CardBus bridge found at 0000:03:04.0 [103c:3085]
[4294713.155000] Yenta: Using INTVAL to route CSC interrupts to PCI
[4294713.155000] Yenta: Routing CardBus interrupts to PCI
[4294713.155000] Yenta TI: socket 0000:03:04.0, mfunc 0x01c01c02, devctl 0x44
[4294713.376000] Yenta: ISA IRQ mask 0x00f8, PCI irq 10
[4294713.376000] Socket status: 30000007
[4294714.893000] Real Time Clock Driver v1.12
[4294715.003000] input: PC Speaker
[4294716.634000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[4294719.753000] NET: Registered protocol family 10
[4294719.754000] Disabled Privacy Extensions on device c0321b80(lo)
[4294719.754000] IPv6 over IPv4 tunneling driver
[4294721.237000] ACPI: AC Adapter [ACAD] (on-line)
[4294721.329000] ACPI: Power Button (FF) [PWRF]
[4294721.329000] ACPI: Lid Switch [LID]
[4294721.329000] ACPI: Power Button (CM) [PWRB]
[4294721.448000] ibm_acpi: ec object not found
[4294721.594000] ACPI: Battery Slot [BAT1] (battery present)
[4294721.613000] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[4294730.122000] eth0: no IPv6 routers present
[4294730.163000] [fglrx] free PCIe = 54804480
[4294730.163000] [fglrx] max PCIe = 54804480
[4294730.163000] [fglrx] free LFB = 119762944
[4294730.163000] [fglrx] max LFB = 119762944
[4294730.163000] [fglrx] free Inv = 0
[4294730.163000] [fglrx] max Inv = 0
[4294730.163000] [fglrx] total Inv = 0
[4294730.163000] [fglrx] total TIM = 0
[4294730.163000] [fglrx] total FB = 0
[4294730.163000] [fglrx] total PCIe = 16384
[4294732.552000] psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 4
[4294732.553000] psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[4294732.564000] psmouse.c: TouchPad at isa0060/serio1/input0 - driver resynched.
[4294733.702000] apm: BIOS not found.
[4294740.071000] psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[4294770.411000] psmouse.c: TouchPad at isa0060/serio1/input0 - driver resynched.

La seule chose que j'ai modifié hier (je crois) est que j'ai voulu faire en sorte que le script décrit [http://forum.ubuntu-fr.org/viewtopic.php?id=31518]ici[/url], censé éteindre le portable en cas de batterie faible (et validé en console), soit lancé automatiquement au démarrage. J'ai pour cela effectué les commandes :

sudo chmod +x /etc/init.d/fin_batterie
sudo update-rc.d fin_batterie start 20 2 3 4 5 .

Me disant que le problème de CPU venait peut-être de là, j'ai essayé de le désinstaller par :

sudo update-rc.d fin_batterie remove

mais le problème persiste... J'ai également tenté un

sudo base-config

mais rien non plus.

Dernière modification par Skippy le Grand Gourou (Le 12/03/2006, à 17:28)

Hors ligne

#2 Le 12/03/2006, à 19:54

Skippy le Grand Gourou

Re : [Résolu] Disparition de la gestion fréquence CPU (suite à manip ?)

J'ai supprimé la solution que je croyais avoir trouvée, elle n'était pas bonne... hmm

Par contre, le problème vient effectivement du script, qui supprime le répertoire /sys/devices/system/cpu/cpu0/cpufreq/, je comprends pas pourquoi (discussion en section programmation).

Donc après de nombreux redémarrages et expérimentations je pense avoir trouvé la solution optimale : il suffit d'enlever l'applet de gestion des fréquences du CPU du tableau de bord, puis :

sudo apt-get remove powernowd
sudo apt-get install powernowd

et enfin de remettre l'applet sur le tableau de bord.

Voilà. wink

Dernière modification par Skippy le Grand Gourou (Le 12/03/2006, à 20:09)

Hors ligne