LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-31-2002, 03:38 AM   #1
Pieter
LQ Newbie
 
Registered: Feb 2002
Distribution: Red Hat 7.2
Posts: 20

Rep: Reputation: 0
compile new kernel


I'm currently working with Red Hat 7.2 and the 2.4.17 kernel.
But in my current configuration I have no ntfs support. SO I wanted to recompile my kernel and make it one one version higher (2.4.18) at the same time.
The case is, that I succeeded in recompiling my kernel, but when I try to reboot it says it does not support ext3-fs, but I did say yes to everything evening just mentioning this filesystem, but still it doesn't work. Now I can't get the new kernel to a graphical login (text-based does work; and I can still use my old kernel).
My question is: how can I get the new kernel to support ext3-fs ?

Another thing is, when I boot the new kernel it says it will remove my mouse driver and I can choose 3 options:
1. remove configuration
2. keep it
3. do nothing
What does this mean ?
By the way, it is a blue screen somewhat like a MS-DOS editor.

I hope someone can help me, I'm still very new to this.
 
Old 03-31-2002, 08:55 AM   #2
greenhornet
Member
 
Registered: Mar 2002
Location: Sydney, Australia
Distribution: RHEL, Fedora, Yellow Dog
Posts: 43

Rep: Reputation: 15
Not sure about the ntfs problem, tackling that one myself currently.

You might try this website though.
http://www.getlinuxonline.com/omp/di...at/ompntfs.txt

When you log in as root, type runlevel you will see two numbers after that, the second number is the current runlevel.
In a nutshell;
runlevel 3 = text
runlevel 5 = graphical

You need to edit the file /etc/inittab to tell red hat which runlevel to boot up in. Look for the line;
id:3:initdefault:

and change that 3 (or whatever) to a 5, reboot and it will start with a graphical login.

Note : this does assume X is setup properly to start with. It may be that X isnt working when it tries to enter runlevel 5 and crashes. In that case you'll need to re-run Xconfigurator or something to configure X properly.

The blue screen program you mention is Kudzu, redhats hardware instalation program. If you see this for some reason RH thinks it has found new hardware. Probably select to configure the device for this one, if you see it again on subsequent reboots you might have a problem.

You can inspect /etc/sysconfig/hwconf and /proc/pci to see what devices RH has detected and what drivers its using for them.

Hope this helps.
GH
 
Old 03-31-2002, 09:54 AM   #3
Pieter
LQ Newbie
 
Registered: Feb 2002
Distribution: Red Hat 7.2
Posts: 20

Original Poster
Rep: Reputation: 0
I think you didn't understand what I mean. The kernel has no ext3-fs support, but my Linux partition is formatted with ext3-fs. Now when I boot it says it doesn't support ext3-fs, then it tries to boot the graphical login but can't (probably because it can't read the files in ext3-fs format). My question is how I can get my new kernel to support ext3-fs.
Another question is: when confguring a new kernel (e.g. with xconfig), will the current settings automatically be selected or not ? So maybe it is better te recompile my old kernel and not use an entirely new one ?

Thx for the help on kudzu. I suspected as much.
 
Old 03-31-2002, 10:01 AM   #4
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
A neat trick you might employ is to copy the .config file from the source 2.4.17 tree to the source 2.4.18 tree. This will insure that you have the same basic setup you had. Once you've done that, then you can 'make xconfig' in the 2.4.18 tree and add any new configurations you'd like to try out. -mk
 
Old 03-31-2002, 10:15 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
If you've compiled ext3 support as a module you'll get this error, the problem is the drive is being mounted before the module is loaded, check your config, you may need to recompile the kernel with ext3 built in.
 
Old 04-01-2002, 08:32 AM   #6
Pieter
LQ Newbie
 
Registered: Feb 2002
Distribution: Red Hat 7.2
Posts: 20

Original Poster
Rep: Reputation: 0
Where can I find that .config file? I found a defconfig in the arch directory of my old kernel, but compiling with that file did not help.
 
Old 04-01-2002, 01:12 PM   #7
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
If you haven't done a kernel build before, there won't be one available. If you built kernel-source 2.4.17, then there is one available /usr/src/kernel-source-2.4.17/.config -mk
 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

All times are GMT -5. The time now is 12:12 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