#22139: ethernet driver broken on mt7621 on trunk
-------------------------+-------------------------------------------------
  Reporter:  diizzyy@…   |      Owner:  developers
      Type:  defect      |     Status:  new
  Priority:  high        |  Milestone:  Designated Driver (Trunk)
 Component:  base        |    Version:  Trunk
  system                 |   Keywords:  mt7621, MT7621A, ethernet, dir-
Resolution:              |  860l, kernel
-------------------------+-------------------------------------------------

Comment (by diizzyy@…):

 {{{
 ## Booting image at 82000000 ...
    Image Name:   MIPS OpenWrt Linux-4.4.6
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    1525558 Bytes =  1.5 MB
    Load Address: 80001000
    Entry Point:  80001000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
 No initrd
 ## Transferring control to Linux (at address 80001000) ...
 ## Giving linux memsize in MB, 256

 Starting kernel ...

 [    0.000000] Linux version 4.4.6 (diizzy@debian-buildbox-v3) (gcc
 version 5.3.0 (OpenWrt GCC 5.3.0 r49089) ) #2 SMP Thu Mar 31 19:02:38 UTC
 2016
 [    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 MQmaker WiTi
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 10000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
 [    0.000000]   HighMem  empty
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
 [    0.000000] Initmem setup node 0 [mem
 0x0000000000000000-0x000000000fffffff]
 [    0.000000] VPE topology {2,2} total 4
 [    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 10 pages/cpu @8120b000 s8416 r8192 d24352
 u40960
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 65024
 [    0.000000] Kernel command line: console=ttyS0,57600
 rootfstype=squashfs,jffs2
 [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072
 bytes)
 [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536
 bytes)
 [    0.000000] Writing ErrCtl register=0001e000
 [    0.000000] Readback ErrCtl register=0001e000
 [    0.000000] Memory: 254656K/262144K available (3508K kernel code, 163K
 rwdata, 820K rodata, 232K init, 248K bss, 7488K reserved, 0K cma-reserved,
 0K highmem)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
 [    0.000000] Hierarchical RCU implementation.
 [    0.000000] NR_IRQS:256
 [    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles:
 0xcaf478abb4, max_idle_ns: 440795247997 ns
 [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns,
 wraps every 21474836475000000ns
 [    0.010000] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
 [    0.070000] pid_max: default: 32768 minimum: 301
 [    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.100000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.100000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize
 32 bytes
 [    0.100000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
 [    0.100000] CPU1 revision is: 0001992f (MIPS 1004Kc)
 [    0.190000] Synchronize counters for CPU 1: done.
 [    0.200000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.200000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize
 32 bytes
 [    0.200000] 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.400000] clocksource: jiffies: mask: 0xffffffff max_cycles:
 0xffffffff, max_idle_ns: 19112604462750000 ns
 [    0.410000] pinctrl core: initialized pinctrl subsystem
 [    0.420000] NET: Registered protocol family 16
 [    0.460000] pull PCIe RST: RALINK_RSTCTRL = 4000000
 [    0.690000] release PCIe RST: RALINK_RSTCTRL = 7000000
 [    0.700000] ***** Xtal 40MHz *****
 [    0.710000] release PCIe RST: RALINK_RSTCTRL = 7000000
 [    0.720000] Port 0 N_FTS = 1b102800
 [    0.720000] Port 1 N_FTS = 1b102800
 [    0.730000] Port 2 N_FTS = 1b102800
 [    1.590000]  -> 21007f2
 [    1.600000] PCIE0 enabled
 [    1.600000] PCIE1 enabled
 [    1.610000] PCIE2 enabled
 [    1.620000] PCI host bridge /pcie@1e140000 ranges:
 [    1.620000]  MEM 0x0000000060000000..0x000000006fffffff
 [    1.640000]   IO 0x000000001e160000..0x000000001e16ffff
 [    1.650000] PCI coherence region base: 0x60000000, mask/settings:
 0xf0000002
 [    1.690000] mt7621_gpio 1e000600.gpio: registering 32 gpios
 [    1.700000] mt7621_gpio 1e000600.gpio: registering 32 gpios
 [    1.710000] mt7621_gpio 1e000600.gpio: registering 32 gpios
 [    1.720000] PCI host bridge to bus 0000:00
 [    1.720000] pci_bus 0000:00: root bus resource [mem
 0x60000000-0x6fffffff]
 [    1.730000] pci_bus 0000:00: root bus resource [io  0xffffffff]
 [    1.740000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags
 0x0]
 [    1.750000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    1.760000] pci 0000:00:00.0: bridge configuration invalid ([bus
 00-00]), reconfiguring
 [    1.770000] pci 0000:00:01.0: bridge configuration invalid ([bus
 00-00]), reconfiguring
 [    1.780000] pci 0000:00:02.0: bridge configuration invalid ([bus
 00-00]), reconfiguring
 [    1.790000] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
 [    1.800000] pci 0000:00:00.0: BAR 0: failed to assign [mem size
 0x80000000]
 [    1.810000] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
 [    1.820000] pci 0000:00:01.0: BAR 0: failed to assign [mem size
 0x80000000]
 [    1.830000] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
 [    1.840000] pci 0000:00:02.0: BAR 0: failed to assign [mem size
 0x80000000]
 [    1.850000] pci 0000:00:00.0: BAR 8: assigned [mem
 0x60000000-0x600fffff]
 [    1.860000] pci 0000:00:00.0: BAR 9: assigned [mem
 0x60100000-0x601fffff pref]
 [    1.870000] pci 0000:00:01.0: BAR 8: assigned [mem
 0x60200000-0x602fffff]
 [    1.880000] pci 0000:00:01.0: BAR 9: assigned [mem
 0x60300000-0x603fffff pref]
 [    1.890000] pci 0000:00:02.0: BAR 8: assigned [mem
 0x60400000-0x604fffff]
 [    1.900000] pci 0000:00:02.0: BAR 9: assigned [mem
 0x60500000-0x605fffff pref]
 [    1.910000] pci 0000:00:00.0: BAR 1: assigned [mem
 0x60600000-0x6060ffff]
 [    1.920000] pci 0000:00:01.0: BAR 1: assigned [mem
 0x60610000-0x6061ffff]
 [    1.930000] pci 0000:00:02.0: BAR 1: assigned [mem
 0x60620000-0x6062ffff]
 [    1.940000] pci 0000:00:02.0: BAR 7: no space for [io  size 0x1000]
 [    1.950000] pci 0000:00:02.0: BAR 7: failed to assign [io  size 0x1000]
 [    1.960000] pci 0000:01:00.0: BAR 0: assigned [mem
 0x60000000-0x600fffff 64bit]
 [    1.970000] pci 0000:01:00.0: BAR 6: assigned [mem
 0x60100000-0x6010ffff pref]
 [    1.980000] pci 0000:00:00.0: PCI bridge to [bus 01]
 [    1.980000] pci 0000:00:00.0:   bridge window [mem
 0x60000000-0x600fffff]
 [    1.990000] pci 0000:00:00.0:   bridge window [mem
 0x60100000-0x601fffff pref]
 [    2.000000] pci 0000:02:00.0: BAR 0: assigned [mem
 0x60200000-0x602fffff 64bit]
 [    2.010000] pci 0000:02:00.0: BAR 6: assigned [mem
 0x60300000-0x6030ffff pref]
 [    2.020000] pci 0000:00:01.0: PCI bridge to [bus 02]
 [    2.020000] pci 0000:00:01.0:   bridge window [mem
 0x60200000-0x602fffff]
 [    2.030000] pci 0000:00:01.0:   bridge window [mem
 0x60300000-0x603fffff pref]
 [    2.040000] pci 0000:03:00.0: BAR 6: assigned [mem
 0x60500000-0x6050ffff pref]
 [    2.050000] pci 0000:03:00.0: BAR 5: assigned [mem
 0x60400000-0x604001ff]
 [    2.060000] pci 0000:03:00.0: BAR 4: no space for [io  size 0x0020]
 [    2.070000] pci 0000:03:00.0: BAR 4: failed to assign [io  size 0x0020]
 [    2.080000] pci 0000:03:00.0: BAR 0: no space for [io  size 0x0008]
 [    2.090000] pci 0000:03:00.0: BAR 0: failed to assign [io  size 0x0008]
 [    2.100000] pci 0000:03:00.0: BAR 2: no space for [io  size 0x0008]
 [    2.110000] pci 0000:03:00.0: BAR 2: failed to assign [io  size 0x0008]
 [    2.120000] pci 0000:03:00.0: BAR 1: no space for [io  size 0x0004]
 [    2.130000] pci 0000:03:00.0: BAR 1: failed to assign [io  size 0x0004]
 [    2.140000] pci 0000:03:00.0: BAR 3: no space for [io  size 0x0004]
 [    2.150000] pci 0000:03:00.0: BAR 3: failed to assign [io  size 0x0004]
 [    2.160000] pci 0000:00:02.0: PCI bridge to [bus 03]
 [    2.160000] pci 0000:00:02.0:   bridge window [mem
 0x60400000-0x604fffff]
 [    2.170000] pci 0000:00:02.0:   bridge window [mem
 0x60500000-0x605fffff pref]
 [    2.180000] BAR0 at slot 0 = 0
 [    2.180000] bus=0x0, slot = 0x0
 [    2.190000] BAR0 at slot 1 = 0
 [    2.190000] bus=0x0, slot = 0x1
 [    2.200000] BAR0 at slot 2 = 0
 [    2.200000] bus=0x0, slot = 0x2
 [    2.210000] bus=0x1, slot = 0x0, irq=0xff
 [    2.210000] bus=0x2, slot = 0x1, irq=0xff
 [    2.220000] bus=0x3, slot = 0x2, irq=0x0
 [    2.220000] clocksource: Switched to clocksource GIC
 [    2.240000] NET: Registered protocol family 2
 [    2.250000] TCP established hash table entries: 2048 (order: 1, 8192
 bytes)
 [    2.260000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
 [    2.270000] TCP: Hash tables configured (established 2048 bind 2048)
 [    2.290000] UDP hash table entries: 256 (order: 1, 8192 bytes)
 [    2.300000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
 [    2.310000] NET: Registered protocol family 1
 [    2.320000] futex hash table entries: 1024 (order: 3, 32768 bytes)
 [    2.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    2.350000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    2.370000] io scheduler noop registered
 [    2.380000] io scheduler deadline registered (default)
 [    2.390000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
 [    2.410000] console [ttyS0] disabled
 [    2.410000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33,
 base_baud = 3125000) is a 16550A
 [    2.430000] console [ttyS0] enabled
 [    2.430000] console [ttyS0] enabled
 [    2.440000] bootconsole [early0] disabled
 [    2.440000] bootconsole [early0] disabled
 [    2.460000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys
 error
 [    2.480000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
 [    2.490000] m25p80 spi32766.0: using chunked io (size=32)
 [    2.500000] m25p80 spi32766.0: gd25q128 (16384 Kbytes)
 [    2.510000] 4 ofpart partitions found on MTD device spi32766.0
 [    2.520000] Creating 4 MTD partitions on "spi32766.0":
 [    2.530000] 0x000000000000-0x000000030000 : "u-boot"
 [    2.540000] 0x000000030000-0x000000040000 : "u-boot-env"
 [    2.550000] 0x000000040000-0x000000050000 : "factory"
 [    2.570000] 0x000000050000-0x000001000000 : "firmware"
 [    2.600000] 2 uimage-fw partitions found on MTD device firmware
 [    2.610000] 0x000000050000-0x0000001c47cc : "kernel"
 [    2.620000] 0x0000001c47cc-0x000001000000 : "rootfs"
 [    2.640000] mtd: device 5 (rootfs) set to be root filesystem
 [    2.650000] 1 squashfs-split partitions found on MTD device rootfs
 [    2.660000] 0x000000400000-0x000001000000 : "rootfs_data"
 [    2.670000] netif_napi_add() called with weight 128 on device eth%d
 [    2.700000] mtk_soc_eth 1e100000.ethernet: generated random MAC address
 fe:53:27:46:ff:b9
 [    2.710000] libphy: mdio: probed
 [    2.730000] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
 [    2.750000] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine
 at 0xbe100000, irq 10
 [    2.760000] mt7621_wdt 1e000100.wdt: Initialized
 [    2.770000] NET: Registered protocol family 10
 [    2.780000] NET: Registered protocol family 17
 [    2.790000] bridge: automatic filtering via arp/ip/ip6tables has been
 deprecated. Update your scripts to load br_netfilter if you need this.
 [    2.820000] 8021q: 802.1Q VLAN Support v1.8
 [    2.830000] hctosys: unable to open rtc device (rtc0)
 [    2.840000] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
 [    2.860000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:5.
 [    2.870000] Freeing unused kernel memory: 232K (80466000 - 804a0000)
 [    3.050000] random: nonblocking pool is initialized
 [    3.700000] init: Console is alive
 [    3.710000] init: - watchdog -
 [    4.800000] usbcore: registered new interface driver usbfs
 [    4.810000] usbcore: registered new interface driver hub
 [    4.820000] usbcore: registered new device driver usb
 [    4.840000] SCSI subsystem initialized
 [    4.870000] ahci 0000:03:00.0: SSS flag set, parallel bus scan disabled
 [    4.880000] ahci 0000:03:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps
 0x3 impl SATA mode
 [    4.900000] ahci 0000:03:00.0: flags: 64bit ncq sntf stag led clo pmp
 pio slum part ccc sxs
 [    4.920000] scsi host0: ahci
 [    4.920000] scsi host1: ahci
 [    4.930000] ata1: SATA max UDMA/133 abar m512@0x60400000 port
 0x60400100 irq 32
 [    4.940000] ata2: SATA max UDMA/133 abar m512@0x60400000 port
 0x60400180 irq 32
 [    5.310000] ata1: SATA link down (SStatus 0 SControl 300)
 [    5.670000] ata2: SATA link down (SStatus 0 SControl 300)
 [    5.680000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
 [    5.690000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned
 bus number 1
 [    5.710000] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version
 0x96 quirks 0x00210010
 [    5.730000] xhci-mtk 1e1c0000.xhci: irq 29, io mem 0x1e1c0000
 [    5.740000] hub 1-0:1.0: USB hub found
 [    5.750000] hub 1-0:1.0: 2 ports detected
 [    5.760000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
 [    5.770000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned
 bus number 2
 [    5.780000] usb usb2: We don't know the algorithms for LPM for this
 host, disabling LPM.
 [    5.800000] hub 2-0:1.0: USB hub found
 [    5.810000] hub 2-0:1.0: 1 port detected
 [    5.820000] MTK MSDC device init.
 [    5.870000] mtk-sd: MediaTek MT6575 MSDC Driver
 [    5.880000] sdhci: Secure Digital Host Controller Interface driver
 [    5.890000] sdhci: Copyright(c) Pierre Ossman
 [    5.900000] sdhci-pltfm: SDHCI platform and OF driver helper
 [    5.920000] init: - preinit -
 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
 [    6.870000] msdc-1 -> XXX CMD<52> wait_for_completion timeout
 ARG<0x80000c08> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [    6.890000] mtk-sd 1e130000.sdhci: no support for card's volts
 [    6.900000] mmc0: error -22 whilst initialising SDIO card
 [    7.920000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [    8.940000] msdc-1 -> XXX CMD<1> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [    9.490000] mount_root: jffs2 not ready yet, using temporary tmpfs
 overlay
 [    9.530000] procd: - early -
 [    9.540000] procd: - watchdog -
 [   10.000000] msdc-1 -> XXX CMD<52> wait_for_completion timeout
 ARG<0x00000c00> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   10.270000] procd: - ubus -
 [   10.330000] procd: - init -
 Please press Enter to activate this console.
 [   10.900000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   10.920000] Loading modules backported from Linux version
 v4.4-rc5-1913-gc8fdf68
 [   10.930000] Backport generated by backports.git
 backports-20151218-0-g2f58d9d
 [   10.990000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
 [   11.020000] msdc-1 -> XXX CMD<0> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   11.020000] mt76x2e 0000:01:00.0: Refused to change power state,
 currently in D3
 [   11.040000] mt76x2e 0000:01:00.0: ASIC revision: 00000000
 [   12.070000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   13.090000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   14.110000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   15.130000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   16.150000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   17.170000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   18.190000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   19.210000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   19.230000] mtk-sd 1e130000.sdhci: no support for card's volts
 [   19.240000] mmc0: error -22 whilst initialising MMC card
 [   20.290000] msdc-1 -> XXX CMD<52> wait_for_completion timeout
 ARG<0x00000c00> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   21.050000] mt76x2e: probe of 0000:01:00.0 failed with error -145
 [   21.060000] mt76x2e 0000:02:00.0: ASIC revision: 76020044
 [   21.090000] ROM patch already applied
 [   21.160000] Firmware Version: 0.0.00
 [   21.170000] Build: 1
 [   21.170000] Build Time: 201507311614____
 [   21.210000] Firmware running!
 [   21.270000] i2c /dev entries driver
 [   21.280000] i2c-mt7621 1e000900.i2c: loaded
 [   21.300000] hidraw: raw HID events driver (C) Jiri Kosina
 [   21.310000] msdc-1 -> XXX CMD<0> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   21.320000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   21.330000] nf_conntrack version 0.5.0 (3982 buckets, 15928 max)
 [   21.480000] rtc-pcf8563 0-0051: chip found, driver version 0.4.4
 [   21.490000] rtc-pcf8563 0-0051: low voltage detected, date/time is not
 reliable.
 [   21.510000] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as
 rtc0
 [   21.530000] usbcore: registered new interface driver usbhid
 [   21.540000] usbhid: USB HID core driver
 [   21.560000] xt_time: kernel timezone is -0000
 [   21.570000] PPP generic driver version 2.4.2
 [   21.580000] NET: Registered protocol family 24
 [   22.390000] msdc-1 -> XXX CMD<8> wait_for_completion timeout
 ARG<0x000001aa> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   23.410000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   24.430000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   25.450000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   25.650000] jffs2_scan_eraseblock(): End of filesystem marker found at
 0x0
 [   25.660000] jffs2_build_filesystem(): unlocking the mtd device... done.
 [   25.680000] jffs2_build_filesystem(): erasing all blocks after the end
 marker...
 [   26.470000] msdc-1 -> XXX CMD<5> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   27.010000] device eth0.1 entered promiscuous mode
 [   27.020000] device eth0 entered promiscuous mode
 [   27.040000] br-lan: port 1(eth0.1) entered forwarding state
 [   27.050000] br-lan: port 1(eth0.1) entered forwarding state
 [   27.490000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   28.520000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   29.050000] br-lan: port 1(eth0.1) entered forwarding state
 [   29.540000] msdc-1 -> XXX CMD<55> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>
 [   30.560000] msdc-1 -> XXX CMD<1> wait_for_completion timeout
 ARG<0x00000000> <- msdc_command_resp() : L<1078> PID<kworker/u8:1><0x16>



 BusyBox v1.24.1 () built-in shell (ash)

   _______                     ________        __
  |       |.-----.-----.-----.|  |  |  |.----.|  |_
  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  |_______||   __|_____|__|__||________||__|  |____|
           |__| W I R E L E S S   F R E E D O M
  -----------------------------------------------------
  DESIGNATED DRIVER (Bleeding Edge, r49089)
  -----------------------------------------------------
   * 2 oz. Orange Juice         Combine all juices in a
   * 2 oz. Pineapple Juice      tall glass filled with
   * 2 oz. Grapefruit Juice     ice, stir well.
   * 2 oz. Cranberry Juice
  -----------------------------------------------------
 root@OpenWrt:/# [   51.960000] ------------[ cut here ]------------
 [   51.960000] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:303
 dev_watchdog+0x258/0x2fc()
 [   51.980000] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed
 out
 [   51.990000] Modules linked in: pppoe ppp_async iptable_nat pppox
 ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT
 ipt_MASQUERADE xt_timtable_filter ip_tables hid_generic crc_ccitt hid
 evdev input_core i2c_mt7621 i2c_dev i2c_core mt7603e mt76x2e mt76 mac80211
 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6
 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables
 x_tables mmc_block sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk
 xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod
 gpio_button hotplug usbcore nls_base usb_common
 [   52.160000] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.6 #2
 [   52.170000] Stack : 00000000 00000000 804a6842 00000032 00000000
 00000000 80450000 804c0000
           8f843f10 8044dc63 803cc888 00000003 00000000 804a365c ffffffff
 00000200
           00100000 80063244 80450000 804c0000 80452118 8045211c 803d116c
 8f865c0c
           00000003 80060fcc ffffffff 00000200 00100000 00000000 00000006
 00865c0c
           00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000
           ...
 [   52.240000] Call Trace:
 [   52.240000] [<80016640>] show_stack+0x50/0x84
 [   52.250000] [<801aa5dc>] dump_stack+0x84/0xbc
 [   52.260000] [<8002bb3c>] warn_slowpath_common+0xa0/0xd0
 [   52.270000] [<8002bb98>] warn_slowpath_fmt+0x2c/0x38
 [   52.280000] [<802b16c0>] dev_watchdog+0x258/0x2fc
 [   52.290000] [<80072108>] call_timer_fn.isra.4+0x24/0x80
 [   52.300000] [<8007235c>] run_timer_softirq+0x1f8/0x258
 [   52.310000] [<8002e5a0>] __do_softirq+0x1a0/0x2dc
 [   52.320000] [<8002e958>] irq_exit+0x68/0x84
 [   52.330000] [<801d436c>] plat_irq_dispatch+0x98/0xc4
 [   52.340000]
 [   52.340000] ---[ end trace 34a7bf55e879858e ]---
 [   52.350000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   52.360000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   52.380000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   52.400000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=24
 [   57.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   57.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   57.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   58.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=29
 [   62.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   62.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   62.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   63.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=34
 [   67.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   67.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   67.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   68.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=38
 [   72.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   72.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   72.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   73.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=43
 [   77.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   77.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   77.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   78.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=47
 [   82.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   82.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   82.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   83.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=52
 [   87.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [   87.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [   87.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [   88.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=57
 [   90.670000] INFO: rcu_sched self-detected stall on CPU
 [   90.670000]  0-...: (1 GPs behind) idle=4a5/140000000000002/0
 softirq=2149/2151 fqs=5913
 [   90.670000]   (t=6000 jiffies g=46 c=45 q=408)
 [   90.670000] Task dump for CPU 0:
 [   90.670000] mount_root      R running      0   958    957 0x08100004
 [   90.670000] Stack : 00000001 8006307c 00000000 00000000 803d0000
 8006307c 00000000 00000006
           00000006[  102.960000] mtk_soc_eth 1e100000.ethernet eth0:
 transmit timed out
 [  102.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  102.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  103.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=72

 root@OpenWrt:/# [  107.960000] mtk_soc_eth 1e100000.ethernet eth0:
 transmit timed out
 [  107.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  107.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  108.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=76
 [  112.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  112.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  112.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  113.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=80
 [  117.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  117.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  117.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  118.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=85

 root@OpenWrt:/# [  122.960000] mtk_soc_eth 1e100000.ethernet eth0:
 transmit timed out
 [  122.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  122.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  123.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=91
 [  127.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  127.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  127.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  128.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=96

 root@OpenWrt:/# [  132.960000] mtk_soc_eth 1e100000.ethernet eth0:
 transmit timed out
 [  132.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  132.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  133.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=100
 [  137.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  137.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  137.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  138.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=105

 root@OpenWrt:/# [  142.960000] mtk_soc_eth 1e100000.ethernet eth0:
 transmit timed out
 [  142.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  142.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  143.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=110
 [  147.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  147.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  147.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  148.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=115
 [  152.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  152.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  152.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  153.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=120
 [  157.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  157.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  157.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  158.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=125
 [  162.960000] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
 [  162.970000] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
 [  162.980000] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0,
 base=0efa8000, max=512, ctx=34, dtx=34, fdx=28, next=34
 [  163.000000] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0,
 base=0efaa000, max=512, calc=5, drx=129

 }}}

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