Kernel Panic After Removing Package crda

Bug #1376809 reported by Albert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
crda (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Package crda, when uninstalled from an Ubuntu 14.04 LTS system causes a kernel panic. ( ie no complete boot-up just a frozen system with a stack trace on the screen ). Package crda has a priority of optional noted in its control file. One would thus not expect a kernel panic after uninstalling it.

To reproduce this bug just un-install package crda and reboot. ( be sure its not an important system because it will render it completely unbootable even in recovery mode ).

This happened to an extremely important development machine with lots and lots of software installed and configurations. System wide. I am hoping that a user backup and re-install of Ubuntu will not be needed. I am hoping that a procedure would be developed to get a system out of this specific kernal panic state. Some kind of manual low level re-install of package crda and dependencies ?

Revision history for this message
Andy Whitcroft (apw) wrote :

The package is optional because it is not required on a VM for instance. If you read the output of the apt-get remove crda command you will notice it is proposing to remove the larger part of your kernel (linux-image-extra) which contains all of your hardware drivers, and explains the panic on next boot:

  $ sudo apt-get remove crda
  [sudo] password for mru:
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    crda:i386 gcc-4.9-base:i386 libc6:i386 libgcc1:i386 libnl-3-200:i386
    libnl-genl-3-200:i386 libssl1.0.0:i386 wireless-crda
  Suggested packages:
    glibc-doc:i386 locales:i386
  The following packages will be REMOVED
    crda linux-generic linux-image-extra-3.13.0-36-generic linux-image-generic
  The following NEW packages will be installed
    crda:i386 gcc-4.9-base:i386 libc6:i386 libgcc1:i386 libnl-3-200:i386
    libnl-genl-3-200:i386 libssl1.0.0:i386 wireless-crda
  0 to upgrade, 8 to newly install, 4 to remove and 0 not to upgrade.
  Need to get 4,922 kB of archives.
  After this operation, 139 MB disk space will be freed.
  Do you want to continue? [Y/n] n
  $

If you have an older kernel installed you should be able to boot into grub (hold shift during very early boot) and select the older kernel. From there you should be able reinstall the kernel "apt-get install linux-image-generic".

Revision history for this message
Albert (android-h) wrote :

Hello Andy,

Thanks, Your instructions worked for me. My heavy system is back up and running. It would have been great if the Ubuntu system could somehow warn the users that a kernel panic might occur if you just stay yes to the uninstall procedure of crda.

Andy Whitcroft (apw)
Changed in crda (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.