#20979: D-Link DIR-860L-B1 does not work on the latest trunks
------------------------+------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  high       |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by thxer):

 I attached the serial, the boot log:


 {{{
 [    0.000000] Linux version 3.18.23 (thepeople@owrtbuild01) (gcc version
 5.2.0 (OpenWrt GCC 5.2.0 r47713) ) #1 SMP Fri Dec 4 04:28:58 CET 2015
 [    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
 [    0.000000] MIPS: machine is D-Link DIR-860L B1
 [    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]   HighMem  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] Detected 3 available secondary CPU(s)
 [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize
 32 bytes
 [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
 [    0.000000] PERCPU: Embedded 9 pages/cpu @8110a000 s5824 r8192 d22848
 u36864
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 32512
 [    0.000000] Kernel command line: console=ttyS0,57600
 rootfstype=squashfs,jffs2
 [    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=00014288
 [    0.000000] Readback ErrCtl register=00014288
 [    0.000000] Memory: 124912K/131072K available (3485K kernel code, 184K
 rwdata, 656K rodata, 204K init, 256K bss, 6160K reserved, 0K highmem)
 [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
 [    0.000000] Hierarchical RCU implementation.
 [    0.000000] NR_IRQS:256
 [    0.000000] gic: revision 3.0
 [    0.000000] CPU Clock: 880MHz
 [    0.000000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
 [    0.060000] 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.090000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.090000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize
 32 bytes
 [    0.090000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
 [    0.090000] CPU1 revision is: 0001992f (MIPS 1004Kc)
 [    0.190000] Synchronize counters for CPU 1: done.
 [    0.190000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.190000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize
 32 bytes
 [    0.190000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
 [    0.200000] CPU2 revision is: 0001992f (MIPS 1004Kc)
 [    0.290000] Synchronize counters for CPU 2: done.
 [    0.300000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.300000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize
 32 bytes
 [    0.300000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
 [    0.300000] CPU3 revision is: 0001992f (MIPS 1004Kc)
 [    0.390000] Synchronize counters for CPU 3: done.
 [    0.400000] Brought up 4 CPUs
 [    0.410000] pinctrl core: initialized pinctrl subsystem
 [    0.420000] NET: Registered protocol family 16
 [    0.430000] pull PCIe RST: RALINK_RSTCTRL = 0
 [    0.730000] release PCIe RST: RALINK_RSTCTRL = 7000000
 [    0.740000] ***** Xtal 40MHz *****
 [    0.740000] release PCIe RST: RALINK_RSTCTRL = 7000000
 [    0.750000] Port 0 N_FTS = 1b102800
 [    0.750000] Port 1 N_FTS = 1b102800
 [    0.760000] Port 2 N_FTS = 1b102800
 [    1.890000] PCIE2 no card, disable it(RST&CLK)
 [    1.900000]  -> 21007f2
 [    1.900000] PCIE0 enabled
 [    1.910000] PCIE1 enabled
 [    1.910000] PCI host bridge /pcie@1e140000 ranges:
 [    1.920000]  MEM 0x0000000060000000..0x000000006fffffff
 [    1.930000]   IO 0x000000001e160000..0x000000001e16ffff
 [    1.970000] mt7621_gpio 1e000600.gpio: registering 32 gpios
 [    1.980000] mt7621_gpio 1e000600.gpio: registering 32 gpios
 [    1.990000] mt7621_gpio 1e000600.gpio: registering 32 gpios
 [    2.000000] PCI host bridge to bus 0000:00
 [    2.000000] pci_bus 0000:00: root bus resource [mem
 0x60000000-0x6fffffff]
 [    2.010000] pci_bus 0000:00: root bus resource [io  0xffffffff]
 [    2.020000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    2.030000] pci 0000:00:00.0: bridge configuration invalid ([bus
 00-00]), reconfiguring
 [    2.040000] pci 0000:00:01.0: bridge configuration invalid ([bus
 00-00]), reconfiguring
 [    2.050000] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
 [    2.060000] pci 0000:00:00.0: BAR 0: failed to assign [mem size
 0x80000000]
 [    2.070000] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
 [    2.080000] pci 0000:00:01.0: BAR 0: failed to assign [mem size
 0x80000000]
 [    2.090000] pci 0000:00:00.0: BAR 8: assigned [mem
 0x60000000-0x600fffff]
 [    2.100000] pci 0000:00:00.0: BAR 9: assigned [mem
 0x60100000-0x601fffff pref]
 [    2.110000] pci 0000:00:01.0: BAR 8: assigned [mem
 0x60200000-0x602fffff]
 [    2.120000] pci 0000:00:01.0: BAR 9: assigned [mem
 0x60300000-0x603fffff pref]
 [    2.130000] pci 0000:00:00.0: BAR 1: assigned [mem
 0x60400000-0x6040ffff]
 [    2.140000] pci 0000:00:01.0: BAR 1: assigned [mem
 0x60410000-0x6041ffff]
 [    2.150000] pci 0000:01:00.0: BAR 0: assigned [mem
 0x60000000-0x600fffff 64bit]
 [    2.160000] pci 0000:01:00.0: BAR 6: assigned [mem
 0x60100000-0x6010ffff pref]
 [    2.170000] pci 0000:00:00.0: PCI bridge to [bus 01]
 [    2.170000] pci 0000:00:00.0:   bridge window [mem
 0x60000000-0x600fffff]
 [    2.180000] pci 0000:00:00.0:   bridge window [mem
 0x60100000-0x601fffff pref]
 [    2.190000] pci 0000:02:00.0: BAR 0: assigned [mem
 0x60200000-0x602fffff 64bit]
 [    2.200000] pci 0000:02:00.0: BAR 6: assigned [mem
 0x60300000-0x6030ffff pref]
 [    2.210000] pci 0000:00:01.0: PCI bridge to [bus 02]
 [    2.210000] pci 0000:00:01.0:   bridge window [mem
 0x60200000-0x602fffff]
 [    2.220000] pci 0000:00:01.0:   bridge window [mem
 0x60300000-0x603fffff pref]
 [    2.230000] BAR0 at slot 0 = 0
 [    2.230000] bus=0x0, slot = 0x0
 [    2.240000] BAR0 at slot 1 = 0
 [    2.240000] bus=0x0, slot = 0x1
 [    2.250000] bus=0x1, slot = 0x0, irq=0xff
 [    2.250000] bus=0x2, slot = 0x1, irq=0xff
 [    2.260000] Switched to clocksource MIPS
 [    2.270000] NET: Registered protocol family 2
 [    2.270000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    2.290000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
 [    2.300000] TCP: Hash tables configured (established 1024 bind 1024)
 [    2.310000] TCP: reno registered
 [    2.320000] UDP hash table entries: 256 (order: 1, 8192 bytes)
 [    2.330000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
 [    2.340000] NET: Registered protocol family 1
 [    2.350000] futex hash table entries: 1024 (order: 4, 65536 bytes)
 [    2.370000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    2.390000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    2.410000] msgmni has been set to 243
 [    2.410000] io scheduler noop registered
 [    2.420000] io scheduler deadline registered (default)
 [    2.430000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 [    2.450000] console [ttyS0] disabled
 [    2.460000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34,
 base_baud = 3125000) is a 16550A
 [    2.470000] console [ttyS0] enabled
 [    2.470000] console [ttyS0] enabled
 [    2.490000] bootconsole [early0] disabled
 [    2.490000] bootconsole [early0] disabled
 [    2.500000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys
 error
 [    2.520000] Allocate 16 byte aligned buffer: 804a53f0
 [    2.530000] Enable NFI Clock
 [    2.530000] # MTK NAND # : Use HW ECC
 [    2.540000] Device not found, ID: c0f0
 [    2.550000] Not Support this Device!
 [    2.560000] chip_mode=00000002
 [    2.560000] Support this Device in MTK table! c0f0
 [    2.570000] nand: device found, Manufacturer ID: 0xc0, Chip ID: 0xf0
 [    2.590000] nand: Unknown MT7621-NAND
 [    2.590000] nand: bus width 8 instead 16 bit
 [    2.600000] nand: No NAND device found
 [    2.610000] [NAND]: NFI not support oobsize: 8
 [    2.620000] Kernel bug detected[#1]:
 [    2.620000] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.23 #1
 [    2.640000] task: 87838000 ti: 87822000 task.ti: 87822000
 [    2.650000] $ 0   : 00000000 000000c0 00000022 80426d08
 [    2.660000] $ 4   : 80495fb0 00000001 00000249 00000000
 [    2.670000] $ 8   : 00000038 6f207472 6973626f 203a657a
 [    2.680000] $12   : 70707573 878c0860 00000000 2074726f
 [    2.690000] $16   : 87b58000 87b58350 804a0000 87b58000
 [    2.700000] $20   : 804343a4 000000c0 000000f0 804335dc
 [    2.710000] $24   : 00000001 801f52bc
 [    2.720000] $28   : 87822000 87823c48 803d0000 802299d4
 [    2.730000] Hi    : 00000000
 [    2.740000] Lo    : f4f5c000
 [    2.740000] epc   : 802299d4 mtk_nand_select_chip+0x8c/0x190
 [    2.750000]     Not tainted
 [    2.760000] ra    : 802299d4 mtk_nand_select_chip+0x8c/0x190
 [    2.770000] Status: 1100d803 KERNEL EXL IE
 [    2.780000] Cause : 10800024
 [    2.780000] PrId  : 0001992f (MIPS 1004Kc)
 [    2.790000] Modules linked in:
 [    2.800000] Process swapper/0 (pid: 1, threadinfo=87822000,
 task=87838000, tls=00000000)
 [    2.810000] Stack : 803d0000 00000008 00000002 00000008 00000000
 87b58000 87b58350 ffffffea
           00000002 80433644 000000c0 80225610 00000000 00000001 00000245
 00000000
           804756d8 00000028 803d0000 80420000 80420000 f0f0f0c0 f0f0f0f0
 dc8cb017
           87b58350 00000001 87b58350 0000001b fffffff4 0000080c 804a0000
 87948200
           00000040 80225fbc 87907c30 00000001 803d5c88 87823cf4 87b58000
 87b58000
           ...
 [    2.880000] Call Trace:
 [    2.890000] [<802299d4>] mtk_nand_select_chip+0x8c/0x190
 [    2.900000] [<80225610>] nand_scan_ident+0x848/0x1198
 [    2.910000] [<80225fbc>] nand_scan+0x5c/0x88
 [    2.920000] [<8022c77c>] mtk_nand_probe+0x6a8/0x9a0
 [    2.930000] [<802036f0>] platform_drv_probe+0x28/0x64
 [    2.940000] [<80201ffc>] driver_probe_device+0xd8/0x224
 [    2.950000] [<80202228>] __driver_attach+0x7c/0xb4
 [    2.960000] [<80200548>] bus_for_each_dev+0x94/0xa4
 [    2.970000] [<8020172c>] bus_add_driver+0x108/0x1f0
 [    2.980000] [<80202730>] driver_register+0xb0/0x104
 [    2.990000] [<8000f9f0>] do_one_initcall+0x1ec/0x214
 [    3.000000] [<8043dd7c>] kernel_init_freeable+0x170/0x230
 [    3.010000] [<8000a0a4>] kernel_init+0x14/0x118
 [    3.020000] [<80005478>] ret_from_kernel_thread+0x14/0x1c
 [    3.030000]
 [    3.030000]
 Code: 3c04803d  0c016310  24845894 <000c000d> 24100003  2415000c  10000009
 2407001c  10000002
 [    3.050000] ---[ end trace 775505f963d12855 ]---
 [    3.060000] Kernel panic - not syncing: Attempted to kill init!
 exitcode=0x0000000b
 [    3.060000]
 [    3.080000] ---[ end Kernel panic - not syncing: Attempted to kill
 init! exitcode=0x0000000b
 [    3.080000]
 }}}

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