Re: Kernel compilation and modules and stuff
On Sat, 05 Apr 2003 11:39:29 -0600
Jeff Tickle <jwtickle@jtsoft.net> wrote:
> Hello...
>
> I have just finally gotten around to trying Debian out. Installation has
> been fun... it's not until one tries out Debian that they understand how
> bad user-friendliness elsewhere has been. But it's all finally installed,
> and I am trying to get it to work with my video card.
>
> I have an NVidia GeForce 4 Ti4400. Here's my problem. If I download ker
>
> sorry, I'm doing this with telnet to port 25.. I meant
> kernel-source-2.4.18. Anyways, if I download my kernel source, and
> compile the nvidia drivers with that, it doesn't work with my current
> kernel, because that has an append-to-version on it. So, if I compile the
> kernel source and make my own kernel, I lose all the modules that came
> with -bf2.4, which is very bad.
1. copy /boot/config-2.4.18-bf2.4 to /usr/src/linux/.config.
2. do "make oldconfig dep".
3. Edit /usr/src/Makefile. Change the EXTRAVERSION line to read:
"EXTRAVERSION=-bf2.4".
4. in /usr/src/modules/NVIDIA_kernel<whatever> do "make".
5. in /usr/src/modules/NVIDIA_GLX<whatever> do "make".
6. edit /etc/X11/XF86Config-4 per the nvidia instructions.
That should get you up and running for now.
For future use, check out the Building Custom Kernels newbiedoc:
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
Install Debian's nvidia-kernel-src and nvidia-glx-src packages, and read
their instructions. You can use the kernel-src package together with
make-kpkg to make a matching nvidia driver .deb whenever you rebuild the
kernel.
Kevin
Reply to: