From nobody Fri Aug 9 16:55:20 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WgVQd4WnLz5SPtG for ; Fri, 09 Aug 2024 16:55:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WgVQd23k3z3y0c for ; Fri, 9 Aug 2024 16:55:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723222521; a=rsa-sha256; cv=none; b=Ykw18N+cQKBeerOUQDlTgNXlnZnyynYwCLrglwORlLlgVByU2lRjO69qsHXYqq60xue3lT kUe1SkMHo+CTPMSlNQHnYkcZIRkbEJQl9A42lCanaprBOhOTzDciiUVHXdpOFgVK6iFBuV pUhNYR4+2MGnMKoR5TpOFDTfwAMn4wStTR01fjFFTkLtPMGdX8rCABX7Gl06J/Zdxuuf+M l2gOuo4nBXuGbzQjPeFmoNL8dBLb1t/WW9iLcJ3PAMSJJcR8O6abQhL8eT+N1s6OJU6GYG NwuCgROM/Y41+g4WHQ1rwlWB7bd6oQgxnKOAFdoxv8JrOt4NBQ7nlSfkyGsn/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723222521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=24RnKp7k/VjrOjy0lEUUNkHtPmpN8reuoxUvPZATL4k=; b=yJDWDvAhaACKV7c0ww8GdIoy5v2K2/yOnr+8mn4uw0h5VKlK9G92lSuPF9yXZBj3qY5FDp 6VKzsKNfrrLKqCZb4eEwAo4zeReLGiFQa/bZsx+KpII3UWykpD4Sod9zYoyCZZ1K0K08Xy wXLzfVO+mjZkyCv9unWbMYvjzTtdG1LKxBGEcz46bXkv32IrS35Ds7TQs+KsCjFAchtdHa KOHBIvG4lm+Z6H2ps6mhix5ygH+lluHj9DkkaACE/FgnKwwPxp0qTIkKJGQ+8ZnQihcMzL x1B28i60l4RoS1nD5n30ISKe28vL9WE0bcmM8zIcm8fmICpC9sKnjcPpaXhZdg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WgVQd1YdFzPNP for ; Fri, 9 Aug 2024 16:55:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 479GtLOJ047408 for ; Fri, 9 Aug 2024 16:55:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 479GtLo0047407 for bugs@FreeBSD.org; Fri, 9 Aug 2024 16:55:21 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 280714] Kernel panic when unloading hms with hms disabled in device.hints Date: Fri, 09 Aug 2024 16:55:20 +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: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: megamansec@gmail.com 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 attachments.created 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280714 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=3D252631&action= =3Dedit 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=3D"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. --=20 You are receiving this mail because: You are the assignee for the bug.=