From owner-freebsd-current@freebsd.org Fri May 14 05:59:54 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1110B639F75 for ; Fri, 14 May 2021 05:59:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-22.consmr.mail.gq1.yahoo.com (sonic317-22.consmr.mail.gq1.yahoo.com [98.137.66.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhHtK1RrPz4lTy for ; Fri, 14 May 2021 05:59:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1620971991; bh=/GDNb4J7PjoBhsbFjI3DDQYFCFR5hnENosnyca1M3tf=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=AOpDBK67fb8H7uUkfMEvzc0URFdjKGGpdPLlPArmzz364qkKAycI3YxmEIp07hQXOFXi/gS00dmMgNKfe6Ana0+DxjtBOk7UNP6xsJYtY9tuFSZtgquQAV0SCCLpvQa0P7AruQlmYmTkhy9cmyg7jvAhcviFf4HDZMCbqc1ZIXT22OF1Q32xfbAhHHxkr199e1zM3niYPozQK/9QQ+Zs6wW+GRGItoNLC67u1uhqI0HI0tNflGWnmrJuZh+uhGWd5D+gbZ6VJ+952OPRb25tton5akhGo55iiHauZA/pmZ+8yQPGQ/6srnIN8eDsx4ZpVxMUENv2hX2MKHuJIzyCxw== X-YMail-OSG: 5kdLEqgVM1kvwvAXtsFfY1X6uQYYrrL9XqHNEizPR4r6_LBjOWo0HI7T.3xRTOL G44.e6XJCjup727iBaqNVHS6cA9C6Uch5Yt2KYvoecgQEammFh8.pYi8ax1lncg8Hth8WTrUBlzp yJlscvreUyTZV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X27ERwdCNseFXYvq.W7uzyKZCHIJrRU8FCPOuWIzoQRaC2yk.eaeABLT1 uuGJt0LItEu1BVVImrhFitHaNeJMv.rDn8BJWdIL0Eg0ULA6iD4ufF4hGtMeAokz6E8oRgwGPk94 4Sq.amsQefaRmhhHNKExBgIWyBkOSD9d4jM4yHrsaN38NN4g3OSoCahsyzo3XlSUcf2BF5HnUZNc NdwuuyMUHTML3aauJJEGNl0m.aHRVVJ9LkF.o_sh5jQPpFxGHM7qzVyiS8adubcoXay21oWEFBwB 17CsHVQOrCeBJzGFZhczNFVi1tIhy51I95VnnC.Z6OKc88VJR40bCmh.m9ns6GK91KIooUAe2Yop cFnaDNf38bAR55g-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Fri, 14 May 2021 05:59:51 +0000 Received: by kubenode575.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e6cd83f87d5d2cdd420c15922d1634eb; Fri, 14 May 2021 05:59:49 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: FYI for aarch64 main [14] running a mid March version: I ended up with [usb{usbus2}] stuck at (near) 100% cpu Message-Id: Date: Thu, 13 May 2021 22:59:48 -0700 To: freebsd-arm , freebsd-current X-Mailer: Apple Mail (2.3654.80.0.2.43) References: X-Rspamd-Queue-Id: 4FhHtK1RrPz4lTy X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.66.148:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.66.148:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.148:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2021 05:59:54 -0000 Note: The context was using a non-debug main build from mid-2021-Mar. (More details identified later.) The issue happend while attempting a: # zfs send -R zpold@for-copy | zfs recv -Fdv zpnew where the drives involved in the command were: zpold: a USB3 SSD, using /dev/da0p3 zpnew: an 480 GiByte Optane in the PCIe slot, using /dev/nda0p3 with: # gpart show -pl =3D> 40 468862048 da0 GPT (224G) 40 532480 da0p1 4C8GCA72EFI (260M) 532520 2008 - free - (1.0M) 534528 29360128 da0p2 4C8GCA72swp14 (14G) 29894656 4194304 - free - (2.0G) 34088960 33554432 da0p4 4C8GCA72swp16 (16G) 67643392 401217536 da0p3 4C8GCA72zfs (191G) 468860928 1160 - free - (580K) =3D> 40 2000409184 ada0 GPT (954G) 40 409600 ada0p1 (null) (200M) 409640 1740636160 ada0p2 FBSDmacchroot (830G) 1741045800 58720256 ada0p3 FBSDmacchswp0 (28G) 1799766056 176160768 ada0p4 FBSDmacchswp1 (84G) 1975926824 24482400 - free - (12G) =3D> 40 937703008 nda0 GPT (447G) 40 532480 nda0p1 CA72opt0EFI (260M) 532520 2008 - free - (1.0M) 534528 117440512 nda0p2 CA72opt0swp56 (56G) 117975040 16777216 - free - (8.0G) 134752256 134217728 nda0p4 CA72opt0swp64 (64G) 268969984 668731392 nda0p3 CA72opt0zfs (319G) 937701376 1672 - free - (836K) The system running was that on /dev/ada0p2 (FBSDmacchroot, which is UFS instead of ZFS). The [usb{usbus2}] process eventually got stuck-busy, no more I/O: CPU 0: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.4% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.6% idle PID USERNAME PRI NICE SIZE RES STATE C TIME CPU = COMMAND 15 root -72 - 0B 262144B CPU0 0 8:51 99.95% = [usb{usbus2}] 1295 root -8 0 20108Ki 8092Ki q->bq_ 2 0:04 0.00% = zfs recv -Fdv zpnew{receive_writer_thre} 1295 root 48 0 20108Ki 8092Ki piperd 2 0:22 0.00% = zfs recv -Fdv zpnew{zfs} 1294 root -8 0 17544Ki 7740Ki q->bq_ 2 0:01 0.00% = zfs send -R zpold@for-copy{send_reader_thread} 1294 root -8 0 17544Ki 7740Ki q->bq_ 0 0:00 0.00% = zfs send -R zpold@for-copy{send_merge_thread} 1294 root -8 0 17544Ki 7740Ki hdr->b 2 0:00 0.00% = zfs send -R zpold@for-copy{send_traverse_threa} 1294 root 52 0 17544Ki 7740Ki range- 3 0:20 0.00% = zfs send -R zpold@for-copy{zfs} 1036 root -8 - 0B 1488Ki t->zth 0 0:00 0.00% = [zfskern{z_checkpoint_discar}] 1036 root -8 - 0B 1488Ki t->zth 1 0:00 0.00% = [zfskern{z_livelist_condense}] 1036 root -8 - 0B 1488Ki t->zth 2 0:00 0.00% = [zfskern{z_livelist_destroy}] 1036 root -8 - 0B 1488Ki t->zth 1 0:00 0.00% = [zfskern{z_indirect_condense}] 1036 root -8 - 0B 1488Ki mmp->m 3 0:00 0.00% = [zfskern{mmp_thread_enter}] 1036 root -8 - 0B 1488Ki tx->tx 1 0:00 0.00% = [zfskern{txg_thread_enter}] 1036 root -8 - 0B 1488Ki tx->tx 2 0:00 0.00% = [zfskern{txg_thread_enter}] I was unable to ^c or ^z the process where I typed the command. I eventually stopped the system with "shutdown -p now" from a ssh session (that had already been in place). When I retried after rebooting and scrubbing (no problems found), the problem did not repeat. I do not have more information nor a way to repeat the problem on demand, unfortunately. Details of the vintage of the system software and such: # ~/fbsd-based-on-what-freebsd-main.sh=20 FreeBSD FBSDmacch 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm64 aarch64 1400005 1400005 def0058cc690 (HEAD -> mm-src) mm-src snapshot for mm's patched build in = git context. merge-base: 7381bbee29df959e88ec59866cf2878263e7f3b2 merge-base: CommitDate: 2021-03-12 20:29:42 +0000 7381bbee29df (freebsd/main, freebsd/HEAD, pure-src, main) cam: Run all = XPT_ASYNC ccbs in a dedicated thread n245444 (--first-parent --count for merge-base) The system was a MACCHIATObin Double Shot. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)