From nobody Thu Mar 7 20:44:57 2024 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 4TrLs5664jz5DpTq for ; Thu, 7 Mar 2024 20:44:57 +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 4TrLs51h4Fz4rCc for ; Thu, 7 Mar 2024 20:44:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709844297; a=rsa-sha256; cv=none; b=LNiEqkc1Bi2fu6bHJMujBE2FBWf49wvqD49Udfu0BLkhAMtDrFOoekSlcfUZUr8yE6i8I7 U1YSyHAvjukYJstzaj+QIPcwCmg4N8NHHTLZdkhGGv5HTL3mBj5O6V1l4SkFUiYaNPMC+j az6AfCHSvzABNr/UKTt4ZtTPJBQ/r6UTyG864Qw+P520QlXwoq1TD19h1aBKghoj002Bm2 ras+6Hckjiq/QruczMk8/qnRjoGBt37h/J3izian5VGbBO8ruUeXJ0/0cYrkuVhzEU0ZS8 qGL2281AB78VDf4eqYxBNi4bBuXtOlnkUsgH6vkRQ6YhSH2WoYwrqt3tVtwx0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709844297; 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=ECNcYRonGfnp988X++o2HMd+RD7rdlCBpvGRVpP4gjc=; b=k7ocu2azBiNOK9Tf2it8Moy+zgXhdS/G34fDiKM7x0ysCI5Zc9d8GkOBzjxI4PSxhPJeDX hLnE3bC6dZm5jVoXBiL6HhHmrsAZHsUhM4b8GsrrYght559FZnucXcT+kXX425NTJu7NuF 7T1pZNjX+ZFHGrkI8zMMPiL/OFx1bVZVwEEMUw8u0lU/SEbYOjZxh2uHm07PiJFb87EQVN GqeAUVKYOMr+RIy6vUwbxgnNh2VGriRn7lWfCYwEI4SuznEQWqnhZrOEum/lYz540DeBM/ tjuJ3Y6T77iy/BJ8CB5FIBCEoYQ2tABr8q3t9YHA2xJejAXqtmvsc5Qz//1dBA== 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 4TrLs51Grbzq28 for ; Thu, 7 Mar 2024 20:44:57 +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 427KivVv018664 for ; Thu, 7 Mar 2024 20:44:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 427KivsY018662 for bugs@FreeBSD.org; Thu, 7 Mar 2024 20:44:57 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 277559] kldload vmm sometimes hangs kernel on arm64 Date: Thu, 07 Mar 2024 20:44:57 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu 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 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 Bug ID: 277559 Summary: kldload vmm sometimes hangs kernel on arm64 Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu On my RockPro64 "kldload vmm" sometimes hangs the system so hard I can't ev= en enter DDB with a break on the serial console. The smp_rendezvous call in vmops_modinit appears to be the culprit according to some debugging printfs= I added. printf("vmmops_modinit rendezvous %p {%lx, %lx}\n", &el2_regs, el2_regs.tcr_el2, el2_regs.vtcr_el2); pause("vmmon", 20); // let console output queue drain smp_rendezvous(NULL, arm_setup_vectors, NULL, &el2_regs); printf("vmmops_modinit rendezvous returned\n"); pause("vmmon", 20); // let console output queue drain The last line on the console when it hangs is vmmops_modinit rendezvous 0xffff0000a5b9d380 {80823510, 80023559} The RockPro64 has 4 Cortex-A53 and 2 Cortex A-72 processors, same clock spe= ed but different performance. According to other printfs I added to vmmops_modinit, ID_AA64MMFR0_EL1 =3D 1122 vmm_virt_bits =3D 39 Most of the time the vmm module loads. About 10% of the time it hangs. --=20 You are receiving this mail because: You are the assignee for the bug.=