From owner-freebsd-stable@FreeBSD.ORG Sun Feb 24 12:05:00 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E7138188 for ; Sun, 24 Feb 2013 12:05:00 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by mx1.freebsd.org (Postfix) with ESMTP id 832C61E4B for ; Sun, 24 Feb 2013 12:05:00 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm6so2223070wib.8 for ; Sun, 24 Feb 2013 04:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=UWKeMUt+K+xB/RnZ90Zm/H2TY+cU1QJWHgIMwz0xLdc=; b=N6bt5uwNS11DA+l+aawmlOolU6IIIwamxAS4u9sR++VE2SPQx6Yw+03E8rxWhRGZqW gyM4CWzQSC4Vz28Zq6vtrm/5QeJb8aTP9w/H018n499LkPeKWUeJuWQijhgisdxzC9l1 QX38aWkviuceuI85ZOpZEJR30TepeL9oK9ZTi+g52p5qMLnNYIbAV15RhNnByP7Ur6nf OnQEJ6uJO1o/bBLOl8RfRPEXqGEhGdcShMi2K0p3kgdSNccXGgfnMIsBSHSm8yiQXOh9 ZwX/4R3cdxedae11VsEvVaXF7veYd0NKfIfi3udEYLIm3vTE3cz+qK5/zk4Q9DUGS59g x4Yg== X-Received: by 10.180.95.199 with SMTP id dm7mr6370498wib.20.1361707499277; Sun, 24 Feb 2013 04:04:59 -0800 (PST) Received: from melon.localnet (250.33.91.91.rev.sfr.net. [91.91.33.250]) by mx.google.com with ESMTPS id j4sm8542593wiz.10.2013.02.24.04.04.57 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 24 Feb 2013 04:04:58 -0800 (PST) From: David Demelier To: freebsd-stable@freebsd.org Subject: Re: Panic at shutdown Date: Sun, 24 Feb 2013 13:04:52 +0100 Message-ID: <1722921.irhDJY2y33@melon> User-Agent: KMail/4.9.5 (FreeBSD/9.1-RELEASE; KDE/4.9.5; amd64; ; ) In-Reply-To: References: <51127767.1030007@gmail.com> <2872289.1yXr0e1VeO@melon.malikania.fr> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Cc: Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2013 12:05:01 -0000 Le mardi 12 f=E9vrier 2013 21:42:01 Ronald Klop a =E9crit : > On Tue, 12 Feb 2013 19:44:49 +0100, David Demelier >=20 > wrote: > > Le mardi 12 f=E9vrier 2013 10:01:10 Andriy Gapon a =E9crit : > >> on 12/02/2013 09:57 David Demelier said the following: > >> > Yes I have added debugging option in my kernel. I have makeoptio= ns > >> > DEBUG=3D-g in my config. Do I need more ? > >>=20 > >> .symbols? > >=20 > > I don't understand what you are saying, I have > > /boot/kernel/kernel.symbols. > > Please tell me what I'm doing wrong. I've just read and done the st= eps > > written > > there : > >=20 > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug= - > > gdb.html > >=20 > > So I've run > >=20 > > # cd /usr/obj/usr/src/sys/Melon > > # kgdb kernel.debug /var/crash/vmcore.0 >=20 > Why not something like kgdb /boot/kernel/kernel.symbols > /var/crash/vmcore.0? > That looks like what the manual page of kgdb seems to suggest. >=20 > Regards, > Ronald. >=20 > > and that's the only trace I get using bt full : > >=20 > > 229 #define IS_BSP() (PCPU_GET(cpuid) =3D=3D 0) > > (kgdb) bt full > > #0 doadump (textdump=3D) at pcpu.h:229 > > No locals. > > #1 0x0000000000000000 in ?? () > > No symbol table info available. > >=20 I have that, in fact I was using bt full instead of short bt : #0 doadump (textdump=3DVariable "textdump" is not available. ) at pcpu.h:224 #1 0x0000000000000004 in ?? () #2 0xffffffff805146b6 in kern_reboot (howto=3D260) at=20 /usr/src/sys/kern/kern_shutdown.c:448 #3 0xffffffff80514b79 in panic (fmt=3D0x1
)= at /usr/src/sys/kern/kern_shutdown.c:636 #4 0xffffffff8071e919 in trap_fatal (frame=3D0xc, eva=3DVariable "eva"= is not=20 available. ) at /usr/src/sys/amd64/amd64/trap.c:857 #5 0xffffffff8071eca4 in trap_pfault (frame=3D0xffffff80d63db5d0, user= mode=3D0) at /usr/src/sys/amd64/amd64/trap.c:773 #6 0xffffffff8071f09b in trap (frame=3D0xffffff80d63db5d0) at=20 /usr/src/sys/amd64/amd64/trap.c:456 #7 0xffffffff8070993f in calltrap () at=20 /usr/src/sys/amd64/amd64/exception.S:228 #8 0xffffffff802ddbf5 in AcpiOsAcquireObject (Cache=3D0xfffffe00015de4= 00) at /usr/src/sys/contrib/dev/acpica/utilities/utcache.c:316 #9 0xffffffff802e27c1 in AcpiUtAllocateObjectDescDbg=20 (ModuleName=3D0xffffffff80795110 "dsutils",=20 LineNumber=3D703, ComponentId=3DVariable "ComponentId" is not avail= able. ) at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:437 #10 0xffffffff802e2972 in AcpiUtCreateInternalObjectDbg=20 (ModuleName=3D0xffffffff80795110 "dsutils",=20 LineNumber=3D703, ComponentId=3D64, Type=3D1) at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:112 #11 0xffffffff802b32ea in AcpiDsCreateOperand (WalkState=3D0xfffffe0003= 80fc00,=20 Arg=3D0xfffffe00017d39c0,=20 ArgIndex=3D0) at /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils= .c:703 #12 0xffffffff802b3686 in AcpiDsCreateOperands (WalkState=3D0xfffffe000= 380fc00,=20 FirstArg=3D0xfffffe00017d39c0) at=20 /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils.c:798 #13 0xffffffff802b4323 in AcpiDsExecEndOp (WalkState=3D0xfffffe000380fc= 00) at /usr/src/sys/contrib/dev/acpica/dispatcher/dswexec.c:449 #14 0xffffffff802d55e9 in AcpiPsParseLoop (WalkState=3D0xfffffe000380fc= 00) at /usr/src/sys/contrib/dev/acpica/parser/psloop.c:1249 #15 0xffffffff802d6a5b in AcpiPsParseAml (WalkState=3D0xfffffe000380fc0= 0) at /usr/src/sys/contrib/dev/acpica/parser/psparse.c:525 #16 0xffffffff802d7ad7 in AcpiPsExecuteMethod (Info=3D0xfffffe00411b950= 0) at /usr/src/sys/contrib/dev/acpica/parser/psxface.c:368 #17 0xffffffff802ce3af in AcpiNsEvaluate (Info=3D0xfffffe00411b9500) at /usr/src/sys/contrib/dev/acpica/namespace/nseval.c:193 #18 0xffffffff802d3567 in AcpiEvaluateObject (Handle=3D0xfffffe00017d6d= 40,=20 Pathname=3D0xffffffff807b2e9b "_TMP", ExternalParams=3D0x0,=20 ReturnBuffer=3D0xffffff80d63dba50) at /usr/src/sys/contrib/dev/acpica/namespace/nsxfeval.c:289 #19 0xffffffff8031ca84 in acpi_GetInteger (handle=3D0xfffffe00017d6d40,= =20 path=3D0xffffffff807b2e9b "_TMP", number=3D0xffffff80d63dbab4) at=20= /usr/src/sys/dev/acpica/acpi.c:2204 #20 0xffffffff80331756 in acpi_tz_get_temperature (sc=3D0xfffffe0001a2f= a00) at /usr/src/sys/dev/acpica/acpi_thermal.c:462 #21 0xffffffff803329d6 in acpi_tz_monitor (Context=3D0xfffffe0001a2fa00= ) at /usr/src/sys/dev/acpica/acpi_thermal.c:497 #22 0xffffffff80332f92 in acpi_tz_thread (arg=3DVariable "arg" is not a= vailable. ) at /usr/src/sys/dev/acpica/acpi_thermal.c:864 #23 0xffffffff804e7a3d in fork_exit (callout=3D0xffffffff80332e50=20 , arg=3D0x0,=20 frame=3D0xffffff80d63dbc00) at /usr/src/sys/kern/kern_fork.c:992 #24 0xffffffff80709dfe in fork_trampoline () at=20 /usr/src/sys/amd64/amd64/exception.S:602 #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000001 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0xffffffff80b5b1c0 in affinity () #50 0x0000000000000000 in ?? () #51 0xfffffe0001a5e8b0 in ?? () #52 0xfffffe0001a5e470 in ?? () #53 0x0000000000000000 in ?? () #54 0xffffff80d63dba08 in ?? () #55 0xfffffe00016db8e0 in ?? () #56 0xffffffff8053ccf9 in sched_switch (td=3D0xffffffff80332e50, newtd=3D= 0x0,=20 flags=3DVariable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1921 #57 0x0000000000000000 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () #60 0x0000000000000000 in ?? () #61 0x0000000000000000 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000001 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x0000000000000000 in ?? () #67 0xffffff80d63dbdc0 in ?? () #68 0x0000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () #72 0x0000000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () #83 0x0000000000000000 in ?? () #84 0x0000000000000000 in ?? () #85 0x0000000000000000 in ?? () #86 0x0000000000000000 in ?? () #87 0x0000000000000000 in ?? () #88 0x0000000000000000 in ?? () #89 0x0000000000000000 in ?? () #90 0x0000000000000000 in ?? () #91 0x0000000000000000 in ?? () #92 0x0000000000000000 in ?? () #93 0x0000000000000000 in ?? () #94 0x0000000000000000 in ?? () #95 0x0000000000000000 in ?? () #96 0x0000000000000000 in ?? () #97 0x0000000000000000 in ?? () #98 0x0000000000000000 in ?? () #99 0x0000000000000000 in ?? () #100 0x0000000000000000 in ?? () #101 0x0000000000000000 in ?? () #102 0x0000000000000000 in ?? () #103 0x0000000000000000 in ?? () #104 0x0000000000000000 in ?? () #105 0x0000000000000000 in ?? () #106 0x0000000000000000 in ?? () #107 0x0000000000000000 in ?? () #108 0x0000000000000000 in ?? () #109 0x0000000000000000 in ?? () #110 0x0000000000000000 in ?? () #111 0x0000000000000000 in ?? () #112 0x0000000000000000 in ?? () #113 0x0000000000000000 in ?? () #114 0x0000000000000000 in ?? () #115 0x0000000000000000 in ?? () #116 0x0000000000000000 in ?? () #117 0x0000000000000000 in ?? () #118 0x0000000000000000 in ?? () #119 0x0000000000000000 in ?? () #120 0x0000000000000000 in ?? () #121 0x0000000000000000 in ?? () #122 0x0000000000000000 in ?? () #123 0x0000000000000000 in ?? () #124 0x0000000000000000 in ?? () #125 0x0000000000000000 in ?? () #126 0x0000000000000000 in ?? () #127 0x0000000000000000 in ?? () #128 0x0000000000000000 in ?? () #129 0x0000000000000000 in ?? () #130 0x0000000000000000 in ?? () #131 0x0000000000000000 in ?? () #132 0x0000000000000000 in ?? () #133 0x0000000000000000 in ?? () #134 0x0000000000000003 in ?? () #135 0x0000000000000000 in ?? () #136 0x0000000000000000 in ?? () #137 0x0000000000000000 in ?? () #138 0x0000000000000000 in ?? () #139 0x0000000000000000 in ?? () #140 0x0000000000000000 in ?? () #141 0x0000000000000000 in ?? () Cannot access memory at address 0xffffff80d63dc000 --=20 David Demelier