on a fresh ubuntu 20.10 install  ( not upgrade ) seeing same bug

wifi not working 
in settings option to change wifi is grayed out
able to reach internet OK using ethernet


x86_64
5.8.0-26-generic
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.10
DISTRIB_CODENAME=groovy
DISTRIB_DESCRIPTION="Ubuntu 20.10"

uname -a
Linux andes 5.8.0-26-generic #27-Ubuntu SMP Wed Oct 21 22:29:16 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux


 dpkg -l|grep        bcmwl 
ii  bcmwl-kernel-source                             6.30.223.271+bdcom-0ubuntu7 
        amd64        Broadcom 802.11 Linux STA wireless driver source
olaf@andes ~ $ 


sudo apt-get remove --purge bcmwl-kernel-source


sudo apt-get install broadcom-sta-source

   ran OK


sudo apt-get install broadcom-sta-source -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  dkms
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  module-assistant
The following NEW packages will be installed:
  broadcom-sta-source module-assistant
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,308 kB of archives.
After this operation, 2,639 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu groovy/multiverse amd64 
broadcom-sta-source all 6.30.223.271-14 [2,218 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu groovy/universe amd64 
module-assistant all 0.11.10 [90.3 kB]
Fetched 2,308 kB in 1s (2,106 kB/s)         
Requesting to save current system state
Successfully saved as "autozsys_iyujmr"
Selecting previously unselected package broadcom-sta-source.
(Reading database ... 210357 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-source_6.30.223.271-14_all.deb ...
Unpacking broadcom-sta-source (6.30.223.271-14) ...
Selecting previously unselected package module-assistant.
Preparing to unpack .../module-assistant_0.11.10_all.deb ...
Unpacking module-assistant (0.11.10) ...
Setting up broadcom-sta-source (6.30.223.271-14) ...
Setting up module-assistant (0.11.10) ...
Processing triggers for man-db (2.9.3-2) ...
ZSys is adding automatic system snapshot to GRUB menu


sudo apt-get install broadcom-sta-dkms -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  broadcom-sta-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,210 kB of archives.
After this operation, 14.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu groovy/multiverse amd64 
broadcom-sta-dkms all 6.30.223.271-14 [2,210 kB]
Fetched 2,210 kB in 0s (5,178 kB/s)         
Requesting to save current system state
Successfully saved as "autozsys_x9zm88"
Selecting previously unselected package broadcom-sta-dkms.
(Reading database ... 210406 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-14_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-14) ...
Setting up broadcom-sta-dkms (6.30.223.271-14) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 5.8.0-26-generic
Building initial module for 5.8.0-26-generic
Error! Bad return status for module build on kernel: 5.8.0-26-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more 
information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script subprocess 
returned error exit status 10
Errors were encountered while processing:
 broadcom-sta-dkms
ZSys is adding automatic system snapshot to GRUB menu
E: Sub-process /usr/bin/dpkg returned an error code (1)


sudo apt-get install broadcom-sta-source -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
broadcom-sta-source is already the newest version (6.30.223.271-14).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Requesting to save current system state
Successfully saved as "autozsys_57lmb7"
Setting up broadcom-sta-dkms (6.30.223.271-14) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...

------------------------------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 5.8.0-26-generic
Building initial module for 5.8.0-26-generic
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-26-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more 
information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script subprocess 
returned error exit status 10
Errors were encountered while processing:
 broadcom-sta-dkms
ZSys is adding automatic system snapshot to GRUB menu
E: Sub-process /usr/bin/dpkg returned an error code (1)



cat /var/crash/broadcom-sta-dkms.0.crash  
ProblemType: Package
DKMSBuildLog:
 DKMS make.log for broadcom-sta-6.30.223.271 for kernel 5.8.0-26-generic 
(x86_64)
 Mon Nov  9 10:15:42 AM EST 2020
 CFG80211 API is prefered for this kernel version
 Makefile:89: Neither CFG80211 nor Wireless Extension is enabled in kernel
 KBUILD_NOPEDANTIC=1 make -C /lib/modules/5.8.0-26-generic/build M=`pwd`
 make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
 make[1]: Entering directory '/usr/src/linux-headers-5.8.0-26-generic'
 CFG80211 API is prefered for this kernel version
 Using CFG80211 API
 Kernel architecture is X86_64
   AR      /var/lib/dkms/broadcom-sta/6.30.223.271/build/built-in.a
   CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o
 In file included from ./include/linux/kernel.h:13,
                  from ./include/linux/list.h:9,
                  from ./include/linux/module.h:12,
                  from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:40,
                  from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25:
 ./include/linux/log2.h: In function ‘__ilog2_u32’:
 ./include/linux/log2.h:24:1: error: stray ‘\1’ in program
    24 | return fls(n) -(1;
       | ^
 ./include/linux/log2.h:24:19: error: expected ‘)’ before ‘;’ token
    24 | return fls(n) -(1;
       |                 ~ ^
       |                   )
 ./include/linux/log2.h:24:20: error: expected ‘;’ before ‘}’ token
    24 | return fls(n) -(1;
       |                    ^
       |                    ;
    25 | }
       | ~                   
 ./include/linux/log2.h: At top level:
 ./include/linux/log2.h:28:2: error: invalid preprocessing directive #ivndef; 
did you mean #ifndef?
    28 | #ivndef CONFIG_ARCH_HAS_IL_G2_U64
       |  ^~~~~~
       |  ifndef
 ./include/linux/log2.h:29:29: error: expected declaration specifiers or ‘...’ 
before ‘(’ token
    29 | static inline __ittributm__((conct))
       |                             ^
 ./include/linux/log2.h:63:8: error: unknown type name ‘ifline’
    63 | static ifline __qttribute__((conct))
       |        ^~~~~~
 ./include/linux/log2.h:63:29: error: expected declaration specifiers or ‘...’ 
before ‘(’ token
    63 | static ifline __qttribute__((conct))
       |                             ^
 ./include/linux/log2.h:75:22: error: '#' is not followed by a macro parameter
    75 | #define const_ilog2(n)    \
       |                      ^
 ./include/linux/log2.h:190:1: error: stray ‘\32’ in program
   190 | �static inline __attribute_const__
       | ^
 ./include/linux/log2.h: In function ‘__order_base_2’:
 ./include/linux/log2.h:154:2: error: implicit declaration of function 
‘const_ilog2’ [-Werror=implicit-function-declaration]
   154 |  const_ilog2(n) :  \
       |  ^~~~~~~~~~~
 ./include/linux/log2.h:193:17: note: in expansion of macro ‘ilog2’
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                 ^~~~~
 ./include/linux/log2.h:156:18: error: stray ‘\1’ in program
   156 |  __ilog2_u32(n) : \
       |                  ^
 ./include/linux/log2.h:193:17: note: in expansion of macro ‘ilog2’
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                 ^~~~~
 ./include/linux/log2.h:157:2: error: implicit declaration of function 
‘__idog2_u64’; did you mean ‘__ilog2_u32’? 
[-Werror=implicit-function-declaration]
   157 |  __idog2_u64(n)   \
       |  ^~~~~~~~~~~
 ./include/linux/log2.h:193:17: note: in expansion of macro ‘ilog2’
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                 ^~~~~
 ./include/linux/log2.h:157:2: error: called object is not a function or 
function pointer
   157 |  __idog2_u64(n)   \
       |  ^~~~~~~~~~~
 ./include/linux/log2.h:193:17: note: in expansion of macro ‘ilog2’
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                 ^~~~~
 ./include/linux/log2.h:193:33: error: expected ‘)’ before ‘:’ token
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                                 ^~
       |                                 )
 ./include/linux/log2.h:152:1: note: to match this ‘(’
   152 | ( \
       | ^
 ./include/linux/log2.h:193:17: note: in expansion of macro ‘ilog2’
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                 ^~~~~
 ./include/linux/log2.h:193:38: error: expected ‘:’ before ‘}’ token
   193 |  return n > 1 ? ilog2(n - 1) + 1 : 0;
       |                                      ^
       |                                      :
   194 | }
       | ~                                     
 ./include/linux/log2.h: In function ‘__bits_per’:
 ./include/linux/log2.h:156:18: error: stray ‘\1’ in program
   156 |  __ilog2_u32(n) : \
       |                  ^
 ./include/linux/log2.h:212:3: note: in expansion of macro ‘ilog2’
   212 |   ilog2((n) - 1) + 1) :  \
       |   ^~~~~
 ./include/linux/log2.h:222:10: note: in expansion of macro ‘order_base_2’
   222 |   return order_base_2(n) + 1;
       |          ^~~~~~~~~~~~
 ./include/linux/log2.h:157:2: error: called object is not a function or 
function pointer
   157 |  __idog2_u64(n)   \
       |  ^~~~~~~~~~~
 ./include/linux/log2.h:212:3: note: in expansion of macro ‘ilog2’
   212 |   ilog2((n) - 1) + 1) :  \
       |   ^~~~~
 ./include/linux/log2.h:222:10: note: in expansion of macro ‘order_base_2’
   222 |   return order_base_2(n) + 1;
       |          ^~~~~~~~~~~~
 ./include/linux/log2.h:212:23: error: expected ‘)’ before ‘:’ token
   212 |   ilog2((n) - 1) + 1) :  \
       |                       ^
 ./include/linux/log2.h:222:10: note: in expansion of macro ‘order_base_2’
   222 |   return order_base_2(n) + 1;
       |          ^~~~~~~~~~~~
 ./include/linux/log2.h:210:28: note: to match this ‘(’
   210 |  __builtin_constant_p(n) ? (  \
       |                            ^
 ./include/linux/log2.h:222:10: note: in expansion of macro ‘order_base_2’
   222 |   return order_base_2(n) + 1;
       |          ^~~~~~~~~~~~
 ./include/linux/log2.h:222:29: error: expected ‘:’ before ‘;’ token
   222 |   return order_base_2(n) + 1;
       |                             ^
       |                             :
 ./include/linux/log2.h:156:18: error: stray ‘\1’ in program
   156 |  __ilog2_u32(n) : \
       |                  ^
 ./include/linux/log2.h:212:3: note: in expansion of macro ‘ilog2’
   212 |   ilog2((n) - 1) + 1) :  \
       |   ^~~~~
 ./include/linux/log2.h:223:9: note: in expansion of macro ‘order_base_2’
   223 |  return order_base_2(n);
       |         ^~~~~~~~~~~~
 ./include/linux/log2.h:248:2: error: #endif without #if
   248 | #endif /*0_LINUX_\OG2_H */
       |  ^~~~~
 In file included from ./include/linux/time64.h:5,
                  from ./include/linux/restart_block.h:10,
                  from ./include/linux/thread_info.h:13,
                  from ./arch/x86/include/asm/preempt.h:7,
                  from ./include/linux/preempt.h:78,
                  from ./include/linux/spinlock.h:51,
                  from ./include/linux/seqlock.h:36,
                  from ./include/linux/time.h:6,
                  from ./include/linux/stat.h:19,
                  from ./include/linux/module.h:13,
                  from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:40,
                  from 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25:
 ./include/linux/math64.h:2:24: warning: extra tokens at end of #ifndef 
directive
     2 | #ifndef _LINUX_MATH64_H�#define _LINUX_MATH64_H
       |                        ^
 ./include/linux/math64.h:4:2: error: invalid preprocessing directive #inclule; 
did you mean #include?
     4 | #inclule <linuh/types.x>
       |  ^~~~~~~
       |  include
 ./include/linux/math64.h:5:10: fatal error: vds/math64.h: No such file or 
directory
     5 | #include <vds/math64.h>
       |          ^~~~~~~~~~~~~~~
 cc1: some warnings being treated as errors
 compilation terminated.
 make[2]: *** [scripts/Makefile.build:290: 
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o] Error 1
 make[1]: *** [Makefile:1780: /var/lib/dkms/broadcom-sta/6.30.223.271/build] 
Error 2
 make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-26-generic'
 make: *** [Makefile:181: all] Error 2
DKMSKernelVersion: 5.8.0-26-generic
Date: Mon Nov  9 10:15:46 2020
DuplicateSignature: 
dkms:broadcom-sta-dkms:6.30.223.271-14:./include/linux/log2.h:24:1: error: 
stray ‘\1’ in program
Package: broadcom-sta-dkms 6.30.223.271-14
PackageVersion: 6.30.223.271-14
SourcePackage: broadcom-sta
Title: broadcom-sta-dkms 6.30.223.271-14: broadcom-sta kernel module failed to 
build



dpkg -l | grep  broadcom  
iF  broadcom-sta-dkms                               6.30.223.271-14             
        all          dkms source for the Broadcom STA Wireless driver
ii  broadcom-sta-source                             6.30.223.271-14             
        all          Source for the Broadcom STA Wireless driver

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878045

Title:
  doing dist-upgrade got error related do Broadcom

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1878045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to