Comment 22 for bug 1392460

Revision history for this message
James Cobban (7-webmaster) wrote :

I am trying to follow the instructions for installing these kernels, but there is clearly something wrong.

Firstly the installs all fail with the following known bug:

bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu1: bcmwl kernel module failed to build [error: macro "alloc_netdev" requires 4 arguments, but only 3 given] Edit

    Ubuntu
    “bcmwl” package
    Bugs
    Bug #1358966

This is obviously a simple error which could be fixed in a minute. I suspect it is the failed installation that causes the resulting system boot kernel panic because of a missing init.

Secondly when I issue the specified command in the web page to remove the 3.18 headers and kernel the following happens:

sudo apt-get remove linux-headers-3.18* linux-image-3.18*

Reading package lists...
Building dependency tree...
Reading state information...
Package 'linux-headers-3.16.0-23' is not installed, so not removed
Package 'linux-headers-3.16.0-23-generic' is not installed, so not removed
Package 'linux-headers-3.16.0-23-lowlatency' is not installed, so not removed
Package 'linux-image-3.16.0-23-generic' is not installed, so not removed
Package 'linux-image-3.16.0-23-lowlatency' is not installed, so not removed
Package 'linux-headers-3.16.0-24' is not installed, so not removed
Package 'linux-headers-3.16.0-24-generic' is not installed, so not removed
Package 'linux-headers-3.16.0-24-lowlatency' is not installed, so not removed
Package 'linux-headers-3.16.0-25-lowlatency' is not installed, so not removed
Package 'linux-image-3.16.0-24-generic' is not installed, so not removed
Package 'linux-image-3.16.0-24-lowlatency' is not installed, so not removed
Package 'linux-image-3.16.0-25-lowlatency' is not installed, so not removed
The following package was automatically installed and is no longer required:
  thermald
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  linux-generic linux-headers-3.16.0-25 linux-headers-3.16.0-25-generic
  linux-headers-3.18.0-031800rc5 linux-headers-3.18.0-031800rc6
  linux-headers-3.18.0-031800rc6-generic:i386 linux-headers-generic
  linux-image-3.16.0-25-generic linux-image-extra-3.16.0-25-generic
  linux-image-generic
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 425 MB disk space will be freed.
Do you want to continue? [Y/n] (Reading database ... 215753 files and directories currently installed.)
Removing linux-generic (3.16.0.25.26) ...
Removing linux-headers-generic (3.16.0.25.26) ...
Removing linux-headers-3.16.0-25-generic (3.16.0-25.33) ...
Removing linux-headers-3.16.0-25 (3.16.0-25.33) ...
Removing linux-headers-3.18.0-031800rc5 (3.18.0-031800rc5.201411162035) ...
Removing linux-headers-3.18.0-031800rc6-generic (3.18.0-031800rc6.201411231935) ...
Removing linux-headers-3.18.0-031800rc6 (3.18.0-031800rc6.201411231935) ...
Removing linux-image-generic (3.16.0.25.26) ...
Removing linux-image-extra-3.16.0-25-generic (3.16.0-25.33) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-25-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.18.0-031800rc6-generic
Found initrd image: /boot/initrd.img-3.18.0-031800rc6-generic
Found linux image: /boot/vmlinuz-3.16.0-25-generic
Found initrd image: /boot/initrd.img-3.16.0-25-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda2
Found Windows 7 (loader) on /dev/sda3
Found Ubuntu 14.10 (14.10) on /dev/sda6
done
Removing linux-image-3.16.0-25-generic (3.16.0-25.33) ...
WARN: Proceeding with removing running kernel image.
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
dkms: removing: bcmwl 6.30.223.248+bdcom (3.16.0-25-generic) (x86_64)

-------- Uninstall Beginning --------
Module: bcmwl
Version: 6.30.223.248+bdcom
Kernel: 3.16.0-25-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.16.0-25-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.30.223.248+bdcom
completely from the DKMS tree.
------------------------------
Done.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
update-initramfs: Deleting /boot/initrd.img-3.16.0-25-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.16.0-25-generic /boot/vmlinuz-3.16.0-25-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.18.0-031800rc6-generic
Found initrd image: /boot/initrd.img-3.18.0-031800rc6-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda2
Found Windows 7 (loader) on /dev/sda3
Found Ubuntu 14.10 (14.10) on /dev/sda6
done
The link /vmlinuz.old is a damaged link
Removing symbolic link vmlinuz.old
 you may need to re-run your boot loader[grub]
The link /initrd.img.old is a damaged link
Removing symbolic link initrd.img.old
 you may need to re-run your boot loader[grub]

In other words the command removed every kernel EXCEPT the broken 3.18 kernel! So the partition I am using to test 3.18 is now unbootable. I have had to reinstall Ubuntu 14.10 from the DVD.

Please fix the installation of 3.18 and get back to me. I will not try anything more until I get a clean installation.