[opensuse-kernel] Re: [opensuse-factory] Re: Tumbleweed and Realtek based wifi nics
Cc opensuse-kernel. 04.10.2016 06:45, Moby пишет:
On 10/03/2016 10:21 AM, Larry Finger wrote:
On 10/02/2016 07:19 PM, Moby wrote:
On 10/02/2016 05:54 PM, Larry Finger wrote:
On 10/02/2016 05:48 PM, Moby wrote:
On 10/02/2016 03:12 PM, Moby wrote:
TOSHIBA Satellite L775D/TKBSS laptop has severe packet drop with Realtek chipset based wifi cards. Builtin wifi based on Realtek RTL8188CE and a usb wifi adapter based on a different Realtekchip set both show heavy packet loss (around 60%). Nothing gets logged anywhere. Builtin Ethernet works fine.
I know the wifi infrastructure is good since many other laptops work fine. One of the other laptops is running the same version of Tumbleweed (same kernel version etc but 32 bit - the problematic machine is 64 bit) but a different (Broadcom) chipset based wifi also works great.
The machine is now running kernel 4.7.5-1-default, and I have installed each and every kernel update to show up in the Tumbleweed repos fairly faithfully. The problem with Realtek wifi started about 3 or so kernel updates ago.
Is anyone else seeing problems with Tumbleweed and Realtek chipset wifis? Any help pointing towards more diagnostic tools or solutions will be much appreciated.
I downgraded the kernel to 4.6.0-1-default, which had a known realtek wifi bug that is fixed with rtlwifi-quickfix-kmp-default-4.6_k4.6.0_1-3.1.x86_64.rpm. Installing 4.6.0-1-default with this one-off patch seems to have improved matters, I now suffer about 25% packet loss as opposed to about 65%.
I could not go to any lower versions of the kernel since they throw up all other kinds of errors, which I assume are due to userland all being updated (e.g. wpa_supplicant etc).
This very much appears to be a kernel issue with realtek chipsets. I got yet another USB wifi adapter (belkin) to try, but it is also based on a realtek chipset and has the same issues.
If you can bisect the kernel and point to a particular commit that causes the increased packet loss, that would be very helpful. I know of no changes to any of the Realtek drivers that would cause these kinds of problems.
Larry
Thanks Larry - I have some idea of bisecting software, but no idea in regards to the Tumbleweed. Where can I find the various commits/versions to test as part of the bisection?
If openSUSE has a git repository for its kernels, I am not aware of its location. Perhaps someone will come up with that information.
You could clone the mainline repository from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git. Every change included in 4.7.X will be in that code. I would use the 4.7.5 configuration to build kernel 4.8 that is in that repo and test it. If you still get the packet loss, then use the commands 'git bisect start drivers/net/wireless/realtek/rtlwifi/', 'git bisect bad', and 'git bisect good v4.6'. Change that last one to whatever version you think is good.
That bisection will have roughly 5 steps to finish and should not take too long, even with the full configuration used in distribution kernels.
Larry
I keep getting errors when trying to star the git bisect.
Here is what I get:
git clone git://kernel.opensuse.org/kernel.git -b stable Cloning into 'kernel'... remote: Counting objects: 6374859, done. remote: fatal: inflateInit: out of memory (no message) remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed
how can I get around this error, maybe a git option to not compress or some such thing?
Thanks,
--Moby
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 10/04/2016 05:58 AM, Andrei Borzenkov wrote:
Cc opensuse-kernel.
04.10.2016 06:45, Moby пишет:
On 10/03/2016 10:21 AM, Larry Finger wrote:
On 10/02/2016 07:19 PM, Moby wrote:
On 10/02/2016 05:54 PM, Larry Finger wrote:
On 10/02/2016 05:48 PM, Moby wrote:
On 10/02/2016 03:12 PM, Moby wrote: > TOSHIBA Satellite L775D/TKBSS laptop has severe packet drop with > Realtek > chipset based wifi cards. Builtin wifi based on Realtek RTL8188CE > and a > usb wifi adapter based on a different Realtekchip set both show heavy > packet loss (around 60%). Nothing gets logged anywhere. Builtin > Ethernet works fine. > > I know the wifi infrastructure is good since many other laptops work > fine. One of the other laptops is running the same version of > Tumbleweed (same kernel version etc but 32 bit - the problematic > machine > is 64 bit) but a different (Broadcom) chipset based wifi also works > great. > > The machine is now running kernel 4.7.5-1-default, and I have > installed > each and every kernel update to show up in the Tumbleweed repos > fairly > faithfully. The problem with Realtek wifi started about 3 or so > kernel > updates ago. > > Is anyone else seeing problems with Tumbleweed and Realtek chipset > wifis? Any help pointing towards more diagnostic tools or solutions > will be much appreciated. > > > > I downgraded the kernel to 4.6.0-1-default, which had a known realtek wifi bug that is fixed with rtlwifi-quickfix-kmp-default-4.6_k4.6.0_1-3.1.x86_64.rpm. Installing 4.6.0-1-default with this one-off patch seems to have improved matters, I now suffer about 25% packet loss as opposed to about 65%.
I could not go to any lower versions of the kernel since they throw up all other kinds of errors, which I assume are due to userland all being updated (e.g. wpa_supplicant etc).
This very much appears to be a kernel issue with realtek chipsets. I got yet another USB wifi adapter (belkin) to try, but it is also based on a realtek chipset and has the same issues.
If you can bisect the kernel and point to a particular commit that causes the increased packet loss, that would be very helpful. I know of no changes to any of the Realtek drivers that would cause these kinds of problems.
Larry
Thanks Larry - I have some idea of bisecting software, but no idea in regards to the Tumbleweed. Where can I find the various commits/versions to test as part of the bisection?
If openSUSE has a git repository for its kernels, I am not aware of its location. Perhaps someone will come up with that information.
You could clone the mainline repository from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git. Every change included in 4.7.X will be in that code. I would use the 4.7.5 configuration to build kernel 4.8 that is in that repo and test it. If you still get the packet loss, then use the commands 'git bisect start drivers/net/wireless/realtek/rtlwifi/', 'git bisect bad', and 'git bisect good v4.6'. Change that last one to whatever version you think is good.
That bisection will have roughly 5 steps to finish and should not take too long, even with the full configuration used in distribution kernels.
Larry
I keep getting errors when trying to star the git bisect.
Here is what I get:
git clone git://kernel.opensuse.org/kernel.git -b stable Cloning into 'kernel'... remote: Counting objects: 6374859, done. remote: fatal: inflateInit: out of memory (no message) remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed
how can I get around this error, maybe a git option to not compress or some such thing?
Strange, I don't get that error. You can try https://github.com/openSUSE/kernel.git instead. Regards, Matthias
Thanks,
--Moby
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Matthias Brugger