Fedora Linux Support Community & Resources Center
  #1  
Old 12th February 2012, 08:43 PM
seagods Offline
Registered User
 
Join Date: Oct 2009
Posts: 11
linuxfirefox
upgrade to 3.2.5-3 kernel panic

My machine automatically upgraded from the 3.2.3-2 (fedora core 16) kernel to the 3.2.5-3 kernel, on booting I get

loading initial ramdisk
[3.48506]kernel panic -not syncing
VFS: unable to mount root fs,

and so on.

There is no initramfs-3.2.5-3.fc16.x86_64.img in /boot, and the grub.cfg file in /boot/grub2 has no line containing

initrd initramfs-3.2.5-3.fc16.x86_64.img

in the menuentry for the 3.2.5-3 kernel.


Any ideas anyone?
Reply With Quote
  #2  
Old 12th February 2012, 08:51 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,308
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

I dont assume you can load into a fallback entry as grub.cfg is empty, right?
Have you by chance any live media lying around? (might even been a DvD or Net-install)
You can choose upgrade option to reinstall bootloader.

EDIT:
However, if you CAN boot into any fallback, you might want to run these 2 commands:

Code:
sudo plymouth-set-default-theme charge --rebuild-initrd
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Yea, the first line seems weird, i've just chosen that as i dont know another way to rebuild your initrd
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 12th February 2012 at 08:54 PM.
Reply With Quote
  #3  
Old 12th February 2012, 09:00 PM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,110
linuxchrome
Re: upgrade to 3.2.5-3 kernel panic

Assuming the 3.2.5-3 kernel actually got installed.. try, as root,
Code:
dracut /boot/initramfs-3.2.5-3.fc16.x86_64.img 3.2.5-3.fc16.x86_64
Then try the second command posted by sea above.
Then reboot and see if the new kernel is in your grub menu.

Last edited by PabloTwo; 12th February 2012 at 09:03 PM.
Reply With Quote
  #4  
Old 13th February 2012, 12:58 AM
mfoe33 Offline
Registered User
 
Join Date: Feb 2012
Location: Munich
Posts: 3
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

I just installed Fedora a couple of days ago and after some updates got the same issue. I still have a grub menu though and booting into 3.1.0-7 works fine. This is what I got:

Quote:
[rf@localhost ~]$ sudo dracut /boot/initramfs-3.2.5-3.fc16.x86_64.img 3.2.5-3.fc16.x86_64
[sudo] password for rf:
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
F: No modules.builtin.bin and modules.builtin found!
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
E: FATAL: Could not load /lib/modules/3.2.5-3.fc16.x86_64/modules.dep: No such file or directory
find: `/lib/modules/3.2.5-3.fc16.x86_64/': Datei oder Verzeichnis nicht gefunden
Reply With Quote
  #5  
Old 13th February 2012, 01:09 AM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,110
linuxchrome
Re: upgrade to 3.2.5-3 kernel panic

To see is yum/rpm thinks the 3.2.5-3 kernel is installed...
Code:
rpm -q kernel-3.2.5.x86_64
If it returns the kernel name-version-release-arch string, then try,
Code:
yum reinstall kernel-3.2.5-3.fc16.x86_64
If it says the package is not installed, then,
Code:
yum install kernel-3.2.5-3.fc16.x86_64
Reply With Quote
  #6  
Old 13th February 2012, 01:33 AM
mfoe33 Offline
Registered User
 
Join Date: Feb 2012
Location: Munich
Posts: 3
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

Quote:
Originally Posted by PabloTwo View Post
To see is yum/rpm thinks the 3.2.5-3 kernel is installed...
Code:
rpm -q kernel-3.2.5.x86_64
If it returns the kernel name-version-release-arch string, then try,
Code:
yum reinstall kernel-3.2.5-3.fc16.x86_64
If it says the package is not installed, then,
Code:
yum install kernel-3.2.5-3.fc16.x86_64
That worked smoothly for me, thanks alot. I hope the thread starter gets his stuff fixed too
Reply With Quote
  #7  
Old 13th February 2012, 11:51 AM
seagods Offline
Registered User
 
Join Date: Oct 2009
Posts: 11
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

Thanks for all the replies, I went for Pablo's advice first, and that worked a treat!

Thanks again everyone
Reply With Quote
  #8  
Old 18th February 2012, 05:56 PM
Deminox Offline
Registered User
 
Join Date: Sep 2011
Posts: 70
linuxchrome
Re: upgrade to 3.2.5-3 kernel panic

Sadly none of that works for me. All I can do is load in the previous kernel. The re-install gave the message of nothing to do, fedora reported that the kernel is installed, so I guess my only option is to wait for the next kernel?
Reply With Quote
  #9  
Old 19th February 2012, 02:18 PM
seagods Offline
Registered User
 
Join Date: Oct 2009
Posts: 11
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

Hi Deminox, does the "nothing to do" mean you actually have the initramfs files?
Reply With Quote
  #10  
Old 19th February 2012, 09:32 PM
Deminox Offline
Registered User
 
Join Date: Sep 2011
Posts: 70
windows_7chrome
Re: upgrade to 3.2.5-3 kernel panic

Lemme explain my setup and whats happening and what I did.

Toshiba Satellite with i7 and win7 home premium. Single hard drive. I followed the steps to multi-boot found *here* http://thpc.info/dual/win7/dualboot_...r_on_win7.html

First boot worked fine, so did several others. UNTIL I got the update to kernel 3.2.5-3.

when Grub loads, I have kernel 3.2.5-3 as the first option. If I load it gives a "wall of fail" of error codes. The first time it didnt boot, i read something about partition location 0-0, but I didnt write it down figuring i would see it again. Never saw that specifc message again, now its a wall-of-fail much like what was posted by Mfoe, but not those exact errors, i dont think. Its hard to tell because its before an OS loads so i cant exactly screencap it.

So, I boot in the previous kernel, and THAT works fine. so, while still in the previous kernel I do the steps suggested by PabloTwo. It shows that 3.2.5-3 IS intsalled, so I do the reinstall step. It does that thing where it checks for package info, tells you how many bytes it is, and so on, but then says "Nothing to do" and ends.

Annnnd thats where I am. So I just keep booting in the previous kernel.
Reply With Quote
  #11  
Old 20th February 2012, 11:46 AM
seagods Offline
Registered User
 
Join Date: Oct 2009
Posts: 11
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

Hi Deminox,

I was hoping that you might have the files initramfs-3.2.5-3.fc16.x86_64.img in /boot, and the same for the System.map
and config files. In that case it's just a matter of editing /boot/grub2/grub.cfg.

Anyone else reading this, would it be crazy to try yum erase and then try again? And: is it worth bothering?

Last edited by seagods; 20th February 2012 at 11:46 AM. Reason: spelling
Reply With Quote
  #12  
Old 20th February 2012, 03:29 PM
Deminox Offline
Registered User
 
Join Date: Sep 2011
Posts: 70
linuxchrome
Re: upgrade to 3.2.5-3 kernel panic

Here's what I have, screencapped from the previous kernel (aka the only one that runs)
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2012-02-20 10:16:37.png
Views:	122
Size:	72.5 KB
ID:	22720   Click image for larger version

Name:	2012-02-20_10-08-08_959.jpg
Views:	134
Size:	241.2 KB
ID:	22722  
Reply With Quote
  #13  
Old 20th February 2012, 03:51 PM
seagods Offline
Registered User
 
Join Date: Oct 2009
Posts: 11
linuxfirefox
Re: upgrade to 3.2.5-3 kernel panic

Hi. initramfs-3.2.5-3.fc16.x86_64.img is clearly absent, and should have been put there by yum reinstall. It might be reckless doing yum remove or yum erase, so I would wait for advice from someone who knows more than I do.
Reply With Quote
  #14  
Old 20th February 2012, 05:15 PM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,110
linuxchrome
Re: upgrade to 3.2.5-3 kernel panic

Why monkey around with the 3.2.5-3 kernel now when it's not even the current latest kernel?
Code:
BASH:~/-> uname -r
3.2.6-3.fc16.x86_64
You should be doing,
Code:
yum update kernel
Hopefully this time around the 3.2.6-3 kernel will install correctly.
Reply With Quote
  #15  
Old 29th November 2012, 02:05 PM
aasami Offline
Registered User
 
Join Date: Dec 2011
Location: Slovakia
Posts: 3
linuxubuntufirefox
Thumbs up Re: upgrade to 3.2.5-3 kernel panic

Quote:
Originally Posted by PabloTwo View Post
To see is yum/rpm thinks the 3.2.5-3 kernel is installed...
Code:
rpm -q kernel-3.2.5.x86_64
If it returns the kernel name-version-release-arch string, then try,
Code:
yum reinstall kernel-3.2.5-3.fc16.x86_64
If it says the package is not installed, then,
Code:
yum install kernel-3.2.5-3.fc16.x86_64
Thank you PabloTwo. That worked for me too.
You have saved me a lot of trouble. Thanks again.
Aas.
Reply With Quote
Reply

Tags
kernel, panic, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic after upgrade Bengbers Installation, Upgrades and Live Media 3 15th February 2011 03:38 PM
Kernel panic in FC4 after 'yum upgrade' bg4533 EOL (End Of Life) Versions 1 29th August 2006 03:37 AM


Current GMT-time: 07:29 (Monday, 01-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat