From owner-freebsd-arm@freebsd.org Wed Sep 6 18:25:39 2017 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 B0055E0FF4D for ; Wed, 6 Sep 2017 18:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 923E58134D for ; Wed, 6 Sep 2017 18:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v86IPdiJ028510 for ; Wed, 6 Sep 2017 18:25:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 222107] ifconfig down / up panics the kernel Date: Wed, 06 Sep 2017 18:25:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: heinz@project-fifo.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 18:25:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222107 Bug ID: 222107 Summary: ifconfig down / up panics the kernel Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: heinz@project-fifo.net when running ifconfig down em0 following by ifconfig up em0 the kernel pani= cs: root@thunderx:~ # ifconfig em0 up link state changed to down Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex em0 (iflib ctx lock) r =3D 0 (0xfffffd00041f2d40) loc= ked @ /usr/src/sys/net/iflib.c:3636 stack backtrace: #0 0xffff00000036d390 at witness_debugger+0x64 #1 0xffff00000036e6a0 at witness_warn+0x3fc #2 0xffff0000005fcb3c at data_abort+0xe0 #3 0xffff0000005fc968 at do_el1h_sync+0xfc #4 0xffff0000005e5874 at handle_el1h_sync+0x74 #5 0xffff00000040e9e0 at _iflib_fl_refill+0x370 #6 0xffff00000040e9e0 at _iflib_fl_refill+0x370 #7 0xffff00000040a770 at iflib_init_locked+0x3e0 #8 0xffff00000040f51c at iflib_if_ioctl+0x724 #9 0xffff0000003f6830 at ifioctl+0x1260 #10 0xffff000000372d28 at kern_ioctl+0x358 #11 0xffff000000372980 at sys_ioctl+0x158 #12 0xffff0000005fd548 at do_el0_sync+0x898 #13 0xffff0000005e59f4 at handle_el0_sync+0x74 x0: fffffd000434ce00 x1: fffffd0004155200 x2: 1 x3: 0 x4: 0 x5: 0 x6: 0 x7: ffff0006237765dc x8: 10 x9: ffff0000005e2524 x10: 100000000 x11: ffff000000a949d8 x12: 1 x13: fffffd00041f2d40 x14: ffff000040687e80 x15: ffff00000085a078 x16: 6caa9fec x17: 3bb1bdac x18: ffff0006237765a0 x19: deadc0dedeadc0de x20: fffffd0004155200 x21: fffffd000434ce00 x22: 0 x23: 1 x24: 0 x25: fffffd00bff92000 x26: 0 x27: ffff0000419ea000 x28: 0 x29: ffff000623776610 sp: ffff0006237765a0 lr: ffff00000040e9e4 elr: ffff0000005e2584 spsr: 80000345 far: deadc0dedeadc10e esr: 96000004 panic: data abort in critical section or under mutex cpuid =3D 29 time =3D 1504643295 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc =3D 0xffff0000005e3ab8 lr =3D 0xffff000000087228 sp =3D 0xffff000623775fc0 fp =3D 0xffff0006237761d0 db_trace_self_wrapper() at vpanic+0x184 pc =3D 0xffff000000087228 lr =3D 0xffff00000030fd84 sp =3D 0xffff0006237761e0 fp =3D 0xffff000623776260 vpanic() at panic+0x44 pc =3D 0xffff00000030fd84 lr =3D 0xffff00000030fe0c sp =3D 0xffff000623776270 fp =3D 0xffff0006237762f0 panic() at data_abort+0x250 pc =3D 0xffff00000030fe0c lr =3D 0xffff0000005fccac sp =3D 0xffff000623776300 fp =3D 0xffff0006237763b0 data_abort() at do_el1h_sync+0xfc pc =3D 0xffff0000005fccac lr =3D 0xffff0000005fc968 sp =3D 0xffff0006237763c0 fp =3D 0xffff0006237763f0 do_el1h_sync() at handle_el1h_sync+0x74 pc =3D 0xffff0000005fc968 lr =3D 0xffff0000005e5874 sp =3D 0xffff000623776400 fp =3D 0xffff000623776510 handle_el1h_sync() at _iflib_fl_refill+0x370 pc =3D 0xffff0000005e5874 lr =3D 0xffff00000040e9e0 sp =3D 0xffff000623776520 fp =3D 0xffff000623776610 _iflib_fl_refill() at _iflib_fl_refill+0x370 pc =3D 0xffff00000040e9e0 lr =3D 0xffff00000040e9e0 sp =3D 0xffff000623776620 fp =3D 0xffff0006237766e0 _iflib_fl_refill() at iflib_init_locked+0x3e0 pc =3D 0xffff00000040e9e0 lr =3D 0xffff00000040a770 sp =3D 0xffff0006237766f0 fp =3D 0xffff000623776750 iflib_init_locked() at iflib_if_ioctl+0x724 pc =3D 0xffff00000040a770 lr =3D 0xffff00000040f51c sp =3D 0xffff000623776760 fp =3D 0xffff0006237767b0 iflib_if_ioctl() at ifioctl+0x1260 pc =3D 0xffff00000040f51c lr =3D 0xffff0000003f6830 sp =3D 0xffff0006237767c0 fp =3D 0xffff000623776860 ifioctl() at kern_ioctl+0x358 pc =3D 0xffff0000003f6830 lr =3D 0xffff000000372d28 sp =3D 0xffff000623776870 fp =3D 0xffff0006237768c0 kern_ioctl() at sys_ioctl+0x158 pc =3D 0xffff000000372d28 lr =3D 0xffff000000372980 sp =3D 0xffff0006237768d0 fp =3D 0xffff0006237769a0 sys_ioctl() at do_el0_sync+0x898 pc =3D 0xffff000000372980 lr =3D 0xffff0000005fd548 sp =3D 0xffff0006237769b0 fp =3D 0xffff000623776a70 do_el0_sync() at handle_el0_sync+0x74 pc =3D 0xffff0000005fd548 lr =3D 0xffff0000005e59f4 sp =3D 0xffff000623776a80 fp =3D 0xffff000623776b90 handle_el0_sync() at 0x21ea8 pc =3D 0xffff0000005e59f4 lr =3D 0x0000000000021ea8 sp =3D 0xffff000623776ba0 fp =3D 0x0000ffffffffe320 KDB: enter: panic [ thread pid 845 tid 100347 ] Stopped at bounce_bus_dmamap_sync+0x60: ldr x19, [x19, #48] --=20 You are receiving this mail because: You are the assignee for the bug.=