From nobody Wed Sep 14 08:17:53 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MSCrK5s7bz4cgYS for ; Wed, 14 Sep 2022 08:17:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MSCrK30S6z3TXQ for ; Wed, 14 Sep 2022 08:17:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MSCrK1mJdzcRQ for ; Wed, 14 Sep 2022 08:17:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28E8HrTW048212 for ; Wed, 14 Sep 2022 08:17:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28E8HrNS048211 for bugs@FreeBSD.org; Wed, 14 Sep 2022 08:17:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266409] 13.1-RELEASE amd64 repeated kernel panic Date: Wed, 14 Sep 2022 08:17:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 000.fbsd@quip.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663143473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gMyI1LUfp8aT54DhGNqXykI/E/45ESqePV832kb9+QM=; b=u6L5oDs5DSbikb8IoOD1c7kG1hvYhnHPJ0UVh9e3qpWgAH9/8cgGMLMd4Cw9tM4TyhIFz5 3JKFoJ8qUihO3hsp5Z3DYR7rIGhTYW01SO7RJg0M/q+rheiH9+NQH+JJFt3Upa0DycP32j fdjHlpgwCaIAXP/M2iqlb8J98YHMPX8Hax+R3Lxawh/bZX7PE5idQjccHH9NkZV89yY/fs c9PTPGKF15DfrbF2IQYvU2suH/maJ5BETMGPVYVD/rAm51vLPmvp8DqJt9E5cIC1alywLX jkzBPFrdkkG58UYb7+wdWDjX18Bx4Ftwl1849ROcZOOd+cgI+SO1YkLwmU92QQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663143473; a=rsa-sha256; cv=none; b=gmjI2R+Oc3n2WmGO1FLK+A+AE7Es1/v2lDVxQJ3eIGAJ6kp2WROWwCIRUovzAL/If0CHB/ MUCepHd1Rn0U1i584PvCaSerN8QAd85Ku8g1JjJwOEvbH6AtouAQZSFQDBkMjf68nxj3z7 smLGcWeUlDVd/GZdgM0DPjyDgtRx79ED23V1dsAsepgo0FvPpRYbwB/VgvCc93vj3T8qQn AXyfdxHnaXI1bZ9pyez1r5DnqJ80BZdBKfGRc9NlASCRQB0eteYEGpdyqVjBNsnb2UBUuj a4B6btBkuOm8jmWQ8J6UAQca9pq2xqiamNd5ELB877gR6PR3AmPH95dT/6pGDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266409 Bug ID: 266409 Summary: 13.1-RELEASE amd64 repeated kernel panic Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: 000.fbsd@quip.cz Created attachment 236548 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236548&action= =3Dedit core.txt.9 I am running desktop with KDE Plasma on FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64. It was updated few month ago and running without any problem until 4 days ago. Then there was many instant reboots in a couple minutes. I found kernel pan= ic in /var/log/messages. I configured dumpdevice to catch some more informatio= n. Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 04 fault virtual address =3D 0xf3 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff8225173e stack pointer =3D 0x28:0xfffffe00a3cfac30 frame pointer =3D 0x28:0xfffffe00a3cfac50 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 0 (arc_prune) trap number =3D 12 panic: page fault cpuid =3D 2 time =3D 1663139603 KDB: stack backtrace: #0 0xffffffff80c69465 at kdb_backtrace+0x65 #1 0xffffffff80c1bb1f at vpanic+0x17f #2 0xffffffff80c1b993 at panic+0x43 #3 0xffffffff810afdf5 at trap_fatal+0x385 #4 0xffffffff810afe4f at trap_pfault+0x4f #5 0xffffffff81087528 at calltrap+0x8 #6 0xffffffff821ae7aa at zfs_zinactive+0xca #7 0xffffffff821a8458 at zfs_freebsd_reclaim+0x38 #8 0xffffffff8117e09f at VOP_RECLAIM_APV+0x1f #9 0xffffffff80cf8c72 at vgonel+0x342 #10 0xffffffff80cf4d47 at vnlru_free_impl+0x2f7 #11 0xffffffff80cf4a01 at vnlru_free_vfsops+0x41 #12 0xffffffff821d5c8b at arc_prune_task+0x4b #13 0xffffffff82187a0f at taskq_run+0x1f #14 0xffffffff80c7da41 at taskqueue_run_locked+0x181 #15 0xffffffff80c7ed52 at taskqueue_thread_loop+0xc2 #16 0xffffffff80bd8a5e at fork_exit+0x7e #17 0xffffffff8108859e at fork_trampoline+0xe Uptime: 24m32s Dumping 2455 out of 12189 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c1b71c in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c1bb8e in vpanic (fmt=3D0xffffffff811b4fb9 "%s",=20 ap=3D) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c1b993 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff810afdf5 in trap_fatal (frame=3D0xfffffe00a3cfab70, eva=3D243) at /usr/src/sys/amd64/amd64/trap.c:944 #6 0xffffffff810afe4f in trap_pfault (frame=3D0xfffffe00a3cfab70,=20 usermode=3Dfalse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:763 #7 #8 sa_handle_destroy (hdl=3D0x3) at /usr/src/sys/contrib/openzfs/module/zfs/sa.c:1368 #9 0xffffffff821ae7aa in zfs_znode_dmu_fini (zp=3D0xfffff80166b661d8) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c:390 #10 zfs_zinactive (zp=3Dzp@entry=3D0xfffff80166b661d8) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c:1267 #11 0xffffffff821a8458 in zfs_freebsd_reclaim (ap=3D) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c:51= 88 #12 0xffffffff8117e09f in VOP_RECLAIM_APV ( vop=3D0xffffffff82465340 , a=3Da@entry=3D0xfffffe00a3cfac= f0) at vnode_if.c:2180 #13 0xffffffff80cf8c72 in VOP_RECLAIM (vp=3D0xfffff8003ad81b70) at ./vnode_if.h:1087 #14 vgonel (vp=3Dvp@entry=3D0xfffff8003ad81b70) at /usr/src/sys/kern/vfs_subr.c:4144 #15 0xffffffff80cf4d47 in vtryrecycle (vp=3D0xfffff8003ad81b70) at /usr/src/sys/kern/vfs_subr.c:1694 #16 vnlru_free_impl (count=3D5737, count@entry=3D10000,=20 mnt_op=3Dmnt_op@entry=3D0xffffffff82465198 ,=20 mvp=3Dmvp@entry=3D0xfffff800038eb000) at /usr/src/sys/kern/vfs_subr.c:1= 331 #17 0xffffffff80cf4a01 in vnlru_free_vfsops (count=3Dcount@entry=3D10000,=20 mnt_op=3D0xffffffff82465198 , mvp=3D0xfffff800038eb000) at /usr/src/sys/kern/vfs_subr.c:1355 #18 0xffffffff821d5c8b in arc_prune_task (arg=3D0x2710) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/arc_os.c:166 #19 0xffffffff82187a0f in taskq_run (arg=3D0xfffff8014f2cde40,=20 pending=3D-1546670864) at /usr/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_taskq.c:315 #20 0xffffffff80c7da41 in taskqueue_run_locked ( queue=3Dqueue@entry=3D0xfffff80003d6bc00) at /usr/src/sys/kern/subr_taskqueue.c:477 #21 0xffffffff80c7ed52 in taskqueue_thread_loop (arg=3D,=20 arg@entry=3D0xfffff80004bdfa50) at /usr/src/sys/kern/subr_taskqueue.c:7= 94 #22 0xffffffff80bd8a5e in fork_exit ( callout=3D0xffffffff80c7ec90 ,=20 arg=3D0xfffff80004bdfa50, frame=3D0xfffffe00a3cfaf40) at /usr/src/sys/kern/kern_fork.c:1093 #23 #24 mi_startup () at /usr/src/sys/kern/init_main.c:322 #25 0xffffffff80f79189 in swapper () at /usr/src/sys/vm/vm_swapout.c:755 #26 0xffffffff80385022 in btext () at /usr/src/sys/amd64/amd64/locore.S:80 I have 10 vmcore files saved. Every panic ends with: __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, Some times it was something like reboot loop because KDE Plasma starts application which were running before shutdown / reboot. So it seems it is related to some user's app running inside of KDE. I needed to login as different user to break this panic loop. Computer was runing for many ours under different user account. I guessed it was related= to Firefox so I tried to run as my normal user without Firefox last night and = it was running for about 5 hours without panic. But this morning I got 2 panic= s in 1 hour without Firefox running (used Iridium browser instead) I did run memtest86 which passed OK. I did run zpool scrub - no issue found. I can send full vmcore files to someone interested in this panics. core.txt.9 is attached (real username was replaced with "usr1". Any help is really appreciated because this is my main PC for work. --=20 You are receiving this mail because: You are the assignee for the bug.=