From nobody Thu Jun 01 14:23:31 2023 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 4QX7fD4QL7z4YZ1f for ; Thu, 1 Jun 2023 14:23:32 +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 4QX7fD1dQ8z4P3J for ; Thu, 1 Jun 2023 14:23:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685629412; 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=nWVjU5eDrL2mxqLvGbzMH/AtXPaGqVz7Xw6EJ9AnFbw=; b=ic4g86bZs5bHvX+uI7o7nZrWArdLthBmJYnUruZdHwchJCBC8cfkVIbVnoZazyPzul9Fda bg+9ONsw/7p9po+Y/NaK8qWhsSyqT4L6DIsdd4eO3HvRgCv2mcZzijM0+BoqcJuFeRjUP4 NVoxm0I0S24PG9d49w+ZimgDlzdHdBCKiuOu1icsl2RPA6gRGNGXM3kXodxOZ52AKyufpZ 9Aff2AOzw9pY2gTa/t4NysMVhFGORrpmzVuFh1HvbhU4QJzSWg/bX4UcjIcfkVmwZwOfuG wYnu5kMHS71vWR/XO1vFUt2f0oeBaV5hwD0TDIX7+XD1hKxLF7F3quaxE03mBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685629412; a=rsa-sha256; cv=none; b=a18eZ12uNwUdQb3txSfTfPluP7WpZkdbgZtisgk0YxO2FI0f6s60tZmCk88GfrKK/NbRxa Fm3vfyn/j5KLHFcp9b/IM6rPer35yrFtcbTQzJwuhW3KtNYwjmPTTv+MCKTLmSAYeS9UQD 2FMWoDjsf3WMlwvoSAgB48OBSvALFeTvPCJR/H9w+0mtokqEAHPzlu3+/omQGGcbjmKAra Wucx++1BVLK7SDRHlSM2e/GxaFanf+wUCpiClqHaNnD24pTikuTCOEoWu+o9IGS/GKDJvT HCK+wTUzOjyM9xdUx1JdSSesSU2DRWM+34s3p9mFWy4gOQzyl0kFGxmBwhm1xQ== 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 4QX7fD0hXYzLCZ for ; Thu, 1 Jun 2023 14:23:32 +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 351ENWbX055139 for ; Thu, 1 Jun 2023 14:23:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 351ENWsh055138 for bugs@FreeBSD.org; Thu, 1 Jun 2023 14:23:32 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 271764] buf_ring_dequeue_sc not holding strong for arm64 Azure Date: Thu, 01 Jun 2023 14:23:31 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: schakrabarti@microsoft.com 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271764 Bug ID: 271764 Summary: buf_ring_dequeue_sc not holding strong for arm64 Azure Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: schakrabarti@microsoft.com Hi, In our testing in Azure ARM64, if we are running wget in a infinite while l= oop in a multicore VM, then we are hitting a panic because of incorrect head. Please help on fixing it. To repro: multicore Azure / Hyper-V run in a while loop wget while [ 1 ] do wget https://releases.ubuntu.com/focal/ubuntu-20.04.6-desktop-amd64.iso rm ubuntu* done Then we are seeing this panic: db> bt Tracing pid 0 tid 100090 td 0xffff0000cca37880 db_trace_self() at db_trace_self db_stack_trace() at db_stack_trace+0x11c db_command() at db_command+0x2d8 db_command_loop() at db_command_loop+0x54 db_trap() at db_trap+0xf8 kdb_trap() at kdb_trap+0x20c handle_el1h_sync() at handle_el1h_sync+0x14 --- exception, esr 0xf2000000 kdb_enter() at kdb_enter+0x44 vpanic() at vpanic+0x178 panic() at panic+0x44 hn_txdesc_put() at hn_txdesc_put+0x210 hn_txpkt_done() at hn_txpkt_done+0x2c hn_chan_callback() at hn_chan_callback+0x78 vmbus_chan_task() at vmbus_chan_task+0x28 taskqueue_run_locked() at taskqueue_run_locked+0x17c taskqueue_thread_loop() at taskqueue_thread_loop+0xc8 fork_exit() at fork_exit+0x74 fork_trampoline() at fork_trampoline+0x14 This following assert is hitting 2722 hn_txdesc_put(struct hn_tx_ring *txr, struct hn_txdesc *txd) 2723 { 2724 2725 KASSERT((txd->flags & HN_TXD_FLAG_ONLIST) =3D=3D 0, This txd is dequeued from txd =3D buf_ring_dequeue_sc(txr->hn_txdesc_br); and getting enqueued hn_txdesc_put() after txd getting reseted . --=20 You are receiving this mail because: You are the assignee for the bug.=