Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2018 20:38:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232489] [gvinum] Fails to properly unregister geom consumer
Message-ID:  <bug-232489-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232489-227>