Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5201189pxj; Wed, 9 Jun 2021 11:31:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDA453xcHgJXuIOVomKqyhoNKN6jov20IlVqRvrqokvXXmf9xoEsW0H0uuCp/k8/o21Qfw X-Received: by 2002:a17:906:520f:: with SMTP id g15mr1172395ejm.126.1623263496001; Wed, 09 Jun 2021 11:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623263495; cv=none; d=google.com; s=arc-20160816; b=aE/eU8YRIaq/hJE4UhLrD89wzCH8o1xb7okfyzj3rKquU5sZf5xHBxKWFX7QCXTfBK whotMDZFVplqsVhLxdFB+WZUpYY1swQ2/wG+AYtvY25JAPgZeD4GXLEXv0YQVkC+liW7 ACwjNAM42CDFHqR/PgfwEAEB4/qlaSw2tdLyYHB6Cqvhtc7c0lbdso55/JmW7gAgzkBI h/G6ppa4/VtgDuDDw/qn+vqc86fkz45sVPvKsCYe1650ayax0Ke+XY2QacCePTo1p1ub AJwCSzMqDSFYW4SYsH0yD7ovUbREbcd1S6bm/XoSSpkqv3fSiYglji9HYXthkeuSiYIZ ZJGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=fXwzcIpZ0Xm3cDWfRQkYOTWAl0bX66XxByj31pd3sSY=; b=yPMoQJf6hh4ridaX5vIbK9XL12nY3FHeDf35VoGMt3zWJ29MTs+uD8TIQq0u+i/nG9 QCgHTmgMntAxcgRlM0H5+CqE/gkpumFfAxEP3DnFTaZt1MDjVw1Kjopv84UkH5Y7DU4s 81X/g3YEG5coD/vZGfV83FgZDrFWh1/NKJEzrhiMGP/ZV7npMS7O75njGhOduni0SSYX lxJ/ErNNU58o5mnYd0JCELj9xkWULOtkWByzbL52cLDH7qw3Jnd2Th7A6CaLpQ35Bjm7 Z2c/Mpx+rs1ZL2qw9tfFLGv+SxcSZRj3w0oNfemSrGiqgT6d5kfA1q6E5QNaNomfbDVw RDmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si421274ejl.652.2021.06.09.11.31.10; Wed, 09 Jun 2021 11:31:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbhFISao convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Jun 2021 14:30:44 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:56814 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbhFISan (ORCPT ); Wed, 9 Jun 2021 14:30:43 -0400 X-Greylist: delayed 385 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 Jun 2021 14:30:42 EDT Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id B28CA610819B; Wed, 9 Jun 2021 20:22:21 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id NzIECcYGWfXl; Wed, 9 Jun 2021 20:22:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 59F426083273; Wed, 9 Jun 2021 20:22:21 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HwGQNDz1K7Wk; Wed, 9 Jun 2021 20:22:21 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 1E7456108194; Wed, 9 Jun 2021 20:22:21 +0200 (CEST) Date: Wed, 9 Jun 2021 20:22:20 +0200 (CEST) From: Richard Weinberger To: Pintu Agarwal Cc: linux-kernel , linux-mtd , linux-fsdevel , Miquel Raynal Message-ID: <295072107.94766.1623262940865.JavaMail.zimbra@nod.at> In-Reply-To: References: Subject: Re: qemu: arm: mounting ubifs using nandsim on busybox MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Topic: qemu: arm: mounting ubifs using nandsim on busybox Thread-Index: RJ64NFz5i2HW9LxJVNrur1Kl9viauw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pintu, ----- Ursprüngliche Mail ----- > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0) > ============================= > > If any one has used nandsim on qemu before, please let us know the exact steps. nandsim works as expected. It creates a new and *erased* NAND for you. So you have no UBI volumes. Therfore UBIFS cannot be mounted. I suggest creating a tiny initramfs that creates UBI volumes before mounting UBIFS on one of the freshly created (and empty) volumes. Thanks, //richard