[Bug 262894] Kernel Panic (page fault) with 13.1-BETA2 in g_eli & httpd

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Mar 2022 21:33:15 UTC

--- Comment #5 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Krautmaster from comment #4)
Let's focus on the GELI panic first.  The fault address is 0xfffff80e00000004,
which is in the direct map range, but with 32GB of RAM the direct map should
end roughly at 0xfffff80800000000.  Maybe there is some large discontiguity.

Some questions:
- Which HBA driver is used?
- Can you please attach output from "sysctl vm.pmap.kernel_maps"?
- Do any of your GELI volumes use authentication?  "geli list | grep
AuthenticationAlgorithm" will print some output if so.  If not, please try the
patch below.

diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c
index 4978523cbebe..9698cb2fdbc8 100644
--- a/sys/geom/eli/g_eli.c
+++ b/sys/geom/eli/g_eli.c
@@ -1137,6 +1137,7 @@ g_eli_create(struct gctl_req *req, struct g_class *mp,
struct g_provider *bpp,
        pp = g_new_providerf(gp, "%s%s", bpp->name, G_ELI_SUFFIX);
        pp->flags |= G_PF_DIRECT_SEND | G_PF_DIRECT_RECEIVE;
+#if 0
        if (CRYPTO_HAS_VMPAGE) {
                 * On DMAP architectures we can use unmapped I/O.  But don't
@@ -1146,6 +1147,7 @@ g_eli_create(struct gctl_req *req, struct g_class *mp,
struct g_provider *bpp,
                 if ((sc->sc_flags & G_ELI_FLAG_AUTH) == 0)
                        pp->flags |= G_PF_ACCEPT_UNMAPPED;
        pp->mediasize = sc->sc_mediasize;
        pp->sectorsize = sc->sc_sectorsize;
        LIST_FOREACH(gap, &bpp->aliases, ga_next)

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