[Bug 280714] Kernel panic when unloading hms with hms disabled in device.hints
Date: Fri, 09 Aug 2024 16:55:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280714
Bug ID: 280714
Summary: Kernel panic when unloading hms with hms disabled in
device.hints
Product: Base System
Version: 13.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: megamansec@gmail.com
Created attachment 252631
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252631&action=edit
crash core.txt
This is a bit of a non-major-issue, but I thought Iwould report it:
I noticed that if the hms driver is disabled in device.hints:
hint.hms.0.disabled="1"
the hms module is loaded anyways. When then unloading the module in the
cmdline, the kernel crashes:
#0 0xffffffff80c529d5 at kdb_backtrace+0x65
#1 0xffffffff80c063f2 at vpanic+0x152
#2 0xffffffff80c06293 at panic+0x43
#3 0xffffffff810c606d at trap_fatal+0x38d
#4 0xffffffff810c60bf at trap_pfault+0x4f
#5 0xffffffff8109ceb8 at calltrap+0x8
#6 0xffffffff80c16e41 at sysctl_root_handler_locked+0x91
#7 0xffffffff80c16264 at sysctl_root+0x244
#8 0xffffffff80c168f6 at userland_sysctl+0x176
#9 0xffffffff80c16740 at sys___sysctl+0x60
#10 0xffffffff810c6940 at amd64_syscall+0x110
#11 0xffffffff8109d7cb at fast_syscall_common+0xf
I have attached a core.txt.
--
You are receiving this mail because:
You are the assignee for the bug.