On Thu, 21 Nov 2002, Mitsuru IWASAKI wrote:
On Sat, 5 Oct 2002, Mitsuru IWASAKI wrote:
From: Nate Lawson [EMAIL PROTECTED]
Subject: ACPI errors and then panic
Date: Fri, 4 Oct 2002 17:14:31 -0700 (PDT)
Message-ID: [EMAIL PROTECTED]
My laptop appears to work ok without ACPI but of course I don't get
suspend, resume, etc. I have never been able to get ACPI to work with it,
including with a -current as of 2 hours ago. If ACPI is enabled, I get a
spew of:
ACPI-0412 *** Error: NsSearchAndEnter: Bad character in ACPI name
and then a panic from acpi_attach.
I sent a reply including the requested traces on Oct 25. Do you need any
more information?
Please try with new ACPI CA patches at:
http://people.freebsd.org/~iwasaki/acpi/acpica-20021002-20021118-test20021121.diff
Some memory leak releated bugs were fixed, so your problem might be
solved by this hopefully.
I did try the patch and am happy to report that my laptop boots with acpi
enabled. Thank you! Please commit it before 5.0R.
However, acpi doesn't seem to be working for me. Calls to check the
battery status fail. Here is my dmesg and sysctl:
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3252
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3637
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3692
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 98
hw.acpi.battery.time: -1
hw.acpi.battery.state: 4
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1
---
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #11: Tue Nov 26 10:44:02 PST 2002
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/LAPTOP
Preloaded elf kernel /boot/kernel/kernel at 0xc0562000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc05620a8.
Timecounter i8254 frequency 1193182 Hz
Timecounter TSC frequency 999153113 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (999.15-MHz 686-class CPU)
Origin = GenuineIntel Id = 0x6b1 Stepping = 1
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory = 401997824 (383 MB)
avail memory = 384696320 (366 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBMTP-1Aon motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 14 entries at 0xc00fdeb0
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast frequency 3579545 Hz
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
acpi_button0: Sleep Button on acpi0
ACPI-1287: *** Error: Method execution failed, AE_NOT_EXIST
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
initial configuration
\\_SB_.LNKA irq 11: [ 3 4 5 6 7 9 10