Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

BCM43142 stalls using wl [SOLVED]

Need help with peripherals or devices?
Post Reply
Message
Author
selene
Posts: 29
Joined: 2014-09-03 02:32

BCM43142 stalls using wl [SOLVED]

#1 Post by selene »

Hi all,
I'm just having issues with the Broadcom wireless card (BCM 43142) on Debian 8.
Just installed KDE Debian a few days ago on a Sony vaio flip 14 laptop and followed the instructions at
https://wiki.debian.org/wl
to install what's needed to load the wl module with no errors reported. I strictly followed all the steps in there and I've included
the non-free repository, headers, etc.

Although wl was able to detect and connect to my wireless connection, everything stalls
about a second or two afterwards. Then I have a few pings every two or 10 seconds, ~80% packet lost, nothing more, and occasionally the connection drops.
Browsing is not possible as every time I'm able to connect I only have a second or two worth of traffic.

I've read the previous post on this. I'm running the Debian 8 stable 3.17 (I believe, I can do uname -a once I have the computer with me)
I can provide the output of lspci but I'm sure I have BCM43142 rev1.

EDIT: eth0 works just fine, the issue involves wireless connectivity.
Thank you in advance! Great community here!
Last edited by selene on 2016-11-18 17:17, edited 1 time in total.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: BCM43142 stalls using wl

#2 Post by pylkko »

I would try the newer version of the driver package in jessie backports. But, if you search on the net for "BCM43142 network problem" you will quickly notice that just replacing the card might be worth considering

selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl

#3 Post by selene »

pylkko wrote:I would try the newer version of the driver package in jessie backports. But, if you search on the net for "BCM43142 network problem" you will quickly notice that just replacing the card might be worth considering
Thank you for your suggestion. I was thinking about getting a different card, maybe Atheros would work better (never had a problem with that brand).
In any case, I'll prefer to try a new version first. (I was not aware of newer versions of that driver)
Thank you.

selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl

#4 Post by selene »

After adding backports and updating, it's still the newest version of the driver.

Here's some output.
uname -a

Linux nereid 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

ifconfig wlan0

wlan0 Link encap:Ethernet HWaddr 34:23:87:7c:17:1d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:46611 errors:0 dropped:0 overruns:0 frame:25685
TX packets:27030 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:66066763 (63.0 MiB) TX bytes:2352712 (2.2 MiB)
Interrupt:18

lspci

02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:e071]
Kernel driver in use: wl
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Sony Corporation Device [104d:90c3]
Kernel driver in use: r8169

dmesg | grep wl

[ 5533.013163] wl0: link up (wlan0)
[ 5533.061332] WARNING: CPU: 1 PID: 461 at /build/linux-35gxh9/linux-3.16.36/net/wireless/sme.c:791 wl_notify_roaming_status+0xbb/0x140 [wl]()
[ 5533.061336] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc x86_pkg_temp_thermal intel_powerclamp intel_rapl uvcvideo coretemp videobuf2_vmalloc kvm_intel videobuf2_memops ecb snd_hda_codec_hdmi videobuf2_core btusb kvm v4l2_common bluetooth hid_sensor_als hid_sensor_gyro_3d hid_sensor_incl_3d hid_sensor_rotation hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio 6lowpan_iphc hid_sensor_hub hid_multitouch crc32_pclmul videodev media wl(PO) aesni_intel aes_x86_64 snd_hda_codec_realtek snd_hda_codec_generic lrw gf128mul i915 glue_helper cfg80211 snd_hda_intel snd_hda_controller snd_hda_codec drm_kms_helper iTCO_wdt iTCO_vendor_support joydev evdev ablk_helper snd_hwdep drm rtsx_pci_ms
[ 5533.061437] CPU: 1 PID: 461 Comm: wl_event_handle Tainted: P W IO 3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2
[ 5533.061498] [<ffffffffa08fee1b>] ? wl_notify_roaming_status+0xbb/0x140 [wl]
[ 5533.061522] [<ffffffffa08fd0b2>] ? wl_event_handler+0x62/0x1e0 [wl]
[ 5533.061547] [<ffffffffa08fd050>] ? wl_free_wdev.isra.24+0x70/0x70 [wl]
[ 5546.005942] wl0: link up (wlan0)
[ 5546.057290] WARNING: CPU: 2 PID: 461 at /build/linux-35gxh9/linux-3.16.36/net/wireless/sme.c:791 wl_notify_roaming_status+0xbb/0x140 [wl]()
[ 5546.057291] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc x86_pkg_temp_thermal intel_powerclamp intel_rapl uvcvideo coretemp videobuf2_vmalloc kvm_intel videobuf2_memops ecb snd_hda_codec_hdmi videobuf2_core btusb kvm v4l2_common bluetooth hid_sensor_als hid_sensor_gyro_3d hid_sensor_incl_3d hid_sensor_rotation hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio 6lowpan_iphc hid_sensor_hub hid_multitouch crc32_pclmul videodev media wl(PO) aesni_intel aes_x86_64 snd_hda_codec_realtek snd_hda_codec_generic lrw gf128mul i915 glue_helper cfg80211 snd_hda_intel snd_hda_controller snd_hda_codec drm_kms_helper iTCO_wdt iTCO_vendor_support joydev evdev ablk_helper snd_hwdep drm rtsx_pci_ms
[ 5546.057374] CPU: 2 PID: 461 Comm: wl_event_handle Tainted: P W IO 3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2
[ 5546.057423] [<ffffffffa08fee1b>] ? wl_notify_roaming_status+0xbb/0x140 [wl]
[ 5546.057447] [<ffffffffa08fd0b2>] ? wl_event_handler+0x62/0x1e0 [wl]
[ 5546.057472] [<ffffffffa08fd050>] ? wl_free_wdev.isra.24+0x70/0x70 [wl]
[ 5558.998756] wl0: link up (wlan0)
[ 5559.054748] WARNING: CPU: 2 PID: 461 at /build/linux-35gxh9/linux-3.16.36/net/wireless/sme.c:791 wl_notify_roaming_status+0xbb/0x140 [wl]()
[ 5559.054750] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc x86_pkg_temp_thermal intel_powerclamp intel_rapl uvcvideo coretemp videobuf2_vmalloc kvm_intel videobuf2_memops ecb snd_hda_codec_hdmi videobuf2_core btusb kvm v4l2_common bluetooth hid_sensor_als hid_sensor_gyro_3d hid_sensor_incl_3d hid_sensor_rotation hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio 6lowpan_iphc hid_sensor_hub hid_multitouch crc32_pclmul videodev media wl(PO) aesni_intel aes_x86_64 snd_hda_codec_realtek snd_hda_codec_generic lrw gf128mul i915 glue_helper cfg80211 snd_hda_intel snd_hda_controller snd_hda_codec drm_kms_helper iTCO_wdt iTCO_vendor_support joydev evdev ablk_helper snd_hwdep drm rtsx_pci_ms
[ 5559.054831] CPU: 2 PID: 461 Comm: wl_event_handle Tainted: P W IO 3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2
[ 5559.054880] [<ffffffffa08fee1b>] ? wl_notify_roaming_status+0xbb/0x140 [wl]
[ 5559.054905] [<ffffffffa08fd0b2>] ? wl_event_handler+0x62/0x1e0 [wl]
[ 5559.054929] [<ffffffffa08fd050>] ? wl_free_wdev.isra.24+0x70/0x70 [wl]
[ 5572.019199] wl0: link up (wlan0)


selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl

#5 Post by selene »

After reboot:
dmesg | grepp wl

Code: Select all

[    9.760319] wl: module license 'MIXED/Proprietary' taints kernel.
[    9.793051] wl0: online cpus 1
[    9.793326] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
[   22.886131] wl0: link up (wlan0)
I installed everything again, including broadcom-sta-dkms. Then rebooted.
After some minutes, connection stalled and only a few pings went through.

Code: Select all

 
wlan0     Link encap:Ethernet  HWaddr 34:23:87:7c:17:1d  
          inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3623:87ff:fe7c:171d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20803 errors:0 dropped:0 overruns:0 frame:11692
          TX packets:14071 errors:160 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:25973717 (24.7 MiB)  TX bytes:1751846 (1.6 MiB)
          Interrupt:18 
Then dmesg | grep wl

Code: Select all

[   22.886131] wl0: link up (wlan0)
[ 1953.347964] wl0: link up (wlan0)
[ 1953.429823] WARNING: CPU: 3 PID: 483 at /build/linux-35gxh9/linux-3.16.36/net/wireless/sme.c:791 wl_notify_roaming_status+0xbb/0x140 [wl]()
[ 1953.429825] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc snd_hda_codec_hdmi ecb hid_sensor_als hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_rotation btusb uvcvideo bluetooth videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d hid_sensor_gyro_3d videobuf2_core hid_sensor_trigger industrialio_triggered_buffer kfifo_buf v4l2_common hid_sensor_iio_common industrialio snd_hda_codec_realtek snd_hda_codec_generic wl(PO) videodev 6lowpan_iphc hid_sensor_hub media hid_multitouch x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm i915 crc32_pclmul snd_hda_intel aesni_intel snd_hda_controller aes_x86_64 lrw gf128mul drm_kms_helper snd_hda_codec iTCO_wdt iTCO_vendor_support cfg80211 glue_helper drm snd_hwdep ablk_helper joydev evdev serio_raw
[ 1953.429908] CPU: 3 PID: 483 Comm: wl_event_handle Tainted: P          IO  3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2
[ 1953.429956]  [<ffffffffa09bbe1b>] ? wl_notify_roaming_status+0xbb/0x140 [wl]
[ 1953.429980]  [<ffffffffa09ba0b2>] ? wl_event_handler+0x62/0x1e0 [wl]
[ 1953.430004]  [<ffffffffa09ba050>] ? wl_free_wdev.isra.24+0x70/0x70 [wl]
[ 2028.396502] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2028.399688] wl0: link down (wlan0)
[ 2045.478191] wl0: link up (wlan0)

selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl

#6 Post by selene »

After reboot:
dmesg | grepp wl

Code: Select all

[    9.760319] wl: module license 'MIXED/Proprietary' taints kernel.
[    9.793051] wl0: online cpus 1
[    9.793326] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
[   22.886131] wl0: link up (wlan0)
I installed everything again, including broadcom-sta-dkms. Then rebooted.
After some minutes, connection stalled and only a few pings went through.

Code: Select all

 
wlan0     Link encap:Ethernet  HWaddr 34:23:87:7c:17:1d  
          inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3623:87ff:fe7c:171d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20803 errors:0 dropped:0 overruns:0 frame:11692
          TX packets:14071 errors:160 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:25973717 (24.7 MiB)  TX bytes:1751846 (1.6 MiB)
          Interrupt:18 
Then dmesg | grep wl

Code: Select all

[    9.760319] wl: module license 'MIXED/Proprietary' taints kernel.
[    9.793051] wl0: online cpus 1
[    9.793326] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
[   22.886131] wl0: link up (wlan0)
[ 1953.347964] wl0: link up (wlan0)
[ 1953.429823] WARNING: CPU: 3 PID: 483 at /build/linux-35gxh9/linux-3.16.36/net/wireless/sme.c:791 wl_notify_roaming_status+0xbb/0x140 [wl]()
[ 1953.429825] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc snd_hda_codec_hdmi ecb hid_sensor_als hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_rotation btusb uvcvideo bluetooth videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d hid_sensor_gyro_3d videobuf2_core hid_sensor_trigger industrialio_triggered_buffer kfifo_buf v4l2_common hid_sensor_iio_common industrialio snd_hda_codec_realtek snd_hda_codec_generic wl(PO) videodev 6lowpan_iphc hid_sensor_hub media hid_multitouch x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm i915 crc32_pclmul snd_hda_intel aesni_intel snd_hda_controller aes_x86_64 lrw gf128mul drm_kms_helper snd_hda_codec iTCO_wdt iTCO_vendor_support cfg80211 glue_helper drm snd_hwdep ablk_helper joydev evdev serio_raw
[ 1953.429908] CPU: 3 PID: 483 Comm: wl_event_handle Tainted: P          IO  3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2
[ 1953.429956]  [<ffffffffa09bbe1b>] ? wl_notify_roaming_status+0xbb/0x140 [wl]
[ 1953.429980]  [<ffffffffa09ba0b2>] ? wl_event_handler+0x62/0x1e0 [wl]
[ 1953.430004]  [<ffffffffa09ba050>] ? wl_free_wdev.isra.24+0x70/0x70 [wl]
[ 2028.396502] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2028.399688] wl0: link down (wlan0)
[ 2045.478191] wl0: link up (wlan0)

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: BCM43142 stalls using wl

#7 Post by pylkko »

I meant that you use 6.30.223.271 in backports. You are using the old one (6.30.223.248). Did DKMS build the module? Do you have conflicting modules? modprobe -r them, and then modprobe wl

You say "after adding backports and updating". I don't know what that means, but I hope you do not mean that you tried to update every package to backports version. Never do that. Can you describe with exact words what you have done so far?

selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl

#8 Post by selene »

pylkko wrote:I meant that you use 6.30.223.271 in backports. You are using the old one (6.30.223.248). Did DKMS build the module? Do you have conflicting modules? modprobe -r them, and then modprobe wl

You say "after adding backports and updating". I don't know what that means, but I hope you do not mean that you tried to update every package to backports version. Never do that. Can you describe with exact words what you have done so far?
I did not install anything from backports. I tried installing broadcom-sta-dkms with

Code: Select all

sudo apt-get -t jessie-backports install broadcom-sta-dkms
but it was already the newest version. Then, I deactivated backports, and followed again the steps of wl on the wiki. With updating I've meant apt-get update.
I don't know what to update actually besides broadcom-sta-dkms.. I don't know either how to check for conflicting modules. I removed the conflicting modules as described on the wiki page.
I have installed firmware-realtek if that helps

selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl [HERE'S THE SOLUTION]

#9 Post by selene »

Hi again,
just to clarify what I've done so far. Here are the steps in commands

Code: Select all

sudo apt-get remove broadcom-sta-dkms 
sudo apt-get remove wireless-tools
sudo apt-get remove dkms
sudo apt-get purge firmware-b4*
sudo apt-get purge broadcom*
then followed installation instructions. Note that I already have headers and linux-image

Code: Select all

sudo apt-get install wireless-tools
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
wlan0 worked but as before, with problems
Then, following your advice, went into
https://packages.debian.org/jessie-back ... m-sta-dkms
and installed the new version of the driver

Code: Select all

sudo dpkg -i DEB/broadcom-sta-dkms_6.30.223.271-2~bpo8+1_all.deb 
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
All I can say is that for the very first time I'm writing you not using the ethernet cable! I will update this thread as solved if conditions hold for a day or two.
Thank you very much for suggesting the new version of the driver!
Best wishes
Last edited by selene on 2016-11-18 17:17, edited 1 time in total.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: BCM43142 stalls using wl

#10 Post by pylkko »

YES! I got lucky there (if it continues to work that is) as I did not know for fact that the newer package contained a newer version of that specifc module or that it would change anything. I just saw that the backports package (where the modules/drivers are) was newer and suspected that it might have newer modules. I hope it keeps working! This same package is in testing, so next year when that becomes stable it should work just as it does now straifgt out of the box (in case some one else reads this thread later).

selene
Posts: 29
Joined: 2014-09-03 02:32

Re: BCM43142 stalls using wl[SOLVED]

#11 Post by selene »

No problems so far with the new version of the wl driver, I'm closing this.
Thank you again for helping me out with this problem. :D
Best!
Sebastian

nikhilweee
Posts: 2
Joined: 2017-04-21 17:24

Re: BCM43142 stalls using wl [SOLVED]

#12 Post by nikhilweee »

Hello, I'm having the exact same problem on Ubuntu. Will the package you suggested work on Ubuntu as well? Is there a similar package for ubuntu?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: BCM43142 stalls using wl [SOLVED]

#13 Post by GarryRicketson »

Who knows ? That is something you should ask the at the ubuntu forums,
I don't know anybody here at Debian User Forums , that uses ubuntu.
In fact most of the members here are not big fans of ubuntu, so that is
why we use Debian instead.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: BCM43142 stalls using wl [SOLVED]

#14 Post by pylkko »

Try removing wl and using b43. That's just a guess because you don't provide any information on what card you are using etc

nikhilweee
Posts: 2
Joined: 2017-04-21 17:24

Re: BCM43142 stalls using wl [SOLVED]

#15 Post by nikhilweee »

GarryRicketson wrote:Who knows ? That is something you should ask the at the ubuntu forums,
I don't know anybody here at Debian User Forums , that uses ubuntu.
In fact most of the members here are not big fans of ubuntu, so that is
why we use Debian instead.
Because this is what happened to one such attempt, and you guys seemed to have the answer.
pylkko wrote:Try removing wl and using b43. That's just a guess because you don't provide any information on what card you are using etc
I have the same card. BCM43142. I know it's better to change the card than to go around searching for solutions, but I'm a bit stuck with the card.
Anyway, I just tried searching apt for broadcom-sta-dkms, which shows the newest version is 6.30.223.271-3, so I went ahead to install it. Rebooted, hoped that this would work, but it didn't make a change. Here the result of the wireless-info script if that is of any help.

Code: Select all

sudo apt search broadcom-sta-dkms
sudo apt install broadcom-sta-dkms

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: BCM43142 stalls using wl [SOLVED]

#16 Post by stevepusser »

How about showing the entire terminal output of installing that package? It depends on you also having a complete kernel module build environment set up first, and if you didn't, the output would show that.

Your question is also answered many times on the Ubuntu forums and ubuntuanswers, so did you do much of a search?
MX Linux packager and developer

Post Reply