Repository navigation
Conversation
5bac6d7 to
0a9c2a9
Compare
|
Given the fact the 5.4 mt_7530 driver might finally fix the long outstanding "Mtk_soc_eth watchdog timeout" issue, it might be worth focusing on this instead of the 4.19 merge. |
3907c6f to
fc1d6ea
Compare
|
Very unfortunate that the mmc driver is not being retired. e424654 is a complete no-go. It's also worthless. GCC AFAIK compiles the code the same whether 24kc or 1004kc. I have mixed feelings about fac672e . On the one hand, the upstream driver should definitely be used. On the other, this gets rid of HNAT capability. DSA also happens to be slower. |
|
If the driver switch fixes the stability issue at the expense of HW NAT (which is not working on 4.14 neither), but will operate in a stable manner at least with SW offload, that would be a reasonable tradeoff in my opinion. On the HW NAT side: does this means it will never work, or it means someone needs to port the HW NAT code for the new driver? |
|
Just means someone needs to write support for it with the mainline driver. Possibly @blogic . OTOH I wonder if even software flow offload can do gigabit routing. I would guess the main concern is non-mt7621 devices, which are slower. The mainline driver also currently lacks support for the other platforms supported by ramips. IIRC, only mt7621 and mt7628 are supported. There's also mt7620 and the rt series. |
|
@blogic mentioned once on IRC that he already has a 5.4 support for ramips lying around. |
|
I think the reason How to defer it? Update: fixed by moving mt7621-nand into drivers/mtd |
|
@dengqf6 |
With sw offload, iperf3 LAN->WAN throughput is 900Mbps, but WAN->LAN is only 600Mbps, probably because of the RX path bug that @hackpascal and @vDorst mentioned. |
|
thank you very very Much!! |
|
@dchard I've pushed new profile. Could you please test it on your 860L B1? |
Return -EPROBE_DEFER when probing? |
Happy to do that, but someone need to build an image for me what I can load on the device. |
Here you are, @dchard ! Didn't test, just built this pr (at c4f22de366e) merged into master (at 0493d57). |
Isn't it already 5.4.22? |
|
|
Here is the new build: c4f22de366e7 on top of 0493d57e0477 |
It produces a lot of segfault at boot. Attached the complete bootlog. |
fee763b to
3ec54ab
Compare
|
@outline941 |
no sys/kernel/debug/crashlog found, even if I manually run 'echo c > /proc/sysrq-trigger'. |
|
It seems that if igmpproxy has run once(even failed and exited), it will add some config to kernel. Then when I plug in the cable, kernel crashes. So I disable it in init.d, and no crash. But once I manually run it, kernel will crash. |
|
@dengqf6 |
|
@outline941 |
|
br-mao upstream |
|
@outline941 If the kernel still panics, try #2942 |
So is 4.14 kernel/19.07 branch the last release to ever support HWNAT (however broken it is now) for mt7530/mt7621? Or is there some hope of HWNAT support going forward? Does your comment below imply HWNAT support or SW offload support?
|
|
Anyone faced this issue before? Just by leaving LuCI open the router becomes unresponsive. |
I do see those with kernel 5.4.39. I'm only testing builds for a new MT7621 device and I can see those on the console periodically even though the unit is idle. |
|
When going through my spam folder, I suddenly saw all the notifications from the issue. Sorry about not getting involved earlier. Disabling flow control has not made the TX Timeout-issue go completely away for me, but the issue occurs much more rarely. Combined with a small watchdog that restarts networking when the timeout error does happen, networking works without any problems on my devices. I do not know if it is relevant, but my test case for TX timeout was to spam an mt7621-device with pause frames. The error occur would occur very quickly after the packet spam started and in several cases the switch was never able to recover. I have also seen the RCU stall issue on 4.14. However, it happens very rarely. |
The results of using #2942 are in the comments there. But a quick spoiler, it's working... so far :) |
|
My C-Media USB sound card and UPS Powercom BNT-800AP are not working via Genesys Logic GL3523 USB 3.0 hub. I see them but can't play audio through sound card and USP constantly reconnecting. In dmesg: |
|
Received TX timed out error during testing QoS throughput with my 200 Mbps uplink connected to RT-AC65P: |
|
Since upgrade to 5.4 kernel I often see 'SQUASHFS error: xz decompression failed, data probably corrupt' after sysupgrade with RT-AC65P: It can happen after sysupgrade or after flashing from stock firmware. Never seen it with 4.14 kernel. Has anyone seen this issue before? |
|
Built fresh OpenWrt master r13419-8d2c031f21 with disabled FC on CPU port and turned off FC on laptop port. Run some speedtest on my 1Gbps uplink (transfer speed was ~450-500 Mbps with RPS use) and still got TX timed out error: Any thoughts? Edit: my ISP switch has FC disabled: |
|
new commits added |
|
How is the state of the other subtargets for ramips (mt7620, rt288x, rt305x, rt3883) still on kernel 4.14? |
|
MT7621 still have issues |
|
@gwlim the fact you see some errors in /proc/interrupts does not mean anything. On our X86 server, we also see some. Is there anything concrete you experience with mt7621? |
I am still getting |
I used these rules and Qualcomm SFE fast path. Iperf3 speed reached about 940Mb/s and 5G 800Mb/s(7615 ProprietaryDriver 160MHZ) |
|
The hang issues no longer occurs on r13768-f632747704. |
I can't confirm. I have troubles on latest snapshot( |
|
Okay yes it still happens. Is there a patch to disable flow control on all ports for mt7621? |
All ports without FC. I disabled it on clients. But wan was disabled by default. I tried to see diffs between snapshots and found many commits. And I don't know why r13110-a3079fb7ba works without any issues except bad offloading. I don't have 1gbit on wan. Just 450-500mbits. |
Run tested on:
Working:
Known issues: