public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* DiskOnChip & JFFS1/2
@ 2002-09-17 23:08 ` Carl Przybylek
  2002-09-17 23:12   ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Carl Przybylek @ 2002-09-17 23:08 UTC (permalink / raw)
  To: linux-mtd

Im trying to setup a JFFS1/2 filesytem on the 48MB DiskOnChip.  Seems
Ive run into a few problems that I cant find  answers to.

1).  If I download the the latest cvs source of the mtd and patch it in
with the 2.4.19 kernel the jffs2 support will not compile.  background.c
tells me that recalc_sigpending passed 1 argument but takes 0.  JFFS2
support compiles fine from the unpatched source.

2).  Using the support from the 2.4.19 kernel I got the kernel to
reconize the diskonchip but I get the following error when trying to
create a JFFS2 filesystem:
ECC needs a full sector write ( addr 400 size 4c ).
What the heck does that mean?  I cant find much expect a message post
saying disk on chip does not support jffs filesystems.

Any help would be greatly appreciated.
Carl Przybylek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DiskOnChip & JFFS1/2
  2002-09-17 23:08 ` DiskOnChip & JFFS1/2 Carl Przybylek
@ 2002-09-17 23:12   ` David Woodhouse
       [not found]     ` <31523.1032305608@redhat.com>
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2002-09-17 23:12 UTC (permalink / raw)
  To: Carl Przybylek; +Cc: linux-mtd

carlp@bioace.net said:
>  1).  If I download the the latest cvs source of the mtd and patch it
> in with the 2.4.19 kernel the jffs2 support will not compile.
> background.c tells me that recalc_sigpending passed 1 argument but
> takes 0.  JFFS2 support compiles fine from the unpatched source.

Get include/linux/mtd/compatmac.h too.

> 2).  Using the support from the 2.4.19 kernel I got the kernel to
> reconize the diskonchip but I get the following error when trying to
> create a JFFS2 filesystem: ECC needs a full sector write ( addr 400
> size 4c ). What the heck does that mean?  I cant find much expect a
> message post saying disk on chip does not support jffs filesystems. 

You need the latest CVS code and it should mostly work. 

--
dwmw2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DiskOnChip & JFFS1/2
       [not found]     ` <31523.1032305608@redhat.com>
@ 2002-09-17 23:54       ` Carl Przybylek
  0 siblings, 0 replies; 3+ messages in thread
From: Carl Przybylek @ 2002-09-17 23:54 UTC (permalink / raw)
  To: linux-mtd

seems the jffs2 directory was left out of the patchin.sh file
if you run into this just add
ln -sf $TOPDIR/fs/jffs2/*.[ch] fs/jffs2
ln -sf $TOPDIR/fs/jffs2/*akefile fs/jffs2
ln -sf $TOPDIR/include/linux/jffs2*.h include/linux

to the file to fix it.
Thanks for the help
Carl Przybylek


David Woodhouse wrote:

> sunil.r.atri@intel.com said:
> >  Why does the compatmac.h redefine recalc_sigpending if background.c
> > just calls it as is
>
> > //background.c
> > recalc_sigpending(current);
>
> It doesn't. You're looking at an old version of background.c.
>
> --
> dwmw2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-17 23:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3D87BB3E.703F200@bioace.net>
2002-09-17 23:08 ` DiskOnChip & JFFS1/2 Carl Przybylek
2002-09-17 23:12   ` David Woodhouse
     [not found]     ` <31523.1032305608@redhat.com>
2002-09-17 23:54       ` Carl Przybylek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox