From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21976 invoked by alias); 4 Jan 2010 15:13:17 -0000 Received: (qmail 21959 invoked by uid 22791); 4 Jan 2010 15:13:15 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_20,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtrly03.smartm.com (HELO SMTRLY03.smartm.com) (82.108.203.37) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jan 2010 15:13:08 +0000 Received: from sr-fre-exch01.smartm.internal ([10.0.10.35] RDNS failed) by SMTRLY03.smartm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 4 Jan 2010 15:13:02 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 04 Jan 2010 15:13:00 -0000 Message-ID: <9EFFCEC257D2B649BCD6495F5C704AA909702182@sr-fre-exch01.smartm.internal> In-Reply-To: <4B34BBF7.4090609@mlbassoc.com> References: <475059.94382.qm@web33505.mail.mud.yahoo.com> <4B34BBF7.4090609@mlbassoc.com> From: "Carruth, Rusty" To: "Gary Thomas" Cc: Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] redboot: e2fs_open: e2fs_inode_lookup failed - Thanks! X-SW-Source: 2010-01/txt/msg00013.txt.bz2 This is exactly the situation I've seen - formatting on a newer Ubuntu system (8.10, in my case) will make a filesystem that cannot boot. Formatting the CF card on an old SuSE system (9.3) works fine. I've been wondering what the problem was and how to 'fix' it.=20=20 I am VERY glad to see the exact cause and the solution below, as that means I can quit worrying about keeping the old 9.3 system around! Note that if you ask your man pages about mke2fs (or better yet, ask mke2fs what options it takes by saying 'mke2fs -?'), and it HAS the -I option, then I'm pretty sure you must use that -I option.=20=20 Note that there is also a '-i' option which is not the right one (in other words, Gary's email client didn't uppercase it on him, as I had originally thought). Or, put another way - the way to see if your mke2fs is going to create a filesystem you cannot boot from, just say 'mke2fs -?' and if it has the '-I' option then it will (probably) create 256-byte inodes (which won't boot). Thanks for the solution, Gary! Rusty Carruth > -----Original Message----- > To: Sreeni Guduguntla > Cc: ecos-discuss@ecos.sourceware.org > Subject: Re: [ECOS] redboot: e2fs_open: e2fs_inode_lookup failed >=20 > On 12/24/2009 08:57 PM, Sreeni Guduguntla wrote: > > Hi, > > > > I am trying to load linux from CF on gateworks cambria board. I get > the following error. Any insight? > > > > CF is formatted properly with ext2 file system in the concerned > partition. I was able to mount CF on regular PC and was able to see linux > file. > > > > --Sreeni > > > > RedBoot(tm) bootstrap and debug environment [ROM] > > Red Hat certified release, version 2.04.13 - built 18:57:33, Oct 24 2008 > > > > > > RedBoot> disks > > hda1 Linux > > hda2 Linux > > RedBoot> load -r -v -b 0x800000 -m disk hda1:/linux > > e2fs_open: e2fs_inode_lookup failed > ... > What version of EXT2 file system did you use? The RedBoot EXT2 > driver is rather old and can only handle versions with i-nodes > that are 128 bytes each (newer versions of EXT2 can use 256 byte > i-nodes). >=20 > Try formatting your CF card with the "-I 128" option. >=20 > n.b. the first command you tried is the correct syntax - no quotes > should be required. >=20 >=20 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss