From owner-freebsd-current@freebsd.org Fri Apr 14 16:58:42 2017 Return-Path: Delivered-To: freebsd-current@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 1AEADD3EC4B for ; Fri, 14 Apr 2017 16:58:42 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88E8EE3F; Fri, 14 Apr 2017 16:58:40 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([92.225.0.75]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4Gup-1c8tJ40vBr-00rrvU; Fri, 14 Apr 2017 18:58:33 +0200 Date: Fri, 14 Apr 2017 18:58:27 +0200 From: "O. Hartmann" To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: CURRENT (r316844): Fatal trap 12: page fault while in kernel mode (syslogd) Message-ID: <20170414185827.1ab68398@thor.intern.walstatt.dynvpn.de> In-Reply-To: References: <20170414175246.2353dcf0@thor.intern.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/CXaekI.U9YSFnFWM1jqm6cC"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:UcnnqhTBztHsPNJO8Og00uvusvpmeQtHZVMSzVbMvGNQup8QahV lwElfs4ExaqxT+nkOF2A2xQJprBS6H/LtAGxxfjVFsbqHOqhZcBz7jh2qVDZ+mWqNemyESy JpypEZdcBSDwjzY21l0qYDeUyHf/0ZTspnAVhZvZa7nOgWSRoq/Xiq82+Npe+7uQuB/zwpe Rmg/kWxXQ+0fnN4cthc4A== X-UI-Out-Filterresults: notjunk:1;V01:K0:PHA/PhIYrTc=:yKfkt5Bq4cMdnIfMSn3cDp g/820GoUAYc+N+53O2hh4eBBVYR8Wued3zCy/Lclst/WwYyYgxi7EV5+3cXi17ckUdBZD33r9 8Zu+urgW9wfWbZ+EKoLi25qnqTcRmVVZQZTOrNEqzH2/fYAFimcigmyXUg9qK02NNSW7qf2lj JbqJqY741RdTNKsLrWL1zI5GLjS8N3tPTFgiCcnQO0XEQKFUoqGjwy4S9lUJ45KZWAKdxH0MW FSSQlpnoIPCBl+BA7MktqXIro6dyV5ydW51OmDBe26lYVtLyLNV+uOmbB8UHBwT+ZXALYGeWw Bcu8XkoEDdCWMBJG/0BpsKSxVRuwOVJvOapnkKnUtryv2hHMDKa3JIEg2QrXHx4daFSMFfEZx XDxOo5936xpmyw+NsdcZwgFgGOV74TCuXCe95n13xPxZm1/zpxaEYLYjj3mLEpYtH1LnwXB9k UvdIdzzw4HLRl6N0964LMkYdCaBzXqOM0BBCHh68c9WCBNunLR+49Hc4RyjawG6CAjr+Zycou REvD4rwAGt3Sg62EwofZfZ8B4eKIs9/LVD2tZru4LIM/DDJBuGVYVYBaDgr81mdF9sAfrOAzW 7K7xi57Tq9eWqFVo2a/lnw7IHOQhJS3OdlOFd4IB6syaJ+vOrU7/bQHU2KGBRBgAQXmFn7BRY Mvl26iiw9HjRLISlE+rnvggAnwR5Yj+vCtMlPBKeeH579lewPMkVcObi2x1JLoU1nCmfkPHA1 U/RLqyCGFc3QVm13fmQ/xDH2lyDTvGm55TYj3K2etcD/XpjXET/ztnBZtB4= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 16:58:42 -0000 --Sig_/CXaekI.U9YSFnFWM1jqm6cC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Fri, 14 Apr 2017 10:02:03 -0600 Alan Somers schrieb: > On Fri, Apr 14, 2017 at 9:53 AM, O. Hartmann wr= ote: > > I just updated today CURRENT's tree sources for nanoBSD to r316844 and = recompiled an > > image I use for an PCengines APU 2C4. The APU now crashes with the erro= r shown below. > > > > r316717 is all right and boots and works as expected. > > > > Just now, I depend on the box, so debugging kernel with more info is un= derway, but in > > due time. > > > > Kind regards, > > > > Oliver > > > > [...] > > uhub2: = on usbus1 > > uhub2: 4 ports with 4 removable, self powered > > Link state changed to up > > igb0: link state changed to UP > > Link state changed to up > > igb1: link state changed to UP > > igb1.100: link state changed to UP > > igb1.2: link state changed to UP > > igb1.66: link state changed to UP > > igb1.111: link state changed to UP > > igb1.10: link state changed to UP > > tun0: link state changed to UP > > link state changed to down > > igb0: link state changed to DOWN > > Bump sched buckets to 64 (was 0) > > Link state changed to up > > > > > > Fatal trap 12: page fault while in kernel mode > > cpuid =3D 0; apic id =3D 00 > > fault virtual address =3D 0xfffff80012231600 > > fault code =3D supervisor read instruction, protection vio= lation > > instruction pointer =3D 0x20:0xfffff80012231600 > > stack pointer =3D 0x28:0xfffffe012cdc1f58 > > frame pointer =3D 0x28:0xfffffe012cdc1fc0 > > code segment =3D base 0x0, limit 0xfffff, type 0x1b > > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > > current process =3D 941 (syslogd) > > trap number =3D 12 > > panic: page fault > > cpuid =3D 1 > > time =3D 1492182471 > > Uptime: 16s > > PCEngines apu2 > > coreboot build 20160311 =20 >=20 > At a minimum, you need to include a backtrace with a bug report like this. >=20 > -Alan Just sent a PR: Bug 218663 and added the backtrace as required: [...] Link state changed to up Kernel page fault with the following non-sleepable locks held: shared rw bpf interface lock (bpf interface lock) r =3D 0 (0xfffff80002ff40= 28) locked @ /pool/sources/CURRENT/src/sys/net/bpf.c:2206 shared rw udpinp (udpinp) r = =3D 0 (0xfffff800127f5c98) locked @ /pool/sources/CURRENT/src/sys/netinet/udp_usr= req.c:1140 stack backtrace: #0 0xffffffff80641960 at witness_debugger+0x70 #1 0xffffffff80642d8e at witness_warn+0x45e #2 0xffffffff8096f563 at trap_pfault+0x53 #3 0xffffffff8096ed5e at trap+0x24e #4 0xffffffff80952ce3 at calltrap+0x8 #5 0xffffffff806fc253 at iflib_txq_drain+0x1383 #6 0xffffffff806feda0 at drain_ring_lockless+0xc0 #7 0xffffffff806feb6e at ifmp_ring_enqueue+0x32e #8 0xffffffff806fda90 at iflib_if_transmit+0xb0 #9 0xffffffff806dfb00 at ether_output+0x730 #10 0xffffffff80761ae6 at arprequest+0x426 #11 0xffffffff80761f41 at arpresolve_full+0x3d1 #12 0xffffffff807621ac at arpresolve+0x10c #13 0xffffffff806df8b1 at ether_output+0x4e1 #14 0xffffffff80785c36 at ip_output+0x14e6 #15 0xffffffff8080ddd1 at udp_send+0xab1 #16 0xffffffff80676c44 at sosend_dgram+0x3e4 #17 0xffffffff8067d3a9 at kern_sendit+0x229 Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0xfffff8001282fb00 fault code =3D supervisor read instruction, protection violati= on instruction pointer =3D 0x20:0xfffff8001282fb00 stack pointer =3D 0x28:0xfffffe012d2aef48 frame pointer =3D 0x28:0xfffffe012d2aefb0 code segment =3D base rx0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 941 (syslogd) [ thread pid 941 tid 100084 ] Stopped at 0xfffff8001282fb00 db> bt Tracing pid 941 tid 100084 td 0xfffff80004520000 ??() at 0xfffff8001282fb00 bpf_mtap() at bpf_mtap+0x1ab/frame 0xfffffe012d2aefb0 iflib_txq_drain() at iflib_txq_drain+0x1383/frame 0xfffffe012d2af130 drain_ring_lockless() at drain_ring_lockless+0xc0/frame 0xfffffe012d2af190 ifmp_ring_enqueue() at ifmp_ring_enqueue+0x32e/frame 0xfffffe012d2af200 iflib_if_transmit() at iflib_if_transmit+0xb0/frame 0xfffffe012d2af240 ether_output() at ether_output+0x730/frame 0xfffffe012d2af2e0 arprequest() at arprequest+0x426/frame 0xfffffe012d2af3e0 arpresolve_full() at arpresolve_full+0x3d1/frame 0xfffffe012d2af460 arpresolve() at arpresolve+0x10c/frame 0xfffffe012d2af4d0 ether_output() at ether_output+0x4e1/frame 0xfffffe012d2af570 ip_output() at ip_output+0x14e6/frame 0xfffffe012d2af6b0 udp_send() at udp_send+0xab1/frame 0xfffffe012d2af780 sosend_dgram() at sosend_dgram+0x3e4/frame 0xfffffe012d2af7f0 kern_sendit() at kern_sendit+0x229/frame 0xfffffe012d2af890 sendit() at sendit+0x1a7/frame 0xfffffe012d2af8e0 sys_sendto() at sys_sendto+0x4d/frame 0xfffffe012d2af930 amd64_syscall() at amd64_syscall+0x4c2/frame 0xfffffe012d2afab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe012d2afab0 syscall (133, FreeBSD ELF64, sys_sendto), rip =3D 0x800b8a5fa, rsp =3D 0x7f= ffffffd6b8, rbp =3D 0x7fffffffdcc0 --- --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/CXaekI.U9YSFnFWM1jqm6cC Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWPD/swAKCRDS528fyFhY lBGUAf0bsNI9FE6wgFfSSVLuHG7hbwzy9SJ9ZHwwYE9yHBFNUDxXJN1UPjBJ9nD8 C6l9Jbb8wqJetJvwXLJFd/SrEvvkAf4rPuZc1sZ2mt2KgeJ8T0mPQtbj+FSCID3W JNoi7ripcHm04AIyTQFVHAbWQxrcYD2hWrn/Hl4Pai3rLlwaPBn/ =KLgQ -----END PGP SIGNATURE----- --Sig_/CXaekI.U9YSFnFWM1jqm6cC--