From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 28 09:42:56 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47F41DE6; Fri, 28 Dec 2012 09:42:56 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by mx1.freebsd.org (Postfix) with ESMTP id 963968FC08; Fri, 28 Dec 2012 09:42:55 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id j5so4601349bkw.12 for ; Fri, 28 Dec 2012 01:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=GfpYBikQcKLhNw7Az+oBva/fXzUOwmF/oS8zXxT4NAE=; b=RTFql2LQLrDX3ciyLbHBnUUncgS13PMFySDYt1ug/d5xp1ueMVCZKkaJND1jBFnWsW RBHzVvllWRhxwH2h0fLFSNTodmL1YuH+/vouvn5pWBEaGPmB8DtDFqCSg9xL3FHhqJie LB3If8ESLM+YJpsgTJxDIuXYH/Dxh1Hf8wsgI3s4xwB1UrMUXRsUDEPxtIDirX0ltqqC eRnC4xpYLMBKAwTy+Ne1sIwG84ymRLl56j5iX27Rws1gKY97Enj3GB3nFWdVcPBtUsou mAA5Oh6RFBuekbz6+hjpyzRANUH9hXZonJlXbLOBWKD0kChtTvGYUhfJrs+Fdk3WbYUL gAHw== X-Received: by 10.204.147.5 with SMTP id j5mr15742296bkv.49.1356687310538; Fri, 28 Dec 2012 01:35:10 -0800 (PST) Received: from Melon.malikania.fr (110.89.123.78.rev.sfr.net. [78.123.89.110]) by mx.google.com with ESMTPS id r16sm22185656bkv.3.2012.12.28.01.35.08 (version=SSLv3 cipher=OTHER); Fri, 28 Dec 2012 01:35:09 -0800 (PST) Message-ID: <50DD67C5.60504@gmail.com> Date: Fri, 28 Dec 2012 10:35:01 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Kernel panic when playing games/iourbanterror References: <50D85E24.7000108@gmail.com> <50D879A1.40206@FreeBSD.org> In-Reply-To: <50D879A1.40206@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 09:42:56 -0000 On 24/12/2012 16:49, Andriy Gapon wrote: > on 24/12/2012 15:52 David Demelier said the following: >> #6 0xffffffff806e81bf in calltrap () >> at /usr/src/sys/amd64/amd64/exception.S:228 >> #7 0xffffffff802c6f15 in AcpiUtUpdateObjectReference ( >> Object=0xfffffe0001824a80, Action=0) >> at /usr/src/sys/contrib/dev/acpica/utilities/utdelete.c:563 >> #8 0xffffffff802b77a4 in AcpiExResolveNodeToValue ( >> ObjectPtr=0xfffffe0001a2c2e0, WalkState=0xfffffe0001a2c000) >> at /usr/src/sys/contrib/dev/acpica/executer/exresnte.c:184 >> #9 0xffffffff802b7ad3 in AcpiExResolveToValue (StackPtr=0xfffffe0001a2c2e0, >> WalkState=0xfffffe0001a2c000) >> at /usr/src/sys/contrib/dev/acpica/executer/exresolv.c:124 >> #10 0xffffffff802ac433 in AcpiDsEvaluateNamePath (WalkState=0xfffffe0001a2c000) >> at /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils.c:886 >> ---Type to continue, or q to quit--- >> #11 0xffffffff802aceef in AcpiDsExecEndOp (WalkState=0xfffffe0001a2c000) >> at /usr/src/sys/contrib/dev/acpica/dispatcher/dswexec.c:436 >> #12 0xffffffff802c05ba in AcpiPsParseLoop (WalkState=0xfffffe0001a2c000) >> at /usr/src/sys/contrib/dev/acpica/parser/psloop.c:1249 >> #13 0xffffffff802c10a8 in AcpiPsParseAml (WalkState=0xfffffe0001a2c000) >> at /usr/src/sys/contrib/dev/acpica/parser/psparse.c:525 >> #14 0xffffffff802c1d45 in AcpiPsExecuteMethod (Info=0xfffffe0033df8540) >> at /usr/src/sys/contrib/dev/acpica/parser/psxface.c:368 >> #15 0xffffffff802bb784 in AcpiNsEvaluate (Info=0xfffffe0033df8540) >> at /usr/src/sys/contrib/dev/acpica/namespace/nseval.c:193 >> #16 0xffffffff802bec91 in AcpiEvaluateObject (Handle=0xfffffe00017f7b80, >> Pathname=0xffffffff8078229f "_BST", ExternalParams=0x0, >> ReturnBuffer=0xffffff80d89ac960) >> at /usr/src/sys/contrib/dev/acpica/namespace/nsxfeval.c:289 >> #17 0xffffffff80309802 in acpi_cmbat_get_bst (arg=Variable "arg" is not available. >> ) >> at /usr/src/sys/dev/acpica/acpi_cmbat.c:257 >> #18 0xffffffff80309af8 in acpi_cmbat_bst (dev=0xfffffe0001936400, >> bstp=0xfffffe008b319400) at /usr/src/sys/dev/acpica/acpi_cmbat.c:418 >> #19 0xffffffff8045bd22 in devfs_ioctl_f (fp=0xfffffe001ba256e0, >> com=3231990289, data=Variable "data" is not available. >> ) at /usr/src/sys/fs/devfs/devfs_vnops.c:757 >> #20 0xffffffff8053a23d in kern_ioctl (td=0xfffffe00039ae8e0, fd=Variable "fd" is >> not available. >> ) at file.h:293 >> #21 0xffffffff8053a4ad in sys_ioctl (td=0xfffffe00039ae8e0, >> uap=0xffffff80d89acb70) at /usr/src/sys/kern/sys_generic.c:691 >> ---Type to continue, or q to quit--- >> #22 0xffffffff806fc902 in amd64_syscall (td=0xfffffe00039ae8e0, traced=0) >> at subr_syscall.c:135 >> #23 0xffffffff806e84a7 in Xfast_syscall () >> at /usr/src/sys/amd64/amd64/exception.S:387 >> #24 0x0000000801d89c5c in ?? () >> Previous frame inner to this frame (corrupt stack?) >> >> Before the panic, a lot of ACPI Error appears in dmesg like that : >> >> ACPI Error: Method execution failed [\\_SB_.BAT0._UID] (Node 0xfffffe00017f7b00), >> AE_AML_NO_OPERAND (20110527/uteval-113) >> ACPI Error: No object attached to node 0xfffffe00017f7b00 (20110527/exresnte-139) >> ACPI Error: Method execution failed [\\_SB_.BAT0._UID] (Node 0xfffffe00017f7b00), >> AE_AML_NO_OPERAND (20110527/uteval-113) >> ACPI Error: No object attached to node 0xfffffe00017f7b00 (20110527/exresnte-139) >> >> This happens on 9.1-RELEASE amd64 > > Could you please try a patch from a parallel thread: > http://thread.gmane.org/gmane.os.freebsd.devel.acpi/7562/focus=7611 > ? > I'm not used to the patch / diff files, how do you apply it? I selected all the patch text from the mail and wrote it in a acpi.patch file, but when I tried to do patch -p1 < acpi.patch inside /usr/src I got this error: Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- a/sys/dev/acpica/Osd/OsdMemory.c |+++ b/sys/dev/acpica/Osd/OsdMemory.c -------------------------- Patching file sys/dev/acpica/Osd/OsdMemory.c using Plan A... Hunk #1 succeeded at 39 with fuzz 2. patch: **** malformed patch at line 12: Value, UINT32 Width)