LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-06-2012, 05:29 AM   #1
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Rep: Reputation: 21
RHEL 6.3 hangs after kernel upgradation


Hi All

I have installed on RHEL 6.3 X86_64 on HP's Elitebook 8440p laptop. Everything was fine till upgraded the kernel from 2.6.32-279.el6.x86_64 to 3.1.5

All i did was compiled the kernel to start access ntfs file systems. Everything went fine till i upgrade but unfortunately it started hang 10 mins after the first reboot.

Now, it is hanging after 10 mins every time i boot my laptop.

Help me please !!
 
Old 12-06-2012, 08:30 AM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 311

Rep: Reputation: 71
Have you tried booting from the original kernel again?
 
1 members found this post helpful.
Old 12-06-2012, 02:59 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
HOW did you "upgrade " the kernel from the stable 2.6 to the VERY VERY UNSTABLE 3.1 ???

please post the steps you took
the current ( on my ScientificLinux 6.3 is "2.6.32-279.14.1"

PLEASE STAY with the TESTED kernel in the distros "Update" repo

Plus Red Hat DOSE NOT support the 3 kernel in RHEL yet
by manually installing the 3 kernel you just KILLED your install
RHN that you ARE paying $299 PER YEAR for is useless now
the RHN repo is NOW incompatible with your install .

Last edited by John VV; 12-06-2012 at 03:02 PM.
 
1 members found this post helpful.
Old 12-07-2012, 01:53 AM   #4
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 311

Rep: Reputation: 71
As he said he compiled his own kernel. That why I asked if he had the same problems with the original kernel.
 
Old 12-10-2012, 02:00 AM   #5
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Original Poster
Rep: Reputation: 21
Hi

When i boot from the actual kernel, the system works fine. I made a big mistake by mentioning my OS as RHEL 6.3, actually it is CentOS 6.3 apologises for that.

Here are the steps i followed to compile a new kernel

Code:
Existing kernel of the OS (RHEL 6.3)
2.6.32-279-el6.x86_64
New Kernel Version
3.1.5
1.Downloaded the stabled one from kernel.org and it is in the form of tar.bz2
2.Copied the tarball into /home/kernels of my testing system
3.untar it using tar -jxvf linux-3.1.5.tar.bz
4.cd linux-3.1.5
5.make menuconfig
6.make modules
7.make modules_install
8.make install
10.Checked the /boot/grub/grub.conf file and ensure the entries are made properly to boot from the new kernel.
11.Checked the default= directive to select the new kernel
12.Reboot

Note: In this case, i didnt compile the kernel from /usr/src/kernels directory as we do usually to avoid the mess up.

Last edited by kingston; 12-10-2012 at 02:05 AM.
 
Old 12-10-2012, 12:15 PM   #6
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 311

Rep: Reputation: 71
As johnvv said use at least a stable kernel. IIRC 3.6.9 is the latest stable one.
Also you might want to use 'make localmodconfig' instead of 'make menuconfig'
 
1 members found this post helpful.
Old 12-11-2012, 12:48 AM   #7
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Original Poster
Rep: Reputation: 21
Hi gdejonge

Thanks a lot for your help. As you suggested i used the make target localmodconfig to compile the new kernel. Ant it is a super fast.
Its been 30 mins i am working on this kernel and so far there is no hang problem. I will update again after a day long work.

The steps followed are as below:
Code:
1.Downloaded the stabled kernel 3.6.9.tar.bz2 kernel.org and it is in the form of tar.bz2
2.Copied the tarball into /home/kernels of my testing system
3.untar it using tar -jxvf linux-3.6.9.tar.bz2
4.cd linux-3.6.9
6.make localmodconfig
7.make modules
8.make (here i have got an error that it didnt create bzImages hence make should be run to get created the same)
9.make modules_install
10.make install
11.Checked the /boot/grub/grub.conf file and ensure the entries are made properly to boot from the new kernel.
12.Checked the default= directive to select the new kernel
13.Reboot
As it is worked fine, now i am recompiling this kernel as i need ntfs read/write access. Hopefully, i can succeed.

Last edited by kingston; 12-11-2012 at 12:55 AM.
 
Old 12-11-2012, 01:17 AM   #8
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Original Poster
Rep: Reputation: 21
Hi

Kernel compiled for ntfs read/write access. Followed the below steps to do the same
Code:
1.cd linux-3.6.9
2.make menuconfig
((Now when i select save in alternate configuration file, the existing .config file has been moved to .confid.old and the new one is saved as .config I could see the modules enabled for ntfs access in the new .config file)
3.make
4.make modules
5.make modules_install
6.make install
7.Checked the /boot/grub/grub.conf file and ensure the entries are made properly to boot from the new kernel.
8.Checked the default= directive to select the new kernel
9.Reboot
Now, when i plug a NTFS formatted 16 GB usb stick, the system couldnt recognize it (no update in the fdisk -l output) as well as new lsmod doesnt show any new modules in it. I found this when i compared it with my old lsmod output (saved as a text file)
Can you help me on this?

Last edited by kingston; 12-11-2012 at 04:16 AM.
 
Old 12-12-2012, 12:45 AM   #9
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Original Poster
Rep: Reputation: 21
I mark this thread as solved as my laptop is running fine with the recent stable kernel 3.6.9.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Upgradation from RHEL4 to rhel 5.8 amar.sree Linux - Enterprise 5 09-05-2012 05:14 PM
Firmware upgradation and RAID controler change on RHEL 4 manishrmusale Linux - Server 3 09-21-2011 06:25 AM
kernel upgradation vivkepat Linux - Newbie 11 05-27-2010 05:36 AM
64 bit linux kernel upgradation- RHEL-5 saraswat Linux - Enterprise 1 11-07-2009 02:02 AM
kernel upgradation from 2.6.9-5.EL(RHEL 4) .. deepakkoni Linux - Kernel 1 06-25-2006 06:18 AM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration