[OpenWrt-Devel] 18.06 Bug: Baby Jumbo Frames on mt7621

Jaap Buurman jaapbuurman at gmail.com
Mon May 28 06:52:34 EDT 2018


Dear Mathias,

I can confirm your patch is working fine. I am able to set a mtu of
1508 on the switch, giving me a mtu of 1500 on the pppoe-wan
connection. I am now able to ping 1472 bytes with the DF flag set. The
patch in question:
https://git.openwrt.org/?p=openwrt/staging/mkresin.git;a=commitdiff;h=cc5f1fe7aa02943f3b39ffbd9dc3b8fcad569c8f

Thank you very much for your work :)

@the rest

I was able to flash simply by disabling all my WiFi interfaces. It's a
dirty workaround and should be fixed before a 18.06 release IMO, but
at least we managed to track down what's causing the issue :)

Yours sincerely,

Jaap Buurman

On Sat, May 26, 2018 at 9:16 AM, Kristian Evensen
<kristian.evensen at gmail.com> wrote:
> Hi,
>
> (Accidentally hit send)
>
> On Fri, May 25, 2018 at 7:06 PM, Kristian Evensen
> <kristian.evensen at gmail.com> wrote:
>>> I know how to fix the issue by recovery, however, from the responses
>>> in the topic on the Lede forum it seems more people are running into
>>> this issue. This definitely needs to be fixed before a 18.06 release.
>>> Is there someone with a mt7621 device that can reproduce the problem,
>>> and that has serial access? We might be able to figure out what is
>>> going wrong.
>
> I kept looking into this and instrumented /lib/upgrade/stage2. I added
> some output showing which processes were left for each iteration of
> the loop, as well as when "Failed to kill ..." hits. It seems that
> hostapd, for some reason, takes unexpectedly long to die:
>
> Sending TERM to remaining processes ... loop limit 10
> logd
> rpcd
> netifd
> odhcpd
> crond
> ntpd
> nginx
> nginx
> ubusd
> dnsmasq
> sh
> sh
> sh
> sshd
> sleep
> sh
> hostapd
> hostapd
> rsync
> ssh
> sleep
>
> [  115.583843] device wlan0 left promiscuous mode
> [  115.588436] br-lan: port 3(wlan0) entered disabled state
> [  115.594261] device wlan1 left promiscuous mode
> [  115.598798] br-lan: port 2(wlan1) entered disabled state
> Sending KILL to remaining processes ... loop limit 10
> hostapd
> loop limit 9
> hostapd
> loop limit 8
> hostapd
> loop limit 7
> hostapd
> loop limit 6
> hostapd
> loop limit 5
> hostapd
> loop limit 4
> hostapd
> loop limit 3
> hostapd
> loop limit 2
> hostapd
> loop limit 1
>
> Failed to kill all processes.
>   PID USER       VSZ STAT COMMAND
>     1 root       992 S    /sbin/upgraded /tmp/firmware.bin . /lib/functions.sh
>     2 root         0 SW   [kthreadd]
>     3 root         0 IW   [kworker/0:0]
>     4 root         0 IW<  [kworker/0:0H]
>     5 root         0 IW   [kworker/u8:0]
>     6 root         0 IW<  [mm_percpu_wq]
>     7 root         0 SW   [ksoftirqd/0]
>     8 root         0 IW   [rcu_sched]
>     9 root         0 IW   [rcu_bh]
>    10 root         0 SW   [migration/0]
>    11 root         0 SW   [cpuhp/0]
>    12 root         0 SW   [cpuhp/1]
>    13 root         0 SW   [migration/1]
>    14 root         0 SW   [ksoftirqd/1]
>    15 root         0 IW   [kworker/1:0]
>    16 root         0 IW<  [kworker/1:0H]
>    17 root         0 SW   [cpuhp/2]
>    18 root         0 SW   [migration/2]
>    19 root         0 SW   [ksoftirqd/2]
>    20 root         0 IW   [kworker/2:0]
>    21 root         0 IW<  [kworker/2:0H]
>    22 root         0 SW   [cpuhp/3]
>    23 root         0 SW   [migration/3]
>    24 root         0 SW   [ksoftirqd/3]
>    25 root         0 IW   [kworker/3:0]
>    26 root         0 IW<  [kworker/3:0H]
>    27 root         0 IW   [kworker/u8:1]
>    34 root         0 IW   [kworker/u8:2]
>    65 root         0 IW   [kworker/0:1]
>    66 root         0 IW   [kworker/3:1]
>    67 root         0 IW   [kworker/2:1]
>   136 root         0 IW   [kworker/1:1]
>   137 root         0 SW   [oom_reaper]
>   138 root         0 IW<  [writeback]
>   140 root         0 IW<  [crypto]
>   142 root         0 IW<  [kblockd]
>   157 root         0 IW   [kworker/u8:3]
>   177 root         0 IW<  [watchdogd]
>   201 root         0 SW   [kswapd0]
>   233 root         0 IW<  [pencrypt]
>   262 root         0 IW<  [pdecrypt]
>   295 root         0 SW   [spi0]
>   353 root         0 IW<  [ipv6_addrconf]
>   362 root         0 IW<  [kworker/1:1H]
>   363 root         0 IW<  [kworker/0:1H]
>   365 root         0 IW<  [kworker/3:1H]
>   366 root         0 IW<  [kworker/2:1H]
>   416 root         0 IW   [kworker/1:2]
>   417 root         0 IW   [kworker/0:2]
>   457 root         0 SWN  [jffs2_gcd_mtd6]
>   575 root         0 IW   [kworker/2:2]
>   869 root         0 IW<  [cfg80211]
>  1842 root         0 IW   [kworker/3:2]
>  7535 root      1328 S    /bin/sh /lib/upgrade/stage2 /tmp/firmware.bin . /lib
>  7547 root      1184 R    /bin/ps
> sysupgrade abort[  124.152193] reboot: Restarting system
> ed with return code: 256
>
> With a working update, KILL usually looks like this:
> Sending KILL to remaining processes ... loop limit 10
> hostapd
> hostapd
> celerway_wd
> loop limit 9
> hostapd
> hostapd
> loop limit 8
> hostapd
> hostapd
> loop limit 7
> hostapd
> hostapd
> loop limit 6
> hostapd
> hostapd
> loop limit 5
> hostapd
> hostapd
> loop limit 4
> hostapd
> loop limit 3
>
> BR,
> Kristian

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
http://lists.infradead.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list