linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* JFFS2 softlinks problem
@ 2007-05-19  9:55 Jakub Bednar
  2007-05-21 10:37 ` MikeW
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jakub Bednar @ 2007-05-19  9:55 UTC (permalink / raw)
  To: linux-mtd

Hi everybody, I have a trouble with JFFS2 and softlinks.

  I have a device with NOR and NAND flash.
  On the NOR flash there are some partitions:
      - kernel image
      - cramfs initrd image
      - JFFS2 rootfs with links into cramfs initrd
         image (busybox and so on)
         This partiotion is mounted read-only
         and is created with flash_erase /dev/mtd3 0x00 48;
	 mounted with mount -t jffs2 mtd0 /mnt;
         and decompresing of rootfs from tarbal to /mnt;

On the NAND flash there are other JFFS2 partitions created with
flash_eraseall -j /dev/mtd4;

If I fill the NAND JFFS2 partition with data several times, the links from
rootfs to cramfs and some folders in tmpfs got broken and lot of things
stop working. After reboot  the links are OK again.

How is it possible? Can something got wrong in RAM? Moving erase blocks
can broke links?

Thanks for Your help, really dont know where to start.
Regards Jakub

^ permalink raw reply	[flat|nested] 5+ messages in thread
* JFFS2 softlinks problem
@ 2007-05-18 10:44 Bednář Jakub
  0 siblings, 0 replies; 5+ messages in thread
From: Bednář Jakub @ 2007-05-18 10:44 UTC (permalink / raw)
  To: linux-mtd

Hi everybody, I have a trouble wit JFFS2

   I have a device with NOR and NAND flash.
   On the NOR flash there are some partitions:
       - kernel image
       - cramfs initrd image
       - JFFS2 rootfs with links into cramfs initrd
          image (busybox and so on)
          This partiotion is mounted read only
          and is created with flash_erase mtd3 0x00 48; and
          decompresing of rootfs from tarbal

On the NAND flash there are other JFFS2 partitions created with
flash_eraseall -j mtd4;

If I fill the NAND JFFS2 partition with data several times, the links from
rootfs to cramfs and some folders in tmpfs got broken and lot of things
stops working. After reboot  the links are OK again.

How is it possible? Can something got wrong in RAM? Moving erase blocks
can broke links?

Thanks for Your help, really dont know where to start.
Regards Jakub

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

end of thread, other threads:[~2007-05-23 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-19  9:55 JFFS2 softlinks problem Jakub Bednar
2007-05-21 10:37 ` MikeW
2007-05-21 15:24 ` David Woodhouse
2007-05-23 12:45 ` JFFS2 softlinks problem - repost from email MikeW
  -- strict thread matches above, loose matches on Subject: below --
2007-05-18 10:44 JFFS2 softlinks problem Bednář Jakub

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