Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 15th March 2012, 02:16 PM
nobody Offline
Registered User
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 11
windows_7chrome
Question Kernel Upgrade: from 2.6.35.6 to 3.2.11 [FAILED]

I decided to attempt to upgrade existing kernel 2.6.35.6 with kernel.org latest stable version of kernel 3.2.11 .

What I did is the following:

[1] Download latest kernel tarball from linux.org kernel-3.2.11.tar.bz2 .
[2] Untar it in /usr/src/kernels where I do have my latest 2.6.35.6 headers used.
[3] Recompiled there, created in /usr/src/kernel/3.2.11 System.map and copied it to /boot/System.map-3.2.11 file, and in arch/x86/boot/bzImage which I copied to /boot/ as vmlinux-3.2.11 .
[4] executed as root make module_install, and created /lib/modules/3.2.11 directory as such.
[5] Tried to use from /usr/src/kernel/3.2.11 as root:
[root@localhost 3.2.11]# mkinitrd -f /boot/initramfs-3.2.11.img 3.2.11
ERROR: modinfo: could not find module vmhgfs
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmware_balloon
ERROR: modinfo: could not find module vmci
[root@localhost 3.2.11]#
Still, the initramfs-3.2.11.img was created. Not sure should I play with make menuconfig. And not sure how this image was created, as my current kernel is 2.6.35.6-45?!
[6] Then in boot I relinked System.map -> /boot/System.map-2.3.11 and vmlinuz -> /boot/vmlinuz-3.2.11 (as referring to step [3]).

[7] go to /boot/grub/ and changed grub.conf such as added linux (3.2.11) section as shown:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Linux (3.2.11)
root (hd0,0)
kernel /vmlinuz-3.2.11 ro root=/dev/sda2 quiet
initrd /initramfs-3.2.11.img
title Fedora (2.6.35.6)
root (hd0,0)
kernel /vmlinuz-2.6.35.6 ro root=UUID=51ae460d-02df-4140-b620-a5cf80b3cc52 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.6.img

[8] rebooted

Upon kernel coming up, it failed, claiming that it could not find /lib/modules/2.6.35.6/modules.dep, and this file indeed does exist!

What I am doing wrong here?

Thank you in advance,
nobody
Reply With Quote
 

Tags
failed, kernel, 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
F12 kernel upgrade failed - am I 'eclipsed'? burnie Using Fedora 29 21st December 2009 07:06 AM
Yum kernel upgrade failed rschwarz Installation and Live Media 4 4th October 2006 09:56 PM
Upgrade to kernel 2.6.16-1.2096_FC5 failed. 2.6.16-1_2080_FC5 is only one available? psyklops EOL (End Of Life) Versions 3 23rd April 2006 01:08 PM
NFS failed after kernel upgrade cayhorstmann Servers & Networking 4 2nd January 2006 10:09 PM


Current GMT-time: 23:40 (Friday, 24-05-2013)

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