-> so it seems that all necessary bits for the new kernel were in place at that time.
Preparing to replace bcmwl-kernel-source 5.10.91.9+bdcom-0ubuntu4 (using .../bcmwl-kernel-source_5.10.91.9+bdcom-0ubuntu5_i386.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement bcmwl-kernel-source ...
Preparing to replace bcmwl-modaliases 5.10.91.9+bdcom-0ubuntu4 (using .../bcmwl-modaliases_5.10.91.9+bdcom-0ubuntu5_i386.deb) ...
all.deb) ...
[...]
Later on, we get to configuring the new kernel:
Setting up linux-image-2.6.32-12-generic (2.6.32-12.16) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-12-generic
Running postinst hook script /usr/sbin/update-grub.
head: cannot open `/boot/grub/video.lst' for reading: No such file or directory
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-12-generic
Found initrd image: /boot/initrd.img-2.6.32-12-generic
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
Found linux image: /boot/vmlinuz-2.6.31-16-generic
Found initrd image: /boot/initrd.img-2.6.31-16-generic
Found linux image: /boot/vmlinuz-2.6.31-15-generic
Found initrd image: /boot/initrd.img-2.6.31-15-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found linux image: /boot/vmlinuz-2.6.31-13-generic
Found initrd image: /boot/initrd.img-2.6.31-13-generic
Found linux image: /boot/vmlinuz-2.6.31-12-generic
Found initrd image: /boot/initrd.img-2.6.31-12-generic
Found linux image: /boot/vmlinuz-2.6.31-11-generic
Found initrd image: /boot/initrd.img-2.6.31-11-generic
Found linux image: /boot/vmlinuz-2.6.31-10-generic
Found initrd image: /boot/initrd.img-2.6.31-10-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Vista (loader) on /dev/sda1
Found Windows Vista (loader) on /dev/sda3
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-12-generic /boot/vmlinuz-2.6.32-12-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-12-generic /boot/vmlinuz-2.6.32-12-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-12-generic /boot/vmlinuz-2.6.32-12-generic
-> Shouldn't the postinst.d/dkms run have built the bcmwl module here?
Anyway, it has another chance later on:
Setting up dkms (2.1.1.1-0ubuntu3) ...
Installing new version of config file /etc/dkms/template-dkms-mkdeb/debian/control ...
Installing new version of config file /etc/dkms/template-dkms-mkdeb/debian/postinst ...
Installing new version of config file /etc/kernel/postinst.d/dkms ...
Installing new version of config file /etc/kernel/header_postinst.d/dkms ...
Setting up linux-headers-2.6.32-12 (2.6.32-12.16) ...
Setting up linux-headers-2.6.32-12-generic (2.6.32-12.16) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-12-generic /boot/vmlinuz-2.6.32-12-generic
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-12-generic /boot/vmlinuz-2.6.32-12-generic
Setting up linux-headers-generic (2.6.32.12.12) ...
Setting up bcmwl-kernel-source (5.10.91.9+bdcom-0ubuntu5) ...
Adding Module to DKMS build system
Doing initial module build
Installing initial module
Done.
Unfortunately it does not tell us here for which kernel versions the module was built.
Later on it cleans up a lot of older kernel images, which again calls dkms; this should only remove the old modules, but of course in theory it could also accidentally have removed the 2.6.32 one.
I attach Ivanka's dist-upgrade term.log. Interesting bits:
Selecting previously deselected package linux-image- 2.6.32- 12-generic. 2.6.32- 12-generic (from .../linux- image-2. 6.32-12- generic_ 2.6.32- 12.16_i386. deb) ... 2.6.32- 12. 2.6.32- 12 (from .../linux- headers- 2.6.32- 12_2.6. 32-12.16_ all.deb) ... 1ubuntu6_ i386.deb) ... 2.6.32- 12-generic. 2.6.32- 12-generic (from .../linux- headers- 2.6.32- 12-generic_ 2.6.32- 12.16_i386. deb) ... generic 2.6.31.17.30 (using .../linux- headers- generic_ 2.6.32. 12.12_i386. deb) ... generic ...
Unpacking linux-image-
Done.
[...]
Selecting previously deselected package linux-headers-
Unpacking linux-headers-
0.6.25-
Selecting previously deselected package linux-headers-
Unpacking linux-headers-
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
.deb) ...
-> so it seems that all necessary bits for the new kernel were in place at that time.
Preparing to replace bcmwl-kernel-source 5.10.91. 9+bdcom- 0ubuntu4 (using .../bcmwl- kernel- source_ 5.10.91. 9+bdcom- 0ubuntu5_ i386.deb) ... 9+bdcom- 0ubuntu4 (using .../bcmwl- modaliases_ 5.10.91. 9+bdcom- 0ubuntu5_ i386.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement bcmwl-kernel-source ...
Preparing to replace bcmwl-modaliases 5.10.91.
all.deb) ...
[...]
Later on, we get to configuring the new kernel:
Setting up linux-image- 2.6.32- 12-generic (2.6.32-12.16) ... img-2.6. 32-12-generic update- grub. grub/video. lst' for reading: No such file or directory 2.6.32- 12-generic img-2.6. 32-12-generic 2.6.31- 17-generic img-2.6. 31-17-generic 2.6.31- 16-generic img-2.6. 31-16-generic 2.6.31- 15-generic img-2.6. 31-15-generic 2.6.31- 14-generic img-2.6. 31-14-generic 2.6.31- 13-generic img-2.6. 31-13-generic 2.6.31- 12-generic img-2.6. 31-12-generic 2.6.31- 11-generic img-2.6. 31-11-generic 2.6.31- 10-generic img-2.6. 31-10-generic +.bin postinst. d. postinst. d/dkms 2.6.32-12-generic /boot/vmlinuz- 2.6.32- 12-generic postinst. d/nvidia- common 2.6.32-12-generic /boot/vmlinuz- 2.6.32- 12-generic postinst. d/pm-utils 2.6.32-12-generic /boot/vmlinuz- 2.6.32- 12-generic
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst hook script /usr/sbin/
head: cannot open `/boot/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows Vista (loader) on /dev/sda1
Found Windows Vista (loader) on /dev/sda3
done
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
-> Shouldn't the postinst.d/dkms run have built the bcmwl module here?
Anyway, it has another chance later on:
Setting up dkms (2.1.1.1-0ubuntu3) ... template- dkms-mkdeb/ debian/ control ... template- dkms-mkdeb/ debian/ postinst ... postinst. d/dkms ... header_ postinst. d/dkms ... 2.6.32- 12 (2.6.32-12.16) ... 2.6.32- 12-generic (2.6.32-12.16) ... header_ postinst. d. header_ postinst. d/dkms 2.6.32-12-generic /boot/vmlinuz- 2.6.32- 12-generic header_ postinst. d/nvidia- common 2.6.32-12-generic /boot/vmlinuz- 2.6.32- 12-generic generic (2.6.32.12.12) ... 9+bdcom- 0ubuntu5) ...
Installing new version of config file /etc/dkms/
Installing new version of config file /etc/dkms/
Installing new version of config file /etc/kernel/
Installing new version of config file /etc/kernel/
Setting up linux-headers-
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Setting up linux-headers-
Setting up bcmwl-kernel-source (5.10.91.
Adding Module to DKMS build system
Doing initial module build
Installing initial module
Done.
Unfortunately it does not tell us here for which kernel versions the module was built.
Later on it cleans up a lot of older kernel images, which again calls dkms; this should only remove the old modules, but of course in theory it could also accidentally have removed the 2.6.32 one.