filed:
https://bugs.launchpad.net/ubuntu/+s...wl/+bug/729993
related:
https://bugs.launchpad.net/ubuntu/+s...wl/+bug/584753
Bug poster says: "I started ubuntu from the CD and I choose the try option. I was able to have wireless. Then I restarted and I boot fro hard disk. I have again wireless now. It doesn't make any sense though!"
... admittedly I have not tried this.
https://bugs.launchpad.net/ubuntu/+s...wl/+bug/584180
dpkg-dev installed so this one does not count.
Error returned by synaptic for reinstalling is:
E: bcmwl-kernel-source: subprocess installed post-installation script returned error exit status 10
... lets switch to CLI for more information...
[code]$ sudo apt-get install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
bcmwl-kernel-source is already the newest version.
The following packages were automatically installed and are no longer required:
linux-backports-modules-compat-wireless-2.6.35-2.6.32-29-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...
------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
Building only for 2.6.35-25-generic-pae
Building for architecture i686
Building initial module for 2.6.35-25-generic-pae
Error! Bad return status for module build on kernel: 2.6.35-25-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/ for more information.
dpkg: error processing bcmwl-kernel-source (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
[\code]
Build directory:
simon@envoy:/usr/src/bcmwl-5.60.48.36+bdcom$ ls
dkms.conf lib Makefile patches src
... no make log?! Gah: its been too long since I had to troubleshoot a build like this!!!!!
$ locate make.log
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/make.log
... gotcha!
$ cat /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/make.log
DKMS make.log for bcmwl-5.60.48.36+bdcom for kernel 2.6.35-25-generic-pae (i686)
Sun Mar 6 17:13:38 NZDT 2011
make: Entering directory `/usr/src/linux-headers-2.6.35-25-generic-pae'
LD /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o
In file included from /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.c:19:
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/include/linuxver.h:23:28:
error: linux/autoconf.h: No such file or directory
make[1]: *** [/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.35-25-generic-pae'
Note error: this usually happens when the kernel header files are not installed - typical newbie mistake that I did not make.
$ uname -r
2.6.35-25-generic-pae
Hmmmm....
simon@envoy:/usr/src/bcmwl-5.60.48.36+bdcom$ locate "autoconf.h" | grep "2.6.35"
/usr/src/linux-headers-2.6.35-25-generic-pae/include/generated/autoconf.h
do I read this right - the build expects to see autoconf.h as:
/usr/src/linux-headers-2.6.35-25-generic-pae/linux/autoconf.h