kernel compiling problem: can I use 2.4 .config file with 2.6 ?
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
kernel compiling problem: can I use 2.4 .config file with 2.6 ?
Compiling the 2.6.10 kernel, can I use the .config file from my 2.4.27 kernel ?
I don't want to begin the kernel configuration from zero. It's not because I'm lazy but because I don't want to miss some important option or misunderstand something.........
I don't mean a "compiling" guide, but a guide that explains all (or most) of the kernel options and feaures........
I really don't want miss some important option or misudersand some setting......... because if I wnt a working kernel of course I must understand what I'm going to do.........
well....i did use the 2.4--- config-file as a start-point for the 2.6--- kernels.
it gives a lot of errors when starting " make xconfig " , but most basics will be set correctly .
but you need to take a good look at all of it anyway.
( but it's just as a start... )
you could always go to slackware.com and get the 2.6 kernel out of current. get the kernel-ide-2.6.x (or replace ide with whatever you want).
instead of installing the kernel with installpkg, just unzip the .tgz file (tar -zxvf kernel-ide-2.6.x-i486.tgz) and use its config. It will have a file named config-ide-2.6.x copy that to your kernel source file as .config and run xconfig or meuconfig.
Problem with your hard drive controler driver, SCSI or IDE or you did not enabled your root
partition filesystem as built-in but as module (more likely if you use the default config and did not
set a initrd).
To solves this, check and re-check your IDE or SCSI config and filesystem too
then recompile and reinstall the kernel and modules
most of the time, i do not dare touch the ide and scsi sections, except for 2 obvious things: remove tape/floppy support (i'm on a laptop) and add scsi-emulation support.
installing the NVidia driver I'm having some troubles.
If I install 6029 version, the install goes well, but my sistem always had problem with these drivers. A lot of things in kde are totally transparent, like desktop backgrounds, menu, bar and the system is totally unusable..........
I don't think it's a problem of kde, because there are no problem with driver version 6111
For this, with kernel 2.4 I use NVidia drivers 6111, but these drivers don't install with kernel 2.6.10
Trying to install I get the error:
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
The problem is that version 6629 installs without problem with both kernel and version 6111 installs with kernel 2.4, so I don't get because the drivers 6111 with kernel 2.6 give this problem..........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.