From owner-freebsd-current@FreeBSD.ORG Mon May 12 02:29:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8271C37B401 for ; Mon, 12 May 2003 02:29:39 -0700 (PDT) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C47A43FA3 for ; Mon, 12 May 2003 02:29:38 -0700 (PDT) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) h4C9Tav6069794; Mon, 12 May 2003 11:29:37 +0200 (CEST) Received: from localhost (mime@localhost)id h4C9Taww069790; Mon, 12 May 2003 11:29:36 +0200 (CEST) Date: Mon, 12 May 2003 11:29:36 +0200 (CEST) From: Michal Mertl To: current@freebsd.org Message-ID: <20030512111725.Y51679@prg.traveller.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: nate@root.org Subject: RE: ACPI panics with patch 0228 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 09:29:39 -0000 I tried the patch to ACPI AcpiNs... (sorry, accidentally deleted the email) submitted by Nate Lawson to current@ and still have the panics. I seem to get at least 2 different ones now. I've got cores and debugging kernel for both of them if needed. First crash (after temperature change): ------------------ Starting background file system checks in 60 seconds. Mon May 12 00:39:26 CEST 2003 acpi_tz0: _AC2: temperature 56.0 >= setpoint 55.0 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1087 fault code = supervisor read, page not present instruction pointer = 0x8:0xc04104e0 stack pointer = 0x10:0xc87ccbf0 frame pointer = 0x10:0xc87ccbf0 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) db> trace AcpiNsMapHandleToNode(1087,1087,c87ccc18,c042341b,0) at AcpiNsMapHandleToNode+0x20 AcpiGetHandle(1087,c042dcc6,c87ccc3c,c87ccc40,0) at AcpiGetHandle+0x4d acpi_pwr_switch_consumer(1087,0,c87ccc70,a,c87cccbc) at acpi_pwr_switch_consumer+0xe3 acpi_tz_switch_cooler_on(c18a8490,c0b76300,0,c0b76300,2) at acpi_tz_switch_cooler_on+0x38 acpi_ForeachPackageObject(c18a8200,c0424d90,c0b76300,38,0) at acpi_ForeachPackageObject+0x3d acpi_tz_monitor(c0b76300,0,c042e6a5,7b,0) at acpi_tz_monitor+0x29b acpi_task_thread(0,c87ccd48,c02afb40,310,69756220) at acpi_task_thread+0x100 fork_exit(c0427690,0,c87ccd48) at fork_exit+0xc0 fork_trampoline() at fork_trampoline+0x1a --- trap 0x1, eip = 0, esp = 0xc87ccd7c, ebp = 0 --- gdb-trace -------------- #0 doadump () at ../../../kern/kern_shutdown.c:238 #1 0xc0192163 in boot (howto=260) at ../../../kern/kern_shutdown.c:370 #2 0xc01924ab in panic () at ../../../kern/kern_shutdown.c:543 #3 0xc0121962 in db_panic () at ../../../ddb/db_command.c:448 #4 0xc01218e2 in db_command (last_cmdp=0xc02cb1e0, cmd_table=0xc02cb000, aux_cmd_tablep=0xc02c6938, aux_cmd_tablep_end=0xc02c693c) at ../../../ddb/db_command.c:346 #5 0xc01219f6 in db_command_loop () at ../../../ddb/db_command.c:470 #6 0xc012477a in db_trap (type=12, code=0) at ../../../ddb/db_trap.c:72 #7 0xc027ecd5 in kdb_trap (type=12, code=0, regs=0xc87ccbb0) at ../../../i386/i386/db_interface.c:170 #8 0xc02904f2 in trap_fatal (frame=0xc87ccbb0, eva=0) at ../../../i386/i386/trap.c:829 #9 0xc0290202 in trap_pfault (frame=0xc87ccbb0, usermode=0, eva=4231) at ../../../i386/i386/trap.c:748 #10 0xc028fdcd in trap (frame= {tf_fs = -1072168936, tf_es = -1069416432, tf_ds = 1052639248, tf_edi = 0, tf_esi = -1069359930, tf_ebp = -931345424, tf_isp = -931345444, tf_ebx = -1069359925, tf_edx = 4231, tf_ecx = 1, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1069480736, tf_cs = 8, tf_eflags = 66071, tf_esp = -931345384, tf_ss = -1069477907}) at ../../../i386/i386/trap.c:433 #11 0xc0280628 in calltrap () at {standard input}:96 #12 0xc0410fed in AcpiGetHandle (Parent=0x1087, Pathname=0xc042dcc6 "_PS0", RetHandle=0xc87ccc3c) at /usr/src/sys/contrib/dev/acpica/nsxfname.c:177 #13 0xc04235c3 in acpi_pwr_switch_consumer (consumer=0x0, state=0) at /usr/src/sys/dev/acpica/acpi_powerres.c:359 #14 0xc0424dc8 in acpi_tz_switch_cooler_on (obj=0xc18a8490, arg=0xc0b76300) at /usr/src/sys/dev/acpica/acpi_thermal.c:588 #15 0xc041c8ad in acpi_ForeachPackageObject (pkg=0xc0b76300, func=0xc0424d90 , arg=0xc0b76300) at /usr/src/sys/dev/acpica/acpi.c:1186 #16 0xc0424bab in acpi_tz_monitor (sc=0xc18a8490) at /usr/src/sys/dev/acpica/acpi_thermal.c:462 #17 0xc0427790 in acpi_task_thread (arg=0x0) at /usr/src/sys/dev/acpica/Osd/OsdSchedule.c:124 #18 0xc017df90 in fork_exit (callout=0xc0427690 , arg=0x0, frame=0x0) at ../../../kern/kern_fork.c:792 Second panic (on reboot): --------------------------------------------------- # reboot Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks, buffers remaining... done Uptime: 5m13s Terminate ACPI Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x8:0xc040e8ba stack pointer = 0x10:0xc9359c0c frame pointer = 0x10:0xc9359c18 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 = 562 (reboot) kernel: type 12 trap, code=0 Stopped at AcpiNsDeleteNode+0x1a: movl 0xc(%eax),%edx db> trace AcpiNsDeleteNode(c0430934,0,c0430934,c9359c50,c040eac7) at AcpiNsDeleteNode+0x1a AcpiNsRemoveReference(c18623a0,c0430934,c18623a0,c18623a0,c0430934) at AcpiNsRemoveReference+0x38 AcpiNsDeleteNamespaceSubtree(c0430934,c1865e60,c0b71000,c9359c6c,c0419c5d) at AcpiNsDeleteNamespaceSubtree+0x57 AcpiNsTerminate(c9359c74,c041aea8,c9359c84,c041c231,c042cccb) at AcpiNsTerminate+0x1a AcpiUtSubsystemShutdown(c9359c84,c041c231,c042cccb,c0b7100c,c9359cc8) at AcpiUtSubsystemShutdown+0x1d AcpiTerminate(c042cccb,c0b7100c,c9359cc8,c0192200,c0b7fb80) at AcpiTerminate+0x8 acpi_shutdown_final(c0b7fb80,0,c02b1e65,175,c02b1e65) at acpi_shutdown_final+0xa1 boot(0,0,c02b1e65,af,c9359d40) at boot+0x6a0 reboot(c1a3d260,c9359d10,c02c44b1,3fb,1) at reboot+0x46 syscall(2f,2f,2f,0,0) at syscall+0x26e Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (55, FreeBSD ELF32, reboot), eip = 0x8048e8f, esp = 0xbfbffcfc, ebp = 0xbfbffd3c --- gdb trace ------- #0 doadump () at ../../../kern/kern_shutdown.c:238 #1 0xc0192163 in boot (howto=260) at ../../../kern/kern_shutdown.c:370 #2 0xc01924ab in panic () at ../../../kern/kern_shutdown.c:543 #3 0xc0121962 in db_panic () at ../../../ddb/db_command.c:448 #4 0xc01218e2 in db_command (last_cmdp=0xc02cb1e0, cmd_table=0xc02cb000, aux_cmd_tablep=0xc02c6938, aux_cmd_tablep_end=0xc02c693c) at ../../../ddb/db_command.c:346 #5 0xc01219f6 in db_command_loop () at ../../../ddb/db_command.c:470 #6 0xc012477a in db_trap (type=12, code=0) at ../../../ddb/db_trap.c:72 #7 0xc027ecd5 in kdb_trap (type=12, code=0, regs=0xc9359bcc) at ../../../i386/i386/db_interface.c:170 #8 0xc02904f2 in trap_fatal (frame=0xc9359bcc, eva=0) at ../../../i386/i386/trap.c:829 #9 0xc0290202 in trap_pfault (frame=0xc9359bcc, usermode=0, eva=12) at ../../../i386/i386/trap.c:748 #10 0xc028fdcd in trap (frame= {tf_fs = -1069350888, tf_es = 16, tf_ds = -1070923760, tf_edi = 1, tf_esi = 0, tf_ebp = -919233512, tf_isp = -919233544, tf_ebx = -1069348556, tf_edx = -1069348556, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1069487942, tf_cs = 8, tf_eflags = 66050, tf_esp = -1069348556, tf_ss = -1069348556}) at ../../../i386/i386/trap.c:433 #11 0xc0280628 in calltrap () at {standard input}:96 #12 0xc040ea58 in AcpiNsRemoveReference (Node=0xc18623a0) at /usr/src/sys/contrib/dev/acpica/nsalloc.c:571 #13 0xc040eac7 in AcpiNsDeleteNamespaceSubtree (ParentNode=0xc0430934) at /usr/src/sys/contrib/dev/acpica/nsalloc.c:625 #14 0xc041052a in AcpiNsTerminate () at /usr/src/sys/contrib/dev/acpica/nsutils.c:935 #15 0xc0419c5d in AcpiUtSubsystemShutdown () at /usr/src/sys/contrib/dev/acpica/utinit.c:310 #16 0xc041aea8 in AcpiTerminate () at /usr/src/sys/contrib/dev/acpica/utxface.c:398 #17 0xc041c231 in acpi_shutdown_final (arg=0xc0b7fb80, howto=0) at /usr/src/sys/dev/acpica/acpi.c:942 #18 0xc0192200 in boot (howto=0) at ../../../kern/kern_shutdown.c:373 #19 0xc0191926 in reboot (td=0x0, uap=0x0) at ../../../kern/kern_shutdown.c:176 #20 0xc029080e in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 0, tf_ebp = -1077936836, tf_isp = -919233164, tf_ebx = 2, tf_edx = -1, tf_ecx = 3, tf_eax = 55, tf_trapno = 12, tf_err = 2, tf_eip = 134516367, tf_cs = 31, tf_eflags = 582, tf_esp = -1077936900, tf_ss = 47}) at ../../../i386/i386/trap.c:1021 #21 0xc028067d in Xint0x80_syscall () at {standard input}:138 -- Michal Mertl mime@traveller.cz