Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2024 01:21:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279939] sysutils/pefs-kmod causes panic when module is loaded
Message-ID:  <bug-279939-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 279939
           Summary: sysutils/pefs-kmod causes panic when module is loaded
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: billblake2018@gmail.com
                CC: darius@dons.net.au
             Flags: maintainer-feedback?(darius@dons.net.au)
                CC: darius@dons.net.au

I just did a fresh install of 14.1 and attempted to kldload the pefs module=
.  I
got the following panic:

Fatal trap 18: integer divide fault while in kernel mode
cpuid =3D 2; apic id =3D 02
instruction pointer   =3D 0x20:0xffffffff8080b7a4
stack pointer         =3D 0x28:0xfffffe00848337c0
frame pointer         =3D 0x28:0xfffffe0084833860
code segment          =3D base 0x0, limit 0xfffff, type 0x1b
                      =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags      =3D interrupt enabled, resume, IOPL =3D 0
current process               =3D 27 (kldload)
rdi: 0000000000000000 rsi: 0000000000000000 rdx: 0000000000000000
rcx: 0000000000000000  r8: 0000000000200000  r9: 0000000000000000
rax: 00000000fffffbe0 rbx: 0000000000000000 rbp: fffffe0084833860
r10: 0000000000000000 r11: 3ffffffffffffff8 r12: 00000000fffffc00
r13: 0000000000000000 r14: 0000000000000000 r15: 1ffffffffffffff8
trap number           =3D 18
panic: integer divide fault
cpuid =3D 2
time =3D 1719189798

The last pefs statement executed was in
sys/fs/pefs/pefs_crypto.c:pefs_crypto_init().  The first statement of that
function is:

pefs_ctx_zone =3D uma_zcreate("pefs_ctx", sizeof(struct pefs_ctx), NULL,
pefs_zone_dtor_bzero, NULL, NULL, UMA_ALIGN_CACHE, 0);

I put prints before and after that statement; the before printed, the after=
 did
not.

The pefs source apparently did not change between 14.0 and 14.1, and this p=
anic
did not happen on 14.0.

--=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-279939-7788>