Re: 2.4.13-pre6 breaks Nvidia's kernel module

From: Reid Hekman (reid.hekman@ndsu.nodak.edu)
Date: Wed Oct 24 2001 - 23:15:02 EST


Dan Maas wrote:

>>As I see it, that is exactly what should not be done. Lets suppose you are
>>running 2.4.12. You want to upgrade. So you unpack 2.4.13 and build it.
>>If you go now to build nVidia drivers, with the shipped Makefile they
>>still build and install against 2.4.12.
>>
>
> You don't have to reboot into the new kernel, just do as the README says:
>
> If you want to build NVdriver for a system other than the compiling
> system, then you'll need to run the make as:
>
> $ make SYSINCLUDE=/src/kern/my-smp-kernel/include
>
> to generate an NVdriver that will work on the kernel whose include
> files are in /src/kern/my-smp-kernel/include. This kernel must
> have been completely configured (make menuconfig dep).
>
> So you still only need to reboot once when upgrading your kernel.
>
> The only thing I find annoying is that the kernel's 'make modules_install'
> wipes out /lib/modules/<version>, so when I'm in the compile/debug cycle on
> my own driver I have to keep reinstalling NVdriver.
>
> Regards,
> Dan

Thanks for the info. I hadn't looked at the makefile myself, but now
that you mention it do remember the SYSINCLUDE directive from before.

For me personally, I've always booted in runlevel 3, so it's no problem
for me to recompile NVdriver after the reboot. To each his own I guess.

Regards,
Reid

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:24 EST