From owner-freebsd-bugs@freebsd.org Wed Nov 28 19:22:53 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E3E4113AEFE for ; Wed, 28 Nov 2018 19:22:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BF9F984D8E for ; Wed, 28 Nov 2018 19:22:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 14F61113AE8B; Wed, 28 Nov 2018 19:22:38 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 007C1113AE86 for ; Wed, 28 Nov 2018 19:22:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B50BE84C1D for ; Wed, 28 Nov 2018 19:22:20 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 35C2A194DE for ; Wed, 28 Nov 2018 19:22:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wASJMDlu072797 for ; Wed, 28 Nov 2018 19:22:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wASJMDGt072796 for bugs@FreeBSD.org; Wed, 28 Nov 2018 19:22:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233617] kldunload if_ix could crash system in iflib Date: Wed, 28 Nov 2018 19:22:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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-Rspamd-Queue-Id: BF9F984D8E X-Spamd-Result: default: False [1.80 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.62)[0.618,0]; NEURAL_SPAM_MEDIUM(0.68)[0.676,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.50)[0.502,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2018 19:22:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233617 Bug ID: 233617 Summary: kldunload if_ix could crash system in iflib Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lev@FreeBSD.org I need to load and unload if_ix.ko due to its problems (PR233114). After several unloads and loads system crashes with: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x64 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff805e504d stack pointer =3D 0x28:0xfffffe00402f5790 frame pointer =3D 0x28:0xfffffe00402f57a0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 10 (idle: cpu0) trap number =3D 12 panic: page fault cpuid =3D 0 time =3D 1543431661 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00402f5= 440 vpanic() at vpanic+0x1a3/frame 0xfffffe00402f54a0 panic() at panic+0x43/frame 0xfffffe00402f5500 trap_fatal() at trap_fatal+0x35f/frame 0xfffffe00402f5550 trap_pfault() at trap_pfault+0x49/frame 0xfffffe00402f55b0 trap() at trap+0x29e/frame 0xfffffe00402f56c0 calltrap() at calltrap+0x8/frame 0xfffffe00402f56c0 --- trap 0xc, rip =3D 0xffffffff805e504d, rsp =3D 0xfffffe00402f5790, rbp = =3D 0xfffffe00402f57a0 --- grouptaskqueue_enqueue() at grouptaskqueue_enqueue+0xd/frame 0xfffffe00402f= 57a0 iflib_fast_intr() at iflib_fast_intr+0x33/frame 0xfffffe00402f57c0 intr_event_handle() at intr_event_handle+0xbe/frame 0xfffffe00402f5810 intr_execute_handlers() at intr_execute_handlers+0x58/frame 0xfffffe00402f5= 840 lapic_handle_intr() at lapic_handle_intr+0x44/frame 0xfffffe00402f5860 Xapic_isr1() at Xapic_isr1+0xd9/frame 0xfffffe00402f5860 --- interrupt, rip =3D 0xffffffff8037699c, rsp =3D 0xfffffe00402f5930, rbp = =3D 0xfffffe00402f5970 --- acpi_cpu_idle() at acpi_cpu_idle+0x2bc/frame 0xfffffe00402f5970 cpu_idle_acpi() at cpu_idle_acpi+0x3f/frame 0xfffffe00402f5990 cpu_idle() at cpu_idle+0xa7/frame 0xfffffe00402f59b0 sched_idletd() at sched_idletd+0x515/frame 0xfffffe00402f5a70 fork_exit() at fork_exit+0x83/frame 0xfffffe00402f5ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00402f5ab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- Uptime: 3h26m47s Dumping 935 out of 8144 MB:..2%..11%..21%..31%..42%..52%..62%..71%..81%..91% --=20 You are receiving this mail because: You are the assignee for the bug.=