From nobody Thu Jun 23 10:49:36 2022 X-Original-To: freebsd-arm@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 8870E876735 for ; Thu, 23 Jun 2022 10:49:36 +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 4LTH7h1rsWz3jlS for ; Thu, 23 Jun 2022 10:49:36 +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 194831989A for ; Thu, 23 Jun 2022 10:49:36 +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 25NAnZdG009123 for ; Thu, 23 Jun 2022 10:49:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25NAnZW3009122 for freebsd-arm@FreeBSD.org; Thu, 23 Jun 2022 10:49:35 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: freebsd-arm@FreeBSD.org Subject: [Bug 264842] kernel core generated due to VM page fault Date: Thu, 23 Jun 2022 10:49:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: aadhya@cisco.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@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 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: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655981376; 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=aiuXdDyHgchQQETbMAG5SacNcNL7r1e1fUGRNxOU/FQ=; b=q9DuJolNuldxsjo6m/kGS4M7M4B1LUWPp059swzjrlwftanciG2lD0cqkR4Sx1WmZxaQ9L tWQ4UbhnruMoPQ5y+wnFQghl7twI3oE5zGylI94+c4KNfZ+INzG+lXmfXVcJOnphaJei8v AAFCaiErwnWSnqLijAAK9O5nvNjFeTTx3O6LQrIMs3IUhKeRQ9TIxba7QxplV93qUEP80J skaIencfqFdr9qVqoUWfyavvrRq0aD6TM+UbaAopdxX4Moc0EU3iFfpDE/WC0QstOzDUe7 jnn7F0tmU/gVXVN7p677FQ9yM8Ka37up+rB0ZyoQjEPuG54rPyKjSwDj90ZvMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655981376; a=rsa-sha256; cv=none; b=IlZ2vy5HbIGXTJ9UdK88Aiys19PoGnfE2tpCxg5DFVkJbsy4GoJGOYezHChwUH3WI2IUGj C35zLjFk+a8EpbvPZem6+jR8Y8rAQc51YnYNm5NCmX9GXsV7a8fx9+Po/OvP4W/F36CG7r wa/EgNWxLGihyXboDmai4aCDMJz10+lLE+i+HBs1X8LcA8XkQiHib+eFRAs5wi2L4Eypj6 XDDsofbed+pQnwXh/xgzSjr/vkZBvyI+2Rx5iLYPbzQtohUyPBNQl1F/hMSBdpWRHPQNn+ KyTAELg/y8i6PNUp9tzfZdDfpwUoDSJj5X0fXPXXF8yKjOgBKyVLRNXaI3xcDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264842 Bug ID: 264842 Summary: kernel core generated due to VM page fault Product: Base System Version: Unspecified Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: aadhya@cisco.com We have observed core generated several times due to page fault. Environment : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D hw.model: Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz hw.machine: amd64 hw.ncpu: 24 FreeBSD 11.2-RELEASE Here is the BT : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (kgdb) bt #0 0xffffffff806110e7 in doadump () #1 0xffffffff80610f5b in kern_reboot () #2 0xffffffff80611459 in vpanic () #3 0xffffffff80611193 in panic () #4 0xffffffff808967df in trap_fatal () #5 0xffffffff80896839 in trap_pfault () #6 0xffffffff80896028 in trap () #7 0xffffffff8087535e in calltrap () #8 0xffffffff8085c9b1 in vm_page_alloc_after () #9 0xffffffff8085f450 in vm_page_grab_pages () #10 0xffffffff806aa6aa in allocbuf () #11 0xffffffff806a8a99 in getblk () #12 0xffffffff80801b4f in ffs_balloc_ufs2 () #13 0xffffffff8082b39b in ffs_write () #14 0xffffffff80950dc3 in VOP_WRITE_APV () #15 0xffffffff806da6e4 in vn_write () #16 0xffffffff806da223 in vn_io_fault_doio () #17 0xffffffff806d82a1 in vn_io_fault1 () #18 0xffffffff806d6518 in vn_io_fault () #19 0xffffffff8066b330 in dofilewrite () #20 0xffffffff8066af48 in kern_writev () #21 0xffffffff8066aed6 in sys_write () #22 0xfffffe103e0271e0 in ?? () #23 0xffffffff00000001 in ?? () #24 0x0000000000130000 in ?? () #25 0x0000000000010000 in ?? () #26 0x0000000100000000 in ?? () #27 0xfffff80012f3d620 in ?? () #28 0x00000008139dc000 in ?? () #29 0x0000000000010000 in ?? () #30 0xfffffe103e027330 in ?? () #31 0xffffffff80896f3c in amd64_syscall () (kgdb)=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D After adding symbol file the bt gives the following details : (kgdb) bt #0 doadump (textdump=3D1) at pcpu.h:229 #1 0xffffffff80610f5b in kern_reboot (howto=3D260) at ../../../kern/kern_shutdown.c:395 #2 0xffffffff80611459 in vpanic (fmt=3D, ap=3D) at ../../../kern/kern_shutdown.c:799 #3 0xffffffff80611193 in panic (fmt=3D) at ../../../kern/kern_shutdown.c:719 #4 0xffffffff808967df in trap_fatal (frame=3D0xfffffe103e026890, eva=3D90)= at ../../../amd64/amd64/trap.c:875 #5 0xffffffff80896839 in trap_pfault (frame=3D0xfffffe103e026890, usermode= =3D0) at pcpu.h:229 #6 0xffffffff80896028 in trap (frame=3D0xfffffe103e026890) at ../../../amd64/amd64/trap.c:415 #7 0xffffffff8087535e in calltrap () at ../../../amd64/amd64/exception.S:1= 96 #8 0xffffffff8085c9b1 in vm_page_alloc_after (object=3D0xfffff80297ab42d0, pindex=3D307, req=3D, mpred=3D0xfffff8103310e3d8) at atomic.h:219 #9 0xffffffff8085f450 in vm_page_grab_pages (object=3D, pindex=3D304, allocflags=3D, ma=3D0xfffffe0f81090bc0, count=3D) at ../../../vm/vm_page.c:3397 #10 0xffffffff806aa6aa in allocbuf (bp=3D0xfffffe0f81090ac0, size=3D) at ../../../kern/vfs_bio.c:2759 #11 0xffffffff806a8a99 in getblk (vp=3D, blkno=3D, size=3D, slpflag=3D, slptimeo=3D, flag= s=3D8) at ../../../kern/vfs_bio.c:3769 #12 0xffffffff80801b4f in ffs_balloc_ufs2 (vp=3D0xfffff8041e470760, startoffset=3D, size=3D, cred=3D0xfffff80020140700, flags=3D, bpp=3D0xfffffe103e026d28) at ../../../ufs/ffs/ffs_balloc.c:1001 #13 0xffffffff8082b39b in ffs_write (ap=3D0xfffffe103e026e88) at ../../../ufs/ffs/ffs_vnops.c:749 #14 0xffffffff80950dc3 in VOP_WRITE_APV (vop=3D, a=3D0xfffffe103e026e88) at vnode_if.c:1000 #15 0xffffffff806da6e4 in vn_write (fp=3D, uio=3D, active_cred=3D0x130000, flags=3D, td=3D) at vnode_if.= h:413 #16 0xffffffff806da223 in vn_io_fault_doio (args=3D0xfffffe103e0270a0, uio=3D0xfffffe103e0271b0, td=3D0xfffff80012f3d620) at ../../../kern/vfs_vnops.c:965 #17 0xffffffff806d82a1 in vn_io_fault1 () at ../../../kern/vfs_vnops.c:1083 #18 0xffffffff806d6518 in vn_io_fault (fp=3D, uio=3D0xfffff8041e4708e8, active_cred=3D0xfffff80020250078, flags=3D, td=3D<= value optimized out>) at ../../../kern/vfs_vnops.c:1187 #19 0xffffffff8066b330 in dofilewrite (td=3D0xfffff80012f3d620, fd=3D91, fp=3D0xfffff802151c5b40, auio=3D0xfffffe103e0271b0, offset=3D, flags=3D0) at file.h:307 #20 0xffffffff8066af48 in kern_writev (td=3D0xfffff80012f3d620, fd=3D91, auio=3D0xfffffe103e0271b0) ---Type to continue, or q to quit--- at ../../../kern/sys_generic.c:506 #21 0xffffffff8066aed6 in sys_write (td=3D, uap=3D) at ../../../kern/sys_generic.c:420 #22 0xffffffff80896f3c in amd64_syscall (td=3D0xfffff80012f3d620, traced=3D= 0) at subr_syscall.c:132 #23 0xffffffff80875bad in fast_syscall_common () at ../../../amd64/amd64/exception.S:475 #24 0x0000000801ef5e8a in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D What could be the possible fix for this crash ? Thanks !!! --=20 You are receiving this mail because: You are the assignee for the bug.=