Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 13:21:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241639] Fatal trap 12: page fault ... current process = 0 (vmbusdev) when using mlx4en
Message-ID:  <bug-241639-227-DE7NXpGDfF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241639-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241639-227@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=3D241639

--- Comment #34 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Can you try this patch and get those prints off the DMESG?

Maybe some memory is not zero-initialized ...

--HPS

diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 6dc21886066..89b575b0ab7 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1066,6 +1066,9 @@ kern_kldload(struct thread *td, const char *file, int
*fileid)
        if ((error =3D priv_check(td, PRIV_KLD_LOAD)) !=3D 0)
                return (error);

+       printf("TD_PROC=3D%p\n", td->td_proc);
+       printf("P_FD=3D%p\n", td->td_proc->p_fd);
+
        /*
         * It is possible that kldloaded module will attach a new ifnet,
         * so vnet context must be set when this ocurs.

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



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