Loading of module "wl" freezes my system #2
Comments
@arun-gurung what OS and kernel are you using? Did you blacklist the modules mentioned in the README? Can you provide a kernel crash dump? |
I'm on CentOS 7.3 with |
In some cases Regarding the crash dump you can take a look at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Kernel_Crash_Dump_Guide/chap-introduction-to-kdump.html Unfortunately without logs I can't tell you much about what may be going on. If you built from the current |
I downloaded the .zip file and compiled it from there. I will try to install the driver again and provide a kernel crash dump later. |
Here`s the output of journalctl: journalctl.txt |
I see no crash in this dump, only |
Yes, the system detects the Wifi card, but when I try to connect to a network, the system freezes. |
But you are connected. Your SSID is "TT22U24" and your IP address is "192.168.1.13".
The problem must occur later, once again without any crash log I am clueless. Can you please show me the result of:
|
I reinstalled CentOS as my primary system on my Macbook Air and installed kernel 4.11.2 and reinstalled your driver and it all seems to work properly now. [root@macbook-air ~]# lspci | grep -i broadcom |
Great, good job :) Hopefully I can make Linux work on my MacBook Air some day too. |
My Macbook Air is from June 2015. Linux should work nicely on it, I have almost all my hardware working now. |
The module has started freezing my system again, so I deleted wl.ko and it works again. I will try to provide a kernel crash dump when I got figured out how to do it. |
@arun-gurung I finally got a chance to test the Linux kernel 4.11 on my Linux machine for a prolonged period of time and it's been rock stable so far after every reboot. How does it look on your side? |
I have reinstalled and my system works properly now running kernel 4.11.2. I haven't tested your driver again yet, but I will test it in a while. I hope everything works this time, so I don't have to use my dongle anymore. |
I'm sad to say that I tried the module again and it still hangs my system. I cannot simply use it. I don't know how to provide a kernel crash dump yet. But thanks for the effort. |
Thank you, I will try the kmod-wl package soon. |
The weird thing is that the driver works with Linux 3.10. |
Can confirms this happens on gentoo livecd as of current date when building wl and performing any network activity. I'm on a macbook air mid 2013. |
Bad news: I tried with kernel 4.14 and it still freezes. Thanks for making the patch to compile the Makefile, but I believe the problem is with the closed source driver from Broadcom, because it works fine with kernel 3.10. I will send a message to Broadcom and see what they say. |
Works for me on Linux 4.13 x86_64. |
I will try your next patch. Do you have a theory why it works on kernel 3.10, but not with 4.x? |
@arun-gurung I can confirm the module works without extra patching on Linux 4.14.3. Your issue seems to be specific to the Macbook hardware but without a crash dump I can unfortunately not emit any theory. F.Y.I. I have the same WiFi chip as you do:
|
I too have been busy, so I have no crashdump. And sending a message to Broadcom is pointless, because my WLAN chip doesn't freeze the system with kernel 3.10. Ergo, the software bug is in the 4.x wl.ko module (I think). Or at least somewhere in the Linux software, not by Broadcom. Just a theory, isn't it a wrapper around the driver or something? |
I couldn't tell without any logs unfortunately. I'm using this module as we speak, every day, on an ever up-to-date kernel. Are you absolutely sure it is WiFi related? Did you blacklist the modules mentioned in the README? |
Yes, I'm 97% sure it's the wl.ko module. If you are able to use it with Linux 4.x, maybe I just have a hardware error but not likely because the WLAN chip works with Linux 3.10 and on MacOS. |
The answer you're looking for is in the kernel crash dump :) Plain and simple. |
OK, it's alright. I`ll see later about a crashdump, thanks. :-) |
Still no kernel crash dump from me, but I updated to kernel 4.15 and now your patched module has been stable for several hours, so I am now very content and can finally ditch my USB wi-fi dongle. Congratulations on a job well done to the developers. :-D |
That's encouraging! Hope you're not celebrating too fast 😆 |
Well, now the module started freezing again after updating to kernel 4.16.x. |
I am sorry, having a hard time creating a kernel crash dump. I have configured it and it looks like it's set up, but I get no "vmcore" only a text file, like this and this is the messages I got in the terminal right before it hangs. |
Looks like the |
It didnt` help with blacklisting the rtl8811au. |
I went back to kernel 4.15.9-1 and now it seems stable again. |
@antoineco @arun-gurung I figured I'd offer my experience. I had been experiencing freezes on Alpine Linux using this driver with kernel 4.19.80 and BCM4331. I didn't investigate it very far, but I'd usually see kernel panic and soft lockup messages before going down. I knew I had been using this driver version from Debian/Ubuntu for a while without this sort of problem on the same hardware. So, I went through the source available here in the patch-linux4.7 branch comparing it to all the Debian patches being used. If I remember correctly, I added in 6 commits from 6 Debian patches missing in this source. Since then, the driver has been working fine for me. |
@ktb83 thanks, that's some useful feedback 👍 |
@antoineco I have not published the code, it's still just on my local machine here. I'll do a quick check on the commits I added. |
@antoineco |
@antoineco Here are the commits -- https://github.com/ktb83/broadcom-wl/commits/patch-linux5.1 If you want, I can submit a pull request. |
I have emigrated from CentOS to Manjaro. The module still freezes my system. It sounds good with these patches, but how can I download them and apply them? |
Thanks @ktb83, I cherry-picked the commits from your branch and changed the commit messages to point to their original bug reports. @arun-gurung could you please try building the module from the
|
Thanks, but programming is over my head and all I can do is use "git clone". I need somebody to hold my hand, please. $ git fetch $ git checkout extra-patches |
You have to execute this inside the repository, after performing a |
Oh, yes. My system used to freeze only seconds after loading the driver. Now it's been stable for 15 minutes. I hope this is a good present for the season and I can ditch my USB dongle. Merry Christmas! |
Good to hear! Merry Christmas to you too 🙌 |
I can compiled and install the module successfully, but it freezes my system. So far, after several reboots, I have come so long as to select network before it again freezes.
The text was updated successfully, but these errors were encountered: