[FS#2524] ath79-tiny: TP-Link TL-WR941ND v2.4: Marvel MV88E6060 regression between kernel v4.14 and v4.19

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Jul 10 18:25:44 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2524 - ath79-tiny: TP-Link TL-WR941ND v2.4: Marvel MV88E6060 regression between kernel v4.14 and v4.19
User who did this - Stefan Lippers-Hollmann (slh)

----------
Just to confirm, current openwrt-1907 is fine:


U-Boot 1.1.4 (Jun 18 2009 - 15:08:27)
AP81 (ar7100) U-boot
DRAM:  
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment
In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 secondsar7100> 
ar7100> tftp 0x80800000 openwrt-1907-ath79-tiny-tplink_tl-wr941-v2-squashfs-sysupgrade.bin
set link to 100M full by lqm.
dup 1 speed 100
Using eth0 device
TFTP from server 192.168.1.169; our IP address is 192.168.1.10
Filename 'openwrt-1907-ath79-tiny-tplink_tl-wr941-v2-squashfs-sysupgrade.bin'.
Load address: 0x80800000
Loading: *
T T T T T checksum bad
checksum bad
T T #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##############################
done
Bytes transferred = 3145999 (30010f hex)
ar7100> erase.b 0xbf020000 +0x3c0000
First 0x2 last 0x3d sector size 0x10000
[...]
  61
Erased 60 sectors
ar7100> cp.b 0x80800000 0xbf020000 0x3c0000
Copy to Flash... write addr: bf020000
done
ar7100> reset
Resetting...
U-Boot 1.1.4 (Jun 18 2009 - 15:08:27)
AP81 (ar7100) U-boot
DRAM:  
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment
In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... OK
Starting kernel ...
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos 
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Starting kernel at 80060000...
[    0.000000] Linux version 4.14.187 (slh at trident) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10194+941-c53f62b111)) #0 Fri Jul 10 11:55:54 2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-Link TL-WR941N/ND v2/v3
[    0.000000] SoC: Atheros AR9132 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] random: get_random_bytes called from 0x804436ec with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 26636K/32768K available (3366K kernel code, 134K rwdata, 472K rodata, 1204K init, 195K bss, 6132K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 400.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008128] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.094582] pid_max: default: 32768 minimum: 301
[    0.099633] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.106434] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119040] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.129204] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.135557] pinctrl core: initialized pinctrl subsystem
[    0.142141] NET: Registered protocol family 16
[    0.171497] clocksource: Switched to clocksource MIPS
[    0.178013] NET: Registered protocol family 2
[    0.183662] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.190850] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.197436] TCP: Hash tables configured (established 1024 bind 1024)
[    0.204188] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.210206] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.216993] NET: Registered protocol family 1
[    0.227038] Crashlog allocated RAM at address 0x1f00000
[    0.234151] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.248260] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.254311] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.276499] io scheduler noop registered
[    0.280516] io scheduler deadline registered (default)
[    0.287181] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.294716] console [ttyS0] disabled
[    0.298426] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 6250000) is a 8250
[    0.307191] console [ttyS0] enabled
[    0.307191] console [ttyS0] enabled
[    0.314255] bootconsole [early0] disabled
[    0.314255] bootconsole [early0] disabled
[    0.330069] m25p80 spi0.0: 320s33b (4096 Kbytes)
[    0.334798] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.341125] Creating 3 MTD partitions on "spi0.0":
[    0.345931] 0x000000000000-0x000000020000 : "u-boot"
[    0.352086] 0x000000020000-0x0000003f0000 : "firmware"
[    0.358682] 2 tplink-fw partitions found on MTD device firmware
[    0.364660] Creating 2 MTD partitions on "firmware":
[    0.369625] 0x000000000000-0x00000014daa0 : "kernel"
[    0.375601] 0x00000014daa0-0x0000003d0000 : "rootfs"
[    0.381549] mtd: device 3 (rootfs) set to be root filesystem
[    0.387240] 1 squashfs-split partitions found on MTD device rootfs
[    0.393432] 0x000000300000-0x0000003d0000 : "rootfs_data"
[    0.399817] 0x0000003f0000-0x000000400000 : "art"
[    0.406447] libphy: Fixed MDIO Bus: probed
[    0.743480] libphy: ag71xx_mdio: probed
[    0.748462] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    0.758344] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rmii
[    0.767376] NET: Registered protocol family 10
[    0.778314] Segment Routing with IPv6
[    0.782190] NET: Registered protocol family 17
[    0.787477] ag71xx 19000000.eth eth0: [0]: detected a Marvell 88E6060 (B0) switch
[    0.805770] libphy: dsa slave smi: probed
[    0.810011] Generic PHY dsa-0.0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=dsa-0.0:00, irq=POLL)
[    0.821362] Generic PHY dsa-0.0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=dsa-0.0:01, irq=POLL)
[    0.832714] Generic PHY dsa-0.0:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=dsa-0.0:02, irq=POLL)
[    0.844028] Generic PHY dsa-0.0:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=dsa-0.0:03, irq=POLL)
[    0.855390] Generic PHY dsa-0.0:04: attached PHY driver [Generic PHY] (mii_bus:phy_addr=dsa-0.0:04, irq=POLL)
[    0.866667] 8021q: 802.1Q VLAN Support v1.8
[    0.885425] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.899848] Freeing unused kernel memory: 1204K
[    0.904408] This architecture does not have kernel memory protection.
[    2.551530] random: fast init done
[    3.994255] init: Console is alive
[    3.997927] init: - watchdog -
[    4.879159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.149943] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.167756] init: - preinit -
[    7.560679] random: jshn: uninitialized urandom read (4 bytes read)
[    7.947213] random: jshn: uninitialized urandom read (4 bytes read)
[    8.083292] random: jshn: uninitialized urandom read (4 bytes read)
ip: SIOCSIFFLAGS: Network is down
sendto(): Network unreachable
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
[   15.409251] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   15.445032] urandom-seed: Seed file not found (/etc/urandom.seed)
[   15.944068] procd: - early -
[   15.947084] procd: - watchdog -
[   16.771587] procd: - watchdog -
[   16.775124] procd: - ubus -
[   17.089726] urandom_read: 5 callbacks suppressed
[   17.089737] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.101703] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.109896] procd: - init -
Please press Enter to activate this console.
[   18.753303] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.767402] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.785368] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[   18.793071] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[   18.803381] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.818819] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   18.884864] xt_time: kernel timezone is -0000
[   19.100628] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a1 mem=0xb80c0000, irq=2
[   19.521907] kmodloader: done loading kernel modules from /etc/modules.d/*
[   20.348861] urngd: v1.0.2 started.
[   21.325785] random: crng init done
[   56.724886] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   56.744791] jffs2_build_filesystem(): unlocking the mtd device... 
[   56.744804] done.
[   56.752950] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   61.761899] done.
[   61.771335] jffs2: notice: (988) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   62.231233] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   62.263951] br-lan: port 1(lan1) entered blocking state
[   62.269180] br-lan: port 1(lan1) entered disabled state
[   62.274906] device lan1 entered promiscuous mode
[   62.279515] device eth0 entered promiscuous mode
[   62.302874] overlayfs: upper fs does not support tmpfile.
[   62.342312] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   62.401942] br-lan: port 2(lan2) entered blocking state
[   62.407169] br-lan: port 2(lan2) entered disabled state
[   62.412893] device lan2 entered promiscuous mode
[   62.499679] br-lan: port 3(lan3) entered blocking state
[   62.504977] br-lan: port 3(lan3) entered disabled state
[   62.510640] device lan3 entered promiscuous mode
[   62.564714] br-lan: port 4(lan4) entered blocking state
[   62.569938] br-lan: port 4(lan4) entered disabled state
[   62.575649] device lan4 entered promiscuous mode
[   62.655848] IPv6: ADDRCONF(NETDEV_UP): wan: link is not ready
[   63.291725] dsa dsa lan1: Link is Down
[   63.295837] eth0: link up (100Mbps/Full duplex)
[   63.300625] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   63.451727] dsa dsa lan2: Link is Down
[   63.531697] dsa dsa lan3: Link is Down
[   63.611747] dsa dsa lan4: Link is Down
[   63.691737] dsa dsa wan: Link is Down
[   74.891669] dsa dsa lan2: Link is Up - 100Mbps/Full - flow control rx/tx
[   74.898409] br-lan: port 2(lan2) entered blocking state
[   74.903664] br-lan: port 2(lan2) entered forwarding state
[   74.911970] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
BusyBox v1.30.1 () built-in shell (ash)
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07-SNAPSHOT, r10194+941-c53f62b111
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root at OpenWrt:/# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc fq_codel state UP qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::221:27ff:feff:51a6/64 scope link 
       valid_lft forever preferred_lft forever
3: wan at eth0:  mtu 1500 qdisc noqueue state LOWERLAYERDOWN qlen 1000
    link/ether 00:21:27:ff:51:a7 brd ff:ff:ff:ff:ff:ff
4: lan1 at eth0:  mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
5: lan2 at eth0:  mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
6: lan3 at eth0:  mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
7: lan4 at eth0:  mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
8: wlan0:  mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
9: br-lan:  mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 00:21:27:ff:51:a6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fdff:a45e:4929::1/60 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::221:27ff:feff:51a6/64 scope link 
       valid_lft forever preferred_lft forever
root at OpenWrt:/# zcat /proc/config.gz | grep DSA
CONFIG_HAVE_NET_DSA=y
CONFIG_NET_DSA=y
CONFIG_NET_DSA_TAG_TRAILER=y
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_MT7530 is not set
CONFIG_NET_DSA_MV88E6060=y
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
root at OpenWrt:/# 

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=2524#comment8548

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list