Kernel Panic After Removing Package crda
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 ?
Changed in crda (Ubuntu): | |
status: | New → Invalid |
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 genl-3- 200:i386 libssl1.0.0:i386 wireless-crda extra-3. 13.0-36- generic linux-image-generic genl-3- 200:i386 libssl1.0.0:i386 wireless-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-
Suggested packages:
glibc-doc:i386 locales:i386
The following packages will be REMOVED
crda linux-generic linux-image-
The following NEW packages will be installed
crda:i386 gcc-4.9-base:i386 libc6:i386 libgcc1:i386 libnl-3-200:i386
libnl-
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" .