From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mail.openembedded.org (Postfix) with ESMTP id C3671601A0 for ; Wed, 22 Oct 2014 12:40:38 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 22 Oct 2014 05:39:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,768,1406617200"; d="scan'208";a="623161823" Received: from justinda-mobl1.ger.corp.intel.com (HELO [10.255.13.67]) ([10.255.13.67]) by orsmga002.jf.intel.com with ESMTP; 22 Oct 2014 05:40:38 -0700 Message-ID: <1413981637.8474.30.camel@empanada.home.network> From: Tom Zanussi To: Maciej Borzecki Date: Wed, 22 Oct 2014 07:40:37 -0500 In-Reply-To: <2808693.YK3zlpjAPq@comp-006-thk> References: <54454A41.7090900@balister.org> <2808693.YK3zlpjAPq@comp-006-thk> X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: wic debug suggestions X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 12:40:41 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2014-10-22 at 09:03 +0200, Maciej Borzecki wrote: > On Monday 20 of October 2014 13:45:37 Philip Balister wrote: > > I'm trying to make an sd card using the sdimage-bootpart.wks file. I've > > made an image and dd'ed it to a card. The card has a good vfat > > partition, but the ext4 partition won't mount. Looks like bad > > superblock. I can format the partition manually, so partitions seem OK > > and card works. > > > > Does anyone have any suggestions for debugging this? > In default wks, the vfat partition is /boot, ext4 is /. If I understood you > correctly / fails to mount, is that right? > > I've rebuilt an image with poky rev 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3. > Loading via loopback and mounting partition 2 (/ in this case) works fine. > > Can you post the output this command? > wic create -D -e core-image-minimal sdimage-bootpart > It seems the problem is in handling a large file system. A new bug has been opened for this: Bug 6863 - Wic fails to create a working image for a large file system https://bugzilla.yoctoproject.org/show_bug.cgi?id=6863 Tom > Ext4 image is built by image.bbclass (Tom, please correct me if I'm wrong on > this). It should be possible to do the loopback/mount thing with the image > file as well. Can you check if you can mount it this way? >