From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from plane.gmane.org ([80.91.229.3]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Xvn3o-0005YU-Iz for ptxdist@pengutronix.de; Tue, 02 Dec 2014 14:00:10 +0100 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xvn3k-00019j-Gi for ptxdist@pengutronix.de; Tue, 02 Dec 2014 14:00:04 +0100 Received: from remote.phenom-world.com ([88.159.5.253]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Dec 2014 14:00:04 +0100 Received: from danny.bergh by remote.phenom-world.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Dec 2014 14:00:04 +0100 From: Danny Date: Tue, 2 Dec 2014 12:38:37 +0000 (UTC) Message-ID: Mime-Version: 1.0 Subject: [ptxdist] Ext2 root file system above 4GB Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi All, Our system platform is recently upgraded. Before the upgrade we were using a 1GB flash disk with 2 partitions of 400MB each (double partition for software upgrades). The new platform has a 16GB disk and it would be nice if we could increase the 400MB partitions to 6GB. This is easy to configure in PTXdist using the configuration (image creation -- generate images/root.ext2 and generate images/hd.img). The root.ext2 size is increased to 6GB (6.291.456 bytes). The hd image partitions are changed to fit the double partitions. Creating the 6GB image is causing some problems. The first issue is the inodes from ext2. The first error is "Creating root.ext2 ....... sysroot- host/bin/genext2fs: couldn't allocate an inode (no free inode)". After forcing more inodes the following error is seen: "Running e2fsck on root.ext2...make: *** [images/root.ext2] Error 1". The image seems corrupted. The creation of the partition seems to work fine up to 4GB. A few MB after this the image creation fails. Searching the internet got me to the following patch for genext2fs: http://sourceforge.net/p/genext2fs/mailman/message/29050966/ Does someone have the same issues?? Is patching the genext2fs the correct solution? Thanks, Danny -- ptxdist mailing list ptxdist@pengutronix.de