From owner-freebsd-arm@freebsd.org Wed Oct 7 08:28:44 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10D319D0701 for ; Wed, 7 Oct 2015 08:28:44 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A54EBB5F for ; Wed, 7 Oct 2015 08:28:43 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by wicfx3 with SMTP id fx3so16939212wic.0 for ; Wed, 07 Oct 2015 01:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=q3Lw3i0r1ktM8PrcGJchssA8Ym7+bHUdQS75V9VzQac=; b=qb3pMoPsbQLic2J5sAm+TcufEG4Qe714A2GLxjLVHFitD8o2TLfBXEMBE5aGejokrl lcP/j9wkY8wjp9dKD2ycO7sJyHU0mdf2LDsrktdSvJP6KXcjPnc1wZnslLZpbgW1ctrU 4hqsP/64yqdPt35oxIb1mL0DGj1Vt05NH8gjkx4F3oRNwzC8N/2kcOQv1xdrOM3TcZ08 muqJa8JY4+doxcpi1o8eZD8c+ZyuDexS2acMsPRAHSpbRrm8ArJ+55Mhs+dNgAJ3h7sm exsC1BS+DXp4l/p+87k6y2MN77HcvG31MUo5N1DJkmwX4u0CC9amv9JPAAezocOcBZT8 FeWw== X-Received: by 10.180.93.168 with SMTP id cv8mr23048031wib.54.1444206522026; Wed, 07 Oct 2015 01:28:42 -0700 (PDT) Received: from [192.168.0.113] (82.50.202.62.static.wline.lns.sme.cust.swisscom.ch. [62.202.50.82]) by smtp.googlemail.com with ESMTPSA id ka10sm37626564wjc.30.2015.10.07.01.28.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2015 01:28:41 -0700 (PDT) To: freebsd-arm From: Mattia Rossi Subject: Panic running nsd-4.1.5 Message-ID: <5614D7B8.3040604@gmail.com> Date: Wed, 7 Oct 2015 10:28:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 08:28:44 -0000 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