From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Date: Mon, 13 Aug 2012 15:30:52 -0500 Subject: [U-Boot] [PATCH V5 1/2] ext4fs ls load support In-Reply-To: <20120813191729.37D1A202C5B@gemini.denx.de> References: <1326131690-25090-1-git-send-email-uma.shankar@samsung.com> <1337961104-21198-1-git-send-email-uma.shankar@samsung.com> <20120809215028.B6F0E20401A@gemini.denx.de> <50244D5A.3080304@gmail.com> <20120813115226.A59C9204046@gemini.denx.de> <50294743.5010907@gmail.com> <20120813191729.37D1A202C5B@gemini.denx.de> Message-ID: <502963FC.70706@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/13/2012 02:17 PM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message <50294743.5010907@gmail.com> you wrote: >> >> I do an ubuntu install to a single ext4 fs and then ext2ls gives this: > ... >> The problem is in the directories with sizes of 0. It does seem to be > > What exactly is the problem? The listing appears pretty normal to me? The size for the directories are 0 instead of 4096 and those directories have no contents. An ext2ls on /usr in this example: EXT2 rev 1, inode_size 256 ext4fs read 0 group descriptor (blkno 1 blkoff 0) Iterate dir usr iterate >.< iterate >..< iterate >lost+found< iterate >etc< iterate >media< iterate >var< iterate >usr< ext4fs read 1760 group descriptor (blkno 14 blkoff 3072) Note only debug messages are printed. Not even '.' or '..' entries. It's only a problem when it is the /boot directory which seems to be random from install to install. > It seems you enabled some debug feature? Which exactly? And you get > the same results without debug, don't you? Just defined DEBUG on ext_common.c and ext4fs.c. It happens either way. > >> I haven't been able to produce a simple example just creating a bunch of >> files and directories, so only the disk after an ubuntu install has the >> problem. > > Can you upload the image somewhere? And indicate which exact > problems we should look for? Yes, I'll have to recreate one with a reasonable size. Rob > > Best regards, > > Wolfgang Denk >