Posted: Wed Aug 07, 2013 21:09 Post subject: Netgear WNDR4300 - jffs not writeable
If I enable jffs it is just readonly. How does it come?
My maschine has 128MB of flash Memory and not all is used, there should be plenty memory left for an writeable jffs. _________________ Netgear WNDR4300
Build 22118
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
devpts on /proc/bus/usb type usbfs (rw,relatime)
At last I tried
mkfs.jffs2 -o /dev/mtdblock/4 -n -b -e 0x10000 -p
and it says mkfs.jffs2 is not found.
I tried looking in /sbin and /usr/sbin and didn't see it there. `which` provided no location for mkfs.jffs2 of course.
I did notice an `mtd` command which I could not get to work to do the same thing.
----
my mounts show no jffs (same)
my modules show jffs2 loaded with nothing using it, but a few compression modules used by it. (same)
my /proc/mtd shows
mtd4: 00020000 00010000 "ddwrt"
when I try `mount /dev/mtdblock/4 /jffs`, dmesg contains no traces of jffs. Also dmesg does not "grow" after the mount command.
root@DD-WRT:/# dmesg > /tmp/dmesg.1
root@DD-WRT:/# mount /dev/mtdblock/4 /jffs
root@DD-WRT:/# dmesg > /tmp/dmesg.2
dmesg.1 and dmesg.2 are the same
Posted: Wed Aug 28, 2013 15:53 Post subject: Re: Linksys E2500 v2 - jffs not writeable
fritzfox wrote:
my /proc/mtd shows
mtd4: 00020000 00010000 "ddwrt"
128KB free on the flash is not enough for jffs2, it needs 192KB only for directory and journalling so you need to have minimum 256KB free. _________________ Kernel panic: Aiee, killing interrupt handler!