Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-15-2002, 07:55 AM   #1
LQ Newbie
Registered: Apr 2002
Distribution: Mandrake 9.0 (at the moment)
Posts: 28

Rep: Reputation: 15
Question ext3 and 2.4.18 kernel rebuild

I've done a search of a few places around the net, including this board, and seem to be seeing quite a few people who've got problems booting with a 2.4.18 kernel, if they're running with ext3 as their root file system type.

I am also suffering this issue - and wondered if there'd been any progress on working out why there is a problem.

My personal set up is as follows :
PIII 733Mhz
/dev/hda = 20 GB IBM Thingy with Win2K on it
/dev/hdb = 60 GB IBM Thingy with Mandrake 8.1 on it

I've been trying to upgrade the kernel on this for a while now -and I keep hitting the same snag - once the kernel is built and (I assume) correctly installed - the machine will not boot with it - since it complains it cannot mount the root file system.

Now I've been compiling and installing kernels on linux systems for years now - so I know the basics - but this is doing my head in. I've made sure I've built in support for BOTH ext3 and ext2 (since an ext3 drive should mount as ext2 with the journaling option not enabled). The root=/dev/hdb1 option is there in black and white (or whatever colours you have Vim displaying ) in the lilo.conf - so this hasn't changed.

The *only* hint I've had of someone else with a similar problem is on the kernel mailing lists - with some fella apparently having to explicitly compile support for his IDE controller into the new kernel - which he most definitely didn't have to do before. I'm worried though that this doesn't apply to me - since I think his was an Off-board IDE controller - and I don't have such a beast - I'm just using the one on the motherboard (It's a Dell Dimension 4100 - I've no idea what the 'board is though).

Does *anyone* have any ideas on this - it's driving me loopy!

Old 04-16-2002, 04:27 AM   #2
LQ Newbie
Registered: Apr 2002
Distribution: Mandrake 9.0 (at the moment)
Posts: 28

Original Poster
Rep: Reputation: 15
Well - thanks for all the replies on this one

I worked it out on my own last night.

ext3 was a complete Red Herring, and it had nothing to do with that... I'd managed to somehow compile all the IDE controller options as modules!

I rebuilt again last night - and made sure I'd added the stock PCI IDE controller to the kernel - and presto! It boots....

Now I've got to figure out a nice clean way to get X to start nicely when I switch between kernels - since the Nvidia driver is kernel version specific <sigh>

Oh yeah - and I have to rebuild iptables too...

But I'm moving again - which is good!

Old 04-16-2002, 05:45 AM   #3
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
If you download the nvidia kernel and glx files as .tar.gz then you can build them against a new kernel in about 30 seconds.
Old 04-16-2002, 07:31 AM   #4
LQ Newbie
Registered: Apr 2002
Distribution: Mandrake 9.0 (at the moment)
Posts: 28

Original Poster
Rep: Reputation: 15
....or as src.rpms - which I've done

No - the issue here is that while I'm still swapping between the two kernels - the old and the new - runlevel 5 only works on whichever one the nv driver has been compiled for....

So if I need to go back to the old one, but I've recompiled the nv driver for the new one - I have to sit there for 3 minutes until XINIT decides it's going to give up trying to launch XDM (because the X server is refusing to start) then log in as root, and quickly change run level to 3.

Then - I can if I want to recompile the nv driver again - or I can edit my XConfig-4 file and go back to the old nv driver, rather than the pukka Nvidia driver.

I'm thinking of trying to add something into rc.local which runs uname - works out which version of the kernel I've got, and does a file swap between two versions of the XConfig-4 file... I just haven't got round to doing it yet.

And the reason I'm still swapping between the two is that I appear to have not taken into account the effects switching to a new kernel version has on iptables - it won't work until that's been recompiled against the new kernel source too - and I'm buggered if I'm surfing the net without an iptables firewall there to protect me....




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
how to rebuild kernel bhanu12 Linux - Newbie 2 10-26-2005 05:42 PM
How do you rebuild a kernel? Thaidog Linux - General 4 07-26-2005 01:15 PM
Help (!?) with rebuild kernel 2.4.26 WoofDeF Debian 1 06-22-2005 10:11 AM
kernel rebuild Present Yoper 9 11-26-2004 07:08 PM
Rebuild kernel And then !!! left-hand Linux - Software 4 02-06-2004 10:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:35 AM.

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