Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 11:27:51 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
Cc:        acpi-jp@jp.FreeBSD.org, current@freebsd.org
Subject:   Re: [acpi-jp 1940] Re: ACPI errors and then panic - fixed!
Message-ID:  <Pine.BSF.4.21.0211261121020.86535-100000@root.org>
In-Reply-To: <20021121.233818.99449492.iwasaki@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Nov 2002, Mitsuru IWASAKI wrote:
> > On Sat, 5 Oct 2002, Mitsuru IWASAKI wrote:
> > > From: Nate Lawson <nate@root.org>
> > > Subject: ACPI errors and then panic
> > > Date: Fri, 4 Oct 2002 17:14:31 -0700 (PDT)
> > > Message-ID: <Pine.BSF.4.21.0210041705180.96157-100000@root.org>
> > > 
> > > > 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
    nate@laptop.root.org:/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=0x383f9ff<FPU,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: <IBM    TP-1A   > on 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 11] low,level,sharable 0.2.0
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.0
\\_SB_.LNKD irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.1
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.2
\\_SB_.LNKH irq   0: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.3
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.31.0
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.31.1
---- before setting priority for links ------------
\\_SB_.LNKH:
	interrupts:	     3     4     5     6     7     9    10    11
	penalty:	  1110  1110   110  1110  1110   110   110   710
	references:	1
	priority:	0
---- before fixup boot-disabled links -------------
\\_SB_.LNKH:
	interrupts:	     3     4     5     6     7     9    10    11
	penalty:	  1110  1110   110  1110  1110   110   110   710
	references:	1
	priority:	685
---- after fixup boot-disabled links --------------
---- arbitrated configuration ---------------------
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.2.0
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.0
\\_SB_.LNKD irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.1
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.2
\\_SB_.LNKH irq  10: [  3  4  5  6  7  9 10 11] low,level,sharable 0.29.3
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.31.0
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 0.31.1
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82830 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
---- initial configuration ------------------------
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 1.0.0
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 1.0.1
---- before setting priority for links ------------
---- before fixup boot-disabled links -------------
---- after fixup boot-disabled links --------------
---- arbitrated configuration ---------------------
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 1.0.0
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 1.0.1
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0: USB Solid state disk, rev 1.10/1.00, addr 2
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0 as device 0
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
---- initial configuration ------------------------
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.0.0
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.0.1
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.0.2
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.1.0
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.0
\\_SB_.LNKD irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.1
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.2
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.3
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.0
\\_SB_.LNKD irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.1
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.2
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.3
\\_SB_.LNKE irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.8.0
---- before setting priority for links ------------
---- before fixup boot-disabled links -------------
---- after fixup boot-disabled links --------------
---- arbitrated configuration ---------------------
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.0.0
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.0.1
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.0.2
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.1.0
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.0
\\_SB_.LNKD irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.1
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.2
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.2.3
\\_SB_.LNKC irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.0
\\_SB_.LNKD irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.1
\\_SB_.LNKA irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.2
\\_SB_.LNKB irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.4.3
\\_SB_.LNKE irq  11: [  3  4  5  6  7  9 10 11] low,level,sharable 2.8.0
pci2: <ACPI PCI bus> on pcib2
cbb0: <TI1420 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2
cbb0: Could not map register memory
device_probe_and_attach: cbb0 attach returned 12
cbb0: <TI1420 PCI-CardBus Bridge> mem 0x51000000-0x51000fff irq 11 at device 0.1 on pci2
cbb0: Could not map register memory
device_probe_and_attach: cbb0 attach returned 12
pci2: <simple comms> at device 2.0 (no driver attached)
fxp0: <Intel Pro/100 Ethernet> port 0x6400-0x643f mem 0xc0200000-0xc0200fff irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:d0:59:d7:62:b2
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x3bc-0x3c3 irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
orm0: <Option ROMs> at iomem 0xe0000-0xeffff,0xdc000-0xdffff,0xcf000-0xcffff,0xce000-0xcefff,0xc0000-0xcdfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cmbat0: battery initialization start
acpi_cmbat1: battery initialization start
acpi_acad0: acline initialization start
system power profile changed to 'economy'
acpi_acad0: Off Line
acpi_ec0: EcRead: Failed waiting for EC to send data.
    ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
    ACPI-1287: *** Error: Method execution failed, AE_ERROR
acpi_ec0: EcRead: Failed waiting for EC to send data.
    ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
    ACPI-1287: *** Error: Method execution failed, AE_ERROR
acpi_ec0: EcRead: Failed waiting for EC to send data.
    ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
    ACPI-1287: *** Error: Method execution failed, AE_ERROR
acpi_cmbat1: error fetching current battery status -- AE_ERROR
acpi_cmbat1: battery initialization done, tried 1 times
acpi_cmbat0: battery initialization done, tried 1 times
ata1-slave: timeout waiting for interrupt
ata1-slave: ATAPI identify failed
system power profile changed to 'performance'
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 2 times
ad0: 19077MB <IC25N020ATCS04-0> [41344/15/63] at ata0-master UDMA100
acd0: CD-RW <UJDA720 DVD/CDRW> at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA UJDA720 DVD/CDRW 1.03> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Trek ThumbDrive Smart 1.11> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: 63MB (129024 512 byte sectors: 64H 32S/T 63C)
(da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10.
Mounting root from ufs:/dev/ad0s4a
acpi_cmbat0: error fetching current battery status -- AE_TYPE
acpi_cmbat0: error fetching current battery status -- AE_TYPE
acpi_cmbat0: error fetching current battery status -- AE_TYPE
acpi_cmbat0: error fetching current battery status -- AE_TYPE
acpi_cmbat0: error fetching current battery status -- AE_TYPE
acpi_cmbat0: error fetching current battery status -- AE_TYPE


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211261121020.86535-100000>