Sem wifi após a atualização do kernel para 4.15 ou 4.16

3

Estou no Ubuntu 16.04 e tenho esta placa de rede: link

Com o kernel 4.14.x, tudo está funcionando bem. Mas quando atualizando para 4.15.x ou 4.16, não consigo ver nenhuma conexão wifi. Mas eu posso conseguir uma conexão temporária através do USB do meu telefone.

lspci -knn | grep Net -A2 retorna

04:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:0619]
Kernel modules: bcma

Quando tento fazer modprobe wl

modprobe: FATAL: Module wl not found in directory /lib/modules/4.16.0-041600-generic

Eu tentei reinstalar bcmwl-kernel-source

sudo apt purge bcmwl-kernel-source
sudo apt-get install --reinstall linux-headers-generic
sudo apt-get install bcmwl-kernel-source

Mas isso leva a

The following NEW packages will be installed:


bcmwl-kernel-source
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,544 kB of archives.
After this operation, 8,064 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-0ubuntu1~1.2 [1,544 kB]
Fetched 1,544 kB in 0s (2,774 kB/s)           
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 499695 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~1.2_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 4.16.0-041600-generic
Building for architecture x86_64
Building initial module for 4.16.0-041600-generic
ERROR (dkms apport): kernel package linux-headers-4.16.0-041600-generic is not supported
Error! Bad return status for module build on kernel: 4.16.0-041600-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.16.0-041600-generic
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.16.0-041600-generic

E aqui está a saída de /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log

link

    
por Simon Sondrup Kristensen 02.04.2018 / 10:56

2 respostas

7

A resposta é óbvia. Os drivers proprietários da Broadcom não são desenvolvidos para os kernels mais recentes.

Além disso, os kernels 4.15 e 4.16 não são oficialmente suportados pelo Ubuntu.

Você pode experimentar o driver a partir do lançamento do Ubuntu 18.04 link

Pode ser construído para o kernel 4.15.

    
por Pilot6 02.04.2018 / 11:44
0

Ubuntu Xenial 16.04, testado com a resposta Pilot6 . Eu não substituo o meu pacote deb pela versão Bionic, em vez disso eu apenas extraio os arquivos necessários (3 arquivos exatamente):

T=$(mktemp -d)
dpkg-deb bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb $T
cd $T
cat << EOF | xargs -i echo sudo cp -avi {} /{}
usr/src/bcmwl-6.30.223.271+bdcom/patches/0026-add-support-for-Linux-4.15.patch
usr/src/bcmwl-6.30.223.271+bdcom/patches/0025-add-support-for-Linux-4.14.patch
usr/src/bcmwl-6.30.223.271+bdcom/dkms.conf
EOF
# I just echo the "sudo cp" cmds. Double check and exec manually
# Complete with: rm -Rfv $T

Em seguida, reconstrua dkms

for k in $(ls /var/lib/initramfs-tools) ; do
for d in $(cd /usr/src; ls -d *-*) ; do
 [[ -f /usr/src/${d}/dkms.conf ]] || continue
 m=$(echo $d | sed -r -e 's/-([0-9]).+//')
 v=$(echo $d | sed -r -e 's/[^0-9]+-([0-9])//')
 sudo /usr/sbin/dkms install -c /usr/src/$d/dkms.conf -m $m -v $v -k $k
done
done 
    
por sehari24jam 06.04.2018 / 05:42