Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hello world. this is my 1st post for this forum & since I didn`t find the `recompile-kernel` forum I am posting here.
apologies if this is the wrong place.
In general, I am trying to recompile the kernel on my redhat 9 laptop IBM because I need sound, & I chose the most recent kernel for testing 2.6 features... because it includes sound, doesn`t contain the many vulnerabilities of the 2.4 kernel, and its new & exciting. why not...you should too ( for non production systems )
So my problem is that after I perform the required software tool upgrades mentioned in the /new-kernel/ Doc/Changes file;
I then make xconfig, make clean, make bzImage, make modules & when I make modules_install; ** I see many Unresolved Dependencies, next after running /boot/mkinitrd for the new kernel to boot, the init file is only 1/2 the size of the working kernel, and also the new kernel freezes upon reboot.
Has anyone in this forum successfully recompiled the most recent kernel 2.6.0-test2 ???
here are the gory details...
steps for recompile...
new install on red Crap 9.0 2.4.21 kernel.
bunzip2 & tar -xvf linux-2.6.0-test2 in /opt/...
/opt/linux-2.6.0-test2/Documentation/Changes lists mimimum reqs for `tools`
9.0 requires upgrade to :
************ these all meet the minimum
I upgraded software packages except oprofile needs to wait until after new kernel for support. I think.....
module-init-tools-0.9.12 is a bit confusing(for me). the /INSTALL section seems
to indicate that .configure make make install, can be executed per usual; but
the README file seems to indicate that the above will torch your modules.conf
This seems to be the source of confusion.
..anyway at /opt/modules-init-tools-0.9.12 I ./configure Looks ok except for WARNING message about missing script. next I do make links which takes care of the ln -s ( for f in * ), next I run make, & make install. looks good.
Now on to step 3) I do .generate-modprobe.conf /etc/modprobe.conf & see
Warning: not translating * messages on every line. So, obviously I would like to know if this is the desired output. (any feedback?___________.
5) depmod linux-2.6.0-test2 seems to work ok
now time to config the kernel & with the upgraded mkinit, hopefully will boot ;
FAQ: in the /FAQ section it makes mention of setting up an alias for sound but
doesn`t state how this is done. for instance, alias sound-slot-0, is this right?
While compiling kernel I see a MODPOST message:
Warning: "ip_vs_tcp_conn_listen" undefined [net/ipv4/ipvs/ip_vs.ko]
make modules_install complains about Unresolved symbols
depmod: ***Unresolved symbols in /lib/modules/2.6.0-test2/kernel/drivers
block/paride/pcd.ko /pd.ko /pg.ko /
media/radio* (i didn`t install any radio options) ???
net/ipv4/ipvs/ip_vs.ko /ip_vs_dh.ko /ip_vs_ftp.ko
so then, cp System.map & bzImage to /boot. run mkinitrd..
this time it is a bit larger than previously but not much ~90000 vs
14000 working initrd-2.4.20
And after updating lilo....; reboot & kernel predictably chokes.
loading 2.6-test, Uncompressing...Ok, booting the kernel...freeze
Where did you find the kernel version 2.4.20-6.rpm ??
ask me something else. laugh. just kidding, but not really.
2.4.20-6 is the default kernel shipped with Redhat 9.
More importantly, I am wondering why you would like to know where I found " the kernel version 2.4.20-6.rpm"
I suppose the point is that unless you are are running redcrap 9 you have no use for it & also; that if you are running 9 you also have no use for it, as a recompile with something like 2.4.22 or in my case 2.4.22-ac will result in a much more harmonious computing experience. ; )
I doubt this is of any help to you, but your question is sort of vague.