ACPI

Frequency Scaling / root@[[AmiloA]]# [[Debian]]

uname -a ; date # [[Debian]]
# Linux nrv 2.6.9-1-k7 #1 Sun Oct 31 03:14:07 EST 2004 i686 GNU/Linux
# Mon Nov 15 22:11:41 CET 2004
apt-get install kernel-headers-2.6.9-1-k7 kernel-image-2.6.9-1-k7 powernowd
modprobe -v powernow_k7 ;  dmesg
# insmod /lib/modules/2.6.9-1-k7/kernel/drivers/cpufreq/freq_table.ko
# insmod /lib/modules/2.6.9-1-k7/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k7.ko
# powernow: PowerNOW=== Technology present. Can scale: frequency and voltage.===
# powernow: SGTC: 13333
# powernow: Minimum speed 662 MHz. Maximum speed 1192 MHz.
powernowd -v # root@[[AmiloA]]#
# powernowd: [[PowerNow]] Daemon v0.90, (c) 2003-2004 John Clemens
# powernowd: Settings:
# powernowd:   verbosity:        1
# powernowd:   mode:             1     (AGGRESSIVE)
# powernowd:   step:           100 MHz (100000 kHz)
# powernowd:   lowwater:        20 %
# powernowd:   highwater:       80 %
# powernowd:   poll interval: 1000 ms
# powernowd: Found 1 cpu:
# powernowd:   cpu0: 662Mhz - 1191Mhz

[[AmiloA]] [[ACPI]] : [[DSDT]]

dmesg # from [[Linux]] Ubuntu Live CD
DMI present.
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f7790
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1defbcc8
ACPI: FADT (v001 ATI    [[Raptor]]   0x06040000 ATI  0x000f4240) @ 0x1defee9c
ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @ 0x1defef10
ACPI: DSDT (v001 COMPAL CY26**** 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008

There is a custom dsdt for AmiloA 7800 (and now 7600, from Thomas Riedel)

ACPI : [[IRQ]] & [[PCI]] / [[BIOS]] : pci=noacpi ?

Strange Log : (you can get rid of these ACPI/IRQ problems using the following kernel parameter : pci=noacpi … It wont disable ACPI but will solve some problems.)

what is it suposed to do ?

apt-get install kernel-doc-2.6.9
zcat /usr/share/doc/kernel-doc-2.6.9/Documentation/kernel-parameters.txt.gz
dmesg # on [[Linux]] [[AmiloA]] [[Laptop]]
# ACPI: Subsystem revision 20040816
# ACPI: Interpreter enabled
# ACPI: Using PIC for interrupt routing
# ACPI: PCI Root Bridge [[PCI0]] (00:00)
# PCI: Probing PCI hardware (bus 00)
# ACPI: PCI Interrupt Routing Table [[\_SB_.PCI0._PRT]]
# ACPI: PCI Interrupt Link [[LNKA]] (IRQs *11)
# ACPI: PCI Interrupt Link [[LNKB]] (IRQs *11)
# ACPI: PCI Interrupt Link [[LNKC]] (IRQs 10) *5
# ACPI: PCI Interrupt Link [[LNKD]] (IRQs 10) *0, disabled.
# ACPI: PCI Interrupt Link [[LNKE]] (IRQs 5 9 *10 11)
# ACPI: PCI Interrupt Link [[LNKF]] (IRQs 5 9 10 11) *0, disabled.
# ACPI: PCI Interrupt Link [[LNKG]] (IRQs 5 9 10 *11)
# ACPI: PCI Interrupt Link [[LNKH]] (IRQs 5 9 10 *11)
#     ACPI-1133: *** Error: Method execution failed [[\_SB_.PCI0.LPCB.LNKU._CRS]] (Node ddedda40), AE_AML_UNINITIALIZED_LOCAL
#     ACPI-0158: *** Error: Method execution failed [[\_SB_.PCI0.LPCB.LNKU._CRS]] (Node ddedda40), AE_AML_UNINITIALIZED_LOCAL
# ACPI: PCI Interrupt Link [[LNKU]] (IRQs 9) *0
# ACPI: Embedded Controller [[EC0]] (gpe 25)
# ACPI: PCI Interrupt Routing Table [[\_SB_.PCI0.AGP_._PRT]]
# Linux Plug and Play Support v0.97 (c) Adam Belay
# PnPBIOS: Scanning system for PnP BIOS support...
# PnPBIOS: Found PnP BIOS installation structure at 0xc00f77c0
# PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xa032, dseg 0x400
# PnPBIOS: 17 nodes reported by PnP BIOS; 17 recorded by driver
# PCI: Using ACPI for IRQ routing
#     ACPI-1133: *** Error: Method execution failed [[\_SB_.PCI0.LPCB.LNKU._CRS]] (Node ddedda40), AE_AML_UNINITIALIZED_LOCAL
#     ACPI-0158: *** Error: Method execution failed [[\_SB_.PCI0.LPCB.LNKU._CRS]] (Node ddedda40), AE_AML_UNINITIALIZED_LOCAL
# ACPI: Unable to set IRQ for PCI Interrupt Link [[LNKU]] (likely buggy ACPI BIOS).
# Try pci=noacpi or acpi=off

Yes, try it ;-)

# ACPI: PCI interrupt 0000:00:02.0[[A]]: no GSI - using IRQ 11
# ACPI: PCI Interrupt Link [[LNKG]] enabled at IRQ 11
# ACPI: PCI interrupt 0000:00:03.0[[A]] -> GSI 11 (level, low) -> IRQ 11
# ACPI: PCI interrupt 0000:00:04.0[[A]]: no GSI
# ACPI: PCI Interrupt Link [[LNKH]] enabled at IRQ 11
# ACPI: PCI interrupt 0000:00:08.0[[A]] -> GSI 11 (level, low) -> IRQ 11
# ACPI: PCI Interrupt Link [[LNKB]] enabled at IRQ 11
# ACPI: PCI interrupt 0000:00:0a.0[[A]] -> GSI 10 (level, low) -> IRQ 10
# ACPI: PCI Interrupt Link [[LNKA]] enabled at IRQ 11
# ACPI: PCI interrupt 0000:00:0b.0[[A]] -> GSI 11 (level, low) -> IRQ 11
# ACPI: PCI interrupt 0000:00:0b.1[[B]] -> GSI 11 (level, low) -> IRQ 11
# ACPI: PCI Interrupt Link [[LNKE]] enabled at IRQ 10
# ACPI: PCI interrupt 0000:00:0f.0[[A]] -> GSI 10 (level, low) -> IRQ 10
# ACPI: PCI interrupt 0000:01:05.0[[A]] -> GSI 10 (level, low) -> IRQ 10
# pnp: 00:00: ioport range 0x370-0x371 has been reserved
# pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
# pnp: 00:0b: ioport range 0x40b-0x40b has been reserved
# pnp: 00:0b: ioport range 0x480-0x48f has been reserved
# pnp: 00:0b: ioport range 0x4d6-0x4d6 has been reserved
# pnp: 00:0b: ioport range 0x8000-0x803f could not be reserved
# pnp: 00:0b: ioport range 0x8040-0x807f could not be reserved

Err, on stop can not restart

modprobe -r powernow_k7 ;  dmesg
modprobe -v powernow_k7 ;  dmesg
# powernow: No PST tables match this cpuid (0x780)
# powernow: This is indicative of a broken BIOS.

Misc

[[RzR]]@[[AmiloA]]# uname -a
Linux nrv 2.6.7-amiloa #3 Sat Jun 19 15:53:35 CEST 2004 i686 GNU/Linux
root@[[AmiloA]]# modprobe -v  powernow_k7
insmod /lib/modules/2.6.7-amiloa/kernel/drivers/cpufreq/freq_table.ko
insmod /lib/modules/2.6.7-amiloa/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k7.ko
root@[[AmiloA]]# dmesg #  output may change on  CPU
powernow: Minimum speed 662 MHz. Maximum speed 1192 MHz.
powernow: PowerNOW=== Technology present. Can scale: frequency and voltage.===
powernow: FSB: 132.484 MHz
powernow: Found PSB header at c00f0640
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 14 PST tables. (Only dumping ones relevant to this CPU).
powernow: PST:0 (@c00f0650)
powernow:  cpuid: 0x780	fsb: 133	maxFID: 0xc	startvid: 0xb
powernow:    FID: 0x4 (5.0x [[662MHz]])	VID: 0x13 (1.200V)
powernow:    FID: 0x6 (6.0x [[794MHz]])	VID: 0x12 (1.225V)
powernow:    FID: 0x9 (7.5x [[993MHz]])	VID: 0xd (1.350V)
powernow:    FID: 0xc (9.0x [[1192MHz]])	VID: 0xb (1.450V)
powernow: SGTC: 13333
modprobe -v  powernow_k7 ; dmesg | tail # as root on [[AmiloA]]
# powernow: PowerNOW=== Technology present. Can scale: frequency and voltage.===
# powernow: No PST tables match this cpuid (0x780)
# powernow: This is indicative of a broken BIOS.
# powernow: Trying ACPI perflib
# powernow: Minimum speed 441 MHz. Maximum speed 794 MHz.
output may change on  CPU :
bb powernow:  cpuid: 0x781      fsb: 133        maxFID: 0x3     startvid: 0xb # @ <bb> on Amd 2000+ [[AmiloA]]

ACPI MODULE BUG ?

root@[[AmiloA]]# modprobe -v  acpi
insmod /lib/modules/2.6.8.1-amiloa/kernel/arch/i386/kernel/cpu/cpufreq/acpi.ko
FATAL: Error inserting acpi
(/lib/modules/2.6.8.1-amiloa/kernel/arch/i386/kernel/cpu/cpufreq/acpi.ko):
Device or resource busy
root@[[AmiloA]]# dmseg
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.

OVERHEATING ?

See [[CPU]]
[[Mandrake]] :  http://qa.mandrakesoft.com/attachment.cgi?id=2208
dmesg
# powernow: PowerNOW=== Technology present. Can scale: frequency and voltage.===
# powernow: No PST tables match this cpuid (0x780)
# powernow: This is indicative of a broken BIOS.
# powernow: Trying ACPI perflib
# powernow: Minimum speed 403 MHz. Maximum speed 927 MHz.

MISC

MORE

cy26.txt · Last modified: 2020/09/08 20:41 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki