From nobody Mon Jul 22 05:59:10 2024 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 4WS8js0L37z5Px6X; Mon, 22 Jul 2024 05:59:13 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WS8jr11xYz4GR6; Mon, 22 Jul 2024 05:59:12 +0000 (UTC) (envelope-from melounmichal@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZWusSZyh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::52b as permitted sender) smtp.mailfrom=melounmichal@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5a1f9bc80e3so1258702a12.2; Sun, 21 Jul 2024 22:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721627951; x=1722232751; darn=freebsd.org; h=content-transfer-encoding:subject:cc:to:content-language:reply-to :user-agent:mime-version:date:message-id:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=PNXMBCW7LOIza9XtVsmRTftDVUhW0589XXiqsDH0ikY=; b=ZWusSZyhr/pA0kBLQZ9ukpaq/YsnC3lEaSZIpYFGQztBpF/rrxx/9KfY3WZ9r5/tps qaF47nLdJy9wpEPabMTEL7RLMxmSF5mplZub4eWM4urBx6aIgiZRixk9aUyQaaB0cvWR 27zfHUUdICO3h9dIYxjehNAHiDjo8eoPdp5UgtAkditVZr891vxpKGjQORoiX7XrEgOo 422PAMcHfKxqwVLQbogfW7hkByosuBywprEjlteEc58G6g5mNGSlfSrDoNNA2IYXU4/H cEus56IB7xGG7N8aoFcqhSYnQfLFPqwN5VePK2fG8p8fSy6WvGejPx7AnxDxVXWgkuAO rhvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721627951; x=1722232751; h=content-transfer-encoding:subject:cc:to:content-language:reply-to :user-agent:mime-version:date:message-id:from:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PNXMBCW7LOIza9XtVsmRTftDVUhW0589XXiqsDH0ikY=; b=r5YCAFyrOYTwbLJyGDr3+kdiA8KbLnwFPR2b1rJyRBRhaEY76+9uLOQ3EIKNQx7CV1 xbsR55lpTBWhOqAs5Qmajt5hDgffNG4KPGVVtOXtS13gAoc7XMo+tPZV2FIai6oPdCDv 33UyMCd1xAtj11TcWrU8uOr9K+XAWLwxmVCJvYr3/kQruF8ItMlQOsf1OenISRVbyM71 c9FSm4xt2Hc4Q0CgOtnAvrO05fnt/u4vXXvBS1qESwyFXoax4gk6Ez3KvYa3i0pahnCz Y1ho0v3V3nm4KbOFzw/WUNB24Zc+Cfh/Xz+HIpTD1h58jpm5MpewphRopoGWRp5T4geM yL5g== X-Forwarded-Encrypted: i=1; AJvYcCWi/8LvNEPW1eM3/axFwcU+yXL+GuzWnIXDimHD+uij9YM9HBEJJbgErqVZuRRFqFRe3RKMmQyhJMtKO+X0WkMUCNDGtbd+6A== X-Gm-Message-State: AOJu0YxaDaT7qlm9OibOMHYhXFnJBNpUY4ZARAEIH/tPPhLNi+J5Wg09 cfD217oQJWX458Y3IXp63CZr0vEXFahUoHGkOn6DZtBo4t35+VUGVrXzaPB3 X-Google-Smtp-Source: AGHT+IHywTugMZE5gQYeclIDmZD2wr7ENJAuCqxjoxHRAfQ3pJxQfC0gF4uYRmMNVBDMdoGvB5zyGw== X-Received: by 2002:a50:c302:0:b0:5a0:f9f7:6565 with SMTP id 4fb4d7f45d1cf-5a479b72919mr4646569a12.21.1721627950644; Sun, 21 Jul 2024 22:59:10 -0700 (PDT) Received: from ?IPV6:2001:67c:14a0:5fe0:45a9:3330:c09f:56e8? ([2001:67c:14a0:5fe0:45a9:3330:c09f:56e8]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5a30a4d73c3sm5510555a12.20.2024.07.21.22.59.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Jul 2024 22:59:10 -0700 (PDT) From: Michal Meloun X-Google-Original-From: Michal Meloun Message-ID: <724db42b-5550-4381-8277-2971e6b3e8f1@freebsd.org> Date: Mon, 22 Jul 2024 07:59:10 +0200 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 User-Agent: Mozilla Thunderbird Reply-To: mmel@freebsd.org Content-Language: cs, en-US To: FreeBSD Current , "freebsd-arm@freebsd.org" Cc: "kib@freebsd.org >> Konstantin Belousov" , Mark Millard Subject: armv7-on-aarch64 stuck at urdlck Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.98 / 15.00]; MID_RHS_MATCH_TO(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52b:from]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[freebsd.org,yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-arm@freebsd.org]; RCPT_COUNT_THREE(0.00)[4]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; HAS_REPLYTO(0.00)[mmel@freebsd.org] X-Rspamd-Queue-Id: 4WS8jr11xYz4GR6 I don't want to hijack the original thread, so I'm replying in a new one. My tegra track current, has been running 24/7 by building kernel/world and kde5 in a loop for a few years now. But I have never encountered the aforementioned lockup in native armv7. I have seen usermode mutex lockup in arm32 jail on aarch64, but only very rarely (once a month or so) and all my attempts to reproduce it in a more deterministic way have failed. Also, I don't think I've ever seen this with the debug version of libc. Unfortunately I also failed to reproduce given lockup using dlopen_test.c, neither on native armv7 or arm32 jail. Michal Meloun