← Back to team overview

kernel-packages team mailing list archive

[Bug 1415880] Re: 14e4:4365 bcmwl-kernel source: fix for null pointer crash

 

For a while I stopped using suspend and it seemed promising, but today I
experienced problems directly after booting.

1)
I'm afraid the log I posted earlier was not very meaningful. I triggered the behaviour by closing the lid of my laptop because this was a way to safely reproduce the issues. This seems to be a physical problem of my laptop. Probably the wifi antenna gets shielded when the lid is closed. In Windows 7 connection quality drops significantly and bandwidth goes down to 300 KB/s. In Linux the connection goes down completely (ping says Network is unreachable), produces the messages I posted earlier, including the call traces.
As annyoing as this is, it is probably nothing we can do anything about. The driver might not work as efficient as in Windows but that's it.

2) 
----
This only means that broadcom WL driver tried to warn kernel that it roamed from one AP to another and new BSS could not be found (meaning that the card could not get all its new BSS - peers, APs, etc).
----
My network consists only of one BSS (router), but I tried it anyway. I set the mac address of my router in the BSSID field in the networkmanager interface. This didn't change anything at all, I still got call traces, indicating, according to you, failed roaming attempts.

3) 
I attached the syslog from this morning. The problems start at 11:40:16 with 2 call traces. At 11:40:57 wpa_supplicant gives CTRL-EVENT-ASSOC-REJECT messages. Google recommends blacklisting certain modules, but none of them are loaded on my system. Another call trace follows and networkmanager says it's disconnected. It goes on a bit and finally re-establishes the connection. This seems to be more or less stable for already two hours or so.


I really don't know what to make of this. I can't see a distinct pattern. I'm not dependent on Wifi, so it's not a big deal. 
Yet I'm still interested in solving this issue. My next step would be to test the whole thing without networkmanager and see how things are then because I think networkmanager really complicates debugging this. I wanted to explicitely set wpa_supplicant to use WPA2-CCMP only because in some setups I experienced connection problems when this wasn't explicitely set, but networkmanager doesn't offer me a way to do this.

** Attachment added: "connection-loss.txt"
   https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1415880/+attachment/4459212/+files/connection-loss.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1415880

Title:
  14e4:4365 bcmwl-kernel source: fix for null pointer crash

Status in Dell Sputnik:
  Confirmed
Status in bcmwl package in Ubuntu:
  In Progress

Bug description:
  [Impact]

   * bcmwl does not compile on new kernels (or HWE kernels)
   * bcmwl suffers from null reference bug 

  [Test Case]

   * public PPA provided to community and feedback
   * based on patch available to other distros
   * comment #42

  [Regression Potential]

   * for changes on kernel support it may not compile (tested with 3.2, 3.13, 3.18 and 4.2)
   * for the null reference change -> proved to fix problem for community based on feedback

  [Other Info]

  Original bug description:

  The bcmwl package as of now misses one patch for a bug that occurs
  with BCM43142 and possibly other broadcom chipsets that will look like
  random disconnects, poor wifi signal and kernel warnings, See also
  #1379524.

  Adding the patch is a fairly simple process:

  * put the patch file in /usr/src/bcmwl-6.30.223.248+bdcom/patches
  * add the following line to  /usr/src/bcmwl-6.30.223.248+bdcom/dkms.conf
  PATCH[7]="0014-null-pointer-crash.patch"
  * run: /usr/lib/dkms/common.postinst bcmwl 6.30.223.248+bdcom /usr/share/bcmwl x86_64 $(uname -r)

  This has fixed the issue for me. Edit: I just wanted to add that I did
  not write the patch; I merely downloaded it from a paste that was
  linked from the respective AUR package.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu1 [modified: usr/src/bcmwl-6.30.223.248+bdcom/dkms.conf]
  ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
  Uname: Linux 3.16.0-29-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.7-0ubuntu8.1
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Thu Jan 29 13:15:17 2015
  InstallationDate: Installed on 2015-01-26 (3 days ago)
  InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: bcmwl
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1415880/+subscriptions


References