> acpi panic on an asus ux21 with the latest amd64 snapshot installed
> a few minutes ago. disabling acpivout lets it boot.
>
> acpidump at http://jcs.org/tmp/asusux21.tar.gz
i'm pretty sure this doesn't have anything to do with acpivout
specifically, as this machine also panics when plugging in the ac
adapter, or unplugging it.
note the acpitz errors shown in the dmesg below, acpiac saying
unknown state (_PSR returns 0x8a instead of 0 or 1), and acpibat not
knowing the battery's status. i suppose there is a more general
acpi problem causing these issues.
panic when plugging in the ac adapter, transcribed by hand:
[\_SB_.PCI0.SBRG.EC0_.PWAC] 0xffff8000001c1708 cnt:02 stk:00 buffer: 40
{0f, 1e, 2d, 3d, 4c, 5b, 6b, 7a, 9a, c4, ff, ff, ff, ff, ff, ff, 21, 2e, 3b, 48,
55, 61, 6e, 7b, 9a, c5, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff,
ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff,
ff, ff, ff, ff)
Index out of bounds 3815/64
c63d Called: \_SB_.PCI0.SBRG.EC0_.ECCB
local0: 0xffff80000044ea88 cnt:01 stk:60 integer: 7
local1: 0xffff800000447788 cnt:02 stk:61 integer: ee7
c5f3 Called: \_SB_.PCI0.SBRG.EC0_.STBR
local0: 0xffff80000042a688 cnt:01 stk:60 integer: 0
local1: 0xffff80000044e608 cnt:01 stk:61 integer: 0
local1: 0xffff800000447f88 cnt:01 stk:62 integer: 0
c5f3 Called: \_SB_.PCI0.SBRG.EC0_.STBR
local0: 0xffff80000042a688 cnt:01 stk:60 integer: 0
local1: 0xffff80000044e608 cnt:01 stk:61 integer: 0
local1: 0xffff800000447f88 cnt:01 stk:62 integer: 0
ef94 Called: \_SB_.PCI0.SBGR.EC0_._QA0
local0: 0xffff800000447188 cnt:01 stk:60 integer: 58
ef94 Called: \_SB_.PCI0.SBGR.EC0_._QA0
local0: 0xffff800000447188 cnt:01 stk:60 integer: 58
pcni: aml_die aml_parse:3567
_aml_die() at _aml_die+0x183
aml_parse() at aml_parse+0x15ab
aml_parse() at aml_parse+0x1dc
aml_parse() at aml_parse+0x1dc
aml_eval() at aml_eval+0x1c8
aml_parse() at aml_parse+0x1423
aml_eval() at aml_eval+0x1c8
aml_parse() at aml_parse+0x1423
aml_eval() at aml_eval+0x1c8
aml_evalnode() at aml_evalnode+0x63
acpiec_gpehandler() at acpiec_gpehandler+0x47
acpi_dotask() at acpi_dotask+0x55
acpi_thread() at acpi_thread+0x10d
> OpenBSD 5.0-current (GENERIC.MP) #96: Thu Oct 6 16:12:43 MDT 2011
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4191911936 (3997MB)
> avail mem = 4066197504 (3877MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xebad0 (74 entries)
> bios0: vendor American Megatrends Inc. version "UX21E.204" date 09/23/2011
> bios0: ASUSTeK Computer Inc. UX21E
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC DBGP ECDT SLIC HPET MCFG SSDT SSDT DMAR
> acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) PEG3(S4) B0D4(S4)
> P0P1(S4) HDEF(S4) EHC1(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC2(S3)
> USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) WLAN(S3) RP03(S4) RP04(S4)
> XHCI(S3) RP05(S4) RP06(S4) RP07(S4) RP08(S4) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1796.18 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1795.92 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1795.92 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1795.92 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu3: 256KB 64b/line 8-way L2 cache
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpiec0 at acpi0
> acpihpet0 at acpi0: 14318179 Hz
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus -1 (PEG1)
> acpiprt3 at acpi0: bus -1 (PEG2)
> acpiprt4 at acpi0: bus -1 (PEG3)
> acpiprt5 at acpi0: bus -1 (P0P1)
> acpiprt6 at acpi0: bus 1 (RP01)
> acpiprt7 at acpi0: bus 2 (RP02)
> acpiprt8 at acpi0: bus -1 (RP03)
> acpiprt9 at acpi0: bus 3 (RP04)
> acpiprt10 at acpi0: bus -1 (RP05)
> acpiprt11 at acpi0: bus -1 (RP06)
> acpiprt12 at acpi0: bus -1 (RP07)
> acpiprt13 at acpi0: bus -1 (RP08)
> acpicpu0 at acpi0: C1, PSS
> acpicpu1 at acpi0: C1, PSS
> acpicpu2 at acpi0: C1, PSS
> acpicpu3 at acpi0: C1, PSS
> acpitz0 at acpi0acpitz0: THRM: failed to read _CRT
> : no critical temperature defined
> acpiac0 at acpi0: AC unit in unknown state
> acpibat0 at acpi0: BAT0 not present
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> acpivideo0 at acpi0: GFX0
> acpivideo1 at acpi0: GFX0
> acpivout0 at acpivideo1: LCDD
> [\\_SB_.PCI0.SBRG.EC0_.PWAC] 0xffff8000001c1708 cnt:02 stk:00 buffer: 40
> {0f, 1e, 2d, 3d, 4c, 5b, 6b, 7a, 9a, c4, ff, ff, ff, ff, ff, ff, 21, 2e, 3b,
> 48, 55, 61, 6e, 7b, 9a, c5, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff,
> ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff, ff,
> ff, ff, ff, ff, ff, ff, ff}
> Index out of bounds 3818/64
>
> 5fc0 Called: \\_SB_.PCI0.GFX0.LCDD._BCL
> local0: 0xffff800000204288 cnt:01 stk:60 integer: 0
> local3: 0xffff800000205708 cnt:02 stk:63 integer: eea
> local4: 0xffff8000001ff688 cnt:01 stk:64 integer: ee0
> 5f8d Called: \\_SB_.PCI0.GFX0.LCDD._BCL
> local0: 0xffff800000204288 cnt:01 stk:60 integer: 0
> local3: 0xffff800000205708 cnt:02 stk:63 integer: eea
> local4: 0xffff8000001ff688 cnt:01 stk:64 integer: ee0
> panic: aml_die aml_parse:3567
> Stopped at Debugger+0x5: leave
> Debugger() at Debugger+0x5
> panic() at panic+0xe4
> _aml_die() at _aml_die+0x183
> aml_parse() at aml_parse+0x15ab
> aml_parse() at aml_parse+0x1dc
> aml_parse() at aml_parse+0x1dc
> aml_eval() at aml_eval+0x1c8
> aml_evalnode() at aml_evalnode+0x63
> acpivout_get_bcl() at acpivout_get_bcl+0x34
> config_attach() at config_attach+0x1d4
> end trace frame: 0xffffffff80e318f0, count: 0
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{0}> Debugger() at Debugger+0x5
> panic() at panic+0xe4
> _aml_die() at _aml_die+0x183
> aml_parse() at aml_parse+0x15ab
> aml_parse() at aml_parse+0x1dc
> aml_parse() at aml_parse+0x1dc
> aml_eval() at aml_eval+0x1c8
> aml_evalnode() at aml_evalnode+0x63
> acpivout_get_bcl() at acpivout_get_bcl+0x34
> config_attach() at config_attach+0x1d4
> acpi_foundvout() at acpi_foundvout+0xb2
> aml_find_node() at aml_find_node+0x92
> aml_find_node() at aml_find_node+0x87
> aml_find_node() at aml_find_node+0x87
> config_attach() at config_attach+0x1d4
> acpi_foundvideo() at acpi_foundvideo+0x55
> aml_find_node() at aml_find_node+0x92
> aml_find_node() at aml_find_node+0x87
> aml_find_node() at aml_find_node+0x87
> aml_find_node() at aml_find_node+0x87
> aml_find_node() at aml_find_node+0x87
> acpi_attach() at acpi_attach+0x6ef
> config_attach() at config_attach+0x1d4
> bios_attach() at bios_attach+0x218
> config_attach() at config_attach+0x1d4
> mainbus_attach() at mainbus_attach+0x53
> config_attach() at config_attach+0x1d4
> cpu_configure() at cpu_configure+0x17
> main() at main+0x405
> end trace frame: 0x0, count: -29
> ddb{0}> rebooting...
> OpenBSD 5.0-current (GENERIC.MP) #96: Thu Oct 6 16:12:43 MDT 2011
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4191911936 (3997MB)
> avail mem = 4066197504 (3877MB)
> User Kernel Config
> UKC> disable acpivout
> 351 acpivout* disabled
> UKC> exit
> Continuing...
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xebad0 (74 entries)
> bios0: vendor American Megatrends Inc. version "UX21E.204" date 09/23/2011
> bios0: ASUSTeK Computer Inc. UX21E
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC DBGP ECDT SLIC HPET MCFG SSDT SSDT DMAR
> acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) PEG3(S4) B0D4(S4)
> P0P1(S4) HDEF(S4) EHC1(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC2(S3)
> USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) WLAN(S3) RP03(S4) RP04(S4)
> XHCI(S3) RP05(S4) RP06(S4) RP07(S4) RP08(S4) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1796.18 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1795.92 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1795.92 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz, 1795.92 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,XSAVE,AVX,NXE,LONG
> cpu3: 256KB 64b/line 8-way L2 cache
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpiec0 at acpi0
> acpihpet0 at acpi0: 14318179 Hz
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus -1 (PEG1)
> acpiprt3 at acpi0: bus -1 (PEG2)
> acpiprt4 at acpi0: bus -1 (PEG3)
> acpiprt5 at acpi0: bus -1 (P0P1)
> acpiprt6 at acpi0: bus 1 (RP01)
> acpiprt7 at acpi0: bus 2 (RP02)
> acpiprt8 at acpi0: bus -1 (RP03)
> acpiprt9 at acpi0: bus 3 (RP04)
> acpiprt10 at acpi0: bus -1 (RP05)
> acpiprt11 at acpi0: bus -1 (RP06)
> acpiprt12 at acpi0: bus -1 (RP07)
> acpiprt13 at acpi0: bus -1 (RP08)
> acpicpu0 at acpi0: C1, PSS
> acpicpu1 at acpi0: C1, PSS
> acpicpu2 at acpi0: C1, PSS
> acpicpu3 at acpi0: C1, PSS
> acpitz0 at acpi0acpitz0: THRM: failed to read _CRT
> : no critical temperature defined
> acpiac0 at acpi0: AC unit in unknown state
> acpibat0 at acpi0: BAT0 not present
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> acpivideo0 at acpi0: GFX0
> acpivideo1 at acpi0: GFX0
> acpivout at acpivideo1 not configured
> cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1801, 1800, 1700, 1600, 1500,
> 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> vga1 at pci0 dev 2 function 0 "Intel GT2 Video" rev 0x09
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
> inteldrm0 at vga1: apic 2 int 16
> drm0 at inteldrm0
> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
> azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
> pci2 at ppb1 bus 2
> "Atheros AR9485" rev 0x01 at pci2 dev 0 function 0 not configured
> ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb5: msi
> pci3 at ppb2 bus 3
> "Fresco Logic FL1009 xHCI" rev 0x02 at pci3 dev 0 function 0 not configured
> ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel QS67 LPC" rev 0x05
> ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, ADATA XM11 128GB, 322A> SCSI3 0/direct
> fixed naa.0000000000000000
> sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
> ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 2 int
> 18
> iic0 at ichiic0
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> mtrr: Pentium Pro MTRR support
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 1 "Atheros Communications Bluetooth USB Host Controller"
> rev 1.10/0.01 addr 3
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> axe0 at uhub3 port 2 configuration 1 interface 0 "Apple Computer Ethernet
> A1277" rev 2.00/0.01 addr 3
> axe0: AX88772, address 58:55:ca:23:8e:d0
> ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
> 0x000ec6, model 0x0006
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on sd0a (f06dbfbf436c9090.a) swap on sd0b dump on sd0b
> sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> sd1: 105103MB, 512 bytes/sector, 215251162 sectors