* Re : Can't find ext2 filesystem on dev mtdblock
@ 2003-05-15 12:13 Callebaut Benoit
2003-05-15 12:51 ` Anil Giri
0 siblings, 1 reply; 2+ messages in thread
From: Callebaut Benoit @ 2003-05-15 12:13 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
> I am getting following error while mounting the filesystem.
>I am using ppcboot and linux-2.4.18 . The same filesystem was earlier
>working for linux-2.2.14.
>
>=========================================================
> VFS: Can't find ext2 filesystem on dev mtdblock(31,0)
>=========================================================
>
>What has gone wrong??
I don't know precisely what changed between the two kernels but I use ppcboot
and a 2.4.17 based kernel. So I will try to help you.
First it is strange that you use a ext2 filesystem on a flash. A better choice
would be CRAMFS (READ ONLY) or JFFS. And pay attention that the write support
to the flash is not full proof (experrimental status). So first check that
your filesystem valid is.
Second remarks : Do you try to mount this as root filesystem or not (I don't
think so). But such a line doesn't say a lot of the possible problem.
So first check the filesystem integrity (with fschk or a probe)
Two check that you can access your flash with a character driver(/dev/mtd0) in
case of a bad setting in the kernel (FLASH base address change)
Third give more informations like a full syslog or even better look directly
in the log_bu buffer in RAM (buffer where all the printk text is placed before
writing it to syslog).
Fourth : use a probe, GDB and debug your kernel.
Good luck,
Benoit Callebaut
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re : Can't find ext2 filesystem on dev mtdblock
2003-05-15 12:13 Re : Can't find ext2 filesystem on dev mtdblock Callebaut Benoit
@ 2003-05-15 12:51 ` Anil Giri
0 siblings, 0 replies; 2+ messages in thread
From: Anil Giri @ 2003-05-15 12:51 UTC (permalink / raw)
To: Callebaut Benoit; +Cc: linuxppc-embedded
Hi Callebaut,
Thanks for the support. I was able to fix the problem.
The problem was with the endianess of the created file system.
Changing the endianess to big endian solved the problem.
and i will be moving to cramfs/jffs2 filesystem shortly.
-Anil
Quoting Callebaut Benoit <callebaut@mailandnews.com>:
>
> Hi,
>
> > I am getting following error while mounting the filesystem.
> >I am using ppcboot and linux-2.4.18 . The same filesystem was earlier
> >working for linux-2.2.14.
> >
> >=========================================================
> > VFS: Can't find ext2 filesystem on dev mtdblock(31,0)
> >=========================================================
> >
> >What has gone wrong??
>
> I don't know precisely what changed between the two kernels but I use
> ppcboot
> and a 2.4.17 based kernel. So I will try to help you.
> First it is strange that you use a ext2 filesystem on a flash. A better
> choice
> would be CRAMFS (READ ONLY) or JFFS. And pay attention that the write
> support
> to the flash is not full proof (experrimental status). So first check
> that
> your filesystem valid is.
> Second remarks : Do you try to mount this as root filesystem or not (I
> don't
> think so). But such a line doesn't say a lot of the possible problem.
>
> So first check the filesystem integrity (with fschk or a probe)
> Two check that you can access your flash with a character
> driver(/dev/mtd0) in
> case of a bad setting in the kernel (FLASH base address change)
> Third give more informations like a full syslog or even better look
> directly
> in the log_bu buffer in RAM (buffer where all the printk text is placed
> before
> writing it to syslog).
> Fourth : use a probe, GDB and debug your kernel.
>
> Good luck,
> Benoit Callebaut
>
>
>
>
===========================
Anil Kr. Giri
Tejas Networks India Ltd.
Race Course Road, Bangalore
Phone: 2267495 Ext: 4075
===========================
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-15 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-15 12:13 Re : Can't find ext2 filesystem on dev mtdblock Callebaut Benoit
2003-05-15 12:51 ` Anil Giri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).