From owner-freebsd-bugs@freebsd.org Sat Oct 20 20:38:26 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 EC26BFF4E19 for ; Sat, 20 Oct 2018 20:38:25 +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 8980A86E46 for ; Sat, 20 Oct 2018 20:38:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4B4F6FF4E18; Sat, 20 Oct 2018 20:38:25 +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 29B0CFF4E17 for ; Sat, 20 Oct 2018 20:38:25 +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.2 with cipher ECDHE-RSA-AES256-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 BF30686E45 for ; Sat, 20 Oct 2018 20:38:24 +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 18B691BAF7 for ; Sat, 20 Oct 2018 20:38:24 +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 w9KKcNZw035272 for ; Sat, 20 Oct 2018 20:38:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9KKcNQP035270 for bugs@FreeBSD.org; Sat, 20 Oct 2018 20:38:23 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 232489] [gvinum] Fails to properly unregister geom consumer Date: Sat, 20 Oct 2018 20:38:24 +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: noah.bergbauer@tum.de 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-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: Sat, 20 Oct 2018 20:38:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232489 Bug ID: 232489 Summary: [gvinum] Fails to properly unregister geom consumer Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: noah.bergbauer@tum.de I just removed a drive from gvinum, then stopped/unloaded geom_vinum.ko. Af= ter that I resized the partition that used to be the drive. Kernel panic. Crashdump: Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0x8 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff805aec9e stack pointer =3D 0x28:0xfffffe0f77d419e0 frame pointer =3D 0x28:0xfffffe0f77d419f0 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 13 (g_event) trap number =3D 12 panic: page fault cpuid =3D 2 KDB: stack backtrace: #0 0xffffffff806a5e27 at kdb_backtrace+0x67 #1 0xffffffff80663a16 at vpanic+0x186 #2 0xffffffff80663883 at panic+0x43 #3 0xffffffff809a4362 at trap_fatal+0x322 #4 0xffffffff809a43b9 at trap_pfault+0x49 #5 0xffffffff809a3bf6 at trap+0x286 #6 0xffffffff80989bd1 at calltrap+0x8 #7 0xffffffff805b6f71 at g_resize_provider_event+0x71 #8 0xffffffff805b2576 at g_run_events+0x256 #9 0xffffffff806274b5 at fork_exit+0x85 #10 0xffffffff8098a10e at fork_trampoline+0xe >From this I would guess that after gpart performed the resize, it attempted= to notify gvinum about the change. But geom_vinum.ko is gone =3D> kernel panic (not very familiar with the kernel, sorry if I got some terminology wrong) --=20 You are receiving this mail because: You are the assignee for the bug.=