Opened 4 years ago

Last modified 4 years ago

#15566 new defect

Lantiq: TDW8970 partitions and mount points

Reported by: rylos78@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:


From 40461 (i'm not 100% sure), a clean flash of TDW8970 bring a working system but rootfs is overlayed with tempfs (ram i think), as rootfs has 29mb of free space;
in this way every change to the config, goes to tempfs and is lost after a reboot.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by anonymous

show us 'dmesg' and /proc/mtd file

comment:2 Changed 4 years ago by rylos78@…

I can confirm 40461 changes introduces this bug. This is what happens:

root@OpenWrt:/# dmesg | tail
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xbc000000, irq=144
jffs2: notice: (1095) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 17 of xref (0 dead, 2 orphan) found.
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entered forwarding state
br-lan: port 1(eth0) entered forwarding state
br-lan: port 1(eth0) entered forwarding state
PTM 1.0.27    PTM (E1) firmware version 0.30
ifxmips_ptm: PTM init succeed
jffs2: Too few erase blocks (3)
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   29.7M    108.0K     29.6M   0% /
/dev/root                 5.3M      5.3M         0 100% /rom
tmpfs                    29.7M    556.0K     29.1M   2% /tmp
tmpfs                    29.7M    108.0K     29.6M   0% /tmp/root
overlayfs:/tmp/root      29.7M    108.0K     29.6M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock4            1.0M    216.0K    808.0K  21% /lib/firmware/dsl
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 006a0000 00010000 "firmware"
mtd2: 0055454c 00010000 "rootfs"
mtd3: 00030000 00010000 "rootfs_data"
mtd4: 00100000 00010000 "dsl_fw"
mtd5: 00010000 00010000 "config"
mtd6: 00030000 00010000 "boardconfig"

Reverting that changes (eliminating dsl partition, all is ok as before).

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.