Summary: | [geom_journal] panic unloading geom_journal driver | ||
---|---|---|---|
Product: | Base System | Reporter: | Alfredo Dal'Ava Junior <alfredo> |
Component: | kern | Assignee: | Mark Johnston <markj> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | luporl, markj |
Priority: | --- | Keywords: | crash |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Alfredo Dal'Ava Junior
![]() ![]() Not PPC-specific, I was able to reproduce on x86: testvm# for x in geom_* ; do kldunload $x ; done kldunload: can't find file geom_bde.ko kldunload: can't find file geom_cache.ko kldunload: can't find file geom_ccd.ko kldunload: can't find file geom_concat.ko kldunload: can't find file geom_eli.ko kldunload: can't find file geom_flashmap.ko panic: Assertion g_journal_switcher_proc != NULL failed at /usr/home/conrad/src/freebsd/sys/geom/journal/g_journal.c:2970 cpuid = 0 time = 1578511869 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00176048e0 vpanic() at vpanic+0x17e/frame 0xfffffe0017604940 panic() at panic+0x43/frame 0xfffffe00176049a0 g_journal_fini() at g_journal_fini+0x15a/frame 0xfffffe00176049c0 g_modevent() at g_modevent+0x2c5/frame 0xfffffe0017604a00 module_unload() at module_unload+0x32/frame 0xfffffe0017604a20 linker_file_unload() at linker_file_unload+0x24b/frame 0xfffffe0017604a80 kern_kldunload() at kern_kldunload+0x10d/frame 0xfffffe0017604ac0 amd64_syscall() at amd64_syscall+0x2d6/frame 0xfffffe0017604bf0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0017604bf0 --- syscall (444, FreeBSD ELF64, sys_kldunloadf), rip = 0x8002da60a, rsp = 0x7fffffffd1e8, rbp = 0x7fffffffda40 --- A commit references this bug: Author: markj Date: Fri Apr 3 13:57:42 UTC 2020 New revision: 359595 URL: https://svnweb.freebsd.org/changeset/base/359595 Log: geom_journal: Only stop the switcher process if one was started. PR: 243196 MFC after: 1 week Changes: head/sys/geom/journal/g_journal.c A commit references this bug: Author: markj Date: Fri Apr 10 01:23:06 UTC 2020 New revision: 359765 URL: https://svnweb.freebsd.org/changeset/base/359765 Log: MFC r359595: geom_journal: Only stop the switcher process if one was started. PR: 243196 Changes: _U stable/12/ stable/12/sys/geom/journal/g_journal.c Thanks for the report. |