Yes, It works now with the patch !!!
Thank you.
Miguel.
2006/3/6, David Woodhouse <[email protected]>:
> On Sun, 2006-03-05 at 14:04 +0100, Miguel Blanco wrote:
> > divide error: 0000 [#1]
> > EIP is at jffs2_scan_medium+0xdf/0x55e [jffs2]
>
> Can you try it with the attached patch? Or turn off
> CONFIG_JFFS2_FS_WRITEBUFFER
>
> --
> dwmw2
>
>
>
> ---------- Mensaje reenviado ----------
> From: David Woodhouse <[email protected]>
> To: [email protected]
> Date: Thu, 09 Feb 2006 16:13:01 +0000
> Subject: mtd/fs/jffs2 scan.c,1.134,1.135
> Update of /home/cvs/mtd/fs/jffs2
> In directory phoenix.infradead.org:/tmp/cvs-serv28853
>
> Modified Files:
> scan.c
> Log Message:
> Avoid divide-by-zero
>
> Index: scan.c
> ===================================================================
> RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
> retrieving revision 1.134
> retrieving revision 1.135
> diff -u -r1.134 -r1.135
> --- scan.c 13 Jan 2006 10:25:29 -0000 1.134
> +++ scan.c 9 Feb 2006 16:12:59 -0000 1.135
> @@ -239,7 +239,7 @@
> c->nextblock->dirty_size = 0;
> }
> #ifdef CONFIG_JFFS2_FS_WRITEBUFFER
> - if (!jffs2_can_mark_obsolete(c) && c->nextblock && (c->nextblock->free_size % c->wbuf_pagesize)) {
> + if (!jffs2_can_mark_obsolete(c) && c->wbuf_pagesize && c->nextblock && (c->nextblock->free_size % c->wbuf_pagesize)) {
> /* If we're going to start writing into a block which already
> contains data, and the end of the data isn't page-aligned,
> skip a little and align it. */
>
>
> __________________________________________________________
> Linux-MTD CVS commit list
> http://lists.infradead.org/mailman/listinfo/linux-mtd-cvs/
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]