From nobody Thu Aug 25 09:39:55 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 4MCycF51Hvz4bLFJ for ; Thu, 25 Aug 2022 09:39:57 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MCycF4Sr6z3jr0; Thu, 25 Aug 2022 09:39:57 +0000 (UTC) (envelope-from decke@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661420397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kSs2LXDaRPOQWNIyaBQk/JWD8YrXMDsdgb6m4XoHVXc=; b=pk2dicKCmUDt8StJLkohgFQiTR/PTva+OVsdliLpNhZeH5E+KxOCsl0OJDKRgg4jiJCUBo yEB8b5k0f2FSznZFrYcJQVpY06clK8lMo5BCb60m5a4yz7tkqPueYrd5XSPYGkVHNEjQ+X E+1ze7LG28ZuQ2aFg8k0zXX0CsYRsxmqLXR1zA6eMlMQ+VoL66ZbTlKjIj1sw5YRTfcuCY tg6GaJndzau931AKQJNiDCfN8p7UxpBmzxtoSVBkdrxKlwrBDpdTwDHf9RgW9pgMw/bic0 2zTeTsNL6aR0wQA1UpzAjD7Op/Cy9r5ZgcEylSyNbYAor0MB7ipZ+xsYxtNWRw== Received: from sender21-mail.zoho.eu (unknown [31.186.226.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: decke) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MCycF0yrDzdSK; Thu, 25 Aug 2022 09:39:57 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1661420395003373.9696726887521; Thu, 25 Aug 2022 11:39:55 +0200 (CEST) Date: Thu, 25 Aug 2022 11:39:55 +0200 From: Bernhard Froehlich To: "soumar" Cc: "freebsd-arm" Message-ID: <182d45f59fa.110ea3128111181.817157529973929418@FreeBSD.org> In-Reply-To: References: <15b7779f-db37-efd7-69ba-378636b93017@soudny.net> Subject: Re: wireguard, was: kernel: Fatal data abort - issue on rpi4 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661420397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kSs2LXDaRPOQWNIyaBQk/JWD8YrXMDsdgb6m4XoHVXc=; b=kO52HBfAIbOacypLMM2lgMh6coGN1wWu3HXgFPBurd8szpWfLggkty+3VLf/gZZXZ2FgvJ z/Bys+b9oFPeYfrJER+pQ1DKnjJ149XGFoN43Nzx/5jagqaeTZbVMNkxVRgHaX3ntSmVep MBEqj3p0EMW+Lllnw7ujA+xdOwjv1AGU+wW3sop8NIGevN7UNGNJ84R6ey2CuZHqwGqE2a Sl2lfeP+PA1LGFV2ZFFRlbOFa97ZTYL+N3oPF0x0hhAyz84AaKOvlh6WHcMIix7poac0j/ tNp5MlLAbme2gQ6FyTFq/2lxCA2PJaeVY8a37ZJWOs+LbbejrmmNEAc2ZHSLYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661420397; a=rsa-sha256; cv=none; b=rBpC/rGjcsIDECkphfQYvvl1rKQVPreGECf0swjBlfTLWONQUS+ru7N5yGeI/tOjX82luI w/fnPX5BR8XZi2Kl2InPof0MHhjyJ/dRVEnd6hZH735KPbeWZ4bgdOxJWuDA8kUKsZz1gx +5Yo7US3GVALhgtF+8cWFUaQPvhHc8F/mk23h39fB72Y70cTLplNW4u1BDP39IXLniIPrb 7IwhlfI4iT3L56gbec1SA1y4/pN5YMo/87WFMiwjUGC2rYzyn+H8qSK9ZlOKhfBJIIsEAs 6x+PlwALvfIv7DB1r+cE7zpa6QheoECVB5p+wYsLwXFzbzCsEIrAD9vGm6lJvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N -- Bernhard Froehlich https://www.bluelife.at/ ---- On Wed, 24 Aug 2022 11:29:58 +0200 Marek Soudny wrote ---=20 > Hello, > > I don't use wireguard myself, but if a package includes a kernel > > driver you have to be really careful that you keep them in sync. I ru= n > > into this possibility with video drivers (nvidia, radion, etc) all the= time. >=20 > I use GENERIC kernel with freebsd-update and quarterly pkg branch, so=20 > everything should be in sync. >=20 > Anyway, I can confirm that loading if_wg kernel module does not do=20 > anything wrong, on it's own. Starting the wireguard service does not do= =20 > anything wrong either, on it's own. BUT :) As soon as I tried to ping=20 > the wireguard interface from another box, my rpi stopped responding=20 > without stating why (I was tailing=20 > /var/log/{messages,debug.log,daemon.log}) and rebooted itself after (a)= =20 > few minutes. >=20 > No idea how to debug this, thou. Anyway, I can reproduce it anytime. >=20 > BR, > Marek There is no need to waste any more time on this. We have seen this all already and it's caused because all ports (latest and quarterly branch) for FreeBSD 13.x are build on 13.0 currently. But because of an ABI break in 13.1 the wireguard kernel module will panic when used. Your chances are either rebuild the kernel module on 13.1 and it will work fine or you wait until packages are build on 13.1 which is VERY soon. FreeBSD 13.0 is EoL in less than a week (August 31, 2022), so official package builders will switch soon - the next full build will not have that problem anymore.=20 -- Bernhard Fr=C3=B6hlich https://www.bluelife.at/