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.
OK, I built my own 2.6.20 kernel for Slackware 11. Took a few weeks but eventually figured out what options I needed to make it work. The only difficulty I have is as follows: I have installed both the original 2.4.33 and the new 2.6.20 kernels in the LILO boot file, so I have the choice which to fire up. (Still cautious with my hand-made 2.6 version...). Both will boot happily into a text console, but which I try and start an X session after I have asked LILO to switch to a different kernel from the one I used last time I booted, X server moans that it cannot open an X session. I then have to re-install the NVIDIA driver (which in the course of installation finds the previous installation and warns me that it needs to uninstall this) - after which X works fine. If I then re-boot and chose the other kernel version again - same problem. OK if I stick to one kernel, but not OK if I swap between them.
The way I understand it the NVIDIA support in the kernel is compiled as a module (the NVIDIA installation programme specifically says it is compiling a module) and the modules for the different kernel versions sit in different directories (/lib/modules/x.y.z), so why this problem? Does the NVIDIA driver module not get written to the version-specific directory? Any way around it?
I would use the native untill a new driver comes out (one that works), I have some computers whith NVIDIA cards in and i have to say, they are far less trouble than those with ATI cards.
As eklaerbaer says, the -K option will install the kernel module only and won't uninstall your existing version, so you can have nvidia modules for several different kernels.
I've had great success compiling my own kernels to work with an NVIDIA card. Here's basic scoop:
-turn off ALL the graphics support options. None, not even modules. Nothing. You've got to turn the whole thing over to the NVIDIA drivers. The consequences of this are that you have a non-free driver running a core part of your system and you don't get any penguin logos or small text on start up. Frankly, I don't care, but others might.
-after each kernel compile, you have to reinstall the NVIDIA driver. If you boot straight into runlevel 4 and use KDM, watch out. Whenever I compile a new kernel, I edit /etc/inittab to boot into runlevel 3 so that I can reinstall the NVIDIA drivers before I try to start X. It's a bit of a pain, but I just keep a copy of the NVIDIA driver and my xorg.conf in a separate partition (/home) and it's not that big of a deal.
I spent weeks, on this, too, so get in touch if you'd like more help.
If you boot straight into runlevel 4 and use KDM, watch out. Whenever I compile a new kernel, I edit /etc/inittab to boot into runlevel 3 so that I can reinstall the NVIDIA drivers before I try to start X. It's a bit of a pain, but I just keep a copy of the NVIDIA driver and my xorg.conf in a separate partition (/home) and it's not that big of a deal.
Instead of editing your inittab you can just say "kernel_name 3" at the boot prompt to override the default run level and boot into run level 3 when you need to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.