[Bug 232489] [gvinum] Fails to properly unregister geom consumer

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 20 20:38:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232489

            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 at FreeBSD.org
          Reporter: noah.bergbauer at tum.de

I just removed a drive from gvinum, then stopped/unloaded geom_vinum.ko. After
that I resized the partition that used to be the drive. Kernel panic.
Crashdump:


Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x8
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff805aec9e
stack pointer           = 0x28:0xfffffe0f77d419e0
frame pointer           = 0x28:0xfffffe0f77d419f0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 13 (g_event)
trap number             = 12
panic: page fault
cpuid = 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 => kernel panic


(not very familiar with the kernel, sorry if I got some terminology wrong)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list