Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Through some research on my own, I have determined that kernel-source isn't included with the SuSE 8.1 personal edition.
The kernel version is 2.4.19-GB. The kernel itself is listed on the cd as k_deflt-2.4.19-74.i586.rpm. I forget the command, but the kernel is also listed as k_deflt-2.4.19-329.
I did a search for kernel-source and only found files ending with the number up to 308. There is also a kernel-source file that is named just "kernel-source".
Can I use the 308 version? Can I use the "generic" version?
Or does anyone know where I can find kernel-source for SuSE 8.1?
But do not forget that the kernel source distributed with SuSE has a lot of patches added, so going to kernel.org and downloading the kernel source and compiling it from there, will result in somethings going missing or not working, which were present and working previously on that SuSE system.
The best example of this is the fancy boot screen animation (if such a thing is important to you).
If the user cannot find his kernel source code on his CD-roms, then he should go to the www.suse.de site and download the latest SuSE customized kernel from there.
Compiling one's own kernel is a very good thing to do, but the version is important, and the options selected, so please be careful!
"Does that mean I'll get the kernel-source files if I compile my own kernel?"
You download the kernel source from either SuSE or kernel.org. Then you compile the source into a running kernel.
"Will the "generic" source work?"
The generic source and the SuSE source are the same thing. All distributions get their source code from www.kernel.org. As long as the kernel version that you are compiling is as high or higher than the kernel version you are replacing then you can get your new kernel to work (eventually).
"Will the 308 source work for me?"
I don't use SuSE kernels. I compile my own. But SuSE is very good about keeping their dependencies straight. If 308 is grouped in with the other 8.1 packages then 308 will work with SuSE 8.1.
Thanks, jailbait, for the helpful info. I'd like to clarify a few things to make sure I'm understanding you correctly. At the SuSE site, or one of their mirrors, they have the following files:
kernel-source-2.4.19.SuSE-308.i586.rpm
kernel-source.rpm
These rpms come from an index of SuSE updates for SuSE 8.1/kernel 2.4.19
There is no compiling involved since these are rpms. I need to compile some nvidia modules to get the drivers to work since I upgraded my XFree86 to 4.3. I need the kernel-source to compile these modules.
[QUOTE]Originally posted by jailbait The generic source and the SuSE source are the same thing.
Actually, they are not.
All distributions get their source code from www.kernel.org.
Indeed they do, but then different distributors (Debian, Redhat, SuSE) add patches and modifications to the kernel source, an example being SuSE adds the boot time animation patch, as I stated above.
Here is an example, from the Release Notes of RedHat 9 of something which RedHat added to their version of the kernel and then removed
------------
o Special Note: The ACL support added to the kernel in the first two public beta releases proved to be unstable and caused the kernel to regress. Red Hat has therefore removed that ACL support from the kernel for Red Hat Linux 9. Kernel engineers will continue work on improving the ACL support, which will be available in a future release. The attr and acl packages needed to support ACLs are still included to make it easier for users and developers who wish to test
------------
And another example is that SuSE have added support for numerous USB devices in the kernel which are not available in the equivalent kernel version at www.kernel.ORG. This is frequently done by patching the default kernel with code for these devices from the experimental version of the kernel.
So all of the distribution kernels are derived from the same source code at www.kernel.ORG, but they are NOT all the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.