Hi all
I'm looking for the linux source files for CentOS 5.1 2.6.18-53.el5. To install VirtualBox, I apparently need the kernel sources, and even after installing kernel-devel & kernel-headers via yum I still get an error saying I need the kernel-sources
[root@gimbli ~]# ll /usr/src/kernels/ total 4 drwxr-xr-x 18 root root 4096 Mar 4 10:57 2.6.18-53.1.13.el5-x86_64 lrwxrwxrwx 1 root root 43 Mar 4 10:57 linux -> /usr/src/kernels/2.6.18-53.1.13.el5-x86_64/ [root@gimbli ~]# ll /usr/src/kernels/linux/ total 716 drwxr-xr-x 26 root root 4096 Mar 4 10:57 arch drwxr-xr-x 2 root root 4096 Mar 4 10:57 block drwxr-xr-x 4 root root 4096 Mar 4 10:57 crypto drwxr-xr-x 63 root root 4096 Mar 4 10:57 drivers drwxr-xr-x 63 root root 4096 Mar 4 10:57 fs drwxr-xr-x 20 root root 4096 Mar 4 10:57 include drwxr-xr-x 2 root root 4096 Mar 4 10:57 init drwxr-xr-x 2 root root 4096 Mar 4 10:57 ipc -rw-r--r-- 1 root root 56915 Feb 12 20:23 kabi_whitelist drwxr-xr-x 5 root root 4096 Mar 4 10:57 kernel drwxr-xr-x 5 root root 4096 Mar 4 10:57 lib -rw-r--r-- 1 root root 48120 Feb 12 20:24 Makefile drwxr-xr-x 2 root root 4096 Mar 4 10:57 mm -rw-r--r-- 1 root root 167056 Feb 12 20:24 Module.kabi -rw-r--r-- 1 root root 328848 Feb 12 20:24 Module.symvers drwxr-xr-x 40 root root 4096 Mar 4 10:57 net drwxr-xr-x 10 root root 4096 Mar 4 10:57 scripts drwxr-xr-x 4 root root 4096 Mar 4 10:57 security drwxr-xr-x 18 root root 4096 Mar 4 10:57 sound -rw-r--r-- 1 root root 45633 Feb 12 20:24 symsets-2.6.18-53.1.13.el5.tar.gz drwxr-xr-x 2 root root 4096 Mar 4 10:57 usr
From this list of files it seems like yum might have installed the wrong version? Do I simply run yum upgrade kernel, or how do I proceed?
On Tue, Mar 04, 2008 at 11:21:04AM +0200, Rudi Ahlers wrote:
Hi all
I'm looking for the linux source files for CentOS 5.1 2.6.18-53.el5.
...
Please search a little on the wiki page before asking questions. http://wiki.centos.org/
There is a little Search box...
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?action=fullsearch&... -> http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?highlight=%28kernel%2...
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
Tru
Tru Huynh wrote:
On Tue, Mar 04, 2008 at 11:21:04AM +0200, Rudi Ahlers wrote:
Hi all
I'm looking for the linux source files for CentOS 5.1 2.6.18-53.el5.
...
Please search a little on the wiki page before asking questions. http://wiki.centos.org/
There is a little Search box...
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?action=fullsearch&... -> http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?highlight=%28kernel%2...
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
Tru
heh, that's funny, but hard to believe that I won't get support for a modified / hacked / changed / "broken" kernel. It's like saying " You can buy the car, but if you change the tires we won't service it" - Dude, that's the mentality of M$ and the likes, NOT Open Source
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
On Tue, Mar 4, 2008 at 11:07 AM, Rudi Ahlers Rudi@softdux.com wrote:
Please search a little on the wiki page before asking questions. http://wiki.centos.org/
There is a little Search box...
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?action=fullsearch&... -> http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?highlight=%28kernel%2...
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
heh, that's funny, but hard to believe that I won't get support for a modified / hacked / changed / "broken" kernel. It's like saying " You can buy the car, but if you change the tires we won't service it" - Dude, that's the mentality of M$ and the likes, NOT Open Source
Firstly, for VMware and probably Virtualbox (no experience there) there is no need to have the complete kernel sources, but that is explained more detailed below. The reasons that we don't support custom kernels is explained here http://wiki.centos.org/HowTos/Custom_Kernel.
And your comparison to cars is not completely correct. It is not buying a car and changing the tires. Replacing a kernel is like replacing the engine of a car. And I don't see the company that made that car still service it if it does not contain their engine.
Also, this has nothing to do with a M$ mentality. With M$ you even can't replace the kernel with your own. With Linux you can and we even document it on the wiki for you. You have full access to the source and can to with it whatever you like. What we can't do is support changed systems like that because it then contains component we did not made and have no control over. Nothing more, nothing less.
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
With VMware (Server anyway) you just install kernel-devel and the vmware-config.pl script finds everything it needs to compile it's custom modules. Very simple, no fuss. If that process works for VMware then VirtualBox should be able to do the same thing. If they don't then talk to them and get them to update their tools.
This method (installing kernel-devel which contains enough to compile external modules) is the standard way of dealing with this, it is also recommended by the kernel developers. If software does not support this method then they need a update to support this method. This is not about being difficult, just about doing things in a standard and consistant matter.
So, to sum up. We don't mind you playing with the kernel, just realize what you are doing then. But we do like that people are polite and respect each other.
Regards, Tim
Tim Verhoeven wrote:
On Tue, Mar 4, 2008 at 11:07 AM, Rudi Ahlers Rudi@softdux.com wrote:
Please search a little on the wiki page before asking questions. http://wiki.centos.org/
There is a little Search box...
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?action=fullsearch&... -> http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?highlight=%28kernel%2...
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
heh, that's funny, but hard to believe that I won't get support for a modified / hacked / changed / "broken" kernel. It's like saying " You can buy the car, but if you change the tires we won't service it" - Dude, that's the mentality of M$ and the likes, NOT Open Source
Firstly, for VMware and probably Virtualbox (no experience there) there is no need to have the complete kernel sources, but that is explained more detailed below. The reasons that we don't support custom kernels is explained here http://wiki.centos.org/HowTos/Custom_Kernel.
VirtualBox' error log said "can't find kernel source" - that's the wording they used, so I just used what it said :)
And your comparison to cars is not completely correct. It is not buying a car and changing the tires. Replacing a kernel is like replacing the engine of a car. And I don't see the company that made that car still service it if it does not contain their engine.
Also, this has nothing to do with a M$ mentality. With M$ you even can't replace the kernel with your own. With Linux you can and we even document it on the wiki for you. You have full access to the source and can to with it whatever you like. What we can't do is support changed systems like that because it then contains component we did not made and have no control over. Nothing more, nothing less.
True, but how is / was Linux and other OSS component developed? With debugging, and "breaking" things to a point where one could learn. Saying there's no support for such a kernel altogether isn't the OSS way. What you're saying makes much more sense, and I agree with you on that but then the Tru shouldn't have said there's no support for it at all. How does a development team move forward? With support and with collaboration from others.
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
With VMware (Server anyway) you just install kernel-devel and the vmware-config.pl script finds everything it needs to compile it's custom modules. Very simple, no fuss. If that process works for VMware then VirtualBox should be able to do the same thing. If they don't then talk to them and get them to update their tools.
This method (installing kernel-devel which contains enough to compile external modules) is the standard way of dealing with this, it is also recommended by the kernel developers. If software does not support this method then they need a update to support this method. This is not about being difficult, just about doing things in a standard and consistant matter.
So, to sum up. We don't mind you playing with the kernel, just realize what you are doing then. But we do like that people are polite and respect each other.
Regards, Tim
Thanx for the advice :) I never said I'm going to hack the kernel, I merely asked where I could get it, since VirtualBox wanted it. It's now installed on my system, and I can continue with VirtualBox :)
<snip>
VirtualBox' error log said "can't find kernel source" - that's the wording they used, so I just used what it said :)
And your comparison to cars is not completely correct. It is not buying a car and changing the tires. Replacing a kernel is like replacing the engine of a car. And I don't see the company that made that car still service it if it does not contain their engine.
That is because their install script is looking for /usr/src/linux to be a symlink to the current source. But the newer versions of the OS don't create that link anymore, and it is up to the user or the software to evolve along with it.
On Tue, Mar 04, 2008 at 12:07:40PM +0200, Rudi Ahlers wrote:
Tru Huynh wrote:
[...]
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
Tru
heh, that's funny, but hard to believe that I won't get support for a modified / hacked / changed / "broken" kernel. It's like saying " You can buy the car, but if you change the tires we won't service it" -
s/buy/get a free/ s/change the tires/replace engine with one custom-made/
Dude, that's the mentality of M$ and the likes, NOT Open Source
Do you possibly have some pointers on how to get a free, legal version of M$ Advanced Server, get kernel source code and recompile it? And perhaps get free support for modified version?
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
If you need support with modified kernel I am sure you can find it. Not necessarily free.
--
Kind Regards Rudi Ahlers CEO, SoftDux
Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg
Take care,
Wojtek
Wojtek Pilorz wrote:
On Tue, Mar 04, 2008 at 12:07:40PM +0200, Rudi Ahlers wrote:
Tru Huynh wrote:
[...]
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
Tru
heh, that's funny, but hard to believe that I won't get support for a modified / hacked / changed / "broken" kernel. It's like saying " You can buy the car, but if you change the tires we won't service it" -
s/buy/get a free/ s/change the tires/replace engine with one custom-made/
Dude, that's the mentality of M$ and the likes, NOT Open Source
Do you possibly have some pointers on how to get a free, legal version of M$ Advanced Server, get kernel source code and recompile it? And perhaps get free support for modified version?
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
If you need support with modified kernel I am sure you can find it. Not necessarily free.
--
Kind Regards Rudi Ahlers CEO, SoftDux
Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg
Take care,
Wojtek
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
His words was "don't expect support here" - it implies that custom kernel ain't supported. It there's a different support channel for it, that's fine, but then he should have said so. I've recompiled kernels before, but that was at least 5 years ago, since then I got lazy (seeing that Linux has become easier), and this is the first time I needed it.
Rudi Ahlers wrote:
Wojtek Pilorz wrote:
On Tue, Mar 04, 2008 at 12:07:40PM +0200, Rudi Ahlers wrote:
Tru Huynh wrote:
[...]
Caveat: if you make your own kernel, you keep the pieces if you break your system. Don't expect support here.
Tru
heh, that's funny, but hard to believe that I won't get support for a modified / hacked / changed / "broken" kernel. It's like saying " You can buy the car, but if you change the tires we won't service it" -
s/buy/get a free/ s/change the tires/replace engine with one custom-made/
Dude, that's the mentality of M$ and the likes, NOT Open Source
Do you possibly have some pointers on how to get a free, legal version of M$ Advanced Server, get kernel source code and recompile it? And perhaps get free support for modified version?
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
If you need support with modified kernel I am sure you can find it. Not necessarily free.
--
Kind Regards Rudi Ahlers CEO, SoftDux
Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg
Take care,
Wojtek
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
His words was "don't expect support here" - it implies that custom kernel ain't supported. It there's a different support channel for it, that's fine, but then he should have said so. I've recompiled kernels before, but that was at least 5 years ago, since then I got lazy (seeing that Linux has become easier), and this is the first time I needed it.
Why are you being such an ass.
Rudi Ahlers wrote:
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
VMware and Virtualbox both work fine with kernel-devel installed. You have to have the correct kernel-devel version for your running kernel, though.
No need for kernel-sources to run those applications.
Ralph
Ralph Angenendt wrote:
Rudi Ahlers wrote:
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
VMware and Virtualbox both work fine with kernel-devel installed. You have to have the correct kernel-devel version for your running kernel, though.
No need for kernel-sources to run those applications.
Ralph
Thanx, I have already updated to the latest kernel and installed kernel-devel, and I'm busy installing gcc. This is on a vanilla install of CentOS VirtualBox just said it neede the kernel-source...
on 3-4-2008 2:50 AM Rudi Ahlers spake the following:
Ralph Angenendt wrote:
Rudi Ahlers wrote:
Besides, VMWare & Virtualbox needs it to install properly on the system, what do you tell them? We won't support you, so your programs won't work on our system?
VMware and Virtualbox both work fine with kernel-devel installed. You have to have the correct kernel-devel version for your running kernel, though.
No need for kernel-sources to run those applications.
Ralph
Thanx, I have already updated to the latest kernel and installed kernel-devel, and I'm busy installing gcc. This is on a vanilla install of CentOS VirtualBox just said it neede the kernel-source...
It said it needed the kernel source, it didn't say it needed the "latest" source. Congratulations! You just turned your finely crafted Enterprise Linux into a Frankenstein of mixed components. As was said before, "All the pieces are your's to keep".
<rant> One thing about the support that is given on this forum... You have to actually listen, and follow the advice given.
Yes, sometimes the responses get a little terse, but these are people that are here giving away something they are more than qualified to charge for, out of the goodness of their hearts. They also have day jobs, families, stress, headaches, and whatever else might affect a person and make them a little short or angry sounding some days. These are human beings here, this isn't alt.heaven!
Now off of the soap box and back to work... I have a headache!! ;-P
</rant>
On Tue, Mar 4, 2008 at 9:01 AM, Scott Silva ssilva@sgvwater.com wrote:
Now off of the soap box and back to work... I have a headache!! ;-P
Well, yeah, you're biting your tongue....
;^)
mhr
Rudi Ahlers wrote:
Hi all
I'm looking for the linux source files for CentOS 5.1 2.6.18-53.el5. To
<snip>
[root@gimbli ~]# ll /usr/src/kernels/ total 4 drwxr-xr-x 18 root root 4096 Mar 4 10:57 2.6.18-53.1.13.el5-x86_64
<snip>
kernel-devel is OK but you have the wrong kernel running install 2.6.18-53.1.13 and reboot
Nicolas Thierry-Mieg wrote:
Rudi Ahlers wrote:
Hi all
I'm looking for the linux source files for CentOS 5.1 2.6.18-53.el5. To
<snip> > [root@gimbli ~]# ll /usr/src/kernels/ > total 4 > drwxr-xr-x 18 root root 4096 Mar 4 10:57 2.6.18-53.1.13.el5-x86_64 <snip>
kernel-devel is OK but you have the wrong kernel running install 2.6.18-53.1.13 and reboot _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanx :)
I saw that while I was posting it, so I have upgraded the kernel itself as well, and all is well now