#17609: wndr3700v4 router unbootable when kernel 3.14 is used on ar71xx 
platform.
-------------------------+-------------------------------------------------
  Reporter:  Diffie      |      Owner:  developers
      Type:  defect      |     Status:  new
  Priority:  high        |  Milestone:  Chaos Calmer (trunk)
 Component:  kernel      |    Version:  Trunk
Resolution:              |   Keywords:  tftp, kernel 3.14, ar71xx,
                         |  wndr3700v4, wndr4300
-------------------------+-------------------------------------------------

Comment (by Diffie):

 Here is the output from serial console boot on kernel 3.14.19 which fails
 at mtd mount. Thanks

 U-Boot 1.1.4 (Jun 21 2012 - 11:09:33)

 DNI HW ID: 29763948 flash 128MB RAM 128MB U-boot dni29 V1.8


 DRAM:  128 MB
 Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros
 Communications, Ltd.
 Ath Nand ID[87ff0178]: 2c:f1:80:95:02
 ONFI MICRON      MT29F1G08ABADAWP
 Micron NAND 128MiB 3,3V 8-bit [128MB]
 ====== NAND Parameters ======
 sc = 0x87ff0158 bbt = 0x87f68008 bbt_size = 0x100 nf_ctrl = 0x344
 page = 0x800 block = 0x20000 oob = 0x40
 size = 128MB
 Setting 0xb8116290 to 0x4a942d0f
 Using default environment

 In:    serial
 Out:   serial
 Err:   serial
 Net:   ag934x_enet_initialize...
  4096 bytes read: OK
 Fetching MAC Address from 0x87fe7928
  wasp  reset mask:c02300
 WASP  ----> S17 PHY *
 : cfg1 0x80000000 cfg2 0x7114
 eth0: 44:94:fc:73:9a:fc
 athrs17_reg_init: complete
 eth0 up
 eth0
 Hit any key to stop autoboot:  0
 dup 1 speed 1000

  Client starts...[Listening] for ADVERTISE...checksum bad
 Tchecksum bad
 checksum bad
 checksum bad
 checksum bad
 checksum bad
 checksum bad
 TT
 Retry count exceeded; boot the image as usual

  nmrp server is stopped or failed !

 Loading from device 0: ath-nand (offset 0x6c0000)

 ** check kernel image **
    Verifying Checksum ... OK

 ** check rootfs image **
    Verifying Checksum ... OK
 ## Booting image at 81000000 ...
    Image Name:   MIPS OpenWrt Linux-3.14.19
    Created:      2014-10-02  15:34:27 UTC
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    1965951 Bytes =  1.9 MB
    Load Address: 80060000
    Entry Point:  80060000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK

 Starting kernel ...

 [    0.000000] Linux version 3.14.19 (diffie@blaze) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 r42707) ) #2 Thu Oct 2 11:34:10 EDT 2014
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
 [    0.000000] SoC: Atheros AR9344 rev 2
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 08000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
 [    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] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 32512
 [    0.000000] Kernel command line:  board=WNDR3700_V4
 console=ttyS0,115200 mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-
 
env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),121856k(ubi),123904k@0x6c0000(firmware),256k(caldata_backup),-(reserved)
 rootfstype=squashfs noinitrd
 [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
 [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
 bytes)
 [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 125732K/131072K available (2696K kernel code, 122K
 rwdata, 552K rodata, 204K init, 185K bss, 5340K reserved)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.000000] Clocks: CPU:560.000MHz, DDR:400.000MHz, AHB:200.000MHz,
 Ref:40.000MHz
 [    0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
 [    0.070000] pid_max: default: 32768 minimum: 301
 [    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.080000] NET: Registered protocol family 16
 [    0.090000] MIPS: machine is NETGEAR WNDR3700v4
 [    0.310000] bio: create slab <bio-0> at 0
 [    0.310000] Switched to clocksource MIPS
 [    0.320000] NET: Registered protocol family 2
 [    0.320000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.320000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.330000] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.340000] TCP: reno registered
 [    0.340000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.350000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.350000] NET: Registered protocol family 1
 [    0.360000] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.380000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.380000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.400000] msgmni has been set to 245
 [    0.400000] io scheduler noop registered
 [    0.400000] io scheduler deadline registered (default)
 [    0.410000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 «r¢¢êserial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud =
 2500000) is a 16550A
 [    0.450000] console [ttyS0] enabled
 [    0.450000] console [ttyS0] enabled
 [    0.450000] bootconsole [early0] disabled
 [    0.450000] bootconsole [early0] disabled
 [    0.460000] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1
 [    0.470000] nand: Micron NAND 128MiB 3,3V 8-bit
 [    0.470000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
 [    0.480000] Scanning device for bad blocks
 [    0.570000] mtd: ar934x-nfc: skipping zero sized partition
 [    0.570000] 11 cmdlinepart partitions found on MTD device ar934x-nfc
 [    0.580000] Creating 11 MTD partitions on "ar934x-nfc":
 [    0.580000] 0x000000000000-0x000000040000 : "u-boot"
 [    0.590000] 0x000000040000-0x000000080000 : "u-boot-env"
 [    0.600000] 0x000000080000-0x0000000c0000 : "caldata"
 [    0.600000] 0x0000000c0000-0x000000140000 : "pot"
 [    0.610000] 0x000000140000-0x000000340000 : "language"
 [    0.620000] 0x000000340000-0x0000003c0000 : "config"
 [    0.620000] 0x0000003c0000-0x0000006c0000 : "traffic_meter"
 [    0.630000] 0x0000006c0000-0x0000008c0000 : "kernel"
 [    0.640000] 0x0000008c0000-0x000007fc0000 : "ubi"
 [    0.640000] 0x0000006c0000-0x000007fc0000 : "firmware"
 [    1.240000] random: nonblocking pool is initialized
 [    1.800000] 0x000007fc0000-0x000008000000 : "caldata_backup"
 [    1.830000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-
 mdio.0
 [    3.040000] libphy: ag71xx_mdio: probed
 [    3.670000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00
 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
 [    3.680000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
 [    3.690000] TCP: cubic registered
 [    3.690000] NET: Registered protocol family 17
 [    3.700000] 8021q: 802.1Q VLAN Support v1.8
 [    3.700000] UBI: auto-attach mtd8
 [    3.710000] UBI: attaching mtd8 to ubi0
 [    3.830000] UBI error: scan_peb: bad image sequence number 1122340664
 in PEB 97, expected 345540212
 [    3.840000] Erase counter header dump:
 [    3.840000]  magic          0x55424923
 [    3.850000]  version        1
 [    3.850000]  ec             1
 [    3.850000]  vid_hdr_offset 2048
 [    3.850000]  data_offset    4096
 [    3.860000]  image_seq      1122340664
 [    3.860000]  hdr_crc        0xb8e2faee
 [    3.870000] erase counter header hexdump:
 [    3.870000] UBI error: ubi_attach_mtd_dev: failed to attach mtd8, error
 -22
 [    3.880000] UBI error: ubi_auto_attach: cannot attach mtd8
 [    3.880000] UBIFS error (pid 1): ubifs_mount: cannot open
 "ubi0:rootfs", error -19
 [    3.890000] VFS: Cannot open root device "(null)" or unknown-
 block(0,0): error -6
 [    3.900000] Please append a correct "root=" boot option; here are the
 available partitions:
 [    3.910000] 1f00             256 mtdblock0  (driver?)
 [    3.910000] 1f01             256 mtdblock1  (driver?)
 [    3.920000] 1f02             256 mtdblock2  (driver?)
 [    3.920000] 1f03             512 mtdblock3  (driver?)
 [    3.930000] 1f04            2048 mtdblock4  (driver?)
 [    3.930000] 1f05             512 mtdblock5  (driver?)
 [    3.940000] 1f06            3072 mtdblock6  (driver?)
 [    3.940000] 1f07            2048 mtdblock7  (driver?)
 [    3.950000] 1f08          121856 mtdblock8  (driver?)
 [    3.950000] 1f09          123904 mtdblock9  (driver?)
 [    3.960000] 1f0a             256 mtdblock10  (driver?)
 [    3.960000] Kernel panic - not syncing: VFS: Unable to mount root fs on
 unknown-block(0,0)

--
Ticket URL: <https://dev.openwrt.org/ticket/17609#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to