[ECOS] redboot: e2fs_open: e2fs_inode_lookup failed

Gary Thomas gary@mlbassoc.com
Fri Dec 25 13:20:00 GMT 2009


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
> Can't load 'hda1:/linux': Can't open file
> RedBoot>  load -r -v -b 0x800000 -m disk hda1:linux
> e2fs_open: e2fs_inode_lookup failed
> Can't load 'hda1:linux': Can't open file
> RedBoot>   load -r -v -b 0x800000 -m disk "hda1:/linux"
> e2fs_open: e2fs_inode_lookup failed
> Can't load 'hda1:/linux': Can't open file
> RedBoot>   load -r -v -b 0x800000 -m disk "hda1:linux"
> e2fs_open: e2fs_inode_lookup failed
> Can't load 'hda1:linux': Can't open file
>

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).

Try formatting your CF card with the "-I 128" option.

n.b. the first command you tried is the correct syntax - no quotes
should be required.


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list