Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2024 16:21:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko
Message-ID:  <bug-267028-3630-H8NprVxYhB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267028-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267028-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267028

--- Comment #346 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to George Mitchell from comment #344)

You might want to adjust the text of the panic as well,
so that the wording does not mislead folks reading what
is reported by the panic: no longer suggest the
condition's status.

It looks to me like the code:

        if ((frame->tf_rflags & PSL_I) =3D=3D 0) {
                /*
                 * Buggy application or kernel code has disabled
                 * interrupts and then trapped.  Enabling interrupts
                 * now is wrong, but it is better than running with
                 * interrupts disabled until they are accidentally
                 * enabled later.
                 */
. . .

would still happen and do:

                        default:
                                printf(
                                    "kernel trap %d with interrupts
disabled\n",
                                    type);

                                /*
                                 * We shouldn't enable interrupts while hol=
ding
a
                                 * spin lock.
                                 */
                                if (td->td_md.md_spinlock_count =3D=3D 0)
                                        enable_intr();

It might be that Andriy was suggesting avoiding parts
of this in some way.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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