From nobody Thu Aug 25 11:10:17 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 4MD0cX3BqWz4ZH98 for ; Thu, 25 Aug 2022 11:10:20 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4MD0cX2bX6z3vp0; Thu, 25 Aug 2022 11:10:20 +0000 (UTC) (envelope-from decke@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661425820; 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=4gVURAZX8PDrHhOEvdD7iL1QVnKjGNgurQMS+9husyY=; b=Z/TEU60i67GbO2V6JxZfgYGW8qQEvr2Rxf+31fn2VF8pXrHa7X2PVFb2mq9dCtxPQIjyc0 uxUDGmoPak0OXiPoIIz1mkOxOnFLA2L0va9fHMAZ8gVLa3abiOdb+J7EaPdTr4r7BGZELG vsCypvtLq7JXa48LHydM2Fox0Tuzs55BPzG2/cQ7VfsJNx9e013R47RFXXNyvlNJNMIpsj snjQgjdNnKmPZMvOhVX6WjsS9JhxRpol1PD7YB/L8xhWgafwegw5TLxeCTsPGLnfsVEzaE OeJWza0vW6YG9Nu4yHcKOrlTQWJ5GcQ4nbauSidZ19uTn9lWsu6fVnYCigOp6g== 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 4MD0cW69JYzfQ7; Thu, 25 Aug 2022 11:10:19 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1661425817398170.28056411593354; Thu, 25 Aug 2022 13:10:17 +0200 (CEST) Date: Thu, 25 Aug 2022 13:10:17 +0200 From: decke@freebsd.org To: "tuexen" Cc: "soumar" , "freebsd-arm" Message-ID: <182d4b21735.d607f074120196.5734997048820295304@freebsd.org> In-Reply-To: References: <15b7779f-db37-efd7-69ba-378636b93017@soudny.net> <182d45f59fa.110ea3128111181.817157529973929418@FreeBSD.org> 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: 7bit 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=1661425820; 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=4gVURAZX8PDrHhOEvdD7iL1QVnKjGNgurQMS+9husyY=; b=oUFdwWVTdTW9NjAiXtU7yIajvGseGY0beDW28dKTEogPnl3eG5iSi8wOOcAu8gG+9sfnch Mc0lQRMxNOupEQFtUHpQ96XcE5fwPpw41snhaQ5LrytspTguNTyCUNwFh0xuwl6il1RM2T ipcS4QaKBxm1ou7uR+ajiY6QsDfzWaquQY9xijD4Ho5MEIQbfY9fvmAFv4tGwFUOGjxk+q wEyfP9+gAUzKk7RhRvZAN91SVR3lLdghOX+pnFbXV7mNx8mAHVepL1/qPb73ru5Kv/Gvmi vJzwXVUHkFFwYmFO3zTp0O3OznI1buXJsEhmSufIuNZcKC3kRMaYQkAxCun0DA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661425820; a=rsa-sha256; cv=none; b=QpfFfKye9JJrH4xc3/o5xfjyJ02hKf14YVqFi30Q2jHHRgjmtSGhBnNHlJK4qL+goqHkHi LUdm6ccTbxoNurB22Cu0sscTPiHrWp7sJFDKaOg6MIfKQtizQEt41iEOAMGkmtcKitF3kF qn/w82Wq/Xc7TrZ1yXidEYwjwnFH44YCMYuqQQ++9RUnxXtD9zmnqthPi8v2QvlOarjh4n Fhl1uUgxz/heLHwVoXdKjdVD607MFLtm0w9NCafmFdgeLNqoOCMZj+UPT14pgr/hfBrRFW 7mdmager9OWNzXKgsJg35iZwMtRLZ93LX0RTikshII3dBVk8NC4nBxWPrCQ3yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N ---- On Thu, 25 Aug 2022 11:59:36 +0200 wrote --- > > > > On 25. Aug 2022, at 11:39, Bernhard Froehlich decke@FreeBSD.org> wrote: > > > > > > -- > > Bernhard Froehlich > > https://www.bluelife.at/ > > ---- On Wed, 24 Aug 2022 11:29:58 +0200 Marek Soudny wrote --- > >> 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 run > >>> into this possibility with video drivers (nvidia, radion, etc) all the time. > >> > >> I use GENERIC kernel with freebsd-update and quarterly pkg branch, so > >> everything should be in sync. > >> > >> Anyway, I can confirm that loading if_wg kernel module does not do > >> anything wrong, on it's own. Starting the wireguard service does not do > >> anything wrong either, on it's own. BUT :) As soon as I tried to ping > >> the wireguard interface from another box, my rpi stopped responding > >> without stating why (I was tailing > >> /var/log/{messages,debug.log,daemon.log}) and rebooted itself after (a) > >> few minutes. > >> > >> No idea how to debug this, thou. Anyway, I can reproduce it anytime. > >> > >> 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. > Which ABI was changed between 13.0 and 13.1? Check PR 264114 for more details. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264114 -- Bernhard Froehlich https://www.bluelife.at/