#20301: TL-WR841Nv8 cannot boot randomly
------------------------------------+----------------------------------
 Reporter:  anonymous               |      Owner:  developers
     Type:  defect                  |     Status:  new
 Priority:  normal                  |  Milestone:  Chaos Calmer (trunk)
Component:  kernel                  |    Version:
 Keywords:  cannot boot;serial8250  |
------------------------------------+----------------------------------
 r46548 CC on my TL-WR841Nv8

 it cannot boot randomly,sometime looks fine , i think the serial8250 cause
 this problem ,anyone meet the same problem??thanks~

 here is the log:
 ================================================================
 ## Booting image at 9f020000 ...
    Uncompressing Kernel Image ... OK

 Starting kernel ...

 [    0.000000] Linux version 3.18.19 (td-sd@TD-SD) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #5 Fri Aug 7 18:13:58 CST 2015
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
 [    0.000000] SoC: Atheros AR9341 rev 3
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 04000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
 [    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
 [    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: 16256
 [    0.000000] Kernel command line:  board=TL-WR841N-v8
 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
 [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 60944K/65536K available (2499K kernel code, 125K
 rwdata, 532K rodata, 228K init, 188K bss, 4592K reserved)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz,
 Ref:25.000MHz
 [    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
 [    0.090000] pid_max: default: 32768 minimum: 301
 [    0.090000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.110000] NET: Registered protocol family 16
 [    0.110000] MIPS: machine is TP-LINK TL-WR841N/ND v8
 [    0.570000] Switched to clocksource MIPS
 [    0.570000] NET: Registered protocol family 2
 [    0.580000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.580000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.590000] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.590000] TCP: reno registered
 [    0.600000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.610000] NET: Registered protocol family 1
 [    0.610000] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.650000] msgmni has been set to 119
 [    0.660000] io scheduler noop registered
 [    0.660000] io scheduler deadline registered (default)
 [    0.670000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.670000] console [ttyS0] disabled
 ====================================
 then nothing happened

 ===================================
 and here is the normal booting log:
 =============================
 ## Booting image at 9f020000 ...
    Uncompressing Kernel Image ... OK

 Starting kernel ...

 [    0.000000] Linux version 3.18.19 (td-sd@TD-SD) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #5 Fri Aug 7 18:13:58 CST 2015
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
 [    0.000000] SoC: Atheros AR9341 rev 3
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 04000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
 [    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
 [    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: 16256
 [    0.000000] Kernel command line:  board=TL-WR841N-v8
 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
 [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 60944K/65536K available (2499K kernel code, 125K
 rwdata, 532K rodata, 228K init, 188K bss, 4592K reserved)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz,
 Ref:25.000MHz
 [    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
 [    0.090000] pid_max: default: 32768 minimum: 301
 [    0.090000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.110000] NET: Registered protocol family 16
 [    0.110000] MIPS: machine is TP-LINK TL-WR841N/ND v8
 [    0.570000] Switched to clocksource MIPS
 [    0.570000] NET: Registered protocol family 2
 [    0.580000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.580000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.590000] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.590000] TCP: reno registered
 [    0.600000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.610000] NET: Registered protocol family 1
 [    0.610000] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.650000] msgmni has been set to 119
 [    0.660000] io scheduler noop registered
 [    0.660000] io scheduler deadline registered (default)
 [    0.670000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.670000] console [ttyS0] disabled
 [    0.700000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
 = 1562500) is a 16550A
 [    0.710000] console [ttyS0] enabled
 [    0.710000] console [ttyS0] enabled
 [    0.710000] bootconsole [early0] disabled
 [    0.710000] bootconsole [early0] disabled
 [    0.720000] m25p80 spi0.0: found n25q064, expected m25p80
 [    0.730000] m25p80 spi0.0: n25q064 (8192 Kbytes)
 [    0.730000] 5 tp-link partitions found on MTD device spi0.0
 [    0.740000] Creating 5 MTD partitions on "spi0.0":
 [    0.750000] 0x000000000000-0x000000020000 : "u-boot"
 [    0.750000] 0x000000020000-0x000000137710 : "kernel"
 [    0.760000] 0x000000137710-0x0000007f0000 : "rootfs"
 [    0.760000] mtd: device 2 (rootfs) set to be root filesystem
 [    0.770000] 1 squashfs-split partitions found on MTD device rootfs
 [    0.780000] 0x000000470000-0x0000007f0000 : "rootfs_data"
 [    0.780000] 0x0000007f0000-0x000000800000 : "art"
 [    0.790000] 0x000000020000-0x0000007f0000 : "firmware"
 [    0.820000] libphy: ag71xx_mdio: probed
 [    1.410000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00
 [uid=004dd042, driver=Generic PHY]
 [    1.420000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
 [    2.010000] ag71xx-mdio.1: Found an AR934X built-in switch
 [    2.050000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
 [    2.060000] TCP: cubic registered
 [    2.060000] NET: Registered protocol family 17
 [    2.070000] bridge: automatic filtering via arp/ip/ip6tables has been
 deprecated. Update your scripts to load br_netfilter if you need this.
 [    2.080000] Bridge firewalling registered
 [    2.080000] 8021q: 802.1Q VLAN Support v1.8
 [    2.100000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    2.110000] Freeing unused kernel memory: 228K (80377000 - 803b0000)
 [    3.330000] init: Console is alive
 [    3.340000] init: - watchdog -
 [    5.010000] usbcore: registered new interface driver usbfs
 [    5.020000] usbcore: registered new interface driver hub
 [    5.020000] usbcore: registered new device driver usb
 [    5.030000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    5.040000] ehci-platform: EHCI generic platform driver
 [    5.050000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    5.060000] ohci-platform: OHCI generic platform driver
 [    5.400000] init: - preinit -
 [    6.020000] random: procd urandom read with 9 bits of entropy available
 Press the [f] key and hit [enter] to enter failsafe mode
 Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
 level
 [    7.600000] eth1: link up (1000Mbps/Full duplex)
 [    9.340000] jffs2: notice: (340) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
 xref (0 dead, 0 orphan) f
 ound.
 [    9.360000] mount_root: switching to jffs2 overlay
 [    9.410000] eth1: link down
 [    9.420000] procd: - early -
 [    9.430000] procd: - watchdog -
 [   10.050000] procd: - ubus -
 [   11.070000] procd: - init -
 Please press Enter to activate this console.
 [   12.310000] NET: Registered protocol family 10
 [   12.320000] tun: Universal TUN/TAP device driver, 1.6
 [   12.330000] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
 [   12.340000] gre: GRE over IPv4 demultiplexor driver
 [   12.340000] ip_gre: GRE over IPv4 tunneling driver
 [   12.370000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   12.420000] Netfilter messages via NETLINK v0.30.
 [   12.440000] ip_set: protocol 6
 [   12.530000] u32 classifier
 [   12.540000]     input device check on
 [   12.540000]     Actions configured
 [   12.560000] Mirror/redirect action on
 [   12.630000] Loading modules backported from Linux version
 master-2015-03-09-0-g141f155
 [   12.640000] Backport generated by backports.git
 backports-20150129-0-gdd4a670
 [   12.670000] Ebtables v2.0 registered
 [   12.680000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   12.710000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
 [   12.860000] xt_time: kernel timezone is -0000
 [   12.900000] cfg80211: Calling CRDA to update world regulatory domain
 [   12.930000] cfg80211: World regulatory domain updated:
 [   12.930000] cfg80211:  DFS Master region: unset
 [   12.940000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   12.950000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   12.950000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   12.960000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
 2000 mBm), (N/A)
 [   12.970000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   12.980000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
 KHz AUTO), (N/A, 2000 mBm), (0 s)
 [   12.990000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   13.000000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   13.010000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 0 mBm), (N/A)
 [   13.100000] PPP generic driver version 2.4.2
 [   13.110000] NET: Registered protocol family 24
 [   13.110000] PPTP driver version 0.8.5
 [   13.210000] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
 [   13.220000] cfg80211: Calling CRDA for country: US
 [   13.220000] cfg80211: Regulatory domain changed to country: US
 [   13.230000] cfg80211:  DFS Master region: FCC
 [   13.230000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   13.240000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 3000 mBm), (N/A)
 [   13.250000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000
 KHz AUTO), (N/A, 1700 mBm), (N/A)
 [   13.260000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
 KHz AUTO), (N/A, 2300 mBm), (0 s)
 [   13.270000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 3000 mBm), (N/A)
 [   13.280000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 4000 mBm), (N/A)
 [   24.320000] device eth1 entered promiscuous mode
 [   24.350000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 [   24.390000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 [   26.140000] eth1: link up (1000Mbps/Full duplex)
 [   26.140000] br-lan: port 1(eth1) entered forwarding state
 [   26.150000] br-lan: port 1(eth1) entered forwarding state
 [   26.170000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
 [   26.690000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 [   26.710000] device wlan0 entered promiscuous mode
 [   26.740000] br-lan: port 2(wlan0) entered forwarding state
 [   26.750000] br-lan: port 2(wlan0) entered forwarding state
 [   26.750000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
 [   28.150000] br-lan: port 1(eth1) entered forwarding state
 [   28.750000] br-lan: port 2(wlan0) entered forwarding state

 ==================

--
Ticket URL: <https://dev.openwrt.org/ticket/20301>
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