Re: ACPI crash

From: Andrew Thomson <ajthomson_at_optushome.com.au>
Date: Wed, 28 May 2003 08:44:15 +1000
I feel your pain, my thinkpad doesn't co-operate with 5.1 either...

ajt.

On Tue, May 27, 2003 at 11:10:26AM -0400, Mikhail Kruk wrote:
> Hello,
> I've seen this reported before, but don't see a resolution. Maybe my 
> logs will help solve the problem.
> When my Gateway laptop boots, I get a couple of logs about ACPI problems. 
> See attached dmesg.txt
> Later (10-30 minutes) I get a crash with the following trace.
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address	= 0x80790ab0
> fault code		= supervisor read, page not present
> instruction pointer	= 0x8:0xc06ea4d0
> stack pointer		= 0x10:0xcd10bbf0
> frame pointer		= 0x19:0xcd10bbf0
> code segment		= base 0x0, limit 0xfffff, type 0x1b
> 			= DPL 0, pres 1, def32 1, gran 1
> processor eflags	= interrupt enabled, resume, IOPL = 0
> current process		= 6 (acpi_task1)
> kernel: type 12 trap, code=0
> Stopped at	AcpiNsMapHandleToNode+0x20:	cmpb	$0xaa,0(%edx)
> 
> trace:
> AcpiNsMapHandleToNode contrib/dev/acpica/nsutils.c
> AcpiGetHandle
> acpi_pwer_switch_consumer dev/acpica/acpi_powerres.c
> acpi_tz_switch_cooler_on  dev/acpica/acpi_thermal.c
> acpi_ForeachPackageObject dev/acpica/acpi_thermal.c
> acpi_tz_monitor
> atcpi_task_thread
> fork_exit
> fork_trampoline
> 
> The trace is always the same, but the process is different (acpi_task1, 
> _task2, _thermal)
> The problem is easily reproduced by doing a big compilation (kernel or 
> buildworld).
> 
> See also:
> http://polkan2.dyndns.org/~meshko/foo.dsdt
> http://polkan2.dyndns.org/~meshko/foo.asl
> 
> I also have a couple of related questions. 
> 1) I tried putting some debug outputs in acpi code, and messages that I 
> put in contrib/dev/acpica/* are showing up. However messages I put in 
> dev/acpica do not seem to go anywhere. I can't find any object files 
> generated from that directory. What am I missing?
> 
> 2) Is there a workaround for this problem before ACPI gets fixed? I tried 
> booting without it (unset acpi_enable), but it just hangs during the boot. 
> Would it work if I disabled some part of ACPI? Would the laptop overheat 
> if I do that? Can I somehow enable APM instead of ACPI? RedHat 8 works 
> fine on the same laptop and it seems to be using APM only, no ACPI.
> 
> Please cc: me, not subscribed.

> Copyright (c) 1992-2003 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.1-BETA #0: Fri May 23 12:28:16 GMT 2003
>     root_at_begemot.dyndns.org:/usr/src/sys/i386/compile/GENERIC
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc071a000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc071a0a8.
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 2392954684 Hz
> CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2392.95-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
>   Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory  = 267911168 (255 MB)
> avail memory = 252489728 (240 MB)
> Pentium Pro MTRR support enabled
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <GATEWA 400     > on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 11 entries at 0xc00fdf10
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI-fast"  frequency 3579545 Hz
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> acpi_cpu0: <CPU> on acpi0
> acpi_tz0: <thermal zone> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82845 host to AGP bridge> mem 0xec000000-0xefffffff at device 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> 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 10 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
> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> irq 10 at device 2.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> pci2: <multimedia, audio> at device 3.0 (no driver attached)
> fwohci0: vendor=104c, dev=8026
> fwohci0: <1394 Open Host Controller Interface> mem 0xe8200000-0xe8203fff,0xe8206000-0xe82067ff irq 10 at device 5.0 on pci2
> fwohci0: OHCI version 1.10 (ROM=1)
> fwohci0: No. of Isochronous channel is 4.
> fwohci0: EUI64 00:e0:b8:04:01:01:ec:f1
> fwohci0: Phy 1394a available S400, 1 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0: <IEEE1394(FireWire) bus> on fwohci0
> if_fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 02:e0:b8:01:ec:f1
> sbp0: <SBP2/SCSI over firewire> on firewire0
> fwohci0: Initiate bus reset
> fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x3c00-0x3c3f mem 0xe8205000-0xe8205fff irq 10 at device 8.0 on pci2
> fxp0: Ethernet address 00:e0:b8:50:23:7b
> miibus0: <MII bus> on fxp0
> 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 UDMA100 controller> port 0x1820-0x182f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe8000000-0xe80003ff 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: <simple comms> at device 31.6 (no driver attached)
> acpi_lid0: <Control Method Lid Switch> on acpi0
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.LID_._PSW] (Node 0xc2622e80), AE_NOT_EXIST
> acpi_acad0: <AC adapter> on acpi0
> acpi_cmbat0: <Control method Battery> on acpi0
> acpi_button0: <Sleep Button> on acpi0
> 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 Generic PS/2 mouse, device ID 0
> acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
> ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
> ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> 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
> orm0: <Option ROMs> at iomem 0xcf800-0xcffff,0xc0000-0xccfff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> 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
> fwohci0: BUS reset
> fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> firewire0: bus manager 0 (me)
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> cbb0: Unsupported card type detected
> ad0: 28615MB <IC25N030ATCS04-0> [58140/16/63] at ata0-master UDMA100
> acd0: CD-RW <QSI CD-RW/DVD-ROM SBW-241> at ata1-master PIO4
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_TZ_.THRM._TMP] (Node 0xc2622420), AE_ERROR
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
> Mounting root from ufs:/dev/ad0s2a
> WARNING: / was not properly dismounted
> WARNING: /tmp was not properly dismounted
> /tmp: superblock summary recomputed
> WARNING: /usr was not properly dismounted
> /usr: mount pending error: blocks 76 files 31
> /usr: superblock summary recomputed
> WARNING: /var was not properly dismounted
> interface fwe.1 already present in the KLD 'kernel'!
> module_register: module pci/fxp already exists!
> Module pci/fxp failed to register: 17
> module_register: module cardbus/fxp already exists!
> Module cardbus/fxp failed to register: 17
> module_register: module fxp/miibus already exists!
> Module fxp/miibus failed to register: 17
> can't re-use a leaf (fxp_rnr)!
> can't re-use a leaf (fxp_noflow)!
> Copyright (c) 1992-2003 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.1-BETA #0: Fri May 23 12:28:16 GMT 2003
>     root_at_begemot.dyndns.org:/usr/src/sys/i386/compile/GENERIC
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc071a000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc071a0a8.
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 2392948808 Hz
> CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2392.95-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
>   Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory  = 267911168 (255 MB)
> avail memory = 252489728 (240 MB)
> Pentium Pro MTRR support enabled
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <GATEWA 400     > on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 11 entries at 0xc00fdf10
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI-fast"  frequency 3579545 Hz
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> acpi_cpu0: <CPU> on acpi0
> acpi_tz0: <thermal zone> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82845 host to AGP bridge> mem 0xec000000-0xefffffff at device 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> 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 10 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
> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> irq 10 at device 2.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> pci2: <multimedia, audio> at device 3.0 (no driver attached)
> fwohci0: vendor=104c, dev=8026
> fwohci0: <1394 Open Host Controller Interface> mem 0xe8200000-0xe8203fff,0xe8206000-0xe82067ff irq 10 at device 5.0 on pci2
> fwohci0: OHCI version 1.10 (ROM=1)
> fwohci0: No. of Isochronous channel is 4.
> fwohci0: EUI64 00:e0:b8:04:01:01:ec:f1
> fwohci0: Phy 1394a available S400, 1 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0: <IEEE1394(FireWire) bus> on fwohci0
> if_fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 02:e0:b8:01:ec:f1
> sbp0: <SBP2/SCSI over firewire> on firewire0
> fwohci0: Initiate bus reset
> fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x3c00-0x3c3f mem 0xe8205000-0xe8205fff irq 10 at device 8.0 on pci2
> fxp0: Ethernet address 00:e0:b8:50:23:7b
> miibus0: <MII bus> on fxp0
> 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 UDMA100 controller> port 0x1820-0x182f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe8000000-0xe80003ff 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: <simple comms> at device 31.6 (no driver attached)
> acpi_lid0: <Control Method Lid Switch> on acpi0
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.LID_._PSW] (Node 0xc2622e80), AE_NOT_EXIST
> acpi_acad0: <AC adapter> on acpi0
> acpi_cmbat0: <Control method Battery> on acpi0
> acpi_button0: <Sleep Button> on acpi0
> 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 Generic PS/2 mouse, device ID 0
> acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
> ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
> ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> 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
> orm0: <Option ROMs> at iomem 0xcf800-0xcffff,0xc0000-0xccfff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> 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
> fwohci0: BUS reset
> fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> firewire0: bus manager 0 (me)
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> cbb0: Unsupported card type detected
> ad0: 28615MB <IC25N030ATCS04-0> [58140/16/63] at ata0-master UDMA100
> acd0: CD-RW <QSI CD-RW/DVD-ROM SBW-241> at ata1-master PIO4
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_TZ_.THRM._TMP] (Node 0xc2622420), AE_ERROR
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
>     ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.EC0_._Q20] (Node 0xc261d140), AE_AML_NO_RETURN_VALUE
> Mounting root from ufs:/dev/ad0s2a
> WARNING: / was not properly dismounted
> WARNING: /tmp was not properly dismounted
> WARNING: /usr was not properly dismounted
> /usr: mount pending error: blocks 56 files 1
> /usr: superblock summary recomputed
> WARNING: /var was not properly dismounted
> interface fwe.1 already present in the KLD 'kernel'!
> module_register: module pci/fxp already exists!
> Module pci/fxp failed to register: 17
> module_register: module cardbus/fxp already exists!
> Module cardbus/fxp failed to register: 17
> module_register: module fxp/miibus already exists!
> Module fxp/miibus failed to register: 17
> can't re-use a leaf (fxp_rnr)!
> can't re-use a leaf (fxp_noflow)!
> drm0: <ATI Radeon LY Mobility M6> port 0x2000-0x20ff mem 0xe8100000-0xe810ffff,0xf0000000-0xf7ffffff irq 10 at device 0.0 on pci1
> info: [drm] AGP at 0xec000000 64MB
> info: [drm] Initialized radeon 1.8.0 20020828 on minor 0
> lock order reversal
>  1st 0xc2cffd4c vm object (vm object) _at_ vm/vm_object.c:512
>  2nd 0xc082f110 system map (system map) _at_ vm/vm_kern.c:325
> Stack backtrace:

> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue May 27 2003 - 13:44:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC