Netgear WNDR4300 128MB flash memory not mounted

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Author Message
myfriend1900
DD-WRT Novice


Joined: 30 Apr 2013
Posts: 1

PostPosted: Wed May 01, 2013 21:48    Post subject: Netgear WNDR4300 128MB flash memory not mounted Reply with quote
Hi,

I am new here. Just installed the latest build for WNDR4300

DD-WRT v24-sp2 (04/15/13) std
(SVN revision 21286)

After installation, I found that the status page on space usage section shows:

NVRAM26.20 KB / 64 KB
CIFS(Not mounted)
JFFS217.00 MB / 17.00 MB

As I know according to the specification of WNDR4300, the flash memory is 128MB, but the JFFS only used 17MB.

Can anyone help out find it why?

Thank you
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17613
Location: Hesse/Germany

PostPosted: Fri May 03, 2013 14:37    Post subject: Reply with quote
jffs was formated?!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
sdc111
DD-WRT Novice


Joined: 15 Sep 2013
Posts: 18

PostPosted: Sun Sep 15, 2013 2:32    Post subject: Issue still exists Reply with quote
This is still an issue on build 22118. Any ideas on a fix for this? Step-by-step or a script to use via telnet/ssh... Thanks much.
habeIchVergessen
DD-WRT User


Joined: 04 May 2010
Posts: 447

PostPosted: Sun Sep 15, 2013 7:38    Post subject: Reply with quote
read here and report success
sdc111
DD-WRT Novice


Joined: 15 Sep 2013
Posts: 18

PostPosted: Sun Sep 15, 2013 19:07    Post subject: Reply with quote
Tried to pull out the relevant instructions from the posts... Here's my results so far:

Administration -> JFFS2 Support -> JFFS2 = Enable -> Clean JFFS2 = Enable, Save + Apply Settings = Total / Free Size 17.25 MB / 0

Code:
root@DD-WRT:~# mount
   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)

root@DD-WRT:~# lsmod
   Module                  Size  Used by
   nf_nat_proto_gre         871  0
   nf_conntrack_proto_gre     2733  0
   jffs2                  87491  0
   lzo_decompress          1348  0
   lzo_compress            2404  0
   lzma_compress          29199  1 jffs2
   ext4                  296275  0
   jbd2                   43787  1 ext4
   mbcache                 3956  1 ext4
   crc16                   1012  1 ext4
   usb_storage            36208  0
   sr_mod                 11876  0
   cdrom                  31039  1 sr_mod
   sd_mod                 25844  0
   scsi_mod               77467  3 usb_storage,sr_mod,sd_mod
   ehci_pci                2596  0
   ehci_hcd               33066  1 ehci_pci
   usbcore               115135  4 usb_storage,ehci_pci,ehci_hcd
   usb_common              1114  1 usbcore
   ath9k                  98521  0
   ath9k_common            1398  1 ath9k
   ath9k_hw              380436  2 ath9k,ath9k_common
   ath                    13199  3 ath9k,ath9k_common,ath9k_hw
   mac80211              244484  1 ath9k
   cfg80211              172235  2 ath9k,mac80211
   compat                   839  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
   ag71xx                 22579  0

root@DD-WRT:~# cat /proc/mtd | grep ddwrt
   mtd3: 066c0000 00020000 "ddwrt"

root@DD-WRT:~# mount -t jffs2 /dev/mtdblock/3 /jffs
   ## No Output ##

root@DD-WRT:~# dmesg | grep jffs2
   <6>[69563.470000] jffs2: version 2.2. (NAND) (ZLIB) (LZMA) (RTIME) (CMODE_SIZE) © 2001-2006 Red Hat, Inc.
   <5>[69571.970000] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
   <5>[69571.980000] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 822
   <5>[69940.610000] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
   <5>[69940.620000] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 822


Edit: Apparently 'Submit' and 'Preview' are too close together for me...

I did not proceed as
Quote:
"...know the correct block size of your flash chip !!! be careful !!!"

concerns me greatly. I love this new router and don't want a brick.


Last edited by sdc111 on Mon Sep 16, 2013 15:04; edited 1 time in total
habeIchVergessen
DD-WRT User


Joined: 04 May 2010
Posts: 447

PostPosted: Mon Sep 16, 2013 13:48    Post subject: Reply with quote
erasesize indicates a 128k chip.

sdc111 wrote:

root@DD-WRT:~# cat goo | grep ddwrt
mtd3: 066c0000 00020000 "ddwrt"
sdc111
DD-WRT Novice


Joined: 15 Sep 2013
Posts: 18

PostPosted: Mon Sep 16, 2013 14:51    Post subject: Reply with quote
Continuation following verification (thank you):

Code:
root@DD-WRT:~# mkfs.jffs2 -o /dev/mtdblock/3 -n -b -e 0x20000
   ## no output ##

root@DD-WRT:~# mount -t jffs2 /dev/mtdblock/3 /jffs
   ## no output ##

root@DD-WRT:~# mount
   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)
   /dev/mtdblock/3 on /jffs type jffs2 (rw,relatime)


Administration -> JFFS2 Support = Total / Free Size 102.75 MB / 100.25 MB
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum