broadcom-sta-dkms 6.30.223.248-3 won't install on Vivid 15.04 Beta 2

Bug #1439616 reported by Paul Hudson
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
broadcom-sta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a Dell XPS 13 with a Broadcom 4352 wireless adapter. Previously I have was able to install broadcom-sta-dkms 6.30.223.248-3 (and its dependency dkms 2.2.0.3-2ubuntu3) on Ubuntu 14.04.2 but it will not install on 15.04 Beta 2 with kernel version 3.19.0-10-generic. The wireless adapter will not work without this package.

When I install the package I get the following output to the console:

sudo dpkg -i broadcom-sta-dkms_6.30.223.248-3_all.deb
(Reading database ... 171045 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.248-3_all.deb ...

------------------------------
Deleting module version: 6.30.223.248
completely from the DKMS tree.
------------------------------
Done.
Unpacking broadcom-sta-dkms (6.30.223.248-3) over (6.30.223.248-3) ...
Setting up broadcom-sta-dkms (6.30.223.248-3) ...
Loading new broadcom-sta-6.30.223.248 DKMS files...
Building only for 3.19.0-10-generic
Building initial module for 3.19.0-10-generic
ERROR (dkms apport): kernel package linux-headers-3.19.0-10-generic is not supported
Error! Bad return status for module build on kernel: 3.19.0-10-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more information.

The make.log contains the following output:

DKMS make.log for broadcom-sta-6.30.223.248 for kernel 3.19.0-10-generic (x86_64)
Thu Apr 2 11:32:48 BST 2015
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/3.19.0-10-generic/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-10-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  LD /var/lib/dkms/broadcom-sta/6.30.223.248/build/built-in.o
  CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/shared/linux_osl.o
  CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.o
  CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_iw.o
  CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1390:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
  memcpy(params.key, key.data, params.key_len);
         ^
In file included from ./arch/x86/include/asm/string.h:4:0,
                 from include/linux/string.h:17,
                 from include/linux/bitmap.h:8,
                 from include/linux/cpumask.h:11,
                 from ./arch/x86/include/asm/cpumask.h:4,
                 from ./arch/x86/include/asm/msr.h:10,
                 from ./arch/x86/include/asm/processor.h:20,
                 from ./arch/x86/include/asm/thread_info.h:23,
                 from include/linux/thread_info.h:54,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:18,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/include/linuxver.h:40,
                 from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:26:
./arch/x86/include/asm/string_64.h:32:14: note: expected ‘void *’ but argument is of type ‘const u8 *’
 extern void *memcpy(void *to, const void *from, size_t len);
              ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: At top level:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: initialization from incompatible pointer type
  .get_station = wl_cfg80211_get_station,
  ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: (near initialization for ‘wl_cfg80211_ops.get_station’)
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_inform_single_bss’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:9: error: incompatible type for argument 3 of ‘cfg80211_inform_bss’
  cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
         ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:3982:1: note: expected ‘enum cfg80211_bss_frame_type’ but argument is of type ‘const u8 *’
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2015:3: warning: passing argument 7 of ‘cfg80211_inform_bss’ makes integer from pointer without a cast
   (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
   ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:3982:1: note: expected ‘u16’ but argument is of type ‘const u8 *’
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2015:26: warning: passing argument 8 of ‘cfg80211_inform_bss’ makes pointer from integer without a cast
   (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
                          ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:3982:1: note: expected ‘const u8 *’ but argument is of type ‘size_t’
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:9: error: too few arguments to function ‘cfg80211_inform_bss’
  cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
         ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:3982:1: note: declared here
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o' failed
make[2]: *** [/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
Makefile:1394: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build' failed
make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-10-generic'
Makefile:158: recipe for target 'all' failed
make: *** [all] Error 2

I want to use 15.04 as it fixes other problems on the Dell XPS 13, such as the sound and microphone not working in 14.04. Please can you give me an idea of how I might install the package. e.g. if there is a workaround.

Many thanks
Paul Hudson

Revision history for this message
thingy (jchoksi) wrote :

Hi,

This issue is a duplicate of the one reported for: #1408385

See this comment for a solution: https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/1408385/comments/4

Regards,
Jinesh

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in broadcom-sta (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Hudson (paulhudsonx) wrote :

Hi Jinesh,

I can confirm that the solution of using the https://launchpad.net/ubuntu/vivid/+package/bcmwl-kernel-source package instead of the broadcom-sta-dkms package does in fact resolve the problem.

Many thanks
Paul Hudson

Revision history for this message
monochromec (monochromec) wrote :

broadcom-sta-dkms module compilation error is still around in 15.04 final. Installation of broadcom-sta-common (which removes broadcom-sta-dkms) solves the problem.

Revision history for this message
KeithG (grider-4) wrote :

Grabbed all the patches from the 4 corners of the internet to have it compile on 3.19. Compiles, Installs, shows a list of only the 2.5Ghz ssids, but will not connect to them. I have never been able to get this laptop to connect using the STA driver. This behavior is the same as when I install the STA driver from apt-get. Currently using the b43 driver. It connects, but no 5Ghz. It does connect to 5Ghz under Win Vista.

0b:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
 Subsystem: Dell Wireless 1500 Draft 802.11n WLAN Mini-card [1028:000a]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at fe7fc000 (64-bit, non-prefetchable) [size=16K]
 Region 2: Memory at f0000000 (64-bit, prefetchable) [size=1M]
 Capabilities: <access denied>
 Kernel driver in use: b43-pci-bridge

Revision history for this message
Paul Hudson (paulhudsonx) wrote :

Keith,

Did you try Jinesh's bcmwl-kernel-source solution (above) instead of STA? For me it has been working very well on 3.19 since I installed it back in April, including 5Ghz connections. I note that there is now (12th May) a 4.x kernel version of it (https://launchpad.net/ubuntu/wily/amd64/bcmwl-kernel-source) that I am about to try.

Paul

Revision history for this message
ser (seanerussell) wrote :

Paul,

Just tried it, and it doesn't work, at least not with 4.0 for vivid (http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/). The build first complains:

BEGIN
  CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o
In file included from /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.c:23:0:
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/include/typedefs.h:35:27: fatal error: linux/version.h: No such file or directory
 #include <linux/version.h>
                           ^
compilation terminated.
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o' failed
END

and when hack+fixed with a symlink, continues to fail with:

BEGIN
                 from /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.c:25:
include/linux/page-flags-layout.h:5:30: fatal error: generated/bounds.h: No such file or directory
 #include <generated/bounds.h>
                              ^
compilation terminated.
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o' failed
END

It appears to work fine for 3.19.

Revision history for this message
Paul Hudson (paulhudsonx) wrote : Re: [Bug 1439616] Re: broadcom-sta-dkms 6.30.223.248-3 won't install on Vivid 15.04 Beta 2
Download full text (9.2 KiB)

Sean,

It is working for me in 4.1.0-040100-generic.

Regards

On 9 July 2015 at 13:17, ser <email address hidden> wrote:

> Paul,
>
> Just tried it, and it doesn't work, at least not with 4.0 for vivid
> (http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/). The build
> first complains:
>
> BEGIN
> CC [M] /var/lib/dkms/bcmwl/6.30.223.248
> +bdcom/build/src/shared/linux_osl.o
> In file included from /var/lib/dkms/bcmwl/6.30.223.248
> +bdcom/build/src/shared/linux_osl.c:23:0:
> /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/include/typedefs.h:35:27:
> fatal error: linux/version.h: No such file or directory
> #include <linux/version.h>
> ^
> compilation terminated.
> scripts/Makefile.build:258: recipe for target '/var/lib/dkms/bcmwl/
> 6.30.223.248+bdcom/build/src/shared/linux_osl.o' failed
> END
>
> and when hack+fixed with a symlink, continues to fail with:
>
> BEGIN
> from /var/lib/dkms/bcmwl/6.30.223.248
> +bdcom/build/src/shared/linux_osl.c:25:
> include/linux/page-flags-layout.h:5:30: fatal error: generated/bounds.h:
> No such file or directory
> #include <generated/bounds.h>
> ^
> compilation terminated.
> scripts/Makefile.build:258: recipe for target '/var/lib/dkms/bcmwl/
> 6.30.223.248+bdcom/build/src/shared/linux_osl.o' failed
> END
>
> It appears to work fine for 3.19.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1439616
>
> Title:
> broadcom-sta-dkms 6.30.223.248-3 won't install on Vivid 15.04 Beta 2
>
> Status in broadcom-sta package in Ubuntu:
> Confirmed
>
> Bug description:
> I have a Dell XPS 13 with a Broadcom 4352 wireless adapter. Previously
> I have was able to install broadcom-sta-dkms 6.30.223.248-3 (and its
> dependency dkms 2.2.0.3-2ubuntu3) on Ubuntu 14.04.2 but it will not
> install on 15.04 Beta 2 with kernel version 3.19.0-10-generic. The
> wireless adapter will not work without this package.
>
> When I install the package I get the following output to the console:
>
> sudo dpkg -i broadcom-sta-dkms_6.30.223.248-3_all.deb
> (Reading database ... 171045 files and directories currently installed.)
> Preparing to unpack broadcom-sta-dkms_6.30.223.248-3_all.deb ...
>
> ------------------------------
> Deleting module version: 6.30.223.248
> completely from the DKMS tree.
> ------------------------------
> Done.
> Unpacking broadcom-sta-dkms (6.30.223.248-3) over (6.30.223.248-3) ...
> Setting up broadcom-sta-dkms (6.30.223.248-3) ...
> Loading new broadcom-sta-6.30.223.248 DKMS files...
> Building only for 3.19.0-10-generic
> Building initial module for 3.19.0-10-generic
> ERROR (dkms apport): kernel package linux-headers-3.19.0-10-generic is
> not supported
> Error! Bad return status for module build on kernel: 3.19.0-10-generic
> (x86_64)
> Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more
> information.
>
> The make.log contains the following output:
>
> DKMS make.log for broadcom-sta-6.30.223.248 for kernel 3.19.0-10-generic
> (x86_64)
> Thu Apr 2 11:32:48 BST 2015
> ...

Read more...

Revision history for this message
ser (seanerussell) wrote :

Hi Paul,

Did you not get this error?

FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol 'cpu_tss'

I wouldn't expect this to change between vivid and wily.

--- SER

Revision history for this message
Paul Hudson (paulhudsonx) wrote :
Download full text (8.2 KiB)

Hi Sean, sorry I didn't get that error. I am running 15.04 with the 4.1
kernel - not sure if that's made the difference.

P.

On 9 July 2015 at 13:56, ser <email address hidden> wrote:

> Hi Paul,
>
> Did you not get this error?
>
> FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol
> 'cpu_tss'
>
> I wouldn't expect this to change between vivid and wily.
>
> --- SER
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1439616
>
> Title:
> broadcom-sta-dkms 6.30.223.248-3 won't install on Vivid 15.04 Beta 2
>
> Status in broadcom-sta package in Ubuntu:
> Confirmed
>
> Bug description:
> I have a Dell XPS 13 with a Broadcom 4352 wireless adapter. Previously
> I have was able to install broadcom-sta-dkms 6.30.223.248-3 (and its
> dependency dkms 2.2.0.3-2ubuntu3) on Ubuntu 14.04.2 but it will not
> install on 15.04 Beta 2 with kernel version 3.19.0-10-generic. The
> wireless adapter will not work without this package.
>
> When I install the package I get the following output to the console:
>
> sudo dpkg -i broadcom-sta-dkms_6.30.223.248-3_all.deb
> (Reading database ... 171045 files and directories currently installed.)
> Preparing to unpack broadcom-sta-dkms_6.30.223.248-3_all.deb ...
>
> ------------------------------
> Deleting module version: 6.30.223.248
> completely from the DKMS tree.
> ------------------------------
> Done.
> Unpacking broadcom-sta-dkms (6.30.223.248-3) over (6.30.223.248-3) ...
> Setting up broadcom-sta-dkms (6.30.223.248-3) ...
> Loading new broadcom-sta-6.30.223.248 DKMS files...
> Building only for 3.19.0-10-generic
> Building initial module for 3.19.0-10-generic
> ERROR (dkms apport): kernel package linux-headers-3.19.0-10-generic is
> not supported
> Error! Bad return status for module build on kernel: 3.19.0-10-generic
> (x86_64)
> Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more
> information.
>
> The make.log contains the following output:
>
> DKMS make.log for broadcom-sta-6.30.223.248 for kernel 3.19.0-10-generic
> (x86_64)
> Thu Apr 2 11:32:48 BST 2015
> /bin/sh: 1: [: Illegal number:
> /bin/sh: 1: [: Illegal number:
> Wireless Extension is the only possible API for this kernel version
> Using Wireless Extension API
> KBUILD_NOPEDANTIC=1 make -C /lib/modules/3.19.0-10-generic/build M=`pwd`
> make[1]: Entering directory '/usr/src/linux-headers-3.19.0-10-generic'
> CFG80211 API is prefered for this kernel version
> Using CFG80211 API
> Kernel architecture is X86_64
> LD /var/lib/dkms/broadcom-sta/6.30.223.248/build/built-in.o
> CC [M] /var/lib/dkms/broadcom-sta/
> 6.30.223.248/build/src/shared/linux_osl.o
> CC [M] /var/lib/dkms/broadcom-sta/
> 6.30.223.248/build/src/wl/sys/wl_linux.o
> CC [M] /var/lib/dkms/broadcom-sta/
> 6.30.223.248/build/src/wl/sys/wl_iw.o
> CC [M] /var/lib/dkms/broadcom-sta/
> 6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o
> /var/lib/dkms/broadcom-sta/
> 6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function
> ‘wl_cfg80211_get_key’:
> /var/lib/dkms/broadcom-sta/
> 6.3...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.