Broadcom BCM43142 frequent disconnections

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Broadcom BCM43142 frequent disconnections

Postby aliquis » Mon Jan 15, 2018 22:31

Hello everyone, I'm new to Sabayon. I have installed Sabayon minimal kernel 4.13 on my laptop and now i have a problem with networking. I use connman to manage wireless, but I'm experiencing frequent disconnection, every 2-3 minutes. My network controller is Broadcom BCM43142.
I have read various post about this issue, someone solved the problem installing a patch for broadcom-sta driver. I have not found a patch for kernel 4.13 so i decided to downgrade to 4.12 because there is one available here: https://github.com/gentoo/gentoo/blob/master/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.12.patch. This patch is also present in Sabayon in portage for me in /usr/portage/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.12.patch. I think this is a patch for gentoo ebuild, i havent gentoo-sources installed and I can't update portage due to binutils package masked. My question is: there is a metod to apply this patch without portage? Or if I have to do this with portage, how can I resolve masked packages, also try emerge unmask with no luck. Merging broadcom-sta result emerge ask to install gentoo sources but binutils is masked.
I hope someone can help me, I am new with linux, I'm learning reading. Thanks
aliquis
Baby Hen
 
Posts: 3
Joined: Mon Jan 15, 2018 18:43

Re: Broadcom BCM43142 frequent disconnections

Postby sabayonino » Mon Jan 15, 2018 23:51

try to install (if none)
net-wireless/broadcom-sta-6.30.223.271-r4#4.13.0-sabayon

not sure but it should be patched

Code: Select all
# equo i net-wireless/broadcom-sta-6.30.223.271-r4#4.13.0-sabayon
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)
User avatar
sabayonino
Sagely Hen
 
Posts: 3100
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Broadcom BCM43142 frequent disconnections

Postby aliquis » Tue Jan 16, 2018 14:35

Thank you for fast reply. When I downloaded Sabayon minimal from Sabayon Weekly Mirror, it came with kernel 4.13 I have installed broadcom-sta via equo, blacklisted conflicting modules as blacklist.conf and the wireless controller work but just for few minutes, then I have to disable wifi technologie (connmanctl disable wifi) and enable again to make it work. Sometimes wifi freeze and connman can't disable it. There are patches for Arch and Gentoo broadcom-sta-6.30.223.271-r1-linux-3.18.patch
broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch
broadcom-sta-6.30.223.271-r4-linux-4.11.patch
broadcom-sta-6.30.223.271-r4-linux-4.12.patch
broadcom-sta-6.30.223.271-r4-linux-4.7.patch
broadcom-sta-6.30.223.271-r4-linux-4.8.patch
In gentoo handbook, user patches can be applied moving the patch under /usr/portage/patches and remerging the package. Is also possible test if the patch can be applied. I' ve not /patches directory under /usr/portage, I mean beacause haven't gentoo-sources installed. The pacth is in /usr/portage/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.12.patch
Updating portage or merging broadcom-sta say me binutils is masked by package.mask beacause of old tool chain and I have to install gentoo-sources too. So i decided to stop before system break. The patch is also available in entropy?
First line of the broadcom-sta-6.30.223.271-r4-linux-4.12.patch:
Code: Select all
diff -ru work.orig/src/wl/sys/wl_cfg80211_hybrid.c work.patched/src/wl/sys/wl_cfg80211_hybrid.c

In my system i haven't found wl_cfg80211_hybrid.c
I don't know if net-wireless/broadcom-sta-6.30.223.271-r4#4.13.0-sabayon or net-wireless/broadcom-sta-6.30.223.271-r4#4.12.0-sabayon are patched but I'm sure it wan't work properly. Thanks again
aliquis
Baby Hen
 
Posts: 3
Joined: Mon Jan 15, 2018 18:43

Re: Broadcom BCM43142 frequent disconnections

Postby sabayonino » Tue Jan 16, 2018 14:39

you need the sabayon-sources if you want to rebuild the kernel and initramfs by yourself but I think the better place to fix BCM53142 patch is to file a bug and let the devs to rebuild this for all available kernels for all repositories.
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)
User avatar
sabayonino
Sagely Hen
 
Posts: 3100
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Broadcom BCM43142 frequent disconnections

Postby aliquis » Tue Jan 16, 2018 15:02

I don't know how to rebuild the kernel to make broadcom working and I don't know how to file a bug but I can read about it.
aliquis
Baby Hen
 
Posts: 3
Joined: Mon Jan 15, 2018 18:43


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest

cron