#21747: ramips platform kernel fails to load
----------------------+------------------------
  Reporter:  fclql    |      Owner:  developers
      Type:  defect   |     Status:  reopened
  Priority:  highest  |  Milestone:
 Component:  kernel   |    Version:  Trunk
Resolution:           |   Keywords:
----------------------+------------------------
Changes (by anonymous):

 * status:  closed => reopened
 * resolution:  not_a_bug =>


Comment:

 Hello,

 the solution is no solution. What meants "Is the bin directory problem" ?

 Should i rebuild the complete build tree or is there another Way to fix
 this problem ?

 I attached the kernel output.

 Thanks
 -----------------------------------------------------

 [    0.000000] Linux version 4.1.16 ([email protected]) (gcc
 version 5.2.0 (OpenWrt GCC 5.2.0 r48626) ) #4 Mon Feb 8 21:11:14 UTC 2016
 [    0.000000] MyLoader: sysp=68b97ff9, boardp=256926a6, parts=6929cd1e
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
 [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
 [    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 0x0000000000000000-0x0000000007ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
 [    0.000000] Initmem setup node 0 [mem
 0x0000000000000000-0x0000000007ffffff]
 [    0.000000] On node 0 totalpages: 32768
 [    0.000000] free_area_init_node: node 0, pgdat 803cff00, node_mem_map
 81000000
 [    0.000000]   Normal zone: 256 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
 [    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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 [    0.000000] pcpu-alloc: [0] 0
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 32512
 [    0.000000] Kernel command line:  board=ARCHER-C7  console=ttyS0,115200
 rootfstype=squashfs,jffs2 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: 125404K/131072K available (2792K kernel code, 144K
 rwdata, 688K rodata, 268K init, 195K bss, 5668K reserved, 0K cma-reserved)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:83
 [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz,
 Ref:40.000MHz
 [    0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff,
 max_idle_ns: 5309056796 ns
 [    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every
 5965232126ns
 [    0.007492] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
 [    0.070061] pid_max: default: 32768 minimum: 301
 [    0.074605] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.080934] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.089755] clocksource jiffies: mask: 0xffffffff max_cycles:
 0xffffffff, max_idle_ns: 19112604462750000 ns
 [    0.099654] NET: Registered protocol family 16
 [    0.104861] MIPS: machine is TP-LINK Archer C7
 [    0.112197] ar724x-pci ar724x-pci.0: PCIe link is down
 [    0.117088] registering PCI controller with io_map_base unset
 [    0.122767] registering PCI controller with io_map_base unset
 [    0.569841] PCI host bridge to bus 0000:00
 [    0.573769] pci_bus 0000:00: root bus resource [mem
 0x10000000-0x11ffffff]
 [    0.580370] pci_bus 0000:00: root bus resource [io  0x0000]
 [    0.585749] pci_bus 0000:00: root bus resource [??? 0x00000000 flags
 0x0]
 [    0.592294] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    0.599963] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    0.600070] PCI host bridge to bus 0000:01
 [    0.603955] pci_bus 0000:01: root bus resource [mem
 0x12000000-0x13ffffff]
 [    0.610602] pci_bus 0000:01: root bus resource [io  0x0001]
 [    0.615965] pci_bus 0000:01: root bus resource [??? 0x00000000 flags
 0x0]
 [    0.622523] pci_bus 0000:01: No busn resource found for root bus, will
 use [bus 01-ff]
 [    0.630194] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
 [    0.630236] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff
 64bit]
 [    0.630290] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff
 pref]
 [    0.630341] pci 0000:01:00.0: supports D1 D2
 [    0.630510] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
 [    0.630536] pci 0000:01:00.0: BAR 0: assigned [mem
 0x12000000-0x121fffff 64bit]
 [    0.637566] pci 0000:01:00.0: BAR 6: assigned [mem
 0x12200000-0x1220ffff pref]
 [    0.644505] pci 0000:01:00.0: using irq 41 for pin 1
 [    0.649908] Switched to clocksource MIPS
 [    0.654639] NET: Registered protocol family 2
 [    0.659524] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.666215] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.672339] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.678513] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.684120] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.690380] NET: Registered protocol family 1
 [    0.694568] PCI: CLS 0 bytes, default 32
 [    0.695334] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.714186] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.719763] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.731409] io scheduler noop registered
 [    0.735132] io scheduler deadline registered (default)
 [    0.740275] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.746658] console [ttyS0] disabled
 [    0.770103] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
 = 2500000) is a 16550A
 [    0.778364] console [ttyS0] enabled
 [    0.785405] bootconsole [early0] disabled
 [    0.795480] m25p80 spi0.0: found w25q128, expected m25p80
 [    0.801003] m25p80 spi0.0: w25q128 (16384 Kbytes)
 [    0.806718] 5 tp-link partitions found on MTD device spi0.0
 [    0.812400] Creating 5 MTD partitions on "spi0.0":
 [    0.817258] 0x000000000000-0x000000020000 : "u-boot"
 [    0.822989] 0x000000020000-0x00000015113c : "kernel"
 [    0.828657] 0x00000015113c-0x000000ff0000 : "rootfs"
 [    0.834349] mtd: device 2 (rootfs) set to be root filesystem
 [    0.840183] 1 squashfs-split partitions found on MTD device rootfs
 [    0.846457] 0x0000005d0000-0x000000ff0000 : "rootfs_data"
 [    0.852550] 0x000000ff0000-0x000001000000 : "art"
 [    0.857932] 0x000000020000-0x000000ff0000 : "firmware"
 [    0.876573] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-
 mdio.0
 [    0.967459] libphy: ag71xx_mdio: probed
 [    1.561414] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid
 =xyz-changed, driver=Atheros AR8216/AR8236/AR8316]
 [    1.572718] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
 [    2.161489] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
 [    2.169573] NET: Registered protocol family 10
 [    2.177118] NET: Registered protocol family 17
 [    2.181735] bridge: automatic filtering via arp/ip/ip6tables has been
 deprecated. Update your scripts to load br_netfilter if you need this.
 [    2.194564] Bridge firewalling registered
 [    2.198729] 8021q: 802.1Q VLAN Support v1.8
 [    2.208535] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    2.216683] Freeing unused kernel memory: 268K (803ed000 - 80430000)
 [    3.311611] init: Console is alive
 [    3.315230] init: - watchdog -
 [    4.318845] init: - preinit -
 [    5.307710] eth1: link up (1000Mbps/Full duplex)
 [    5.333280] random: procd urandom read with 8 bits of entropy available
 [    8.598735] jffs2_scan_eraseblock(): End of filesystem marker found at
 0x10000
 [    8.606104] jffs2_build_filesystem(): unlocking the mtd device... done.
 [    8.612836] jffs2_build_filesystem(): erasing all blocks after the end
 marker... done.
 [   50.698265] jffs2: notice: (381) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
 xref (0 dead, 0 orphan) found.
 [   50.715182] mount_root: overlay filesystem has not been fully
 initialized yet
 [   50.732509] mount_root: switching to jffs2 overlay
 [   51.175880] eth1: link down
 [   51.186172] procd: - early -
 [   51.189169] procd: - watchdog -
 [   51.947403] procd: - ubus -
 [   52.956809] procd: - init -
 [   60.835279] eth1: link up (1000Mbps/Full duplex)
 [   60.851144] device eth1 entered promiscuous mode
 [   60.858915] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 [   60.952892] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 [   62.050013] br-lan: port 1(eth1) entered forwarding state
 [   62.055525] br-lan: port 1(eth1) entered forwarding state
 [   62.168135] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
 [   63.051398] eth0: link up (1000Mbps/Full duplex)
 [   63.056215] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   63.487683]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   63.496275] epc = 004015af in
 [   63.499299]  kmodloader[400000+3000]
 [   63.501435] ra  = 00401599 in
 [   63.504448]  kmodloader[400000+3000]

 [   63.562491]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   63.571088] epc = 004015af in
 [   63.574116]  kmodloader[400000+3000]
 [   63.576238] ra  = 00401599 in
 [   63.579248]  kmodloader[400000+3000]

 [   63.653406]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   63.662005] epc = 004015af in
 [   63.665029]  kmodloader[400000+3000]
 [   63.667151] ra  = 00401599 in
 [   63.670180]  kmodloader[400000+3000]

 [   63.705784]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   63.714383] epc = 004015af in
 [   63.717407]  kmodloader[400000+3000]
 [   63.719528] ra  = 00401599 in
 [   63.722558]  kmodloader[400000+3000]

 [   64.049949] br-lan: port 1(eth1) entered forwarding state
 [   64.585006]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   64.593601] epc = 004015af in
 [   64.596623]  kmodloader[400000+3000]
 [   64.598745] ra  = 00401599 in
 [   64.601775]  kmodloader[400000+3000]

 [   64.635658]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   64.644254] epc = 004015af in
 [   64.647276]  kmodloader[400000+3000]
 [   64.649398] ra  = 00401599 in
 [   64.652427]  kmodloader[400000+3000]

 [   64.670082]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   64.678641] epc = 004015af in
 [   64.681760]  kmodloader[400000+3000]
 [   64.683887] ra  = 00401599 in
 [   64.686913]  kmodloader[400000+3000]

 [   64.694402]
 do_page_fault(): sending SIGSEGV to insmod for invalid read access from
 00000000
 [   64.703011] epc = 004015af in
 [   64.706033]  kmodloader[400000+3000]
 [   64.708156] ra  = 00401599 in
 [   64.711179]  kmodloader[400000+3000]

 [   65.083323] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
 [   80.599929] random: nonblocking pool is initialized

--
Ticket URL: <https://dev.openwrt.org/ticket/21747#comment:6>
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