LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-26-2005, 12:27 AM   #1
Hexane
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Rep: Reputation: 15
Kernel, patch, optimize, buid, install


I want to compile a new kernel but want to make sure I know what I'm doing before I do anything. I am currently using 2.6.8.1-12mdksmp.

The first thing that I was going to do was simply add the high memory support as I have 1.5gb of memory. But when I did the make xconfig it didn't smp on like what I was currently using so I wondered if there were more options than just that that I needed to change. Where can I get the exact configuration file for the 2.6.8.1-12mdksmp kernel?

Also I wanted to change it from the general i586 processor to my Pentium 4, is there any other settings or optimizations like this that I should look into?

The next thing I wanted to do was apply any patches that I need to. Do I need to get these patches from mandrake some where, or can I just use the ones on kernel.org?

At some point I saw a guide for making the kernel for mandrake 9.0 on their site but now I can't find it, I tried googling for it but still couldn't find it. Anyone know what I am talking about or where it is.


Thanks in advance.
 
Old 01-26-2005, 01:44 AM   #2
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
The config file is /boot/config-2.6.8.1-12mdksmp

If you don't have any other requirements than highmem and P4 I suggest you'd stick to the Mandrake kernel source.
It's patched itself with some stuff that's not in the mainline kernel (like supermount I think).

If you have some special patch you'd like to incorporate (in the MDK source) beware it might clash with some of the MDK patching.

If you have half an hour or so I suggest you do a make xconfig and read the help on each entry.

- Peder
 
Old 01-26-2005, 08:15 PM   #3
Hexane
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
xconfig gives me the error of....

Quote:
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2

if I do echo $QTDIR I get "/usr/lib/qt3/"

But I dont think I have the QT development package, is the a command line configure or curses?
 
Old 01-27-2005, 01:35 AM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
You have to have the qt-devel installed ('urpmi libqt3-devel')
Otherwise try 'make menuconfig' to get a ncurses interface. 'make help' shows you even more alternatives.

- Peder
 
  


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
how to install a kernel patch? irfanhab Linux - General 1 03-16-2005 06:40 AM
Patch in newer kernel during install? epperson Fedora - Installation 2 01-19-2005 12:18 PM
Optimize kernel 2.6.7: netfilter Worstje Linux - Software 0 06-17-2004 07:25 AM
How to install preemptive kernel patch? sb73542 Linux - Software 6 08-30-2003 05:11 PM
install kernel patch niton Linux - Newbie 2 07-16-2002 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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