How to download source code for Redhat Linux Enterprize Version 2.6.18-128.el5 ?
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
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.
How to download source code for Redhat Linux Enterprize Version 2.6.18-128.el5 ?
Hi mates,
I am working on "Redhat Linux Enterprize version 2.6.18-128.el5" . I downloaded the source code for Linux version 2.6.18 from www.kernel.org. I hope it is a source code for normal version. But when i look into my "Linux Enterprize version 2.6.18-128.el5" file structure using /usr/src/kernel/ commands, it is showing very much variation with the one i got the source code for. Further,i couldn't get the source code for my enterprize Linux version. So, my question is "Do the source codes for normal versions and enterprize versions of Redhat Linux much variates?. If yes, how to download the source codes for my "Redhat Linux Enterprize version 2.6.18-128.el5" .
If anybody know the details, kindly share with me.
Advance thanks to all repliers
RHEL kernels are heavily patched - the development team 'backports' certain features from the mainline kernels. That is the main reason why you'll find a lot of differences between the kernel you download from Red Hat vs. kernel.org
I am not the original poster, but I have a similar need. I am using Red Hat Enterprise Linux 5.3 (version 2.6.18-128.el5) as supplied by DELL. As it happens I have the installation disc for 64bit processors which is what we will be using. However to keep our development moving forward, I need to test some hardware which we currently only have a 5v PCI card. Our servers do not have any slots that accept this form factor. I have an older machine, but (no surprise) it only has a 32bit processor!
I realize I will need to upgrade the kernel eventually. Unfortunately in this cycle (2.6.*), the kernel developers have seen fit to make changes the break driver builds. I'm new to LINUX driver development, so I am staying with this kernel for now. My only other alternative is to cross compile the 32bit kernel on the 64bit server and install on the 32bit test machine. That may be more work than my schedule allows.
To summarize:
hardware to be tested only fits in a 32bit machine.
need to run the 2.6.18-128.el5 kernel (I am testing device drivers and this is the kernel that works right now)
So I want the install image for RHEL 5.3 for 32bit machines.
It would also help if you could tell, "why" do you need to download the source code of the kernel?
Most need it to compile things, those that compile against the kernel. Some people like to view the source code or develop off of it. The question was pretty direct, I don't think it constitutes having the OP explain why they need it in this case.
My rule of thumb dealing with Red Hat:
RHEL = Stick to RHEL compiled kernels.
Most need it to compile things, those that compile against the kernel. Some people like to view the source code or develop off of it. The question was pretty direct, I don't think it constitutes having the OP explain why they need it in this case.
I know all those things but it was also a probability that OP didn't know what he wanted. e.g. For compiling the kernel modules, you need the kernel headers. You may not need to download the source code from kernel.org and read it as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.