Joined: 30 Jan 2015 Posts: 676 Location: Texas, USA
Posted: Sat Feb 17, 2018 12:06 Post subject: R7800 Flash chip error?
Hello, All.
I see some new issues with my R7800, It appears that the flash chip is corrupted.
I tried to, Clean Internal Flash Storage but it is not solving the issue.
Tried disk to format ubi0:ddwrt using disk but that also doesn't work.
I can't either find mtd-erase in R7800
ubi0:ddwrt on /jffs type ubifs (rw,relatime)
How do I format this flash chip?
Thanks in advance
/L
Feb 17 05:12:49 kern.err kernel: [ 1439.090620] UBIFS error (pid 2993): ubifs_read_node: bad node type (255 but expected 2)
Feb 17 05:12:49 kern.err kernel: [ 1439.090647] UBIFS error (pid 2993): ubifs_read_node: bad node at LEB 11:3616, LEB mapping status 1
Feb 17 05:12:49 kern.err kernel: [ 1439.097530] Not a node, first 24 bytes:
Feb 17 05:12:49 kern.err kernel: [ 1439.106563] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ........................
Feb 17 05:12:49 kern.warn kernel: [ 1439.110366] CPU: 0 PID: 2993 Comm: ls Tainted: P 3.18.95-rc1 #276
Feb 17 05:12:49 kern.warn kernel: [ 1439.123029] Backtrace:
Feb 17 05:12:49 kern.warn kernel: [ 1439.132750] [] (dump_backtrace) from [] (show_stack+0x18/0x20) _________________ ASUS GT-BE98 PRO Main: Fiber 5gbps up/down
ASUS AXE16000: AI Mesh node
2 X ASUS RT-AX89X: AI Mesh nodes
QNAP QSW-1208-8C 12-Port 10GbE Switch
XS712T ProSafe 12-Port 10GbE Switch
3 X R9000 DD-WRT Mesh
Posted: Sat Feb 17, 2018 14:38 Post subject: Re: R7800 Flash chip error?
labo wrote:
Hello, All.
I see some new issues with my R7800, It appears that the flash chip is corrupted.
I tried to, Clean Internal Flash Storage but it is not solving the issue.
Tried disk to format ubi0:ddwrt using disk but that also doesn't work.
I can't either find mtd-erase in R7800
ubi0:ddwrt on /jffs type ubifs (rw,relatime)
How do I format this flash chip?
Thanks in advance
/L
Feb 17 05:12:49 kern.err kernel: [ 1439.090620] UBIFS error (pid 2993): ubifs_read_node: bad node type (255 but expected 2)
Feb 17 05:12:49 kern.err kernel: [ 1439.090647] UBIFS error (pid 2993): ubifs_read_node: bad node at LEB 11:3616, LEB mapping status 1
Feb 17 05:12:49 kern.err kernel: [ 1439.097530] Not a node, first 24 bytes:
Feb 17 05:12:49 kern.err kernel: [ 1439.106563] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ........................
Feb 17 05:12:49 kern.warn kernel: [ 1439.110366] CPU: 0 PID: 2993 Comm: ls Tainted: P 3.18.95-rc1 #276
Feb 17 05:12:49 kern.warn kernel: [ 1439.123029] Backtrace:
Feb 17 05:12:49 kern.warn kernel: [ 1439.132750] [] (dump_backtrace) from [] (show_stack+0x18/0x20)
Joined: 30 Jan 2015 Posts: 676 Location: Texas, USA
Posted: Sat Feb 17, 2018 21:14 Post subject: Re: R7800 Flash chip error?
<Kong> wrote:
Disable JFFS2, reboot, then run command:
erase ddwrt
now enable JFFS2 again with clean , see if that fixes the error.
Thanks, Kong. That worked!!
But interestingly it created /jffs size of 24MB
ubi0:ddwrt 24.0M 20.0K 22.7M 0% /jffs
looks like the major part of flash is gone.
But, I'm happy that all the errors are gone and router is fully functional.
I'm ok for now, but if there is a way to recover the missing flash partition like low level format or something, then it would be great.
SysLog:
Feb 17 14:33:25 kern.notice kernel: [ 494.082558] UBI: empty MTD device detected
Feb 17 14:33:25 kern.notice kernel: [ 494.102611] UBI: attached mtd8 (name "ddwrt", size 32 MiB) to ubi0
Feb 17 14:33:25 kern.notice kernel: [ 494.102640] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
Feb 17 14:33:25 kern.notice kernel: [ 494.108573] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
Feb 17 14:33:25 kern.notice kernel: [ 494.114652] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
Feb 17 14:33:25 kern.notice kernel: [ 494.121309] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
Feb 17 14:33:25 kern.notice kernel: [ 494.128082] UBI: user volume: 0, internal volumes: 1, max. volumes count: 128
Feb 17 14:33:25 kern.notice kernel: [ 494.133896] UBI: max/mean erase counter: 0/0, WL threshold: 4096, image sequence
Feb 17 14:33:25 kern.notice kernel: [ 494.141102] UBI: available PEBs: 230, total reserved PEBs: 26, PEBs reserved for
Feb 17 14:33:25 kern.notice kernel: [ 494.150194] UBI: background thread "ubi_bgt0d" started, PID 1983
Feb 17 14:33:25 kern.notice kernel: [ 494.454275] UBIFS: default file-system created
Feb 17 14:33:25 kern.notice kernel: [ 494.455376] UBIFS: background thread "ubifs_bgt0_0" started, PID 1986
Feb 17 14:33:25 kern.notice kernel: [ 494.572742] UBIFS: mounted UBI device 0, volume 0, name "ddwrt"
Feb 17 14:33:25 kern.notice kernel: [ 494.572768] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2
Feb 17 14:33:25 kern.notice kernel: [ 494.577547] UBIFS: FS size: 27934720 bytes (26 MiB, 220 LEBs), journal size 1396
Feb 17 14:33:25 kern.notice kernel: [ 494.596656] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 683D93EB-52AE-452
MTD partition: has "reserved". not sure if this is intentional.
cat /proc/mtd
dev: size erasesize name
mtd0: 00c80000 00020000 "qcadata"
mtd1: 00500000 00020000 "APPSBL"
mtd2: 00080000 00020000 "APPSBLENV"
mtd3: 00140000 00020000 "art"
mtd4: 00140000 00020000 "artbak"
mtd5: 01e00000 00020000 "linux"
mtd6: 01be0000 00020000 "rootfs"
mtd7: 00200000 00020000 "nvram"
mtd8: 02000000 00020000 "ddwrt"
mtd9: 00640000 00020000 "reserved"
mtd10: 00008000 00008000 "spi32766.0" _________________ ASUS GT-BE98 PRO Main: Fiber 5gbps up/down
ASUS AXE16000: AI Mesh node
2 X ASUS RT-AX89X: AI Mesh nodes
QNAP QSW-1208-8C 12-Port 10GbE Switch
XS712T ProSafe 12-Port 10GbE Switch
3 X R9000 DD-WRT Mesh
Joined: 16 Nov 2015 Posts: 6437 Location: UK, London, just across the river..
Posted: Thu Feb 22, 2018 19:23 Post subject:
well it depends what are you using R7800 for... for example in my case Kong builds never failed... check my sig what I'm using it for ... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Joined: 30 Jan 2015 Posts: 676 Location: Texas, USA
Posted: Sun Feb 25, 2018 0:36 Post subject: R7800 internal flash storage capacity?
R7800 owners,
What should be the internal flash size after clean and /jiffs mounting?
I only see 23 MB with Kong's build (r35030) and 32 MB with BS build(r35043) : _________________ ASUS GT-BE98 PRO Main: Fiber 5gbps up/down
ASUS AXE16000: AI Mesh node
2 X ASUS RT-AX89X: AI Mesh nodes
QNAP QSW-1208-8C 12-Port 10GbE Switch
XS712T ProSafe 12-Port 10GbE Switch
3 X R9000 DD-WRT Mesh
Joined: 30 Jan 2015 Posts: 676 Location: Texas, USA
Posted: Mon Feb 26, 2018 4:47 Post subject:
Per Yngve Berg wrote:
I see 32M with Kong, but I mount jffs on a USB memory stick.
Thanks, I think I should erase nvram and retry.
But Interesting, that BS build shows 32MB correctly. _________________ ASUS GT-BE98 PRO Main: Fiber 5gbps up/down
ASUS AXE16000: AI Mesh node
2 X ASUS RT-AX89X: AI Mesh nodes
QNAP QSW-1208-8C 12-Port 10GbE Switch
XS712T ProSafe 12-Port 10GbE Switch
3 X R9000 DD-WRT Mesh