LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-20-2009, 03:45 AM   #1
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0
Unhappy Change to Kernel 2.6.30.9, booting always hang


Hi,

I have Redhat EL5 installed, with Intel (ICH10 Family) 4 port SATA IDE Controller. It runs ok. But when I compile the new kernel of 2.6.30.9 and boot, it always hangs. Sort of errors like ' Could not find device /dev/root'.

I have tried to use ata_piix.ko or piix.ko in initrd. -- failed.

I tried to compile 'Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support' as builtin, failed again.

How can I make my machine run?
 
Old 11-20-2009, 08:53 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
What version (full version number) of the RHEL kernel where you running before? You do understand that while RHEL uses a 2.6.18 based kernel (and always will) that this kernel is back ported to be (hardware and security wise) the rough equivalent of a much newer vanilla kernel? The -164.6 kernel is much closer to a vanilla .30 kernel than it is to a vanilla .18 kernel.
 
Old 11-21-2009, 04:07 AM   #3
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
You should compile with support for LVM and RAID. LVM is installed by default on any RHEL 5.x

I agree with lazlow, newer kernel with no support for it defies RHEL's purpose as STABLE platform. RHEL <=5.4 does have problems with Audio on ICH10, but there is no real reason to void stability because of it. And RHEL's kernels are one of most tested and stable kernels around.
 
Old 11-21-2009, 08:50 PM   #4
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by lazlow View Post
What version (full version number) of the RHEL kernel where you running before? You do understand that while RHEL uses a 2.6.18 based kernel (and always will) that this kernel is back ported to be (hardware and security wise) the rough equivalent of a much newer vanilla kernel? The -164.6 kernel is much closer to a vanilla .30 kernel than it is to a vanilla .18 kernel.
I do not know its exact version. How to get it? 'uname -a' gets the kernel version '2.6.18-8.el5'.

Thank you for your advise. I will try the kernel-2.6.18-164.6 stuff.
 
Old 11-21-2009, 09:10 PM   #5
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DrLove73 View Post
You should compile with support for LVM and RAID. LVM is installed by default on any RHEL 5.x

I agree with lazlow, newer kernel with no support for it defies RHEL's purpose as STABLE platform. RHEL <=5.4 does have problems with Audio on ICH10, but there is no real reason to void stability because of it. And RHEL's kernels are one of most tested and stable kernels around.
Compiled with LVM/RAID support does not help me. I will try the Redhat kernels. In fact, I use the 2.6.30 for the Realtek 8111/8138 ethernet card and the RT73, ath5/9 Wireless card support.
 
Old 11-21-2009, 10:47 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
For wireless you can see this link:

Elrepo also has Kmods for the 8111:

 
Old 11-22-2009, 03:16 AM   #7
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
I downloaded the kernel-2.6.18-164.6.1.el5.src.rpm from Redhat ftp site. Installed it using 'rpm -i', I got a lot of patches and linux-2.6.18.tar.bz2. Do not know how to patch all these patch-files in one command. I unzip the linux-2.6.18.tar.bz2, and try the following command.
-- 'find ../ -name "linux*patch" | xargs cat | patch -p1'.

But it seems not working.
 
Old 11-22-2009, 09:42 AM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Why not just pull the precompiled binary rpm?
 
Old 11-22-2009, 02:03 PM   #9
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by lazlow View Post
Why not just pull the precompiled binary rpm?
Exactly. You could also try installing kernel from centosplus repository, it has all of the modules enabled so there is no need for custom kernel.
 
Old 11-22-2009, 08:52 PM   #10
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by DrLove73 View Post
Exactly. You could also try installing kernel from centosplus repository, it has all of the modules enabled so there is no need for custom kernel.
Thank you, lazlow and love. I have made my 8168 card work.

The rt73 wireless USB device also works, but I am not sure if it is stable. Before this, I installed the rt73-cvs-2009041204 package on another old machine, and found the driver is very broken (causing the machine hang for many times). I hope the new (?) firmware could help me.

Thank both of you again.
 
  


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
The booting hang on "Freeing unused kernel memory : 168k freed" Brian Lu Linux - Software 1 05-27-2008 08:45 PM
Hang at returning from prom_init when booting new kernel for iBook G4 rojak Ubuntu 2 11-13-2007 10:53 PM
booting the kernel *hang* ANewbie Linux - Newbie 7 12-07-2005 01:00 AM
booting the kernel leads to a system hang? DeathCrush19 Mandriva 1 09-29-2004 12:03 PM
booting kernel hang mrweirdo Fedora 4 04-27-2004 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration