Bug#716999: broadcom-sta-dkms: Fails to build on linux 3.10 (procfs API change)
The patch seems to work for me, the modules builds and works for the most part. However, if I try to use the driver's procfs features (enable monitor mode), the system freezes locks up until the kernel panics because of the lockup and prints out a stacktrace. Can anyone reproduce this or is this an error on my part? -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#716999: broadcom-sta-dkms: Fails to build on linux 3.10 (procfs API change)
Package: broadcom-sta-dkms Version: 5.100.82.112-11 Followup-For: Bug #716999 Unfortunately either patching wl_linux.c or using Lev's patch file doesn't seem to do the trick for me, although I'm starting to think that dpkg-reconfigure broadcom-sta-dkms might not be the correct step after patching since it rebuilds all files including the patched one. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages broadcom-sta-dkms depends on: ii dkms 2.2.0.3-1.2 Versions of packages broadcom-sta-dkms recommends: ii wireless-tools 30~pre9-8 broadcom-sta-dkms suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#716999: broadcom-sta-dkms: Fails to build on linux 3.10 (procfs API change)
Package: broadcom-sta-dkms Version: 5.100.82.112-11 Followup-For: Bug #716999 I can confirm that using the wl_linux.c file provided by Lev does fix the build issues, the module compiles and then loads correctly and appears to be working just fine so far. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (100, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages broadcom-sta-dkms depends on: ii dkms 2.2.0.3-1.2 Versions of packages broadcom-sta-dkms recommends: ii wireless-tools 30~pre9-8 broadcom-sta-dkms suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#716999: broadcom-sta-dkms: Fails to build on linux 3.10 (procfs API change)
Package: broadcom-sta-dkms Version: 5.100.82.112-11 Followup-For: Bug #716999 I can confirm that broadcom-sta-5.100.82.112 does not compile on 3.10 kernel. With kernel 3.9 the version from unstable compiles as stated in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702788 I would like to add that also broadcom-sta-source had a similar problem with the testing version and kernel3.9, but compiled with the version from unstable. This time though with kernel 3.10 no version of either source or dkms compiles. Anyway, here's the output of my system: root@debian:~# dpkg-reconfigure broadcom-sta-dkms -- Deleting module version: 5.100.82.112 completely from the DKMS tree. -- Done. Loading new broadcom-sta-5.100.82.112 DKMS files... Building only for 3.10-2-amd64 Building initial module for 3.10-2-amd64 Error! Bad return status for module build on kernel: 3.10-2-amd64 (x86_64) Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information. root@debian:~# cat /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log DKMS make.log for broadcom-sta-5.100.82.112 for kernel 3.10-2-amd64 (x86_64) Wed Aug 14 11:50:38 CEST 2013 /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.10-2-amd64/build M=/var/lib/dkms /broadcom-sta/5.100.82.112/build make[1]: Entering directory `/usr/src/linux-headers-3.10-2-amd64' CFG80211 API is prefered for this kernel version Using CFG80211 API Kernel architecture is X86_64 LD /var/lib/dkms/broadcom-sta/5.100.82.112/build/built-in.o CC [M] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/shared/linux_osl.o CC [M] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.o /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c: In function 'wl_tkip_printstats': /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2975:7: warning: passing argument 1 of 'wl-tkipmodops-print_stats' from incompatible pointer type [enabled by default] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2975:7: note: expected 'struct seq_file *' but argument is of type 'char *' /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2978:4: warning: passing argument 1 of 'wl-tkipmodops-print_stats' from incompatible pointer type [enabled by default] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2978:4: note: expected 'struct seq_file *' but argument is of type 'char *' /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c: In function 'wl_reg_proc_entry': /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3185:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit- function-declaration] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3185:22: warning: assignment makes pointer from integer without a cast [enabled by default] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3190:16: error: dereferencing pointer to incomplete type /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3191:16: error: dereferencing pointer to incomplete type /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3192:16: error: dereferencing pointer to incomplete type cc1: some warnings being treated as errors make[4]: *** [/var/lib/dkms/broadcom- sta/5.100.82.112/build/src/wl/sys/wl_linux.o] Error 1 make[3]: *** [_module_/var/lib/dkms/broadcom-sta/5.100.82.112/build] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.10-2-amd64' make: *** [all] Error 2 I also believe that http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719667 might be the same problem. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages broadcom-sta-dkms depends on: ii dkms 2.2.0.3-1.2 Versions of packages broadcom-sta-dkms recommends: ii wireless-tools 30~pre9-8 broadcom-sta-dkms suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#716999: broadcom-sta-dkms: Fails to build on linux 3.10 (procfs API change)
Hi! The same happened to me. Today debian testing updated linux kernel to 3.10, and the kernel module broadcom-sta-dkms 5.100.82.112-11. Here is the output of the installation, hope it helps. Thank you very much for your effort!! Mikel root@mgarai:/home/mikel/downloads# dpkg -i broadcom-sta-dkms_5.100.82.112-11_all.deb (Leyendo la base de datos ... 231082 ficheros o directorios instalados actualmente.) Preparando para reemplazar broadcom-sta-dkms 5.100.82.112-11 (usando broadcom-sta-dkms_5.100.82.112-11_all.deb) ... -- Deleting module version: 5.100.82.112 completely from the DKMS tree. -- Done. Desempaquetando el reemplazo de broadcom-sta-dkms ... Configurando broadcom-sta-dkms (5.100.82.112-11) ... Loading new broadcom-sta-5.100.82.112 DKMS files... Building only for 3.10-2-amd64 Building initial module for 3.10-2-amd64 Error! Bad return status for module build on kernel: 3.10-2-amd64 (x86_64) Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information. root@mgarai:/home/mikel/downloads# cat /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log DKMS make.log for broadcom-sta-5.100.82.112 for kernel 3.10-2-amd64 (x86_64) mar ago 13 23:49:58 CEST 2013 /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.10-2-amd64/build M=/var/lib/dkms/broadcom-sta/5.100.82.112/build make[1]: se ingresa al directorio `/usr/src/linux-headers-3.10-2-amd64' CFG80211 API is prefered for this kernel version Using CFG80211 API Kernel architecture is X86_64 LD /var/lib/dkms/broadcom-sta/5.100.82.112/build/built-in.o CC [M] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/shared/linux_osl.o CC [M] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.o /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c: In function ‘wl_tkip_printstats’: /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2975:7: warning: passing argument 1 of ‘wl-tkipmodops-print_stats’ from incompatible pointer type [enabled by default] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2975:7: note: expected ‘struct seq_file *’ but argument is of type ‘char *’ /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2978:4: warning: passing argument 1 of ‘wl-tkipmodops-print_stats’ from incompatible pointer type [enabled by default] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2978:4: note: expected ‘struct seq_file *’ but argument is of type ‘char *’ /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’: /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3185:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3185:22: warning: assignment makes pointer from integer without a cast [enabled by default] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3190:16: error: dereferencing pointer to incomplete type /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3191:16: error: dereferencing pointer to incomplete type /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3192:16: error: dereferencing pointer to incomplete type cc1: some warnings being treated as errors make[4]: *** [/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.o] Error 1 make[3]: *** [_module_/var/lib/dkms/broadcom-sta/5.100.82.112/build] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: se sale del directorio `/usr/src/linux-headers-3.10-2-amd64' make: *** [all] Error 2 - PLEASE NOTE --- This message, along with any attachments, may be confidential or legally privileged. It is intended only for the named person(s), who is/are the only authorized recipients. If this message has reached you in error, kindly destroy it without review and notify the sender immediately. Thank you for your help. ZIV uses virus scanning software but excludes any liability for viruses contained in any attachment. ROGAMOS LEA ESTE TEXTO --- Este mensaje y sus anexos pueden contener información confidencial y/o con derecho legal. Está dirigido únicamente a la/s persona/s o entidad/es reseñadas como único destinatario autorizado. Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo ni reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su colaboración. ZIV utiliza software antivirus, pero no se hace responsable de los virus contenidos en los ficheros anexos. Antes de imprimir este correo electrónico piense si es necesario