Portál AbcLinuxu, 12. května 2025 21:45

Dotaz: nx6325 a powernowd

20.12.2006 20:08 ParadoX | skóre: 20 | blog: Paradox
nx6325 a powernowd
Přečteno: 357×
Odpovědět | Admin
Zdravím, mám menší problém, rozjel jsem vše, včetně čtečky karet, ale jak jsem popisoval v jednom z blogů, kdy používám 32bit na tomto 64bitovém železe, je teplota vyšší cca o 5 stupňů, nejdříve jsem nevěděl proč ale přišel jsem na to že mi nefunguje powernowd. To znamená že procesor se stále drží na 1800MHz. Nejenže systém celkově více topí, ale výdrž baterky je takto minimální. Hledal jsem tady na forech ale moc jsem z toho nevykoukal. Snad jen že mi chybí v jádře nějaký modul. Používám Mandrivu 2007 a nefunguje to jak s normálním distribučním jádrem tak s kernel-multimedia-laptop nebo jak se jmenuje. U 64bitové manrdivy s tím problém není stejně jako nebyl u kubuntu EE. Přidám kousek z dmesg který hlásí APIC error on CPU0: 40(40) Případně dodám celý výpis, bootovat s volbou noapic se mi moc nechce protože potřebuji výdrž baterky. Nevíte někdo co s tím?
ACPI: PCI Interrupt 0000:00:13.2[A] -> GSI 19 (level, low) -> IRQ 18
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:13.2: irq 18, io mem 0xd0403000
ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 8 ports detected
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt 0000:02:04.1[A] -> GSI 20 (level, low) -> IRQ 16
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16]  MMIO=[d0011000-d00117ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
usb 2-1: new full speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
input: PC Speaker as /class/input/input2
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 20 (level, low) -> IRQ 16
Yenta: CardBus bridge found at 0000:02:04.0 [103c:30b0]
Yenta: ISA IRQ mask 0x0ef8, PCI irq 16
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x1000 - 0x1fff
cs: IO port probe 0x1000-0x1fff: clean.
pcmcia: parent PCI bridge Memory window: 0xd0000000 - 0xd02fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x31ffffff
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: excluding 0xc00-0xc07 0xc10-0xc17 0xc50-0xc57 0xc68-0xc6f 0xcd0-0xcdf
cs: IO port probe 0xa00-0xaff: clean.
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
EXT3 FS on sda7, internal journal
Adding 1043240k swap on /dev/sda5.  Priority:-1 extents:1 across:1043240k
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS driver 2.1.27 [Flags: R/O DEBUG MODULE].
NTFS volume version 3.1.
loop: loaded (max 8 devices, max 1 partitions per device)
hda: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
ACPI: AC Adapter [C1BD] (off-line)
ACPI: Battery Slot [C1BF] (battery present)
ACPI: Battery Slot [C1BE] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [C25A]
ACPI: Lid Switch [C25B]
ACPI: Fan [C34F] (off)
ACPI: Fan [C350] (off)
ACPI: Fan [C351] (off)
ACPI: Fan [C352] (off)
Using specific hotkey driver
ACPI: Processor [C000] (supports 8 throttling states)
ACPI: Thermal Zone [TZ1] (33 C)
ACPI: Thermal Zone [TZ2] (27 C)
ACPI: Thermal Zone [TZ3] (24 C)
ACPI: Video Device [C076_C075] (multi-head: yes  rom: no  post: no)
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 17
NET: Registered protocol family 17
tg3.c:v3.59.1 (August 25, 2006)
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 23 (level, low) -> IRQ 19
eth0: Tigon3 [partno(BCM95788A50) rev 3003 PHY(5705)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:17:08:31:2c:54
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[0] TSOcap[1]
eth0: dma_rwctrl[763f0000] dma_mask[32-bit]
PM: Writing back config space on device 0000:02:01.0 at offset c (was bfef0000, writing 0)
PM: Writing back config space on device 0000:02:01.0 at offset b (was 3ed173b, writing 30b0103c)
PM: Writing back config space on device 0000:02:01.0 at offset 3 (was 0, writing 4010)
PM: Writing back config space on device 0000:02:01.0 at offset 2 (was 2000000, writing 2000003)
PM: Writing back config space on device 0000:02:01.0 at offset 1 (was 2b00000, writing 2b00006)
PM: Writing back config space on device 0000:02:01.0 at offset 0 (was 3ed173b, writing 169c14e4)
ndiswrapper version 1.21 loaded (preempt=no,smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,12/14/2005, 4.10.47.2) loaded
ACPI: PCI Interrupt 0000:30:00.0[A] -> GSI 18 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:30:00.0 to 64
ndiswrapper: using irq 20
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:14:a5:e5:58:b9 using driver bcmwl5, 14E4:4312.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
ndiswrapper (add_wep_key:816): adding encryption key 1 failed (C0010015)
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6 over IPv4 tunneling driver
[fglrx] Maximum main memory to use for locked dma buffers: 372 MBytes.
[fglrx] module loaded - fglrx 8.28.8 [Aug 17 2006] on minor 0
ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 17 (level, low) -> IRQ 22
[fglrx] total      GART = 134217728
[fglrx] free       GART = 118226944
[fglrx] max single GART = 118226944
[fglrx] total      LFB  = 61730816
[fglrx] free       LFB  = 55439360
[fglrx] max single LFB  = 55439360
[fglrx] total      Inv  = 0
[fglrx] free       Inv  = 0
[fglrx] max single Inv  = 0
[fglrx] total      TIM  = 0
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 12546 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 12546 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 12546 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 12546 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 12546 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 12546 bytes, v3).
bootsplash: status on console 5 changed to on
APIC error on CPU0: 00(40)
hda-intel: Invalid position buffer, using LPIB read method instead.
APIC error on CPU0: 40(40)
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
usb 2-3: new low speed USB device using ohci_hcd and address 4
usb 2-3: configuration #1 chosen from 1 choice
input: Genius NetScroll+ Superior as /class/input/input3
input: USB HID v1.10 Mouse [Genius NetScroll+ Superior] on usb-0000:00:13.1-3
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
APIC error on CPU0: 40(40)
VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
[mirek@paradox ~]$   
Don´t worry, be happy.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

20.12.2006 22:11 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: nx6325 a powernowd
Odpovědět | | Sbalit | Link | Blokovat | Admin
Nějak nechápu co má parametr noapic společného se spotřebou ?

Pletete hrušky z jabkama pro spotřebu je důležitá spotřeba komponent tedy funkce ACPI.

APIC se stará o IRQ (zavádí trochu jinou obsluhu přerušení).

APIC = Advanced Programmable Interrupt Controller

Pokud ho zakážete použije se standartní přerušení tak jako u PC AT.

Samozřejmě může při režiji vzniknout větší spotřeba, ovšem tato je zanedbatelná je to pomalu neměřitelné (CPU musí pro obsluhu provést pár instrukcí navíc).
20.12.2006 22:50 ParadoX | skóre: 20 | blog: Paradox
Rozbalit Rozbalit vše Re: nx6325 a powernowd
díky za vysvětlení. Alespon v tom mám jasno.

Jinak když to nebudu míchat, jak tedy dosáhnu funkčního snižování frekvence?
Don´t worry, be happy.
20.12.2006 23:20 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: nx6325 a powernowd
Že by jako první nahrát příslušný modul jádra a spustit příslušného démona ?
20.12.2006 23:25 ParadoX | skóre: 20 | blog: Paradox
Rozbalit Rozbalit vše Re: nx6325 a powernowd
no, pokud jsem to dobře pochopil z jiných diskuzí kde se řešili podobné věci tak by to měl být modul powernow-k7 či k8 (asi, jestli zase nepíšu nějakou blbost), což nevím kde najdu.
[root@paradox mirek]# powernowd
powernowd: PowerNow Daemon v0.97, (c) 2003-2006 John Clemens
powernowd: Found 1 scalable unit:  -- 1 'CPU' per scalable unit
/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,
   (for example: powernow-k7), 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
[root@paradox mirek]#    
Don´t worry, be happy.
21.12.2006 00:07 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: nx6325 a powernowd
Sice nevím co pořád všeci máte něco s powernowd ale já nic takového nepoužívám.

Mám AMD 64b a používám modul cpufreq_ondemand.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.