Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2015 19:02:29 +0200
From:      Svatopluk Kraus <onwahe@gmail.com>
To:        Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Panic running nsd-4.1.5
Message-ID:  <CAFHCsPXB36TLdwGG-gnYm2BMDddCMGuKpuLLydasqr-9WX-J7Q@mail.gmail.com>
In-Reply-To: <5614D7B8.3040604@gmail.com>
References:  <5614D7B8.3040604@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Can you please try this: https://reviews.freebsd.org/D3617
Just download raw diff, apply, build new kernel, and run.

Svatopluk Kraus

On Wed, Oct 7, 2015 at 10:28 AM, Mattia Rossi
<mattia.rossi.mailinglists@gmail.com> wrote:
> Hi all,
>
> I'm running into this issue since a while:
> when starting nsd (and only with nsd) I'm getting a kernel panic.
>
> Does anyone know what's happening here?
>
> I'm on the Dreamplug using HEAD, FreeBSD 11.0-CURRENT #54 r288210M.
>
> nsd info:
>
> nsd-4.1.5
> Name           : nsd
> Version        : 4.1.5
> Installed on   : Thu Oct  1 23:58:41 UTC 2015
> Origin         : dns/nsd
> Architecture   : freebsd:11:arm:32:el:eabi:softfp
> Prefix         : /usr/local
> Categories     : dns ipv6
> Licenses       : BSD3CLAUSE
> Maintainer     : jaap@NLnetLabs.nl
> WWW            : http://www.nlnetlabs.nl/nsd
> Comment        : Authoritative only non-recursive name server
> Options        :
>         BIND8_STATS    : off
>         CHECKING       : off
>         DOCS           : off
>         IPV6           : on
>         LARGEFILE      : off
>         MINRESPSIZE    : on
>         MMAP           : off
>         MUNIN_PLUGIN   : on
>         NSEC3          : on
>         ROOT_SERVER    : off
>         RRL            : on
>         ZONE_STATS     : off
> Shared Libs required:
>         libssl.so.8
>         libevent-2.0.so.5
>         libcrypto.so.8
> Annotations    :
>         cpe            : cpe:2.3:a:nlnetlabs:nsd:4.1.5:::::freebsd11:arm
> Flat size      : 1.31MiB
> Description    :
> NSD (Name Server Daemon) is a complete implementation of an
> authoritative DNS nameserver.
>
> WWW: http://www.nlnetlabs.nl/nsd
>
>
> kernel backtrace:
>
> panic: vm_fault: fault on nofault entry, addr: d1d1a000
> KDB: enter: panic
> [ thread pid 86965 tid 100570 ]
> Stopped at      kdb_enter+0x48: ldrb    r15, [r15, r15, ror r15]!
> db> bt
> Tracing pid 86965 tid 100570 td 0xc53c9000
> db_trace_self() at db_trace_self
>          pc = 0xc0d85c8c  lr = 0xc09489c0 (db_hex2dec+0x4bc)
>          sp = 0xd7443460  fp = 0xd7443478
>         r10 = 0xc0f376f4
> db_hex2dec() at db_hex2dec+0x4bc
>          pc = 0xc09489c0  lr = 0xc0948410 (db_command_loop+0x3d0)
>          sp = 0xd7443480  fp = 0xd7443520
>          r4 = 0x00000000  r5 = 0x00000000
>          r6 = 0x00000000 r10 = 0xc0f376f4
> db_command_loop() at db_command_loop+0x3d0
>          pc = 0xc0948410  lr = 0xc094808c (db_command_loop+0x4c)
>          sp = 0xd7443528  fp = 0xd7443538
>          r4 = 0xc0ddd1f2  r5 = 0xc0dfb590
>          r6 = 0xc0f376e0  r7 = 0xc0ec9734
>          r8 = 0xc0f2b670  r9 = 0xc0f2b674
>         r10 = 0xc0b047c4
> db_command_loop() at db_command_loop+0x4c
>          pc = 0xc094808c  lr = 0xc094ab1c (db_fetch_ksymtab+0x298)
>          sp = 0xd7443540  fp = 0xd7443658
>          r4 = 0x00000000  r5 = 0xc0f376ec
>          r6 = 0xc0f2b698 r10 = 0xc0b047c4
> db_fetch_ksymtab() at db_fetch_ksymtab+0x298
>          pc = 0xc094ab1c  lr = 0xc0b04eec (kdb_trap+0xc4)
>          sp = 0xd7443660  fp = 0xd7443680
>          r4 = 0x00000000  r5 = 0x00000001
>          r6 = 0xc0f2b698  r7 = 0xc0ec9734
> kdb_trap() at kdb_trap+0xc4
>          pc = 0xc0b04eec  lr = 0xc0d981ac (undefinedinstruction+0x300)
>          sp = 0xd7443688  fp = 0xd74436f8
>          r4 = 0x00000000  r5 = 0x00000000
>          r6 = 0xc0d97dfc  r7 = 0xe7ffffff
>          r8 = 0xc53c9000  r9 = 0xd7443700
>         r10 = 0xc0b047c4
> undefinedinstruction() at undefinedinstruction+0x300
>          pc = 0xc0d981ac  lr = 0xc0d872e0 (exception_exit)
>          sp = 0xd7443700  fp = 0xd7443798
>          r4 = 0xffffffff  r5 = 0xffff1004
>          r6 = 0xc0e2c7eb  r7 = 0xc0f1d5e8
>          r8 = 0xc53c9000  r9 = 0xc0f39208
>         r10 = 0xc0f1d450
> exception_exit() at exception_exit
>          pc = 0xc0d872e0  lr = 0xc0b047b8 (kdb_enter+0x3c)
>          sp = 0xd7443790  fp = 0xd7443798
>          r0 = 0xc0f2b684  r1 = 0x00000000
>          r2 = 0xc0dff290  r3 = 0x000000aa
>          r4 = 0xc0dfb5e5  r5 = 0xd74437dc
>          r6 = 0xc0e2c7eb  r7 = 0xc0f1d5e8
>          r8 = 0xc53c9000  r9 = 0xc0f39208
>         r10 = 0xc0f1d450 r12 = 0x00000000
> kdb_enter() at kdb_enter+0x4c
>          pc = 0xc0b047c8  lr = 0xc0acd1dc (vpanic+0xbc)
>          sp = 0xd74437a0  fp = 0xd74437c0
>          r4 = 0x00000100 r10 = 0xc0f1d450
> vpanic() at vpanic+0xbc
>          pc = 0xc0acd1dc  lr = 0xc0acd244 (kproc_shutdown)
>          sp = 0xd74437c8  fp = 0xd74437d0
>          r4 = 0xd1d1a000  r5 = 0xc53c9000
>          r6 = 0x00000000  r7 = 0xd1d1a000
>          r8 = 0x00000000  r9 = 0xc0e2c817
>         r10 = 0xc0f3da90
> kproc_shutdown() at kproc_shutdown
>          pc = 0xc0acd244  lr = 0xc0d59788 (vm_fault_hold+0x1ab4)
>          sp = 0xd74437d8  fp = 0xd7443950
>          r4 = 0xc53c9000  r5 = 0xd74437dc
> vm_fault_hold() at vm_fault_hold+0x1ab4
>          pc = 0xc0d59788  lr = 0xc0d57cc4 (vm_fault+0x40)
>          sp = 0xd7443958  fp = 0xd7443960
>          r4 = 0xd7443a08  r5 = 0xc53c9000
>          r6 = 0x00000002  r7 = 0xd1d1a000
>          r8 = 0xd7443ea0  r9 = 0x00000002
>         r10 = 0x00000013
> vm_fault() at vm_fault+0x40
>          pc = 0xc0d57cc4  lr = 0xc0d97468 (abort_handler+0x450)
>          sp = 0xd7443968  fp = 0xd7443a00
> abort_handler() at abort_handler+0x450
>          pc = 0xc0d97468  lr = 0xc0d872e0 (exception_exit)
>          sp = 0xd7443a08  fp = 0xd7443c58
>          r4 = 0xffffffff  r5 = 0xffff1004
>          r6 = 0x00000120  r7 = 0x00001000
>          r8 = 0x00000000  r9 = 0xc458af00
>         r10 = 0x00000000
> exception_exit() at exception_exit
>          pc = 0xc0d872e0  lr = 0xc0d12be8 (ffs_truncate+0xa78)
>          sp = 0xd7443a98  fp = 0xd7443c58
>          r0 = 0xd1d1a120  r1 = 0x00000e60
>          r2 = 0x00000000  r3 = 0x00000000
>          r4 = 0xc3d53000  r5 = 0x00000000
>          r6 = 0x00000120  r7 = 0x00001000
>          r8 = 0x00000000  r9 = 0xc458af00
>         r10 = 0x00000000 r12 = 0xd1d1a120
> memset() at memset+0x48
>          pc = 0xc0d9479c  lr = 0xc0d12be8 (ffs_truncate+0xa78)
>          sp = 0xd7443a98  fp = 0xd7443c58
> ffs_truncate() at ffs_truncate+0xa78
>          pc = 0xc0d12be8  lr = 0xc0d4873c (ufs_vinit+0xacc)
>          sp = 0xd7443c60  fp = 0xd7443ca8
>          r4 = 0xc8a26900  r5 = 0x0000ffff
>          r6 = 0xd7443ce8  r7 = 0xc53c9000
>          r8 = 0xffffffff  r9 = 0xc458af00
>         r10 = 0xc3d51400
> ufs_vinit() at ufs_vinit+0xacc
>          pc = 0xc0d4873c  lr = 0xc0db2b4c (VOP_SETATTR_APV+0xd4)
>          sp = 0xd7443cb0  fp = 0xd7443cc0
>          r4 = 0xd7443d7c  r5 = 0xc0f08318
>          r6 = 0x00000000  r7 = 0xc8a26900
>          r8 = 0x00000000  r9 = 0xd7443ce8
>         r10 = 0xc8a26904
> VOP_SETATTR_APV() at VOP_SETATTR_APV+0xd4
>          pc = 0xc0db2b4c  lr = 0xc0b79450 (sys_posix_fadvise+0x320)
>          sp = 0xd7443cc8  fp = 0xd7443da8
>          r4 = 0x00000120  r5 = 0xc4e78480
>          r6 = 0xc8a26954 r10 = 0xc8a26904
> sys_posix_fadvise() at sys_posix_fadvise+0x320
>          pc = 0xc0b79450  lr = 0xc0b1e0a8 (kern_ftruncate+0x98)
>          sp = 0xd7443db0  fp = 0xd7443de0
>          r4 = 0xc53c9000  r5 = 0x00000000
>          r6 = 0x00000120  r7 = 0xc0b79338
>          r8 = 0xd7443df8  r9 = 0x20088000
>         r10 = 0x00000000
> kern_ftruncate() at kern_ftruncate+0x98
>          pc = 0xc0b1e0a8  lr = 0xc0d96cf8 (swi_handler+0x270)
>          sp = 0xd7443de8  fp = 0xd7443e48
>          r4 = 0xc53c9000  r5 = 0xc53c5380
>          r6 = 0x60000013  r7 = 0x00000000
> swi_handler() at swi_handler+0x270
>          pc = 0xc0d96cf8  lr = 0xc0d87270 (swi_exit)
>          sp = 0xd7443e50  fp = 0xbfbffa80
>          r4 = 0x20875000  r5 = 0x00000120
>          r6 = 0x00000000  r7 = 0x000001e0
>          r8 = 0x00000000  r9 = 0x20088000
>         r10 = 0x00000000
> swi_exit() at swi_exit
>          pc = 0xc0d87270  lr = 0xc0d87270 (swi_exit)
>          sp = 0xd7443e50  fp = 0xbfbffa80
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHCsPXB36TLdwGG-gnYm2BMDddCMGuKpuLLydasqr-9WX-J7Q>