LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2001, 10:28 AM   #1
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Rep: Reputation: 15
Red face Redhat 7.2 upgrade to 2.4.14 with GRUB


I want to install the latest 2.4.14 kernel in my system.

I've built it with the drivers I think I need, done a mkinitrd to create the proper .img file in the /boot directory, but it refuses the mount the root fs upon boot, giving me a kernel panic. It's pointed at the same root partition that the other kernel boots from just fine.

When editing /etc/grub.conf, I follow the directions by copying the prior kernel's settings over then updating them with the proper file names.

I imagine some driver is missing, but even with devfs compiled in it doesn't work. I see no option in the kernel for ext3fs, but from what I've read wouldn't ext2fs simply start up the file system without the journaling capabilities?

Any ideas where to get the files I need, or what to change?
 
Old 11-07-2001, 06:02 PM   #2
IrishPenguin
LQ Newbie
 
Registered: Nov 2001
Location: Northwest U.S.
Distribution: Red Hat, Mandrake, BSDi
Posts: 1

Rep: Reputation: 0
Cool

One thing you might want to check is that you have the correct drivers needed for your hard drives/controllers included in the kernel, instead of being loaded as modules.

I just went through the same problem. In my case, I have a megaraid controller, with the AIC-7899 SCSI controllers for the SCSI hard drives. I had mistakenly configured those to be loadable modules. When it tried to load the modules, it couldn't access the hard drives to read them, hence the kernel panic.

I edited the .config file, changed the =m to =y in the appropriate places, and recompiled. Now everything is honky-dory. I discovered the difference by comparing an old .config file to the new one I had created with the new kernel. It was a pain in the butt comparing them, but well worth it in the end.

I hope that helps.

Sully

Last edited by IrishPenguin; 11-07-2001 at 06:04 PM.
 
Old 11-24-2001, 01:00 AM   #3
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
Time marches on.

Yes, time does march on. 2.4.15 includes the ext3 code that should solve this problem, but it does not. Still the kernel panic, unable to mount root at boot time when selecting the 2.4.15 kernel, even with the initrd image file made and ext3 compiled into the kernel.

What other tweak is redhat doing with its RPM kernels?
 
Old 11-24-2001, 06:57 PM   #4
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
I don't follow this completely but my take is that your fs driver has to be a module so it can be included in the initrd so the initrd can read the filesystem the kernel is written on.

For Mandrake, in /boot, there is a file called config-(version) for every installed kernel. I have not done exactly this but, if you have that file, it seems like it would be safer to use that for your .config/make oldconfig and just change a few things at a time.
 
Old 11-25-2001, 03:41 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You have to enable "experimental code" in the config to get ext3..and its a good idea to patch 2.4.15 to 2.4.16-pre1 because of a bug.
 
Old 11-25-2001, 07:56 AM   #6
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
ext3 enabled.

The kernel is configured with experimental options on, and I've tried ext3 as a module and compiled into the kernel itself. Same result.
 
Old 11-27-2001, 08:54 PM   #7
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the heads up to use .16 instead. I've done so, but still haven't figured out the changes required. Anyone else with ideas about using 2.4.16 in a redhat 7.2 box with 2.4.9 RPMs in it?
 
  


Reply



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
upgrade suse 9.0 to 10.0 and grub Paul7 Linux - Newbie 5 09-20-2005 08:34 AM
GRUB Upgrade to 2.0? brokenflea Slackware 10 02-22-2005 05:43 AM
should I upgrade to GRUB e1000 Slackware 6 12-12-2003 02:11 AM
kernel upgrade/boot error with grub c_gebers Linux - Software 2 07-09-2003 04:42 AM
After upgrade grub shows 3 entry xred Linux - Newbie 5 03-13-2003 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:14 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
Open Source Consulting | Domain Registration