From patchwork Thu Sep 17 09:38:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: e9hack X-Patchwork-Id: 1365995 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Hli5gcYG; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=VyanDzZE; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BsX5L1N0Tz9sTQ for ; Thu, 17 Sep 2020 19:40:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:To:Subject:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=WliwQ4FCNxM+/30nNf20oEj04UXxMpUqO4Jn3bwS3p4=; b=Hli5gcYGFy1HCVT6FPsE/pWOMj QIHMPOXemPzzlGDjGwgLCmttoyrHW5yQ1wKoN2KurCC4bYtmYCVEQigfSiPAR4rRH1MtObJismWRN pPwh0EZfK2HA1+p5SB8yHNK+71vRUJNOhlsuhRN3CstyGQAMT5MuLKIQbdBH8AA+8YuzeyiICKZeI P+v0zbo6sPg7SHp1AtXuVeQnFwyEIgFpR36vjkgZwgY6ZYKB+xYGMthzuXbKacOEFCNkQ+KMM4dpN QPEUEAOceTv+rMOk0cTeHYIEl0iP02b2T3yQB2I0/EIrrm+XQQslJKU0D1jirnM5U0hZZzCwsdQaY +9DV3o0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIqNQ-0003Vm-55; Thu, 17 Sep 2020 09:38:52 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIqNM-0003TZ-6g for openwrt-devel@lists.openwrt.org; Thu, 17 Sep 2020 09:38:50 +0000 Received: by mail-wr1-x442.google.com with SMTP id m6so1327929wrn.0 for ; Thu, 17 Sep 2020 02:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=BdUwINAi6EIpxmZBH2Pt6NOzaLwG602xCfiQkXspNYU=; b=VyanDzZERNfW74UC+vurVuvb28Lv/4B34tQveDwkrLlIF8acymN4PbQOacWODG7lYw yxc/7P0HpMHnFTC/zNkCsXWRdJKPEkftxSqc6k+1HkTZDzOBmB+WumVZ5LfW88/I2uOw MPVDsoYHoQvvgZYS5U+bMsHastNVZTaI/yqV3BRrcR61x8iuCLLhh9sWSPh+88WYu/2V UI1Ja+G3jJj5IZhOsT7FreWQ7XgcCDWSqKYEJigvw0qX2cYsTOUQ0ey81zgRKEeluYhp W0z/lb0jNKDhUbEwgZGxwGdsc3401M0tc0xdcvWN7COxx2bV8AbjLkWgYyEUq+U6GZh4 h1/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=BdUwINAi6EIpxmZBH2Pt6NOzaLwG602xCfiQkXspNYU=; b=DTYkBj3jiB08Ib6O0nvVKc4D9sMuwMG8X+7iKGoIMqGxNp2fB1vK0yYTlrsXpM9MpN ELX53oYJdWKs9B0krFsGjAEg5gRy5q5MtKhq6C0I1KSTmQClgDnvxzm2ScrVNaTMQfui 8qr3s8miTRhIIEG5flMNNipnyF1ifxpzS8Ny8NhnNjdIwTn0Pvv2opMYjedSYflRWUxz GP9FVYjRI5AwRIC72FB9vbrYnRAkf6GC21ToR5Mx4EJq6Uiyht/pUcuRf3PPKMTsPO1U D8vpJB9tgLXmjrI4eoymgJNNftRf9bILA2SaovKEjlzFlgHrPo2MA9MmxhHY/H39cN35 9hEA== X-Gm-Message-State: AOAM533sYx4+YkhJVTPXBtH20G6KtPBuBRpL+nTiFhh2aPDgcsSGUFGp 483gQvVPXS6vXH41UZRWga5J89wDbEw= X-Google-Smtp-Source: ABdhPJzGCfOlrRhfkFeE1TUVzXyQOiaJLqOWm/vdrVOMm93Rhyfr7YQZfhvyOMORyPuKaAJzUC1R3A== X-Received: by 2002:a5d:45cc:: with SMTP id b12mr8748872wrs.395.1600335525425; Thu, 17 Sep 2020 02:38:45 -0700 (PDT) Received: from localhost (p200300f6671262ac3d62e10bec61df66.dip0.t-ipconnect.de. [2003:f6:6712:62ac:3d62:e10b:ec61:df66]) by smtp.gmail.com with ESMTPSA id y6sm38139323wrt.80.2020.09.17.02.38.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Sep 2020 02:38:45 -0700 (PDT) From: e9hack Subject: zram-swap: default to lzo instead of lzo-rle compression To: jo@mein.io, rsalvaterra@gmail.com Message-ID: <541cbfbd-76f2-59b3-a867-47b6f0fc7da9@gmail.com> Date: Thu, 17 Sep 2020 11:38:42 +0200 User-Agent: Thunderbird MIME-Version: 1.0 Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_053848_297594_2BA66105 X-CRM114-Status: GOOD ( 11.56 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [e9hack[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@lists.openwrt.org Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Hi, I think commit 419f149e482641ddc520f80a7ab2038f7e2ebc8a is not the proper fix for the described issue. The kernel module lzo-rle is still missing. To solve this, it must be installed on the root-fs: Since kernel 4.19 isn't longer used, @ge5.1 isn't necessary. Regards, Hartmut diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index 1289cc1f25..fade8a5cfd 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -109,9 +109,10 @@ define KernelPackage/lib-lzo HIDDEN:=1 FILES:= \ $(LINUX_DIR)/crypto/lzo.ko \ + $(LINUX_DIR)/crypto/lzo-rle.ko@ge5.1 \ $(LINUX_DIR)/lib/lzo/lzo_compress.ko \ $(LINUX_DIR)/lib/lzo/lzo_decompress.ko - AUTOLOAD:=$(call AutoProbe,lzo lzo_compress lzo_decompress) + AUTOLOAD:=$(call AutoProbe,lzo lzo-rle lzo_compress lzo_decompress) endef define KernelPackage/lib-lzo/description