OpenWRT Extracted, Rebuilt, Flashed, Kernel Panic

Started by m8r-xsu4ij, January 22, 2015, 11:38:16 PM

Previous topic - Next topic

m8r-xsu4ij

Hi,

I needed to replace two files in my "/lib/modules/3.3.8/" folder.  The two files were:

1)  ath.ko
2)  cfg80211.ko

I followed the instructions which were pretty simple, everything extracted and rebuilt successfully, but upon reflashing my router, I now get a kernel panic looking at the serial console:


U-Boot 1.1.4 (Apr 17 2009 - 19:26:05)

AP81 (ar7100) U-boot
DRAM:  AP81 initdram

sri:ddr_init
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 177k for U-Boot at: 81fd0000
Reserving 192k for malloc() at: 81fa0000
Reserving 44 Bytes for Board Info at: 81f9ffd4
Reserving 36 Bytes for Global Data at: 81f9ffb0
Reserving 128k for boot params() at: 81f7ffb0
Stack Pointer at: 81f7ff98
Now running in RAM - U-Boot at: 81fd0000
ar7100 flash_init
id read 0x10000107
flash size 400000, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth_initialize CONFIG_NET_MULTI
ag7100_enet_initialize
eth0: 00:24:01:e8:ef:58
ethernet found.
eth0
## Booting image at bf030000 ...
checksum:9321cd80
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2014-08-27   0:26:28 UTC
   Image Type:   MIPS Linux Kernel Image (lzma  compressed)
   Data Size:    945795 Bytes = 923.6 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   LZMA Umcompressing Kernel Image ...    Image loaded from 80060000-8031cf6c
    OK
   Boot image os 5=IH_OS_LINUX
## do_bootm_linux start....
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432

##Starting kernel ...

[    0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Aug 26 20:25:48 EDT 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9130 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=DIR-615-C1 console=ttyS0,115200 mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,960k(kernel),2880k(rootfs),64k(art)ro,3840k@0x30000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29040k/32768k available (2169k kernel code, 3728k reserved, 420k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[    0.100000] MIPS: machine is D-Link DIR-615 rev. C1
[    0.580000] bio: create slab <bio-0> at 0
[    0.590000] Switching to clocksource MIPS
[    0.600000] NET: Registered protocol family 2
[    0.600000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.600000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.620000] TCP reno registered
[    0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.640000] NET: Registered protocol family 1
[    0.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] msgmni has been set to 56
[    0.680000] io scheduler noop registered
[    0.680000] io scheduler deadline registered (default)
[    0.690000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.720000] console [ttyS0] enabled, bootconsole disabled
[    0.720000] console [ttyS0] enabled, bootconsole disabled
[    0.740000] m25p80 spi0.0: found w25x32, expected m25p80
[    0.740000] m25p80 spi0.0: w25x32 (4096 Kbytes)
[    0.750000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.750000] Creating 6 MTD partitions on "spi0.0":
[    0.760000] 0x000000000000-0x000000020000 : "u-boot"
[    0.760000] 0x000000020000-0x000000030000 : "config"
[    0.770000] 0x000000030000-0x000000120000 : "kernel"
[    0.780000] 0x000000120000-0x0000003f0000 : "rootfs"
[    0.780000] mtd: partition "rootfs" set to be root filesystem
[    0.790000] mtd: partition "rootfs_data" created automatically, ofs=3B0000, len=40000
[    0.800000] 0x0000003b0000-0x0000003f0000 : "rootfs_data"
[    0.800000] 0x0000003f0000-0x000000400000 : "art"
[    0.810000] 0x000000030000-0x0000003f0000 : "firmware"
[    0.870000] ag71xx_mdio: probed
[    0.870000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.200000] eth0: Atheros AR8216 switch driver attached.
[    1.300000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]
[    1.310000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.640000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]
[    1.650000] TCP cubic registered
[    1.660000] NET: Registered protocol family 17
[    1.660000] Bridge firewalling registered
[    1.660000] Ebtables v2.0 registered
[    1.670000] 8021q: 802.1Q VLAN Support v1.8
[    1.680000] SQUASHFS error: Filesystem uses "lzma" compression. This is not supported
[    1.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x6873 instead
[    1.690000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xfb04 instead
[    1.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x8483 instead
[    1.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x1c00 instead
[    1.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0200 instead
[    1.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xc000 instead
[    1.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0400 instead
[    1.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x4704 instead
[    1.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0xd03b instead
[    1.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0xc83b instead
[    1.770000] Further such events for this erase block will not be printed
[    1.780000] Empty flash at 0x00000038 ends at 0x00000040
[    1.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x548f instead
[    1.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x84e8 instead
[    1.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x3e77 instead
[    1.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0xbcdf instead
[    1.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0xcdc4 instead
[    1.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x9a6c instead
[    1.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x47f1 instead
[    1.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0x64d0 instead
[    1.910000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0xce60 instead
[    1.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0xbe81 instead
[    1.930000] Further such events for this erase block will not be printed
[    2.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x1dda instead
[    2.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0408 instead
[    2.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xe7ae instead
[    2.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x2a2a instead
[    2.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x0eee instead
[    2.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0xb012 instead
[    2.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x175e instead
[    2.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0xb49c instead
[    2.070000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0xa2b2 instead
[    2.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0xf6e7 instead
[    2.090000] Further such events for this erase block will not be printed
[    2.150000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x50d4 instead
[    2.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x6870 instead
[    2.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xc2bd instead
[    2.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0xcb4e instead
[    2.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x8eeb instead
[    2.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x2f75 instead
[    2.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0x6c85 instead
[    2.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x8f10 instead
[    2.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0xb089 instead
[    2.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0x99a1 instead
[    2.240000] Further such events for this erase block will not be printed
[    2.270000] Old JFFS2 bitmask found at 0x00036ab8
[    2.280000] You cannot use older JFFS2 filesystems with newer kernels
[    2.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xc291 instead
[    2.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x26a4 instead
[    2.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x20d1 instead
[    2.340000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x77b0 instead
[    2.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x1b53 instead
[    2.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xcf97 instead
[    2.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x2f24 instead
[    2.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0xac71 instead
[    2.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0xc70d instead
[    2.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x12ba instead
[    2.400000] Further such events for this erase block will not be printed
[    2.470000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x16bf instead
[    2.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x9b28 instead
[    2.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0xa7b5 instead
[    2.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0x0c83 instead
[    2.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0xfe47 instead
[    2.510000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050014: 0x9e50 instead
[    2.520000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0x4b48 instead
[    2.530000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0x1d68 instead
[    2.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0xa5d6 instead
[    2.550000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0x414a instead
[    2.560000] Further such events for this erase block will not be printed
[    2.620000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x2696 instead
[    2.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x3bbe instead
[    2.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xa9c1 instead
[    2.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0x21fa instead
[    2.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0xf480 instead
[    2.670000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0xc805 instead
[    2.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0x912f instead
[    2.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0x625c instead
[    2.690000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0x1afc instead
[    2.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0x0a52 instead
[    2.710000] Further such events for this erase block will not be printed
[    2.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0xdbd9 instead
[    2.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0xa7e2 instead
[    2.790000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0x0016 instead
[    2.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0xead1 instead
[    2.810000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0x5b38 instead
[    2.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0x0ada instead
[    2.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0x580b instead
[    2.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0xb277 instead
[    2.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0x4f96 instead
[    2.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0x81bb instead
[    2.860000] Further such events for this erase block will not be printed
[    2.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x18b0 instead
[    2.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x92bc instead
[    2.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0xff57 instead
[    2.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0xeef2 instead
[    2.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0x0c8c instead
[    2.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0xa983 instead
[    2.980000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x51b3 instead
[    2.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0xfcef instead
[    3.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0x9d3a instead
[    3.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0xedc6 instead
[    3.020000] Further such events for this erase block will not be printed
[    3.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x1fc8 instead
[    3.090000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x3496 instead
[    3.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0x3404 instead
[    3.110000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009000c: 0xa2a6 instead
[    3.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0xdc59 instead
[    3.130000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090014: 0x8655 instead
[    3.140000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090018: 0xeb7f instead
[    3.140000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009001c: 0xdd35 instead
[    3.150000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090020: 0x77ef instead
[    3.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090024: 0x0947 instead
[    3.170000] Further such events for this erase block will not be printed
[    3.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x6ddb instead
[    3.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x3e05 instead
[    3.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xc33e instead
[    3.260000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0xc355 instead
[    3.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0x6d75 instead
[    3.280000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0x839b instead
[    3.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0xf8be instead
[    3.300000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0xa2d1 instead
[    3.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x6cb5 instead
[    3.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0xa694 instead
[    3.330000] Further such events for this erase block will not be printed
[    3.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0xee97 instead
[    3.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x918f instead
[    3.410000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xaac5 instead
[    3.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0x256f instead
[    3.430000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0x2001 instead
[    3.440000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0014: 0x504e instead
[    3.450000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0x6eaa instead
[    3.450000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b001c: 0x183c instead
[    3.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0020: 0x05a6 instead
[    3.470000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0024: 0x149d instead
[    3.480000] Further such events for this erase block will not be printed
[    3.550000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x1416 instead
[    3.560000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0xc7d4 instead
[    3.570000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0x4c27 instead
[    3.570000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x2cbc instead
[    3.580000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0xe2a5 instead
[    3.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x7e44 instead
[    3.600000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0x804e instead
[    3.610000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0x8202 instead
[    3.620000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0x357e instead
[    3.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0x1bb1 instead
[    3.640000] Further such events for this erase block will not be printed
[    3.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x1ca3 instead
[    3.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0xe6d1 instead
[    3.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0x4888 instead
[    3.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0xe346 instead
[    3.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0xaaea instead
[    3.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0x399b instead
[    3.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0xde77 instead
[    3.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0xfac8 instead
[    3.770000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0xc772 instead
[    3.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0024: 0x316d instead
[    3.790000] Further such events for this erase block will not be printed
[    3.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x7753 instead
[    3.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x624f instead
[    3.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0x86f8 instead
[    3.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0xd1ee instead
[    3.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0x02ab instead
[    3.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x9c93 instead
[    3.910000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0xa911 instead
[    3.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0xaab5 instead
[    3.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0xaf01 instead
[    3.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0024: 0xad18 instead
[    3.940000] Further such events for this erase block will not be printed
[    4.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0xe202 instead
[    4.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x2d56 instead
[    4.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0x4d5f instead
[    4.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0x0ab0 instead
[    4.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0xe204 instead
[    4.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0x1454 instead
[    4.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0xaaa6 instead
[    4.070000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0x0918 instead
[    4.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0x0c86 instead
[    4.090000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0x6539 instead
[    4.100000] Further such events for this erase block will not be printed
[    4.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0xb268 instead
[    4.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0xd410 instead
[    4.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0x8040 instead
[    4.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0xfa6d instead
[    4.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0x5446 instead
[    4.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0x76c6 instead
[    4.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0xa4cd instead
[    4.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010001c: 0x608c instead
[    4.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100020: 0xc997 instead
[    4.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100024: 0x004f instead
[    4.250000] Further such events for this erase block will not be printed
[    4.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110000: 0xc7cf instead
[    4.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110004: 0x2312 instead
[    4.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110008: 0x7e67 instead
[    4.340000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011000c: 0x5f68 instead
[    4.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110010: 0x9d95 instead
[    4.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110014: 0xbda0 instead
[    4.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110018: 0xb780 instead
[    4.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011001c: 0x47b0 instead
[    4.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110020: 0x79e5 instead
[    4.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110024: 0xfd09 instead
[    4.400000] Further such events for this erase block will not be printed
[    4.470000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x2a17 instead
[    4.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0xd652 instead
[    4.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0x67e1 instead
[    4.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0xe92a instead
[    4.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0xe4e8 instead
[    4.510000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0xa190 instead
[    4.520000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0xbfb5 instead
[    4.530000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0xa7ef instead
[    4.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0x67b1 instead
[    4.550000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0xd6ae instead
[    4.560000] Further such events for this erase block will not be printed
[    4.620000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130000: 0xa523 instead
[    4.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130004: 0xf383 instead
[    4.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130008: 0xf088 instead
[    4.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013000c: 0x9bd2 instead
[    4.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130010: 0x6da4 instead
[    4.670000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130014: 0xfc04 instead
[    4.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130018: 0x4144 instead
[    4.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013001c: 0x20e0 instead
[    4.690000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130020: 0x766a instead
[    4.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130024: 0xc45e instead
[    4.710000] Further such events for this erase block will not be printed
[    4.730000] Old JFFS2 bitmask found at 0x00133624
[    4.740000] You cannot use older JFFS2 filesystems with newer kernels
[    4.750000] Old JFFS2 bitmask found at 0x00136de8
[    4.760000] You cannot use older JFFS2 filesystems with newer kernels
[    4.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0xd36a instead
[    4.810000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0x9c44 instead
[    4.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140008: 0xe7b5 instead
[    4.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014000c: 0xd1ce instead
[    4.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140010: 0xfba2 instead
[    4.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140014: 0x663b instead
[    4.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140018: 0x3b6b instead
[    4.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014001c: 0x38ce instead
[    4.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140020: 0x8b09 instead
[    4.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140024: 0xafdb instead
[    4.890000] Further such events for this erase block will not be printed
[    4.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150000: 0x03a0 instead
[    4.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150004: 0xaf4b instead
[    4.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150008: 0xb301 instead
[    4.980000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015000c: 0xbce4 instead
[    4.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150010: 0x78c8 instead
[    5.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150014: 0x55ce instead
[    5.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150018: 0xe9a5 instead
[    5.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015001c: 0xa6a7 instead
[    5.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150020: 0xd756 instead
[    5.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150024: 0x33a5 instead
[    5.040000] Further such events for this erase block will not be printed
[    5.110000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0x655f instead
[    5.110000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0xe87c instead
[    5.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0x8daf instead
[    5.130000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016000c: 0x9e7c instead
[    5.140000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160010: 0x9cbe instead
[    5.150000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0xe6de instead
[    5.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0x5da8 instead
[    5.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x73cc instead
[    5.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0xbd6a instead
[    5.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0x3476 instead
[    5.190000] Further such events for this erase block will not be printed
[    5.230000] Old JFFS2 bitmask found at 0x0016799c
[    5.230000] You cannot use older JFFS2 filesystems with newer kernels
[    5.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170000: 0xb0e2 instead
[    5.280000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170004: 0xc371 instead
[    5.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170008: 0xe816 instead
[    5.300000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017000c: 0xc9cf instead
[    5.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170010: 0x562b instead
[    5.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170014: 0xf9ac instead
[    5.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170018: 0x00e9 instead
[    5.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017001c: 0x5e5d instead
[    5.340000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170020: 0x016a instead
[    5.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170024: 0x3675 instead
[    5.360000] Further such events for this erase block will not be printed
[    5.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180000: 0xccd0 instead
[    5.430000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180004: 0x7a8d instead
[    5.440000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0xb05e instead
[    5.450000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0xe9dc instead
[    5.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180010: 0x7869 instead
[    5.470000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180014: 0x0fac instead
[    5.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0x1901 instead
[    5.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0x244a instead
[    5.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0x062d instead
[    5.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180024: 0xf743 instead
[    5.510000] Further such events for this erase block will not be printed
[    5.580000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190000: 0x2a74 instead
[    5.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190004: 0x29f8 instead
[    5.600000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190008: 0x0f99 instead
[    5.600000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019000c: 0xd725 instead
[    5.610000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190010: 0x934d instead
[    5.620000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190014: 0x2f57 instead
[    5.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190018: 0x3b10 instead
[    5.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019001c: 0x0b82 instead
[    5.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190020: 0x1948 instead
[    5.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190024: 0x08ec instead
[    5.670000] Further such events for this erase block will not be printed
[    5.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0000: 0x05e8 instead
[    5.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0004: 0x77cb instead
[    5.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0008: 0x6e37 instead
[    5.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a000c: 0xf799 instead
[    5.770000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0010: 0x042a instead
[    5.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0014: 0x7448 instead
[    5.790000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0018: 0x5132 instead
[    5.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a001c: 0xae05 instead
[    5.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0020: 0x0baf instead
[    5.810000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0024: 0xc51e instead
[    5.820000] Further such events for this erase block will not be printed
[    5.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0000: 0x4616 instead
[    5.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0004: 0x86a3 instead
[    5.910000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0008: 0x7f45 instead
[    5.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b000c: 0x5366 instead
[    5.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0010: 0x1ba1 instead
[    5.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0014: 0xcd25 instead
[    5.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0018: 0x9158 instead
[    5.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b001c: 0xb8f6 instead
[    5.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0020: 0x3ab7 instead
[    5.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0024: 0x4cdf instead
[    5.980000] Further such events for this erase block will not be printed
[    6.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0000: 0x0b2c instead
[    6.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0004: 0xed8e instead
[    6.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0008: 0xa16a instead
[    6.070000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c000c: 0x52b2 instead
[    6.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0010: 0xfe12 instead
[    6.090000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0014: 0x9fde instead
[    6.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0018: 0x3922 instead
[    6.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c001c: 0x9c49 instead
[    6.110000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0020: 0x73a6 instead
[    6.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0024: 0x3d5a instead
[    6.130000] Further such events for this erase block will not be printed
[    6.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0000: 0xd9e3 instead
[    6.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0004: 0x4a3c instead
[    6.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0008: 0x04fe instead
[    6.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d000c: 0xaed4 instead
[    6.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0010: 0xbb89 instead
[    6.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0014: 0x8b2b instead
[    6.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0018: 0xbeb8 instead
[    6.260000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d001c: 0x7c11 instead
[    6.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0020: 0x4c72 instead
[    6.280000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d0024: 0x6de1 instead
[    6.290000] Further such events for this erase block will not be printed
[    6.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0000: 0x31ae instead
[    6.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0004: 0x272a instead
[    6.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0008: 0xf946 instead
[    6.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e000c: 0x8d40 instead
[    6.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0010: 0x465a instead
[    6.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0014: 0xc05c instead
[    6.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0018: 0x7fde instead
[    6.410000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e001c: 0xf642 instead
[    6.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0020: 0x0bfc instead
[    6.430000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0024: 0x2450 instead
[    6.440000] Further such events for this erase block will not be printed
[    6.490000] Old JFFS2 bitmask found at 0x001eb2c0
[    6.490000] You cannot use older JFFS2 filesystems with newer kernels
[    6.510000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0000: 0xd77f instead
[    6.520000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0004: 0x89f8 instead
[    6.530000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0008: 0x929a instead
[    6.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f000c: 0x8838 instead
[    6.550000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0010: 0x4bad instead
[    6.560000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0014: 0x8d26 instead
[    6.570000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0018: 0x72be instead
[    6.580000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f001c: 0xe9d6 instead
[    6.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0020: 0x8f70 instead
[    6.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f0024: 0x12a2 instead
[    6.600000] Further such events for this erase block will not be printed
[    6.620000] Old JFFS2 bitmask found at 0x001f29d0
[    6.630000] You cannot use older JFFS2 filesystems with newer kernels
[    6.650000] Old JFFS2 bitmask found at 0x001f7f18
[    6.660000] You cannot use older JFFS2 filesystems with newer kernels
[    6.670000] Old JFFS2 bitmask found at 0x001f9b28
[    6.670000] You cannot use older JFFS2 filesystems with newer kernels
[    6.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200000: 0xd528 instead
[    6.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200004: 0xfd5e instead
[    6.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200008: 0x55eb instead
[    6.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020000c: 0x74b3 instead
[    6.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200010: 0x76d8 instead
[    6.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200014: 0x7b56 instead
[    6.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200018: 0xd2df instead
[    6.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020001c: 0x39f6 instead
[    6.770000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200020: 0xf2a5 instead
[    6.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200024: 0x43b6 instead
[    6.790000] Further such events for this erase block will not be printed
[    6.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210000: 0xa5ae instead
[    6.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210004: 0x45b9 instead
[    6.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210008: 0x2e10 instead
[    6.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0021000c: 0xacb7 instead
[    6.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210010: 0x25f2 instead
[    6.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210014: 0xa63c instead
[    6.910000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210018: 0x1a9d instead
[    6.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0021001c: 0xd556 instead
[    6.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210020: 0x80cc instead
[    6.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00210024: 0x8944 instead
[    6.940000] Further such events for this erase block will not be printed
[    6.970000] Old JFFS2 bitmask found at 0x00213b14
[    6.970000] You cannot use older JFFS2 filesystems with newer kernels
[    7.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220000: 0x91d5 instead
[    7.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220004: 0x0d73 instead
[    7.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220008: 0x9521 instead
[    7.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0022000c: 0x710a instead
[    7.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220010: 0x6db4 instead
[    7.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220014: 0xd518 instead
[    7.070000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220018: 0x4383 instead
[    7.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0022001c: 0xf6da instead
[    7.090000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220020: 0xf876 instead
[    7.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00220024: 0xf632 instead
[    7.110000] Further such events for this erase block will not be printed
[    7.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230000: 0x8e7a instead
[    7.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230004: 0x333a instead
[    7.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230008: 0x5143 instead
[    7.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0023000c: 0x4720 instead
[    7.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230010: 0xd43a instead
[    7.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230014: 0xdff2 instead
[    7.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230018: 0xa757 instead
[    7.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0023001c: 0xd3eb instead
[    7.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230020: 0x08f1 instead
[    7.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00230024: 0x2cb8 instead
[    7.260000] Further such events for this erase block will not be printed
[    7.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240000: 0x826c instead
[    7.340000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240004: 0x3faa instead
[    7.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240008: 0x8ed2 instead
[    7.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0024000c: 0x33c2 instead
[    7.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240010: 0x614d instead
[    7.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240014: 0xf51e instead
[    7.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240018: 0x186f instead
[    7.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0024001c: 0xff8e instead
[    7.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240020: 0x176c instead
[    7.410000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240024: 0xc82c instead
[    7.420000] Further such events for this erase block will not be printed
[    7.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250000: 0xb461 instead
[    7.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250004: 0x26ef instead
[    7.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250008: 0xf4f0 instead
[    7.510000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0025000c: 0xfaee instead
[    7.520000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250010: 0x4369 instead
[    7.530000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250014: 0x81ae instead
[    7.530000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250018: 0xdd72 instead
[    7.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0025001c: 0x0b8d instead
[    7.550000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250020: 0xbad8 instead
[    7.560000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00250024: 0xae62 instead
[    7.570000] Further such events for this erase block will not be printed
[    7.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260000: 0x0a1b instead
[    7.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260004: 0xa3ce instead
[    7.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260008: 0xe5d2 instead
[    7.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0026000c: 0xf3ab instead
[    7.670000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260010: 0xb48a instead
[    7.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260014: 0x00e4 instead
[    7.690000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260018: 0xfb9e instead
[    7.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0026001c: 0x27f5 instead
[    7.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260020: 0x3db2 instead
[    7.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00260024: 0x8f70 instead
[    7.720000] Further such events for this erase block will not be printed
[    7.730000] Old JFFS2 bitmask found at 0x00260118
[    7.740000] You cannot use older JFFS2 filesystems with newer kernels
[    7.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270000: 0x434c instead
[    7.810000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270004: 0xd6c0 instead
[    7.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270008: 0x2c82 instead
[    7.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0027000c: 0x7bac instead
[    7.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270010: 0xc6f8 instead
[    7.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270014: 0x804c instead
[    7.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270018: 0xa4e5 instead
[    7.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0027001c: 0x6224 instead
[    7.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270020: 0x79aa instead
[    7.880000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00270024: 0x9dc5 instead
[    7.890000] Further such events for this erase block will not be printed
[    7.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280000: 0x4e68 instead
[    7.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280004: 0x3895 instead
[    7.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280008: 0x233b instead
[    7.980000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0028000c: 0xf632 instead
[    7.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280010: 0x61df instead
[    8.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280014: 0x2c0e instead
[    8.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280018: 0x7e13 instead
[    8.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0028001c: 0x8c86 instead
[    8.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280020: 0x4b63 instead
[    8.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00280024: 0xf531 instead
[    8.040000] Further such events for this erase block will not be printed
[    8.110000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[    8.120000] empty_blocks 4, bad_blocks 0, c->nr_blocks 45
[    8.120000] VFS: Cannot open root device "(null)" or unknown-block(31,3)
[    8.130000] Please append a correct "root=" boot option; here are the available partitions:
[    8.140000] 1f00             128 mtdblock0  (driver?)
[    8.140000] 1f01              64 mtdblock1  (driver?)
[    8.150000] 1f02             960 mtdblock2  (driver?)
[    8.150000] 1f03            2880 mtdblock3  (driver?)
[    8.160000] 1f04             256 mtdblock4  (driver?)
[    8.160000] 1f05              64 mtdblock5  (driver?)
[    8.170000] 1f06            3840 mtdblock6  (driver?)
[    8.170000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)


The model of the router is DIR-615 C1, and the OpenWRT image I am using for the router can be downloaded here:
http://www.gargoyle-router.com/downloads/images/ar71xx/gargoyle_1.6.2-ar71xx-generic-dir-615-c1-squashfs-factory.bin
(It's an OpenWRT derivative based on Attitude Adjustment 12.09)

Can you please have a look to see what is going wrong?

Thanks

m8r-xsu4ij

Here is a normal boot log from a successful [unmodified] flash:


U-Boot 1.1.4 (Apr 17 2009 - 19:26:05)

AP81 (ar7100) U-boot
DRAM:  AP81 initdram

sri:ddr_init
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 177k for U-Boot at: 81fd0000
Reserving 192k for malloc() at: 81fa0000
Reserving 44 Bytes for Board Info at: 81f9ffd4
Reserving 36 Bytes for Global Data at: 81f9ffb0
Reserving 128k for boot params() at: 81f7ffb0
Stack Pointer at: 81f7ff98
Now running in RAM - U-Boot at: 81fd0000
ar7100 flash_init
id read 0x10000107
flash size 400000, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth_initialize CONFIG_NET_MULTI
ag7100_enet_initialize
eth0: 00:24:01:e8:ef:58
ethernet found.
eth0
## Booting image at bf030000 ...
checksum:9321cd80
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2014-08-27   0:26:28 UTC
   Image Type:   MIPS Linux Kernel Image (lzma  compressed)
   Data Size:    945795 Bytes = 923.6 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   LZMA Umcompressing Kernel Image ...    Image loaded from 80060000-8031cf6c
    OK
   Boot image os 5=IH_OS_LINUX
## do_bootm_linux start....
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432

##Starting kernel ...

[    0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Aug 26 20:25:48 EDT 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9130 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=DIR-615-C1 console=ttyS0,115200 mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,960k(kernel),2880k(rootfs),64k(art)ro,3840k@0x30000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29040k/32768k available (2169k kernel code, 3728k reserved, 420k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[    0.100000] MIPS: machine is D-Link DIR-615 rev. C1
[    0.580000] bio: create slab <bio-0> at 0
[    0.590000] Switching to clocksource MIPS
[    0.600000] NET: Registered protocol family 2
[    0.600000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.600000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.620000] TCP reno registered
[    0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.640000] NET: Registered protocol family 1
[    0.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] msgmni has been set to 56
[    0.680000] io scheduler noop registered
[    0.680000] io scheduler deadline registered (default)
[    0.690000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.720000] console [ttyS0] enabled, bootconsole disabled
[    0.720000] console [ttyS0] enabled, bootconsole disabled
[    0.740000] m25p80 spi0.0: found w25x32, expected m25p80
[    0.740000] m25p80 spi0.0: w25x32 (4096 Kbytes)
[    0.750000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.750000] Creating 6 MTD partitions on "spi0.0":
[    0.760000] 0x000000000000-0x000000020000 : "u-boot"
[    0.760000] 0x000000020000-0x000000030000 : "config"
[    0.770000] 0x000000030000-0x000000120000 : "kernel"
[    0.780000] 0x000000120000-0x0000003f0000 : "rootfs"
[    0.780000] mtd: partition "rootfs" set to be root filesystem
[    0.790000] mtd: partition "rootfs_data" created automatically, ofs=3A0000, len=50000
[    0.800000] 0x0000003a0000-0x0000003f0000 : "rootfs_data"
[    0.800000] 0x0000003f0000-0x000000400000 : "art"
[    0.810000] 0x000000030000-0x0000003f0000 : "firmware"
[    0.870000] ag71xx_mdio: probed
[    0.870000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.200000] eth0: Atheros AR8216 switch driver attached.
[    1.300000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]
[    1.310000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.640000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]
[    1.650000] TCP cubic registered
[    1.660000] NET: Registered protocol family 17
[    1.660000] Bridge firewalling registered
[    1.660000] Ebtables v2.0 registered
[    1.670000] 8021q: 802.1Q VLAN Support v1.8
[    1.680000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.690000] Freeing unused kernel memory: 212k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[    5.310000] eth0: link up (100Mbps/Full duplex)
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[    7.810000] eth0: link down
[    8.630000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[    8.640000] Backport generated by backports.git backports-20140320-37-g5c33da0
[    8.840000] cfg80211: Calling CRDA to update world regulatory domain
[    8.850000] cfg80211: World regulatory domain updated:
[    8.850000] cfg80211:  DFS Master region: unset
[    8.860000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    8.870000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.880000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.880000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    8.890000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    8.900000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    8.910000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    9.380000] usbcore: registered new interface driver usbfs
[    9.390000] usbcore: registered new interface driver hub
[    9.390000] usbcore: registered new device driver usb
[   10.200000] ath: phy0: eeprom contains invalid mac address: 09:20:65:82:26:77
[   10.210000] ath: phy0: random mac address will be used: d6:c1:07:f8:e7:bb
[   10.240000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2122 RF Rev:a2 mem=0xb80c0000, irq=2
[   10.250000] cfg80211: Calling CRDA for country: US
[   10.260000] cfg80211: Regulatory domain changed to country: US
[   10.260000] cfg80211:  DFS Master region: FCC
[   10.270000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.280000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   10.290000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   10.290000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   10.300000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   10.310000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   10.360000] PPP generic driver version 2.4.2
[   10.520000] tun: Universal TUN/TAP device driver, 1.6
[   10.520000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   10.640000] GRE over IPv4 demultiplexor driver
[   10.660000] GRE over IPv4 tunneling driver
[   10.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.240000] NET: Registered protocol family 24
[   11.350000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.470000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
[   11.890000] PPTP driver version 0.8.5
[   12.600000] xt_time: kernel timezone is -0000
[   13.420000]  Hooked IMQ after mangle on PREROUTING
[   13.430000]  Hooked IMQ after nat on POSTROUTING
[   13.430000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   13.660000] Netfilter messages via NETLINK v0.30.
[   13.720000] ip_set: protocol 6
[   14.330000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

Please press Enter to activate this console. [   27.300000] eth0: link up (100Mbps/Full duplex)
[   27.470000] eth0: link down
[   27.480000] device eth0 entered promiscuous mode
[   29.380000] eth0: link up (100Mbps/Full duplex)
[   29.380000] br-lan: port 1(eth0) entered forwarding state
[   29.390000] br-lan: port 1(eth0) entered forwarding state
[   31.390000] br-lan: port 1(eth0) entered forwarding state
[   39.660000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.680000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.680000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.


Here's what piques my interest, on the modified image:


[    1.680000] SQUASHFS error: Filesystem uses "lzma" compression. This is not supported


And on the original image:


[    1.680000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.

m8r-xsu4ij

Finally, output of extract-firmware.sh and old-extract.sh:

extract-firmware.sh:


Preparing tools ...
Scanning firmware...

Scan Time:     2015-01-23 00:35:37
Signatures:    193
Target File:   /temp/fmk/gargoyle_1.6.2-ar71xx-generic-dir-615-c1-squashfs-factory.bin
MD5 Checksum:  839671e02bbf20bdbe00d0d8e8e61647

DECIMAL    HEX        DESCRIPTION
-------------------------------------------------------------------------------------------------------
0          0x0        uImage header, header size: 64 bytes, header CRC: 0x9321CD80, created: Wed Aug 27 00:26:28 2014, image size: 945795 bytes, Data Address: 0x80060000, Entry Point: 0x80060000, data CRC: 0x197096D, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "MIPS OpenWrt Linux-3.3.8"
64        0x40      LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 2871148 bytes
983040    0xF0000    Squashfs filesystem, little endian, version 4.0, compression:  size: 2608230 bytes,  1275 inodes, blocksize: 262144 bytes, created: Wed Aug 27 00:26:00 2014

Extracting 983040 bytes of uimage header image at offset 0
Extracting squashfs file system at offset 983040
Extracting 448 byte footer from offset 3931736
Extracting squashfs files...
Firmware extraction successful!
Firmware parts can be found in '/temp/fmk/fmk/*'


old-extract.sh:
Firmware Mod Kit (extract) v0.99, (c)2010-2012 Jeremy Collake, - Newer NG edition by Craig Heffner
LINUX system detected. Compatibility ok.
Testing file system of gargoyle ...
Building tools ...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memset... yes
checking for malloc... yes
checking for strstr... yes
checking for crc32 in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
configure: creating ./config.status
config.status: creating Makefile
/temp/fmk
Build seems successful.
Preparing working directory ...
Removing any previous files ...
Creating directories ...
Extracting firmware
! untrx failed, trying splitter3
Attempting squashfs 3.0 lzma ...
Trying 'damn small' variant - used by DD-WRT v24 ...
Error: filesystem not extracted properly.
  firmware image format not compatible?




m8r-xsu4ij

One more thing, binwalk of both images:

Original:


DECIMAL    HEX        DESCRIPTION
-------------------------------------------------------------------------------------------------------------------
0          0x0        uImage header, header size: 64 bytes, header CRC: 0x9321CD80, created: Wed Aug 27 00:26:28 2014, image size: 945795 bytes, Data Address: 0x80060000, Entry Point: 0x80060000, data CRC: 0x197096D, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "MIPS OpenWrt Linux-3.3.8"
64        0x40      LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 2871148 bytes
983040    0xF0000    Squashfs filesystem, little endian, version 4.0, compression:lzma (non-standard type definition), size: 2608230 bytes,  1275 inodes, blocksize: 262144 bytes, created: Wed Aug 27 00:26:00 2014


Modified:


DECIMAL    HEX        DESCRIPTION
-------------------------------------------------------------------------------------------------------------------
0          0x0        uImage header, header size: 64 bytes, header CRC: 0x9321CD80, created: Wed Aug 27 00:26:28 2014, image size: 945795 bytes, Data Address: 0x80060000, Entry Point: 0x80060000, data CRC: 0x197096D, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "MIPS OpenWrt Linux-3.3.8"
64        0x40      LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 2871148 bytes
983040    0xF0000    Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 2636744 bytes,  1275 inodes, blocksize: 262144 bytes, created: Fri Jan 23 01:06:35 2015

Jeremy Collake

That is strange. The error message is wrong. Both original and new are LZMA squashfs. However, that doesn't mean they are identical squashfs-lzma variants, which is probably the issue. LZMA was always an add-on to squashfs, so there got to be several different renditions. With OpenWrt, it should be trivial to fix this, if you have the time to spend investigating it. Definitely the FMK needs work, but those who maintain it (two guys) also have jobs (this one is mine), so we don't have time to deal with these things right now. Hope that points you somewhere helpful.
Software Engineer. Bitsum LLC.