Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Mar 2013 10:38:01 +0100
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-stable@freebsd.org
Cc:        David Demelier <demelier.david@gmail.com>
Subject:   Re: Panic at shutdown (acpi related)
Message-ID:  <op.ws9g1n1r8527sy@ronaldradial.versatec.local>
In-Reply-To: <1722921.irhDJY2y33@melon>
References:  <51127767.1030007@gmail.com> <2872289.1yXr0e1VeO@melon.malikania.fr> <op.wseugbnu8527sy@212-182-167-131.ip.telfort.nl> <1722921.irhDJY2y33@melon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Feb 2013 13:04:52 +0100, David Demelier  
<demelier.david@gmail.com> wrote:

> Le mardi 12 février 2013 21:42:01 Ronald Klop a écrit :
>> On Tue, 12 Feb 2013 19:44:49 +0100, David Demelier
>>
>> <demelier.david@gmail.com> wrote:
>> > Le mardi 12 février 2013 10:01:10 Andriy Gapon a écrit :
>> >> on 12/02/2013 09:57 David Demelier said the following:
>> >> > Yes I have added debugging option in my kernel. I have makeoptions
>> >> > DEBUG=-g in my config. Do I need more ?
>> >>
>> >> .symbols?
>> >
>> > 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 steps
>> > written
>> > there :
>> >
>> > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-
>> > gdb.html
>> >
>> > So I've run
>> >
>> > # cd /usr/obj/usr/src/sys/Melon
>> > # kgdb kernel.debug /var/crash/vmcore.0
>>
>> 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.
>>
>> Regards,
>> Ronald.
>>
>> > and that's the only trace I get using bt full :
>> >
>> > 229     #define IS_BSP()        (PCPU_GET(cpuid) == 0)
>> > (kgdb) bt full
>> > #0  doadump (textdump=<value optimized out>) at pcpu.h:229
>> > No locals.
>> > #1  0x0000000000000000 in ?? ()
>> > No symbol table info available.
>> >
>
> I have that, in fact I was using bt full instead of short bt :
>
> #0  doadump (textdump=Variable "textdump" is not available.
> ) at pcpu.h:224
> #1  0x0000000000000004 in ?? ()
> #2  0xffffffff805146b6 in kern_reboot (howto=260) at
> /usr/src/sys/kern/kern_shutdown.c:448
> #3  0xffffffff80514b79 in panic (fmt=0x1 <Address 0x1 out of bounds>)
>     at /usr/src/sys/kern/kern_shutdown.c:636
> #4  0xffffffff8071e919 in trap_fatal (frame=0xc, eva=Variable "eva" is  
> not
> available.
> ) at /usr/src/sys/amd64/amd64/trap.c:857
> #5  0xffffffff8071eca4 in trap_pfault (frame=0xffffff80d63db5d0,  
> usermode=0)
>     at /usr/src/sys/amd64/amd64/trap.c:773
> #6  0xffffffff8071f09b in trap (frame=0xffffff80d63db5d0) at
> /usr/src/sys/amd64/amd64/trap.c:456
> #7  0xffffffff8070993f in calltrap () at
> /usr/src/sys/amd64/amd64/exception.S:228
> #8  0xffffffff802ddbf5 in AcpiOsAcquireObject (Cache=0xfffffe00015de400)
>     at /usr/src/sys/contrib/dev/acpica/utilities/utcache.c:316
> #9  0xffffffff802e27c1 in AcpiUtAllocateObjectDescDbg
> (ModuleName=0xffffffff80795110 "dsutils",
>     LineNumber=703, ComponentId=Variable "ComponentId" is not available.
> ) at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:437
> #10 0xffffffff802e2972 in AcpiUtCreateInternalObjectDbg
> (ModuleName=0xffffffff80795110 "dsutils",
>     LineNumber=703, ComponentId=64, Type=1)
>     at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:112
> #11 0xffffffff802b32ea in AcpiDsCreateOperand  
> (WalkState=0xfffffe000380fc00,
> Arg=0xfffffe00017d39c0,
>     ArgIndex=0) at  
> /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils.c:703
> #12 0xffffffff802b3686 in AcpiDsCreateOperands  
> (WalkState=0xfffffe000380fc00,
>     FirstArg=0xfffffe00017d39c0) at
> /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils.c:798
> #13 0xffffffff802b4323 in AcpiDsExecEndOp (WalkState=0xfffffe000380fc00)
>     at /usr/src/sys/contrib/dev/acpica/dispatcher/dswexec.c:449
> #14 0xffffffff802d55e9 in AcpiPsParseLoop (WalkState=0xfffffe000380fc00)
>     at /usr/src/sys/contrib/dev/acpica/parser/psloop.c:1249
> #15 0xffffffff802d6a5b in AcpiPsParseAml (WalkState=0xfffffe000380fc00)
>     at /usr/src/sys/contrib/dev/acpica/parser/psparse.c:525
> #16 0xffffffff802d7ad7 in AcpiPsExecuteMethod (Info=0xfffffe00411b9500)
>     at /usr/src/sys/contrib/dev/acpica/parser/psxface.c:368
> #17 0xffffffff802ce3af in AcpiNsEvaluate (Info=0xfffffe00411b9500)
>     at /usr/src/sys/contrib/dev/acpica/namespace/nseval.c:193
> #18 0xffffffff802d3567 in AcpiEvaluateObject (Handle=0xfffffe00017d6d40,
>     Pathname=0xffffffff807b2e9b "_TMP", ExternalParams=0x0,
> ReturnBuffer=0xffffff80d63dba50)
>     at /usr/src/sys/contrib/dev/acpica/namespace/nsxfeval.c:289
> #19 0xffffffff8031ca84 in acpi_GetInteger (handle=0xfffffe00017d6d40,
>     path=0xffffffff807b2e9b "_TMP", number=0xffffff80d63dbab4) at
> /usr/src/sys/dev/acpica/acpi.c:2204
> #20 0xffffffff80331756 in acpi_tz_get_temperature (sc=0xfffffe0001a2fa00)
>     at /usr/src/sys/dev/acpica/acpi_thermal.c:462
> #21 0xffffffff803329d6 in acpi_tz_monitor (Context=0xfffffe0001a2fa00)
>     at /usr/src/sys/dev/acpica/acpi_thermal.c:497
> #22 0xffffffff80332f92 in acpi_tz_thread (arg=Variable "arg" is not  
> available.
> ) at /usr/src/sys/dev/acpica/acpi_thermal.c:864
> #23 0xffffffff804e7a3d in fork_exit (callout=0xffffffff80332e50
> <acpi_tz_thread>, arg=0x0,
>     frame=0xffffff80d63dbc00) at /usr/src/sys/kern/kern_fork.c:992
> #24 0xffffffff80709dfe in fork_trampoline () at
> /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=0xffffffff80332e50, newtd=0x0,
> flags=Variable "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
>

Hi,

I am not familiar with this acpi stuff so I hope somebody else can help  
you.

Regards,
Ronald.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ws9g1n1r8527sy>