Existe um bug aberto no pacote bcmwl:
Portanto, se você tiver um cartão Wi-Fi da Broadcom, será necessário fazer o downgrade para a versão 3.8.0 para obter a criação do driver sem fio.
Estou no Ubuntu 13.04 e estou com muitos problemas como:
Eu tenho trabalhado nisso por um tempo, e alguém sugeriu que deve ser algum tipo de erro de baixo nível e me disse para tentar atualizar o kernel antes de eu enviar um relatório de bug.
Mas quando eu tento atualizar para o kernel principal do kernel.ubuntu.com, recebo este erro ao instalar o arquivo headers-generic-amd64:
martinux@g580:~/Downloads$ sudo dpkg -i linux-headers-3.9.4-030904-generic_3.9.4-030904.201305241545_amd64.deb
(Reading database ... 226254 files and directories currently installed.)
Preparing to replace linux-headers-3.9.4-030904-generic 3.9.4-030904.201305241545 (using linux-headers-3.9.4-030904-generic_3.9.4-030904.201305241545_amd64.deb) ...
Unpacking replacement linux-headers-3.9.4-030904-generic ...
Setting up linux-headers-3.9.4-030904-generic (3.9.4-030904.201305241545) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.9.4-030904-generic /boot/vmlinuz-3.9.4-030904-generic
ERROR (dkms apport): kernel package linux-headers-3.9.4-030904-generic is not supported
Error! Bad return status for module build on kernel: 3.9.4-030904-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/make.log for more information.
Aqui está o make.log
DKMS make.log for bcmwl-6.20.155.1+bdcom for kernel 3.9.4-030904-generic (x86_64)
sø. 02. juni 16:18:29 +0200 2013
make: Entering directory '/usr/src/linux-headers-3.9.4-030904-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_iw.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.o
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1578:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1578:2: warning: (near initialization for ‘wl_cfg80211_ops.set_tx_power’) [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1579:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1579:2: warning: (near initialization for ‘wl_cfg80211_ops.get_tx_power’) [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c: In function ‘wl_update_bss_info’:
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:2025:3: warning: passing argument 1 of ‘cfg80211_put_bss’ from incompatible pointer type [enabled by default]
In file included from /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:33:0:
include/net/cfg80211.h:3302:6: note: expected ‘struct wiphy *’ but argument is of type ‘struct cfg80211_bss *’
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:2025:3: error: too few arguments to function ‘cfg80211_put_bss’
In file included from /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:33:0:
include/net/cfg80211.h:3302:6: note: declared here
make[1]: *** [/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build] Error 2
make: Leaving directory '/usr/src/linux-headers-3.9.4-030904-generic'
Estou em um Lenovo g580 e gostaria de saber se existe uma possível correção para isso ou se devo apenas enviar um relatório de bug e instalar o 12.10 em seu lugar.
Existe um bug aberto no pacote bcmwl:
Portanto, se você tiver um cartão Wi-Fi da Broadcom, será necessário fazer o downgrade para a versão 3.8.0 para obter a criação do driver sem fio.
Como se constata, o novo kernel foi de fato instalado mesmo que eu tenha recebido um erro.
Também fui aconselhado (não tentei) a tentar
sudo apt-get purge bcmwl-kernel-source
para evitar o erro.