Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2024 22:32:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276426] amd64: microcode update caused a page fault trying to send data to the logger
Message-ID:  <bug-276426-227-R0NIPPDptO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276426-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #11 from John F. Carr <jfc@mit.edu> ---
The stack trace goes through line 759 in trap.c.  In my code that is the if
statement here:

                if (td->td_critnest != 0 ||
                    WITNESS_CHECK(WARN_SLEEPOK | WARN_GIANTOK, NULL,
                    "Kernel page fault") != 0) {
                        trap_fatal(frame, eva);
                        return (-1);
                }
That prompted me to check td->td_critnest.  The WITNESS_CHECK should return 0.
I have WITNESS disabled.  I have INVARIANTS enabled.  Otherwise my kernel is
GENERIC.

Could we be getting a page fault handling a page fault?  I don't know if that
can be reconciled with the stack.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276426-227-R0NIPPDptO>