LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 (https://www.linuxquestions.org/questions/red-hat-31/red-hat-custom-kernel-compilation-mini-how-to-for-red-hat-8-9-a-91503/)

ekoome 11-07-2003 09:18 AM

Does this mean this MINI-HOW-TO can not be applied to RHL 7.3 kernel 2.4.18?
Eric
-------------------------
Pobody's Nerfect!

under 11-08-2003 03:11 AM

I realise how this "clean move" might how sound for you :)). No preblem. We roumanians have a proverb saying something like that: even if you're stupid, is more important that you're recovering.... it has more fun in romanian :))

That's about it!

Thetargos 11-08-2003 10:28 AM

Quote:

Originally posted by ekoome
Does this mean this MINI-HOW-TO can not be applied to RHL 7.3 kernel 2.4.18?
Eric
-------------------------
Pobody's Nerfect!

Of course it can, but I had some trouble getting a new kernel to compile right under 7.3... not that it's not possible, in fact nearly the same steps are necesary. My suggestion is to follow this guide and see if you have success on compiling (or re-compiling for that matter) your kernel. The problems I had had to do with the newer one (2.4.20-20.7) which for some reason would complaint again and again about the cryptographic modules and some other stuff.

luketheduke 11-08-2003 11:37 AM

Can I apply these steps to Linux 6.2?

Thetargos 11-08-2003 03:08 PM

Quote:

Originally posted by luketheduke
Can I apply these steps to Linux 6.2?
Basically yes, but I had never attempted to do such a thing in any version prior 7.3 All in all the steps should be fine (as long as you don't try to compile anything too new, dependencies, and stuff). So I think you should be safe in 6.2 by recompiling the latest official RH 6.2 kernel or one vanilla from the 2.2 series. Newer kernels need newer libraries like tcl/tk (the graphical enviroment in xconfig) or ncurses (again the graphics on menuconfig).

Sebo 11-09-2003 12:26 PM

There is only one problem:
In RedHat 8.0 make xconfig don't works :( .
Users should rather use Kelner Configuration tool from KDE Command Center. ;)

Thetargos 11-10-2003 03:54 PM

I find it strange that xconfig won't work on your machine... what version of tcl/tk you are using? and if you are trying to compile a 2.4 kernel. 2.6 uses QT and GTK for the interface in the deprecated xconfig (xconfig uses QT, gconfig uses GTK).

chichibabin 11-13-2003 04:57 AM

Hi,I
am having problems with my new kernel and would like to remove it. Can I do a "make uninstall" in the /usr/src/2.4.22/ directory. Will this remove all traces of the new kernel like its entry in the grub bootloader
Cheers,
Sat

Sebo 11-13-2003 12:21 PM

I don't know what version of tcl/tk I am using. I don't even know what is tcl/tk :( .
What I know is that I have Red Hat Linux 8.0 installed with tools for software development some server's , kernel sources etc. And when I write to my shell:

[root@Sebo Sebo]#make xconfig
make: *** Brak regół do wykonania obiektu 'xconfig'. Stop.

...appears. I will try to translate into English:
make: *** There are no rules to make 'xconfig' object. Stop.

Thetargos 11-13-2003 02:41 PM

Sebo, try menuconfig... and see if that works Ok.


chichibabin: Unforutunately there is no way to uninstall the kernel via a uninstall script in the source tree, BUT you can do so by deletin your /lib/modules/<kernelversion>, /boot/<kernel files> and editting grub.conf.

chichibabin 11-15-2003 05:39 AM

Thanks targos,
That's what I did, several times. I think I've got a working 2.4.22 kernel now.
Cheers
Sat

Thetargos 11-15-2003 10:41 PM

Congratulations!

Doomhammer 11-15-2003 11:42 PM

Thank you very much, im quie a newbie too, and your guide helped me.
I tried a couple of times compiling 2.4.22 without success.. now i know what is my error : make install

shame on me. :study:

Thetargos 11-16-2003 12:08 AM

You mean like
Code:

make install
before
Code:

make modules_install
?

Doomhammer 11-16-2003 12:57 PM

I forgot the make install command :scratch:

I still have a question though, My friend bought a brand new pc (2 moths old now) with all the devices onboard and asked me to install Linux on it. I installed RH9, the installation was fine but as you might have already guessed, none of the devices were recongnized by the kernel. The output of lspci tells me that all devices are unknown (something to do with a new mobo chipset i guess).

My question is: If i recompile 2.4.22, and take the acutal config-2.4.20-8 file located in /boot as the input file for make xconfig, will the kernel recognized the devices? or do ill have to select the drivers manually in the xconfig menu?

Since im quite a :newbie: with the kernel compile process, i dont want to play on the /boot partition too much. by reaming some files etc...


Thank you from Montreal!!!


All times are GMT -5. The time now is 10:32 AM.