Je suis sur Ubuntu 13.04 et je rencontre beaucoup de problèmes tels que:
Cela fait un moment que je travaille dessus, et quelqu'un a suggéré qu'il s'agisse d'une erreur de bas niveau et m'a dit d'essayer de mettre à jour le noyau avant de déposer un rapport de bogue.
Mais lorsque j'essaie de mettre à jour le noyau principal à partir de kernel.ubuntu.com, j'obtiens cette erreur lors de l'installation du fichier 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.
Voici 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'
Je suis sur un Lenovo g580 et aimerais savoir s’il existe une solution à ce problème ou si je devrais simplement créer un rapport de bogue et installer 12.10 à la place.
Il y a un bogue ouvert dans le paquet bcmwl:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/115788
Donc, si vous avez une carte Wi-Fi Broadcom, vous devez rétrograder à la version 3.8.0 pour obtenir le bâtiment du pilote sans fil.
En fait, le nouveau noyau a été installé même si une erreur s’est produite.
On m'a aussi conseillé (je ne l'ai pas essayé) d'essayer
Sudo apt-get purge bcmwl-kernel-source
pour éviter l'erreur.