Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 10:15:33 +0000
From:      stef <jcheb@web.de>
To:        freebsd-current@freebsd.org
Subject:   ACPI error message FreeBSD 5.2-RC2 ABIT BP6
Message-ID:  <3FFFD0C5.9070508@web.de>

next in thread | raw e-mail | index | archive | help
hi,
something is wrong with ACPI.
i want to do soft-off, but its broken.
i dont know what to do !
here some parts of my dmesg :

FreeBSD 5.2-RC2 #0: Wed Jan  7 18:10:57 GMT 2004
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a48500.
CPU: Pentium II/Pentium II Xeon/Celeron (467.73-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268369920 (255 MB)
avail memory = 251043840 (239 MB)
ACPI APIC Table: <ABIT   >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ABIT   AWRDACPI> on motherboard
     ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace,
AE_NOT_FOUND
SearchNode 0xc2d36160 StartNode 0xc2d36160 ReturnNode 0
     ACPI-1287: *** Error: , AE_NOT_FOUND
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fd7e0
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
     ACPI-1287: *** Error: Method execution failed 	
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc2d36d40), AE_AML_UNINITIALIZED_LOCAL
     ACPI-0175: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc2d36d40), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 - AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
     ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace,
AE_NOT_FOUND
SearchNode 0xc2d36160 StartNode 0xc2d36160 ReturnNode 0
     ACPI-1287: *** Error: , AE_NOT_FOUND
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0xd0000000-0xd3ffffff at device 0.0 on pci0

     ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace,
AE_NOT_FOUND
SearchNode 0xc2d36160 StartNode 0xc2d36160 ReturnNode 0
     ACPI-1287: *** Error: , AE_NOT_FOUND
     ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace,
AE_NOT_FOUND
SearchNode 0xc2d36160 StartNode 0xc2d36160 ReturnNode 0
     ACPI-1287: *** Error: , AE_NOT_FOUND


i found something ...

Pawel Worach : "ACPI errors on my desktop PC (floppy not found)"
 >Take a look at PR kern/48494, there is a patch for the AML there for
 >the ABIT BP6 board. I belive other ABIT boards have the similar
 >Store(Local0, Local0) problem. That fixed the floppy problem for me.

my abit.dsdt looks maybe different.
i got :

--------------------------
|--- abit.dsl.org        Mon Jul 14 06:20:41 2003
|+++ abit.dsl    Mon Jul 14 06:24:26 2003
--------------------------
File to patch: bla.dsl
Patching file bla.dsl using Plan A...
Hunk #1 failed at 306.
Hunk #2 failed at 329.
Hunk #3 failed at 465.
Hunk #4 failed at 1636.
Hunk #5 failed at 2023.
5 out of 5 hunks failed--saving rejects to bla.dsl.rej
done
...

i found all localions except this :

  @@ -1636,7 +1636,7 @@
                                IRQNoFlags () {6}
                                DMA (Compatibility, NotBusMaster,
Transfer8) {2}
                            })
  -                        Store (Local0, Local0)
  +                        /* Store (Local0, Local0) */
                            Return (BUF0)
                        }

what does it mean ?
after iasl i got only a warning :

abit.dsl   295:     Method (_WAK, 1, NotSerialized)
Warning  2026 -                ^ Reserved method must return a value (_WAK)

ASL Input:  abit.dsl - 2319 lines, 71745 bytes, 833 keywords
AML Output: DSDT.aml - 8626 bytes 332 named objects 501 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 240 Optimizations

my /boot/loader.conf contains the line

acpi_dsdt_name="/boot/DSDT.aml"

argh - after a reboot i saw error messages again !

with ACPI_DEBUG_OUTPUT

...
  tbxface-0195 [02] AcpiLoadTables        : ACPI Tables successfully
acquired
Parsing all Control
Methods:............................................................................
Table [DSDT](id f004) - %hd Objects with %hd Devices %hd Methods %hd Regions
ACPI Namespace successfully loaded at root 0xc0a1cd3c

...
acpi0: <ABIT   AWRDACPI> on motherboard
evxfevnt-0172 [04] AcpiEnable            : Transition to ACPI mode
successful
evgpeblk-0867 [06] EvCreateGpeBlock      : GPE 00 to 15 [_GPE] 2 regs at
        0    400c on int 9
Completing Region/Field/Buffer/Package
initialization:.......................  psargs-0438: *** Error: Looking
up [\\_PR_.CPU0] in namespace, AE_NOT_F
OUND
SearchNode 0xc2d27c28 StartNode 0xc2d27c28 ReturnNode 0
  psparse-1287: *** Error: , AE_NOT_FOUND

   nsinit-0376 [07] NsInitOneObject       : Could not execute arguments
for [_PSL] (Package), AE_NOT_FOUND
..................................................
Initialized %hd/%hd Regions %hd/%hd Fields %hd/%hd Buffers %hd/%hd
Packages (%hd nodes)
Executing all Device _STA and_INI methods:.........pcibios: BIOS version
2.10
Using $PIR table, 8 entries at 0xc00fd7e0
...................
%hd Devices found containing: %hd _STA, %hd _INI methods
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
   psargs-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace,
AE_NOT_FOUND
SearchNode 0xc2d27c28 StartNode 0xc2d27c28 ReturnNode 0
  psparse-1287: *** Error: , AE_NOT_FOUND
acpi_button0: <Power Button> on acpi0

...
dsmthdat-0555 [30] DsMethodDataGetValue  : Uninitialized Local[0] at
node 0xc16bad08
  dswexec-0524 [26] DsExecEndOp           : [Store]: Could not resolve
operands, AE_AML_UNINITIALIZED_LOCAL
  psparse-1287: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc2d2c828), AE_AML_UNINITIALIZED_LOCAL
   uteval-0175: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 0xc2d2c828), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 - AE_AML_UNINITIALIZED_LOCAL

who knows what i have to do ?
i am just a user and dont have the knowledge about the depth of acpi aso
maybe i forgot something important to configure ?
sometimes halt -p works well and the acpi turns my comp off sometimes i
got a timeout and have to reboot manual sometime it stops and nothing
happen :(

i am very grateful for advice !

..
sorry for my engl

AcpiEnterSleepStatePrep failed - AE_NO_MEMORY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FFFD0C5.9070508>