|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007827||CentOS-6||kernel||public||2014-11-04 10:43||2015-10-29 12:07|
|Target Version||Fixed in Version|
|Summary||0007827: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)|
|Description||After updating the kernel to 2.6.32-504.el6.x86_64 using yum update, I reboot using the new kernel and get a kernel panic with the below error: |
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-502.el6.x86_64 #1
[<ffffffff815292bc>] ? panic+0xa7/0x16f
[<ffffffff81c2b432>] ? mount_block_root+0x216/0x2cb
[<ffffffff81002930>] ? bstat+0x2b0/0x980
[<ffffffff81c2b53d>] ? mount_root+0x56/0x5a
[<ffffffff81c2b6b1>] ? prepare_namespace+0x170/0x1a9
[<ffffffff81c2a92a>] ? kernel_init+0x2e1/0x2f7
[<ffffffff8100c20a>] ? child_rip+0xa/0x20
[<ffffffff81c2a649>] ? kernel_init+0x0/0x2f7
[<ffffffff8100c200>] ? child_rip+0x0/0x20
|Steps To Reproduce||update kernel to 2.6.32-504.el6.x86_64 and reboot|
|Additional Information||This is a centos 6.6 KVM virtualmachine running on a centos 6.5 KVM server running: |
CentOS release 6.5 (Final)
Linux vmmanager.test.com 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
|Tags||No tags attached.|
I had the same problem after an upgrade to CentOS 6.6 from version 6.5 on a
physical blade server.
After investigating I discovered that initramfs, modules.dep and other config
items associated to the kernel were missing.
I think that the transaction during the update of the kernel was incomplete in
To solve the problem I booted in the old kernel and made a "yum reinstall" of
all the new kernel packages.
|I can also confirm that after running a 'yum reinstall kernel' and rebooting this fixed my issue.|
This is more of a workaround though.
Do we know why it broke?
|On 2 of my systems I had to run yum-complete-transaction to finish the update/upgrade, both times 351 items not completed. Afterwards a removal and re-installation of the kernel solved the problem.|
|for whatever the reason, your building the initrd image did not work .. not sure why that would break. But obviously it does not break every time.|
I had this problem too, but as juanvalino reported, I also found it was due to a failed yum transaction, resulting in the post-install scripts for the kernel package not being run, and therefore various things including initramfs, modules.dep being missing.
Removing the kernel package and installing again solved the problem.
It's not clear to me what caused the failure, but it is not obviously related specifically to the kernel package update, so I am going to mark it down as a random failure. On another essentially identical machine, installing the kernel update (only) worked fine, as did installing the remainder of the CentOS 6.6 update.
I have the same issue, but removing and reinstalling the kernel did not solve the problem for me.
I'm running CentOS in a RHEV VM (KVM).
Booting with the old kernel still works.
I had the same problem.
During a startup, I pressed ESC to stop the boot.
It gave me a list of available kernels. I choose the second newest.
After I had logged in, I used the following commands to list all available kernels
rpm -qa kernel
I used the command to see the current kernel
my newest one was kernel-2.6.32-573.7.1.el6.x86_64
To delete that kernel I issued a command
sudo yum remove kernel-2.6.32-573.7.1.el6.x86_64
then to download the newest kernel again I run
sudo yum update
After the restart (sudo shutdown -r 0) the computer booted with the newest kernel without any problems.
|This problem occurs from time to time. Please follow https://bugs.centos.org/view.php?id=6310 that handles the case.|
|2014-11-04 10:43||SuperDaveAU||New Issue|
|2014-11-04 12:34||juanvalino||Note Added: 0021535|
|2014-11-04 13:13||SuperDaveAU||Note Added: 0021536|
|2014-11-04 13:14||SuperDaveAU||Note Added: 0021537|
|2014-11-07 12:06||daveginorge||Note Added: 0021584|
|2014-11-07 13:18||JohnnyHughes||Note Added: 0021588|
|2014-11-07 16:34||timj||Note Added: 0021598|
|2015-01-29 08:54||pakeZonite||Note Added: 0022256|
|2015-10-28 22:16||slobastev||Note Added: 0024726|
|2015-10-29 11:59||toracat||Relationship added||related to 0006310|
|2015-10-29 12:07||toracat||Note Added: 0024728|
|2015-10-29 12:07||toracat||Status||new => closed|
|2015-10-29 12:07||toracat||Resolution||open => duplicate|