Topic: Linksys WRT54G v1.1 default after reboot

Hi,

I installed Backfire 10.03 (went from some old Sveasoft firmware) on a Linksys WRT54G v1.1 a couple of days ago and it works just fine. Until I reboot, then I'm back to default again. Telnet, no password, 192.168.1.1, the lot...

I've been searching, reading, reflashing (tried 8.09.2), cleaning nvram, reading dmesg, scratching my head, but I don't get it. Can someone please tell me what could be wrong?

I haven't made a Serial of JTAG and I don't want to clutter my first post with screenshots or log dumps but I can supply logs if needed. Please ask.

Thanks in advance,
Ralf.

Re: Linksys WRT54G v1.1 default after reboot

Sounds like your flash is read-only? I had it once with flashing a Kamikaze build on an Asus WL-500W...

OpenWrt Backfire 10.03.1-rc5 on Asus WL-500G :: Attitude Adjustment 12.09.1 (r40432) on Asus WL-500G Deluxe / Netgear WNDR3700 v1 / TP-Link TL-WR1043ND :: Attitude Adjustment 12.09 on WNDR3700 v2 & TP-Link TL-WR841N :: Attitude Adjustment 12.09+ (r35342) on TL-WR841N & Asus WL-500W (Linux 3.2, b43)

Re: Linksys WRT54G v1.1 default after reboot

Hi, thank you for your swift reply!

How can I check this? I don't have access to the Router ATM but I can check tonight.
From what I saw while debugging the mounts where as expected and I can write files to /etc and /tmp. Or is this still possible while the flash keeps read-only?

Please let me know what to check and what command/log output you'd like.

Ralf.

Re: Linksys WRT54G v1.1 default after reboot

Here are some outputs of my device:

root@OpenWrt:/# nvram show | sort

Intel_firmware_version=v1.41.8
boardnum=42
boardtype=bcm94710dev
boot_date=Fri Sep 26 00:34:47 2003
boot_time=10
boot_ver=v1.5
boot_wait=on
clkfreq=125
dl_ram_addr=a0001000
et0macaddr=00:0C:41:9D:86:26
et0mdcport=0
et0phyaddr=30
et1macaddr=00:0C:41:9D:86:27
et1mdcport=1
et1phyaddr=30
firmware_version=v1.42.2
flash_type=Intel 28F320C3 2Mx16 BotB
lan_ipaddr=192.168.2.2
lan_netmask=255.255.255.0
opo=0x0
os_flash_addr=bfc40000
os_ram_addr=80001000
pmon_ver=PMON 3.31.15.0
scratch=a0180000
sdram_config=0x0000
sdram_init=0x0419
sdram_ncdl=0x00000000
sdram_refresh=0x8040
watchdog=5000

root@OpenWrt:/# dmesg

e: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Enabling BCM4710A0 cache workarounds.
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13280k/16384k available (2322k kernel code, 3104k reserved, 357k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Calibrating delay loop... 82.68 BogoMIPS (lpj=165376)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
ssb: PCIcore in host mode found
PCI: Fixing up bridge 0000:00:00.0
PCI: Setting latency timer of device 0000:00:00.0 to 64
PCI: Fixing up device 0000:00:00.0
PCI: Fixing latency timer of device 0000:00:00.0 to 168
pci 0000:00:00.0: reg 10 32bit mmio: [0x000000-0x001fff]
pci 0000:00:00.0: reg 14 32bit mmio pref: [0x000000-0x7ffffff]
pci 0000:00:08.0: reg 10 32bit mmio: [0x000000-0x001fff]
PCI: Enabling device 0000:00:08.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:08.0
PCI: Setting latency timer of device 0000:00:08.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05, vendor 0x4243)
ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)
ssb: SPROM revision 1 detected.
ssb: Sonics Silicon Backplane found on PCI device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
flash init: 0x1fc00000 0x00400000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0035
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x2000,blocks=8
erase region 1: offset=0x10000,size=0x10000,blocks=63
Flash device: 0x400000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x0000003f0000 : "linux"
0x00000011a400-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=100000
0x0000002f0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0c:41:9d:86:26
eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0c:41:9d:86:27
BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
diag: Detected 'Linksys WRT54G V1.x'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1:
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
Generic kernel compatibility enabled based on linux-next next-20100113
cfg80211: Calling CRDA to update world regulatory domain
There is already a switch registered on the device 'eth0'
roboswitch: Probing device eth1:
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
b43-phy0: Broadcom 4306 WLAN found (core revision 5)
cfg80211: World regulatory domain updated:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
phy0: Selected rate control algorithm 'minstrel'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (209 buckets, 836 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16

root@OpenWrt:/# cat /proc/mtd

dev:    size   erasesize  name
mtd0: 00040000 00010000 "cfe"
mtd1: 003b0000 00010000 "linux"
mtd2: 002d5c00 00010000 "rootfs"
mtd3: 00100000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "nvram"

root@OpenWrt:/# mount

rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
none on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
root on /tmp/root type tmpfs (rw,relatime)
mini_fo:/tmp/root on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)

root@OpenWrt:/# df -h

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.9M      1.9M         0 100% /rom
tmpfs                     6.6M     40.0K      6.5M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
root                      6.6M     52.0K      6.5M   1% /tmp/root
mini_fo:/tmp/root         1.9M      1.9M         0 100% /

I see nothing in the vnram.

In the dmesg I see:

mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only

But I've read somewhere that this i actually normal?

And:

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8585 instead
[...snip...]
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16

Now what is this? This repeats later in the dmesg output.

I see nothing in /proc/mtd

I see nothing in mount

In the df output I see:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.9M      1.9M         0 100% /rom
mini_fo:/tmp/root         1.9M      1.9M         0 100% /

But as far as I know this is as expected.

Anyone? smile

Re: Linksys WRT54G v1.1 default after reboot

I don't know if it's normal, but you don't have an overlay partition, and that's where configuration is saved afaik.

OpenWrt Backfire 10.03.1-rc5 on Asus WL-500G :: Attitude Adjustment 12.09.1 (r40432) on Asus WL-500G Deluxe / Netgear WNDR3700 v1 / TP-Link TL-WR1043ND :: Attitude Adjustment 12.09 on WNDR3700 v2 & TP-Link TL-WR841N :: Attitude Adjustment 12.09+ (r35342) on TL-WR841N & Asus WL-500W (Linux 3.2, b43)

Re: Linksys WRT54G v1.1 default after reboot

Can someone please confirm that this is probably the problem? And how this can be fixed?

7 (edited by LinkZ 2011-01-21 17:32:12)

Re: Linksys WRT54G v1.1 default after reboot

Yes, there is no JFFS2 partition, which should be mounted at /overlay.  That is the problem.

Try running /sbin/firstboot and see what the output says (check dmesg).

Re: Linksys WRT54G v1.1 default after reboot

root@OpenWrt:/# /sbin/firstboot
Unlocking rootfs_data ...
Erasing rootfs_data ...

Waited for half an hour only to find out my connection was closed and no new connections possible. Rebooted, nothing changed. Ran "/sbin/firstboot &" and kept an eye on dmesg but after 10 seconds or so the device stopped responding.

Is this bevice bricked or is there still some hope? smile

Re: Linksys WRT54G v1.1 default after reboot

Just a sugestion, try the last kamikaze, or the latest backfire, 10.03-rc4 i think

or if neither of them works, the last white-russian

Seems like the newer releases introduce also new glitches tongue

my 2 cents

Listen very carefully

10

Re: Linksys WRT54G v1.1 default after reboot

Which firmware did you install? Please provide the full download link.

11 (edited by ervee 2011-01-23 13:52:29)

Re: Linksys WRT54G v1.1 default after reboot

I've installed Backfire 10.03 from http://backfire.openwrt.org/10.03/brcm47xx/openwrt-wrt54g-squashfs.bin
And I've tested Kamikaze by installing this http://kamikaze.openwrt.org/8.09.2/brcm47xx/openwrt-brcm47xx-squashfs.trx download from within a running Backfire.
Both seem to be installing and running fine. That is, without the overlay and until I reboot.

I'll try the last white-russian and report back.

Oh, and I did edit /sbin/firstboot and put a "set -x" in there to see more output. This probably shows a better tale of what is going on:

root@OpenWrt:/# /sbin/firstboot
+ switch2jffs_hook=
+ jffs2reset_hook=
+ no_fo_hook=
+ . /lib/functions/boot.sh
+ firstboot_skip_next=false
+ . /lib/firstboot/05_firstboot_skip
+ . /lib/firstboot/10_determine_parts
+ boot_hook_add switch2jffs determine_mtd_part
+ local hook=switch2jffs_hook
+ local value=determine_mtd_part
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part
+ boot_hook_add jffs2reset determine_mtd_part
+ local hook=jffs2reset_hook
+ local value=determine_mtd_part
+ local sep=
+ eval jffs2reset_hook="${jffs2reset_hook:+${jffs2reset_hook}${value:+$sep}}$value"
+ jffs2reset_hook=determine_mtd_part
+ boot_hook_add switch2jffs determine_rom_part
+ local hook=switch2jffs_hook
+ local value=determine_rom_part
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part
+ boot_hook_add jffs2reset determine_rom_part
+ local hook=jffs2reset_hook
+ local value=determine_rom_part
+ local sep=
+ eval jffs2reset_hook="${jffs2reset_hook:+${jffs2reset_hook}${value:+$sep}}$value"
+ jffs2reset_hook=determine_mtd_part determine_rom_part
+ boot_hook_add switch2jffs determine_jffs2_part
+ local hook=switch2jffs_hook
+ local value=determine_jffs2_part
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part determine_jffs2_part
+ boot_hook_add jffs2reset determine_jffs2_part
+ local hook=jffs2reset_hook
+ local value=determine_jffs2_part
+ local sep=
+ eval jffs2reset_hook="${jffs2reset_hook:+${jffs2reset_hook}${value:+$sep}}$value"
+ jffs2reset_hook=determine_mtd_part determine_rom_part determine_jffs2_part
+ . /lib/firstboot/10_no_fo_clear_overlay
+ boot_hook_add no_fo no_fo_clear_overlay
+ local hook=no_fo_hook
+ local value=no_fo_clear_overlay
+ local sep=
+ eval no_fo_hook="${no_fo_hook:+${no_fo_hook}${value:+$sep}}$value"
+ no_fo_hook=no_fo_clear_overlay
+ . /lib/firstboot/10_reset_has_mini_fo
+ boot_hook_add jffs2reset reset_check_for_mini_fo
+ local hook=jffs2reset_hook
+ local value=reset_check_for_mini_fo
+ local sep=
+ eval jffs2reset_hook="${jffs2reset_hook:+${jffs2reset_hook}${value:+$sep}}$value"
+ jffs2reset_hook=determine_mtd_part determine_rom_part determine_jffs2_part reset_check_for_mini_fo
+ . /lib/firstboot/20_has_mini_fo
+ boot_hook_add switch2jffs check_for_mini_fo
+ local hook=switch2jffs_hook
+ local value=check_for_mini_fo
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part determine_jffs2_part check_for_mini_fo
+ . /lib/firstboot/20_no_fo_mount_jffs
+ boot_hook_add no_fo no_fo_mount_jffs
+ local hook=no_fo_hook
+ local value=no_fo_mount_jffs
+ local sep=
+ eval no_fo_hook="${no_fo_hook:+${no_fo_hook}${value:+$sep}}$value"
+ no_fo_hook=no_fo_clear_overlay no_fo_mount_jffs
+ . /lib/firstboot/20_reset_clear_jffs
+ boot_hook_add jffs2reset reset_clear_jffs
+ local hook=jffs2reset_hook
+ local value=reset_clear_jffs
+ local sep=
+ eval jffs2reset_hook="${jffs2reset_hook:+${jffs2reset_hook}${value:+$sep}}$value"
+ jffs2reset_hook=determine_mtd_part determine_rom_part determine_jffs2_part reset_check_for_mini_fo reset_clear_jffs
+ . /lib/firstboot/30_is_rootfs_mounted
+ boot_hook_add switch2jffs skip_if_rootfs_mounted
+ local hook=switch2jffs_hook
+ local value=skip_if_rootfs_mounted
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part determine_jffs2_part check_for_mini_fo skip_if_rootfs_mounted
+ . /lib/firstboot/30_no_fo_pivot
+ boot_hook_add no_fo no_fo_pivot
+ local hook=no_fo_hook
+ local value=no_fo_pivot
+ local sep=
+ eval no_fo_hook="${no_fo_hook:+${no_fo_hook}${value:+$sep}}$value"
+ no_fo_hook=no_fo_clear_overlay no_fo_mount_jffs no_fo_pivot
+ . /lib/firstboot/30_reset_copy_rom
+ boot_hook_add jffs2reset reset_copy_rom
+ local hook=jffs2reset_hook
+ local value=reset_copy_rom
+ local sep=
+ eval jffs2reset_hook="${jffs2reset_hook:+${jffs2reset_hook}${value:+$sep}}$value"
+ jffs2reset_hook=determine_mtd_part determine_rom_part determine_jffs2_part reset_check_for_mini_fo reset_clear_jffs reset_copy_rom
+ . /lib/firstboot/40_copy_ramoverlay
+ boot_hook_add switch2jffs copy_ramoverlay
+ local hook=switch2jffs_hook
+ local value=copy_ramoverlay
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part determine_jffs2_part check_for_mini_fo skip_if_rootfs_mounted copy_ramoverlay
+ . /lib/firstboot/40_no_fo_copy_ramoverlay
+ boot_hook_add no_fo no_fo_ramoverlay
+ local hook=no_fo_hook
+ local value=no_fo_ramoverlay
+ local sep=
+ eval no_fo_hook="${no_fo_hook:+${no_fo_hook}${value:+$sep}}$value"
+ no_fo_hook=no_fo_clear_overlay no_fo_mount_jffs no_fo_pivot no_fo_ramoverlay
+ . /lib/firstboot/50_pivot
+ boot_hook_add switch2jffs with_fo_pivot
+ local hook=switch2jffs_hook
+ local value=with_fo_pivot
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part determine_jffs2_part check_for_mini_fo skip_if_rootfs_mounted copy_ramoverlay with_fo_pivot
+ . /lib/firstboot/99_10_no_fo_cleanup
+ boot_hook_add no_fo no_fo_cleanup
+ local hook=no_fo_hook
+ local value=no_fo_cleanup
+ local sep=
+ eval no_fo_hook="${no_fo_hook:+${no_fo_hook}${value:+$sep}}$value"
+ no_fo_hook=no_fo_clear_overlay no_fo_mount_jffs no_fo_pivot no_fo_ramoverlay no_fo_cleanup
+ . /lib/firstboot/99_10_with_fo_cleanup
+ boot_hook_add switch2jffs with_fo_cleanup
+ local hook=switch2jffs_hook
+ local value=with_fo_cleanup
+ local sep=
+ eval switch2jffs_hook="${switch2jffs_hook:+${switch2jffs_hook}${value:+$sep}}$value"
+ switch2jffs_hook=determine_mtd_part determine_rom_part determine_jffs2_part check_for_mini_fo skip_if_rootfs_mounted copy_ramoverlay with_fo_pivot with_fo_cleanup
+ set_mtd_part
+ partname=rootfs_data
+ find_mtd_part rootfs_data
+ grep "rootfs_data" /proc/mtd
+ awk -F: {print $1}
+ local PART=mtd3
+ local PREFIX=/dev/mtdblock
+ PART=3
+ [ -d /dev/mtdblock ]
+ echo /dev/mtdblock3
+ mtdpart=/dev/mtdblock3
+ set_rom_part
+ awk /squashfs/ {print $2} /proc/mounts
+ rom=/rom
+ set_jffs_part
+ awk /jffs2/ {print $2} /proc/mounts
+ jffs=
+ [ firstboot = firstboot ]
+ [  = switch2jffs ]
+ [ -n  ]
+ mtd erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
+ mount /dev/mtdblock3 /overlay -t jffs2
+ /bin/busybox mount /dev/mtdblock3 /overlay -t jffs2
+ fopivot /overlay /rom 1
+ root=/overlay
+ grep -q mini_fo /proc/filesystems
+ mount -t mini_fo -o base=/,sto=/overlay mini_fo:/overlay /mnt
+ root=/mnt
+ pivot /mnt /rom
+ mount -o move /proc /mnt/proc
+ /bin/busybox mount -o move /proc /mnt/proc
+ pivot_root /mnt /mnt/rom
+ mount -o move /rom/dev /dev
+ /bin/busybox mount -o move /rom/dev /dev

So my device stops/crashes at the command "/bin/busybox mount -o move /rom/dev /dev"...

Re: Linksys WRT54G v1.1 default after reboot

Whiterussian installed, but somehow failed to boot so went to recovery and installed Kamikaze 8.09 from http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/openwrt-brcm-2.4-squashfs.trx

This firmware seems to do the trick. Changes are still there after a reboot! Router seems to respond better too when using LuCI.

13

Re: Linksys WRT54G v1.1 default after reboot

Install this and post the dmesg output.

Re: Linksys WRT54G v1.1 default after reboot

I've got exactly the same issue with my 1.1 wrt54g.... I've tried various levels of backfire and kamikaze... will try the level that worked for ervee.

What's the chances that the issue will get fixed in the latest backfire build?  I'm new to openwrt so not sure how much dev effort goes in and from who!

Re: Linksys WRT54G v1.1 default after reboot

If nobody files a ticket, it never gets fixed.

OpenWrt Backfire 10.03.1-rc5 on Asus WL-500G :: Attitude Adjustment 12.09.1 (r40432) on Asus WL-500G Deluxe / Netgear WNDR3700 v1 / TP-Link TL-WR1043ND :: Attitude Adjustment 12.09 on WNDR3700 v2 & TP-Link TL-WR841N :: Attitude Adjustment 12.09+ (r35342) on TL-WR841N & Asus WL-500W (Linux 3.2, b43)

Re: Linksys WRT54G v1.1 default after reboot

I bought myself a shiny new TL-WR1043ND. Problem solved smile
Faster Wi-Fi and CPU, more MEM and other cruft…

WRT54Gv1.1 didn't run stable anymore. Guess the age finally got to it.

@fyi, I tried that FW before but don't have the dmesg output anymore. Maybe bobMuk can try it. My WRT died from some sort of high impact it wasn’t designed to handle wink

17

Re: Linksys WRT54G v1.1 default after reboot

DD-WRT Forum :: View topic - Router and Power Supply information - Bad Capacitors

18 (edited by bobMuk 2011-02-07 19:42:55)

Re: Linksys WRT54G v1.1 default after reboot

Hi fyi
ervee's ditched his 54g but I've still got the issue.

I installed the Kamikaze build he'd used and got it working.  I guess the Kamikaze build uses the NVRAM data whereas the Backfire builds use the overlay fs and that's broken?

But it'd be nice if I could get the latest, greatest build working - so I installed the image you linked to, and the dmesg output is:

can_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x6363 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x6868 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xdbdb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0xb4b4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0xdbdb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0xabab instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0xe6e6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x1b1b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0x6e6e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0xebeb instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xb0b0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x4c4c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xfcfc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x6666 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x2929 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x3d3d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0xbebe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0xaeae instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0xa8a8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x0101 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0xb8b8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0xefef instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xd4d4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0xe8e8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0xf0f0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050014: 0x4d4d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0x3939 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0xaeae instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0x8f8f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0x1d1d instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0xe4e4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x5252 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x2525 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0xbcbc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0x5959 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0xe5e5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0x6c6c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0xdada instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0x4a4a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0xb6b6 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x8383 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x8b8b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0x5959 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0xcfcf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0x9e9e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0x4545 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0x6161 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0x5e5e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0x8a8a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0x8282 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x3737 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x6969 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x8484 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0x2d2d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0x7b7b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0x4747 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x1818 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0x9393 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0xadad instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0x2222 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x4949 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xeaea instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009000c: 0xfefe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0xcdcd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090014: 0xc2c2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090018: 0xe4e4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009001c: 0x2323 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090020: 0x8c8c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090024: 0xf8f8 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0x3636 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0x0101 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x0202 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0028: 0x0e0e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a002c: 0x5252 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0xdede instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0x4444 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0x1d1d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0x1414 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0x0606 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d002c: 0x2e2e instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0xc3c3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x9f9f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0x7070 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0xbcbc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0028: 0xdbdb instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150010: 0x1f1f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150014: 0xd0d0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150018: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015001c: 0x5454 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150028: 0xdddd instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160010: 0x1e1e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0xb5b5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160028: 0x9e9e instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170010: 0x2c2c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170014: 0xa8a8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170018: 0x6767 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017001c: 0x7a7a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170020: 0xeded instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170028: 0x1b1b instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180010: 0x4444 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180014: 0x2a2a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0x3e3e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180028: 0xd4d4 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190010: 0xd3d3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190014: 0xb2b2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190018: 0x6767 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019001c: 0x5959 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190020: 0xeded instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190028: 0x1b1b instead
Further such events for this erase block will not be printed
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 26

EDIT:
Oops, looks like the dmesg log wraps pretty quickly.  I logged in immediately after a reboot and got:

Linux version 2.6.25.20 (agb@arrakis) (gcc version 4.1.2) #4 Tue Dec 29 15:32:25                                                UTC 2009
CPU revision is: 00024000 (Broadcom BCM4710)
ssb: Core 0 found: SDRAM (cc 0x803, rev 0x00, vendor 0x4243)
ssb: Core 1 found: ILine 20 (cc 0x801, rev 0x00, vendor 0x4243)
ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x00, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x00, vendor 0x4243)
ssb: Core 4 found: USB 1.1 Hostdev (cc 0x808, rev 0x00, vendor 0x4243)
ssb: Core 5 found: PCI (cc 0x804, rev 0x00, vendor 0x4243)
ssb: Core 6 found: MIPS (cc 0x805, rev 0x00, vendor 0x4243)
ssb: Core 7 found: EXTIF (cc 0x811, rev 0x00, vendor 0x4243)
ssb: Core 8 found: Fast Ethernet (cc 0x806, rev 0x00, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 2 => 2
ssb: set_irq: core 0x0804, irq 4 => 3
ssb: set_irq: core 0x0806, irq 0 => 4
ssb: Sonics Silicon Backplane found at address 0x18000000
Serial init done.
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Entering add_active_range(0, 0, 4096) 0 entries of 256 used
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal          0 ->     4096
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->     4096
On node 0 totalpages: 4096
  Normal zone: 32 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 4064 pages, LIFO batch:0
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/pre                                               init noinitrd console=ttyS0,115200
Enabling BCM4710A0 cache workarounds.
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
Synthesized clear page handler (26 instructions).
Synthesized copy page handler (46 instructions).
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13580k/16384k available (2073k kernel code, 2804k reserved, 308k data, 1                                               28k init, 0k highmem)
Calibrating delay loop... 82.68 BogoMIPS (lpj=165376)
Mount-cache hash table entries: 512
net_namespace: 540 bytes
NET: Registered protocol family 16
Switched to high resolution mode on CPU 0
ssb: PCIcore in host mode found
Registering a PCI bus after boot
PCI: Fixing up bridge 0000:00:00.0
PCI: Setting latency timer of device 0000:00:00.0 to 64
PCI: Fixing up device 0000:00:00.0
PCI: Fixing latency timer of device 0000:00:00.0 to 168
PCI: Enabling device 0000:00:08.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:08.0
PCI: Setting latency timer of device 0000:00:08.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05, vendor 0x4243)
ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)
ssb: SPROM revision 1 detected.
ssb: Sonics Silicon Backplane found on PCI device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
detected lzma initramfs
initramfs: LZMA lc=1,lp=2,pb=2,origSize=512
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0f:66:25:1f:40
eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0f:66:25:1f:41
flash init: 0x1fc00000 0x00400000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0035
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x2000,blocks=8
erase region 1: offset=0x10000,size=0x10000,blocks=63
Flash device: 0x400000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000fd400-0x003f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o                                               nly
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=250000, len=1A0000
0x00250000-0x003f0000 : "rootfs_data"
0x003f0000-0x00400000 : "nvram"
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 128k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'Linksys WRT54G V1.x'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: No Robo switch in managed mode found
roboswitch: Probing device eth1: <3>roboswitch: [/home/agb/openwrt/brcm47xx/buil                                               d_dir/linux-brcm47xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
roboswitch: [/home/agb/openwrt/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/swi                                               tch-robo.c:121] SIOCGETCPHYRD failed!
No Robo switch in managed mode found
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
b44: eth0: powering down PHY
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
There is already a switch registered on the device 'eth0'
roboswitch: Probing device eth1: <3>roboswitch: [/home/agb/openwrt/brcm47xx/buil                                               d_dir/linux-brcm47xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
roboswitch: [/home/agb/openwrt/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/swi                                               tch-robo.c:121] SIOCGETCPHYRD failed!
No Robo switch in managed mode found
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0.0) entering forwarding state
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)

19

Re: Linksys WRT54G v1.1 default after reboot

@bobMuk,

If the general Kamikaze brcm47xx image does work for you, then try this.

Re: Linksys WRT54G v1.1 default after reboot

Hi fyi
Tried the backfire build; doesn't retain it's settings after a reboot, dmesg shows:

root@OpenWrt:/# dmesg
 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 802a09f0, node_mem_map 802e7000
  Normal zone: 32 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Enabling BCM4710A0 cache workarounds.
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13252k/16384k available (2331k kernel code, 3132k reserved, 356k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Calibrating delay loop... 82.68 BogoMIPS (lpj=165376)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
ssb: PCIcore in host mode found
PCI: Fixing up bridge 0000:00:00.0
PCI: Setting latency timer of device 0000:00:00.0 to 64
PCI: Fixing up device 0000:00:00.0
PCI: Fixing latency timer of device 0000:00:00.0 to 168
pci 0000:00:00.0: reg 10 32bit mmio: [0x000000-0x001fff]
pci 0000:00:00.0: reg 14 32bit mmio pref: [0x000000-0x7ffffff]
pci 0000:00:08.0: reg 10 32bit mmio: [0x000000-0x001fff]
PCI: Enabling device 0000:00:08.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:08.0
PCI: Setting latency timer of device 0000:00:08.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05, vendor 0x4243)
ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)
ssb: chipcommon status is 0x0
ssb: SPROM offset is 0x1000
ssb: SPROM revision 1 detected.
ssb: Sonics Silicon Backplane found on PCI device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
flash init: 0x1fc00000 0x00400000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0035
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x2000,blocks=8
erase region 1: offset=0x10000,size=0x10000,blocks=63
Flash device: 0x400000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x0000003f0000 : "linux"
0x00000011b000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=100000
0x0000002f0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
b44.c:v2.0
eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0f:66:25:1f:40
eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0f:66:25:1f:41
BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
diag: Detected 'Linksys WRT54G V1.x'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1:
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
b44: eth0: powering down PHY
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering forwarding state
Compat-wireless backport release: compat-wireless-2010-10-14-7-gab01eca
Backport based on wireless-testing.git master-2010-10-19
cfg80211: Calling CRDA to update world regulatory domain
There is already a switch registered on the device 'eth0'
roboswitch: Probing device eth1:
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/backfire/build/brcm47xx/build_dir/linux-brcm47xx/kmod-switch/switch-robo.c:130] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
cfg80211: World regulatory domain updated:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
b43-phy0: Broadcom 4306 WLAN found (core revision 5)
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, GPIO LED Mask: 0x000f, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (209 buckets, 836 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0xdede instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00001000: 0xdede instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0xdede instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0xdede instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x4444 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x1d1d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0x1414 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x0606 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003002c: 0x2e2e instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xc3c3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x9f9f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x7070 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0xbcbc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040028: 0xdbdb instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0x1f1f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0014: 0xd0d0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b001c: 0x5454 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0028: 0xdddd instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x1e1e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0xb5b5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0028: 0x9e9e instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0x2c2c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0xa8a8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0x6767 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0x7a7a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0xeded instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0028: 0x1b1b instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0x4444 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x2a2a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0x3e3e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0xa4a4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0028: 0xd4d4 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x0c0c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xb1b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0x8585 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0xd3d3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0xb2b2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0x6767 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0x5959 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0xeded instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0028: 0x1b1b instead
Further such events for this erase block will not be printed
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 16

Re: Linksys WRT54G v1.1 default after reboot

I took my WRT54G out of the bin and opened it up. The capacitors are all in mint condition.

The device still runs and if needed I can always confirm if a Firmware fixed the issue.

Re: Linksys WRT54G v1.1 default after reboot

I guess the problem we're seeing shows up in the logs as:

Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x0000003f0000 : "linux"
0x00000011b000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=100000
0x0000002f0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"

...and we're not getting a r/w filesystem.
I'd raise a ticket if I thought I had enough information to do so, but pointing vaguely at a section of logs doesn't seem like enough!

23 (edited by ervee 2011-02-08 11:41:35)

Re: Linksys WRT54G v1.1 default after reboot

Why not? We have a device that doesn't run properly, it's reproducible, we have some logs and a nice topic here to back it up.

Re: Linksys WRT54G v1.1 default after reboot

Heh, I'm (mostly) a tester in a storage development department - I'd be shot if I raised a defect with just a few lines of log!

But you're right - I'll look into raising a ticket this afternoon.

25 (edited by bobMuk 2011-02-08 14:46:29)

Re: Linksys WRT54G v1.1 default after reboot

Meh.  Found ticket 5071 which was opened 21 months ago and describes this issue exactly ( http://dev.openwrt.org/ticket/5071 )

Given it's age I guess it's not going to get fixed....