#19896: WDR4900 / mpc85xx target broken with musl
--------------------------+------------------------
  Reporter:  arokh        |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  highest      |  Milestone:
 Component:  base system  |    Version:  Trunk
Resolution:               |   Keywords:
--------------------------+------------------------

Comment (by guenti):

 U-Boot 2010.12-svn15934 (Dec 11 2012 - 16:23:49)

 CPU:   P1014, Version: 1.0, (0x80f10110)
 Core:  E500, Version: 5.1, (0x80212151)
 Clock Configuration:
        CPU0:800  MHz,
        CCB:400  MHz,
        DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100
 MHz
 L1:    D-cache 32 kB enabled
        I-cache 32 kB enabled
 Board: P1014RDB
 SPI:   ready
 DRAM:  128 MiB
 L2:    256 KB enabled
 Using default environment

 PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
   01:00.0     - 168c:abcd - Network controller
 PCIe1: Bus 00 - 01
 PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
   03:00.0     - 168c:0033 - Network controller
 PCIe2: Bus 02 - 03
 In:    serial
 Out:   serial
 Err:   serial
 Net:   initialization for Atheros AR8327/AR8328
 AR8327/AR8328 v1.1 is found!
 eTSEC1
 Autobooting in 1 seconds
 SF: Detected S25FL128S_64K with page size 256, total 16 MiB
 16384 KiB S25FL128S_64K at 0:0 is now current device
 SPI flash read successful
 SPI flash read successful
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   Linux-3.18.16
    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
    Data Size:    1756097 Bytes = 1.7 MiB
    Load Address: 01000000
    Entry Point:  01000548
    Verifying Checksum ... OK
 ## Flattened Device Tree blob at 03000000
    Booting using the fdt blob at 0x3000000
    Uncompressing Kernel Image ... OK
    Loading Device Tree to 00ffa000, end 00ffffff ... OK
 [    0.000000] Using Freescale P1014 machine description
 [    0.000000] Memory CAM mapping: 64/64 Mb, residual: 0Mb
 [    0.000000] Linux version 3.18.16 (guenther@HP8710w) (gcc version 4.8.3
 (Ope5
 [    0.000000] TL-WDR4900 v1 board from TP-Link
 [    0.000000] Zone ranges:
 [    0.000000]   DMA      [mem 0x00000000-0x07ffffff]
 [    0.000000]   Normal   empty
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
 [    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
 [    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pa2
 [    0.000000] Kernel command line: console=ttyS0,115200
 [    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] Sorting __ex_table...
 [    0.000000] Memory: 60400K/131072K available (2560K kernel code, 116K
 rwdata)
 [    0.000000] Kernel virtual memory layout:
 [    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
 [    0.000000]   * 0xfe000000..0xfe000000  : early ioremap
 [    0.000000]   * 0xc9000000..0xfe000000  : vmalloc & ioremap
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:512 nr_irqs:512 16
 [    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000,
 max s
 [    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
 [    0.000000] mpic: Initializing for 256 sources
 [    0.000009] clocksource: timebase mult[14000007] shift[24] registered
 [    0.000043] pid_max: default: 32768 minimum: 301
 [    0.000125] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.000134] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.003400] NET: Registered protocol family 16
 [    0.007372] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware
 bus nu5
 [    0.007384] PCI host bridge /pcie@ffe09000 (primary) ranges:
 [    0.007396]  MEM 0x00000000a0000000..0x00000000bfffffff ->
 0x00000000a000000
 [    0.007404]   IO 0x00000000ffc10000..0x00000000ffc1ffff ->
 0x0000000000000000
 [    0.007419] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
 [    0.007686] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware
 bus nu5
 [    0.007693] PCI host bridge /pcie@ffe0a000  ranges:
 [    0.007703]  MEM 0x0000000080000000..0x000000009fffffff ->
 0x000000008000000
 [    0.007711]   IO 0x00000000ffc00000..0x00000000ffc0ffff ->
 0x0000000000000000
 [    0.007725] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
 [    0.018411] PCI: Probing PCI hardware
 [    0.018554] fsl-pci ffe09000.pcie: PCI host bridge to bus 0000:00
 [    0.018568] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
 [    0.018578] pci_bus 0000:00: root bus resource [mem
 0xa0000000-0xbfffffff]
 [    0.018589] pci_bus 0000:00: root bus resource [bus 00-ff]
 [    0.024159] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
 [    0.024374] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0001:02
 [    0.024389] pci_bus 0001:02: root bus resource [io  0x20000-0x2ffff]
 (bus ad)
 [    0.024399] pci_bus 0001:02: root bus resource [mem
 0x80000000-0x9fffffff]
 [    0.024409] pci_bus 0001:02: root bus resource [bus 02-ff]
 [    0.024678] pci 0001:02:00.0: Primary bus is hard wired to 0
 [    0.024689] pci 0001:02:00.0: bridge configuration invalid ([bus
 01-01]), reg
 [    0.024813] pci 0001:03:00.0: AR9381 fixup applied
 [    0.032165] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
 [    0.032273] PCI: Cannot allocate resource region 0 of PCI bridge 1,
 will remp
 [    0.032286] PCI: Cannot allocate resource region 0 of device
 0000:00:00.0, wp
 [    0.032297] PCI: Cannot allocate resource region 0 of device
 0001:02:00.0, wp
 [    0.032334] pci 0000:00:00.0: disabling bridge window [io
 0x0000-0xffffffff)
 [    0.032352] pci 0000:00:00.0: BAR 0: no space for [mem size 0x00100000]
 [    0.032362] pci 0000:00:00.0: BAR 0: failed to assign [mem size
 0x00100000]
 [    0.032376] pci 0000:01:00.0: BAR 6: assigned [mem
 0xa0020000-0xa002ffff pre]
 [    0.032386] pci 0000:00:00.0: PCI bridge to [bus 01]
 [    0.032397] pci 0000:00:00.0:   bridge window [mem
 0xa0000000-0xbfffffff]
 [    0.032407] pci_bus 0000:00: Some PCI device resources are unassigned,
 try bc
 [    0.032452] pci 0001:02:00.0: BAR 0: no space for [mem size 0x00100000]
 [    0.032461] pci 0001:02:00.0: BAR 0: failed to assign [mem size
 0x00100000]
 [    0.032473] pci 0001:03:00.0: BAR 6: assigned [mem
 0x80020000-0x8002ffff pre]
 [    0.032482] pci 0001:02:00.0: PCI bridge to [bus 03]
 [    0.032492] pci 0001:02:00.0:   bridge window [io  0x20000-0x2ffff]
 [    0.032502] pci 0001:02:00.0:   bridge window [mem
 0x80000000-0x9fffffff]
 [    0.032511] pci_bus 0001:02: Some PCI device resources are unassigned,
 try bc
 [    0.035368] Switched to clocksource timebase
 [    0.036216] NET: Registered protocol family 2
 [    0.036692] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.036712] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.036729] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.036781] TCP: reno registered
 [    0.036790] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.036808] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.036948] NET: Registered protocol family 1
 [    0.037884] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.044094] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.044113] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORI.
 [    0.044601] msgmni has been set to 246
 [    0.044844] io scheduler noop registered
 [    0.044858] io scheduler deadline registered (default)
 [    0.068268] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
 [    0.068860] console [ttyS0] disabled
 [    0.068895] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud
 = 24A
 [    0.626113] console [ttyS0] enabled
 [    0.630117] console [ttyS0] disabled
 [    0.000000] Using Freescale P1014 machine description
 [    0.000000] Memory CAM mapping: 64/64 Mb, residual: 0Mb
 [    0.000000] Linux version 3.18.16 (guenther@HP8710w) (gcc version 4.8.3
 (Ope5
 [    0.000000] TL-WDR4900 v1 board from TP-Link
 [    0.000000] Zone ranges:
 [    0.000000]   DMA      [mem 0x00000000-0x07ffffff]
 [    0.000000]   Normal   empty
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
 [    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
 [    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pa2
 [    0.000000] Kernel command line: console=ttyS0,115200
 [    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] Sorting __ex_table...
 [    0.000000] Memory: 60400K/131072K available (2560K kernel code, 116K
 rwdata)
 [    0.000000] Kernel virtual memory layout:
 [    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
 [    0.000000]   * 0xfe000000..0xfe000000  : early ioremap
 [    0.000000]   * 0xc9000000..0xfe000000  : vmalloc & ioremap
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:512 nr_irqs:512 16
 [    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000,
 max s
 [    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
 [    0.000000] mpic: Initializing for 256 sources
 [    0.000009] clocksource: timebase mult[14000007] shift[24] registered
 [    0.000043] pid_max: default: 32768 minimum: 301
 [    0.000125] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.000134] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.003400] NET: Registered protocol family 16
 [    0.007372] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware
 bus nu5
 [    0.007384] PCI host bridge /pcie@ffe09000 (primary) ranges:
 [    0.007396]  MEM 0x00000000a0000000..0x00000000bfffffff ->
 0x00000000a000000
 [    0.007404]   IO 0x00000000ffc10000..0x00000000ffc1ffff ->
 0x0000000000000000
 [    0.007419] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
 [    0.007686] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware
 bus nu5
 [    0.007693] PCI host bridge /pcie@ffe0a000  ranges:
 [    0.007703]  MEM 0x0000000080000000..0x000000009fffffff ->
 0x000000008000000
 [    0.007711]   IO 0x00000000ffc00000..0x00000000ffc0ffff ->
 0x0000000000000000
 [    0.007725] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
 [    0.018411] PCI: Probing PCI hardware
 [    0.018554] fsl-pci ffe09000.pcie: PCI host bridge to bus 0000:00
 [    0.018568] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
 [    0.018578] pci_bus 0000:00: root bus resource [mem
 0xa0000000-0xbfffffff]
 [    0.018589] pci_bus 0000:00: root bus resource [bus 00-ff]
 [    0.024159] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
 [    0.024374] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0001:02
 [    0.024389] pci_bus 0001:02: root bus resource [io  0x20000-0x2ffff]
 (bus ad)
 [    0.024399] pci_bus 0001:02: root bus resource [mem
 0x80000000-0x9fffffff]
 [    0.024409] pci_bus 0001:02: root bus resource [bus 02-ff]
 [    0.024678] pci 0001:02:00.0: Primary bus is hard wired to 0
 [    0.024689] pci 0001:02:00.0: bridge configuration invalid ([bus
 01-01]), reg
 [    0.024813] pci 0001:03:00.0: AR9381 fixup applied
 [    0.032165] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
 [    0.032273] PCI: Cannot allocate resource region 0 of PCI bridge 1,
 will remp
 [    0.032286] PCI: Cannot allocate resource region 0 of device
 0000:00:00.0, wp
 [    0.032297] PCI: Cannot allocate resource region 0 of device
 0001:02:00.0, wp
 [    0.032334] pci 0000:00:00.0: disabling bridge window [io
 0x0000-0xffffffff)
 [    0.032352] pci 0000:00:00.0: BAR 0: no space for [mem size 0x00100000]
 [    0.032362] pci 0000:00:00.0: BAR 0: failed to assign [mem size
 0x00100000]
 [    0.032376] pci 0000:01:00.0: BAR 6: assigned [mem
 0xa0020000-0xa002ffff pre]
 [    0.032386] pci 0000:00:00.0: PCI bridge to [bus 01]
 [    0.032397] pci 0000:00:00.0:   bridge window [mem
 0xa0000000-0xbfffffff]
 [    0.032407] pci_bus 0000:00: Some PCI device resources are unassigned,
 try bc
 [    0.032452] pci 0001:02:00.0: BAR 0: no space for [mem size 0x00100000]
 [    0.032461] pci 0001:02:00.0: BAR 0: failed to assign [mem size
 0x00100000]
 [    0.032473] pci 0001:03:00.0: BAR 6: assigned [mem
 0x80020000-0x8002ffff pre]
 [    0.032482] pci 0001:02:00.0: PCI bridge to [bus 03]
 [    0.032492] pci 0001:02:00.0:   bridge window [io  0x20000-0x2ffff]
 [    0.032502] pci 0001:02:00.0:   bridge window [mem
 0x80000000-0x9fffffff]
 [    0.032511] pci_bus 0001:02: Some PCI device resources are unassigned,
 try bc
 [    0.035368] Switched to clocksource timebase
 [    0.036216] NET: Registered protocol family 2
 [    0.036692] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.036712] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.036729] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.036781] TCP: reno registered
 [    0.036790] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.036808] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.036948] NET: Registered protocol family 1
 [    0.037884] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.044094] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.044113] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORI.
 [    0.044601] msgmni has been set to 246
 [    0.044844] io scheduler noop registered
 [    0.044858] io scheduler deadline registered (default)
 [    0.068268] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
 [    0.068860] console [ttyS0] disabled
 [    0.068895] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud
 = 24A
 [    0.626113] console [ttyS0] enabled
 [    0.630117] console [ttyS0] disabled
 [    0.633730] ffe04500.serial: ttyS0 at MMIO 0xffe04500 (irq = 42,
 base_baud =0
 [    1.206821] console [ttyS0] enabled
 [    1.210582] Generic RTC Driver v1.07
 [    1.215004] fsl_espi ffe07000.spi: cs=0, init_csmode=0x100008
 [    1.220876] fsl_espi ffe07000.spi: master is unqueued, this is
 deprecated
 [    1.261236] m25p80 spi0.0: s25fl129p1 (16384 Kbytes)
 [    1.266320] 7 ofpart partitions found on MTD device spi0.0
 [    1.271818] Creating 7 MTD partitions on "spi0.0":
 [    1.276610] 0x000000000000-0x000000050000 : "u-boot"
 [    1.282091] 0x000000050000-0x000000060000 : "dtb"
 [    1.287233] 0x000000060000-0x000000300000 : "kernel"
 [    1.292638] 0x000000300000-0x000000fe0000 : "rootfs"
 [    1.298030] mtd: device 3 (rootfs) set to be root filesystem
 [    1.304483] 1 squashfs-split partitions found on MTD device rootfs
 [    1.310679] 0x000000d80000-0x000000fe0000 : "rootfs_data"
 [    1.316553] 0x000000fe0000-0x000000ff0000 : "config"
 [    1.321970] 0x000000ff0000-0x000001000000 : "caldata"
 [    1.327481] 0x000000060000-0x000000fe0000 : "firmware"
 [    1.333085] fsl_espi ffe07000.spi: at 0xc9038000 (irq = 59)
 [    1.339204] libphy: Freescale PowerQUICC MII Bus: probed
 [    1.349570] switch0: Atheros AR8327 rev. 2 switch registered on
 mdio@ffe24000
 [    1.413096] fsl-gianfar soc@ffe00000:ethernet@b0000: enabled errata
 workarou4
 [    1.431718] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: mac:
 f8:1a:67:5a:68
 [    1.439124] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Running with
 NAPI d
 [    1.446780] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: RX BD ring
 size fo6
 [    1.454783] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: TX BD ring
 size fo6
 [    1.462897] ucc_geth_driver: QE UCC Gigabit Ethernet Controller
 [    1.469124] TCP: cubic registered
 [    1.472456] NET: Registered protocol family 17
 [    1.476967] bridge: automatic filtering via arp/ip/ip6tables has been
 deprec.
 [    1.489584] 8021q: 802.1Q VLAN Support v1.8
 [    1.499105] VFS: Mounted root (squashfs filesystem) readonly on device
 31:3.
 [    1.506561] Freeing unused kernel memory: 136K (c0313000 - c0335000)
 [    1.532378] random: nonblocking pool is initialized
 [    2.068634] preinit[1]: unhandled signal 4 at b7913d4c nip b7913d4c lr
 1002c1
 [    2.077148] Kernel panic - not syncing: Attempted to kill init!
 exitcode=0x04
 [    2.077148]
 [    2.086278] CPU: 0 PID: 1 Comm: preinit Not tainted 3.18.16 #1
 [    2.092101] Call Trace:
 [    2.094554] [c7835d60] [c027e458] panic+0xcc/0x1fc (unreliable)
 [    2.100474] [c7835dc0] [c0025624] do_exit+0x380/0x6f8
 [    2.105520] [c7835e10] [c00266f4] do_group_exit+0x68/0xa4
 [    2.110922] [c7835e20] [c002f46c] get_signal+0x3dc/0x420
 [    2.116233] [c7835e70] [c0006dd0] do_signal+0x34/0x178
 [    2.121366] [c7835f30] [c0006fa4] do_notify_resume+0x20/0x78
 [    2.127023] [c7835f40] [c000d854] do_user_signal+0x74/0xc4
 [    2.132502] --- interrupt: 700 at 0xb7913d4c
 [    2.132502]     LR = 0x1002ca48
 [    2.139892] ---[ end Kernel panic - not syncing: Attempted to kill
 init! exi4
 [    2.139892]

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