未加星标

Kernel 4.8.7 & Realtek Wireless - Fedora report

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Updated: January 6, 2017

Several weeks ago, I happily informed you that it would appear, barring any special corner cases, that the long-standingproblem of random disconnects on laptopswith the Realtek RTL87XX family of cards and running linux has been resolved with the introduction of the kernel 4.8.7 into our lives. I tested withManjaro 16.10. Lovely jubbly.

Now, that seems fine, but not enough. I waited a few days forFedora 24 to offer the same kernel upgrade, a bonus of these edgy distros right, and let the system do its magic, followed by a quick reboot. Once I had confirmed that the new kernel had been loaded into memory, it was time to begin the testing.


Kernel 4.8.7 & Realtek Wireless - Fedora report
Testing procedure

Similar to the Manjaro experience, I did slow and fast download tests, single and multiple HTTP threads, torrents, updates, regular browsing, streaming, large file copy over Samba, all sorts. The test took about six hours, and it included leaving the machine unattended, suspend & resume in between some of the downloads. Overall, I tried to do everything and anything a typical user might want to do.


Kernel 4.8.7 & Realtek Wireless - Fedora report
Kernel 4.8.7 & Realtek Wireless - Fedora report

Symbolic image, I cannot show you all the downloads I did. Cough cough.

Results? Not quite perfect

Here, the outcome was a little different. About four to five hours into the testing session, the network finally failed, and I had to try the same tricks of re-inserting the kernel module into the memory, which fixed it. There are no verbose messages in the logs, so this is not an easy one to debug. There are no call traces or oopses or anything of that kind that would help better understand the issue.

wlp2s0: Connection to AP aa:bb:cc:dd:ee:ff lost

IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

rtl8723be: Using firmware rtlwifi/rtl8723befw.bin

ieee80211 phy0: Selected rate control algorithm 'rtl_rc'

rtlwifi: rtlwifi: wireless switch is on

rtl8723be 0000:02:00.0 wlp2s0: renamed from wlan0

IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

wlp2s0: authenticate with aa:bb:cc:dd:ee:ff

wlp2s0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)

wlp2s0: authenticated

wlp2s0: associate with aa:bb:cc:dd:ee:ff (try 1/3)

wlp2s0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x431 status=0 aid=3)

wlp2s0: associated

IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready

My observations shows that this disconnect happens only if there are a lot of old HTTP connections slowly being removed, after having been idle for a while and timing out. Only then do the new kernel and the new driver hiccup. Heavy network load does not cause any problem. So perhaps the issue is not 100% resolved, it's just significantly more difficult to trigger than before, and requires a lot of network activity.

Anything else Manjaro wise?

Yes, I continued testing here as well, and I have discovered something quite odd, which does not seem to be correlated to the Realtek driver. Namely, the Network Manager stops functioning, and it needs to be HUP-ed. This only happens if the laptop is idle and not really doing anything. As long as the network is active, everything is fine.

The restart of the Network Manager fixes it, and there is no need to touch the Realtek driver. There are also no errors in the kernel log or the system log. This leads me to believe that the problem is not related to Realtek.

Now, this may seem similar to Fedora, but in Fedora's case, the network manager remains running, and restarting it without the modprobe trick does not restore the connectivity. Moreover, an idle Fedora 24 box does not have any problems.

Fedora 25 extras

Thelatest Fedora release comes with an even newer kernel - 4.8.11 . The results aremore promising still, with additional robustness and stability, but I will elaborate on this separately. I do not want to sidetrack from this report, however, do keep in mind that should you not be fully happy or pleased with how Fedora 24 with the kernel 4.8.7 handles the situation, you may always test the 25th release. Plus, at some point, you will actually have to, because Fedora has a very short support cycle.


Kernel 4.8.7 & Realtek Wireless - Fedora report
Conclusion

A handful of weeks and hundreds of GB down the road, myLenovo G50 machine is in a much better shape when spinning the kernel 4.8.7 than anything else before, but there are still situations where the network might drop down. This means I will need to reserve my previous observation, from the original report. Good but not perfect. Part of that Nirvana has gone back to Valhalla. Fedora 25 is the salvation you seek, though.

Under ordinary circumstances, most people will probably not hit the issue, unless they have hundreds of idle HTTP connections that are slowly being closed, causing the driver to get a little confused. This could happen if you download like mad from the Web and then go calm. That's why I said ordinary users, then again, Fedora and Manjaro folks aren't really the Riders of the Gaussian. Still, something to look forward to being fixed eventually. Now that we have this 99% fix, the rest should be easy. More to come.

Cheers.


Kernel 4.8.7 & Realtek Wireless - Fedora report

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: LinuxIPv6
分页:12
转载请注明
本文标题:Kernel 4.8.7 & Realtek Wireless - Fedora report
本站链接:http://www.codesec.net/view/520692.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(19)