Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp278232rwp; Wed, 12 Jul 2023 13:10:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlHL8aRSxddtaYgdO2huKPnkFd8v9vgmDWGDZrxsj/JITmHRg7I1ObXQ3uPCHA5FsNVpkjr7 X-Received: by 2002:a2e:3606:0:b0:2b6:a057:8098 with SMTP id d6-20020a2e3606000000b002b6a0578098mr15240711lja.0.1689192651407; Wed, 12 Jul 2023 13:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689192651; cv=none; d=google.com; s=arc-20160816; b=PDmtycsMr+8+uz8wVswtTmGYD+yfO0L/OPorup3n243tA30vv1XmVdSrI7x7iLUgRv IVtsS+sb/2s6uHWkyUoIalAuWNq+JlQIjpWcVPJEnlcJ4VO4zY5oBvBH7QEbmdo1uUIE KE+TumGrCCmEVM9HkzVm7fmexukLh3eEj5leASyzEyMJOyE7HlvGtf+ZkQ26vx9Dm2+1 pumk6AJh8fRTISnzYZG/b3+zyY1dJzgrwTXk2j7D3cBnOH2ZGKmfU8REnOQfCe3+EM2Q A8Uu/kbiSrP4w9qShhzI+eeHl2ZtREHxSGRsJGj9A2UClei/13GYkNCDtsXDdODJW2Kc cW8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:organization :subject:cc:to:from:dkim-signature; bh=bAuupQqEj0rLd6YFhbA1xsWbLkHvKMPgSN/mA/Dnmbg=; fh=qjlzC1C0a9OSQtSuDfda/5ibtSshk3NP4gjftv+BBNg=; b=kgByJf0GorgutaI3mmS5HA5DPa9LwoweohrLjao4fueKOhjlBST99rEM6w2xoYxcf6 0DtQWJxc03clLRHLW+Q0zs9g9hcZZkHQgE6ViCoz1hen8M/y8jn9jPwS7dG7b5zeFKFY 8w+0cUojvWQltkRdArTBG4DyFk6jn4g7jeUI2P3OaDXaG21RDPmTSRt+E+eMQqaA0DjM gc37klb4kxBVKPjdoBVTP4ifZSss/nmhdKZHsin3JKtliUnBwCjPkK6H7dxI4ZC5rdIY an/V5rlAdn4kmcVV/YErcpxBvK+RAQxNSIAb6yLVtcCjx0S8ytCbYZnGRIkRvR/xCTIv d2zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=LWOE7r2s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mork.no Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a1709063c4300b00988e963c3adsi5260659ejg.755.2023.07.12.13.10.26; Wed, 12 Jul 2023 13:10:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=LWOE7r2s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mork.no Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232427AbjGLTMY (ORCPT + 99 others); Wed, 12 Jul 2023 15:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbjGLTMX (ORCPT ); Wed, 12 Jul 2023 15:12:23 -0400 Received: from dilbert.mork.no (dilbert.mork.no [IPv6:2a01:4f9:c010:a439::d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 295FA199E; Wed, 12 Jul 2023 12:12:21 -0700 (PDT) Received: from canardo.dyn.mork.no ([IPv6:2a01:799:964:4b04:3697:f6ff:fe5d:314]) (authenticated bits=0) by dilbert.mork.no (8.17.1.9/8.17.1.9) with ESMTPSA id 36CJC4sB582186 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 20:12:05 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1689189119; bh=bAuupQqEj0rLd6YFhbA1xsWbLkHvKMPgSN/mA/Dnmbg=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=LWOE7r2s2p+WKjdWpcXHmtG8608u2duj7xx2SmOOArmvae5/9nitz75cEHWvEqLa0 2ur751xWyR9lEcSU4vIEzYKA37YQZWWKJX7fvzfQvClrFLcsB+y5QkLYdr6tH/99OD n62xiCHH5iEpAkwx9NyQfxgd2si6uc8bTiPMHG+Y= Received: from miraculix.mork.no ([IPv6:2a01:799:964:4b0a:9af7:269:d286:bcf0]) (authenticated bits=0) by canardo.dyn.mork.no (8.17.1.9/8.17.1.9) with ESMTPSA id 36CJBxHN2295209 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 21:11:59 +0200 Received: (nullmailer pid 603544 invoked by uid 1000); Wed, 12 Jul 2023 19:11:59 -0000 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Pintu Agarwal Cc: open list , linux-fsdevel , linux-mtd , linux-fsdevel@kvack.org, ezequiel@collabora.com, Miquel Raynal Subject: Re: MTD: Lots of mtdblock warnings on bootup logs Organization: m References: <877cr5yzjc.fsf@miraculix.mork.no> Date: Wed, 12 Jul 2023 21:11:59 +0200 In-Reply-To: (Pintu Agarwal's message of "Wed, 12 Jul 2023 23:55:41 +0530") Message-ID: <87sf9tx7uo.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 1.0.1 at canardo X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pintu Agarwal writes: > You mean, if someone is using "mount .. /dev/mtdblock*" then only we > get these warnings ? > Or, if someone is trying to access the node using open("/dev/mtdblock*") . open() will cause a warning. > But in this case, there should be only 1,2,3 entries but here I am > seeing for all the NAND partitions. > Or, is it possible that systemd-udevd is trying to access these nodes ? Maybe? Something trying to figure out the contents of all block devices perhaps?=20 > Can we use ubiblock for mount ubifs (rw) volumes, or here we have to > use mtdblock ? > We have a mixture of squashfs (ro) and ubifs (rw) ubi volumes. > Currently, we are using the ubiblock way of mounting for squashfs but > mtdblock mounting for ubifs. I don't think it's safe to use mtdblock on NAND. WHich is what the warning is about. Bj=C3=B8rn