Anssi Hannula wrote: > Austin wrote: >> Anssi Hannula wrote: >>> Austin wrote: >>>> Anssi Hannula wrote: >>>>> Name : nvidia97xx Relocations: (not relocatable) >>>>> Version : 100.14.09 Vendor: Penguin >>>>> Liberation Front >>>>> Release : 1plf2008.0 Build Date: Sat Jun 9 >>>>> 23:10:39 2007 >>>> Does this one build dkms modules even with recent tmb kernels? >>>> I have kernel-tmb-devel and kernel-tmb-source installed, and current >>>> dkms-nvidia fails. >>> Don't know about that, what is the error you get? >>> >> [EMAIL PROTECTED] mythtv]# dkms build -m nvidia97xx -v 1.0-9755.2plf2007.1 >> >> Error! Your kernel source for kernel 2.6.21.3-tmb-desktop-1mdvsmp cannot >> be found at >> /lib/modules/2.6.21.3-tmb-desktop-1mdvsmp/build or >> /lib/modules/2.6.21.3-tmb-desktop-1mdvsmp/source. >> You can use the --kernelsourcedir option to tell DKMS where it's located. > > This seems like the -devel is not correctly installed. > >> [EMAIL PROTECTED] mythtv]# dkms build -m nvidia97xx -v 1.0-9755.2plf2007.1 >> --kernelsourcedir=/usr/src/2.6.21.3-tmb-desktop-1mdv >> >> Preparing kernel 2.6.21.3-tmb-desktop-1mdvsmp for module build: >> (This is not compiling a kernel, just preparing kernel symbols) >> Storing current .config to be restored when complete >> Running Generic preparation routine >> make mrproper...... >> using /proc/config.gz >> make oldconfig..... >> make prepare-all.....(bad exit status: 2) >> >> Building module: >> cleaning build area....(bad exit status: 2) >> make KERNELRELEASE=2.6.21.3-tmb-desktop-1mdvsmp >> SYSSRC=/usr/src/2.6.21.3-tmb-desktop-1mdv module....(bad exit status: 2) >> >> Error! Bad return status for module build on kernel: >> 2.6.21.3-tmb-desktop-1mdvsmp (x86_64) >> Consult the make.log in the build directory >> /var/lib/dkms/nvidia97xx/1.0-9755.2plf2007.1/build/ for more information. >> [EMAIL PROTECTED] mythtv]# cat >> /var/lib/dkms/nvidia97xx/1.0-9755.2plf2007.1/build/make.log >> DKMS make.log for nvidia97xx-1.0-9755.2plf2007.1 for kernel >> 2.6.21.3-tmb-desktop-1mdvsmp (x86_64) >> Sun Jun 10 08:52:54 EDT 2007 >> sh ./conftest.sh "cc" "cc" /usr/src/2.6.21.3-tmb-desktop-1mdv >> /usr/src/2.6.21.3-tmb-desktop-1mdv cc_sanity_check full_output >> sh ./conftest.sh "cc" "cc" /usr/src/2.6.21.3-tmb-desktop-1mdv >> /usr/src/2.6.21.3-tmb-desktop-1mdv select_makefile full_output >> If you are using a Linux 2.4 kernel, please make sure >> you either have configured kernel sources matching your >> kernel or the correct set of kernel headers installed >> on your system. >> >> If you are using a Linux 2.6 kernel, please make sure >> you have configured kernel sources matching your kernel >> installed on your system. If you specified a separate >> output directory using either the "KBUILD_OUTPUT" or >> the "O" KBUILD parameter, make sure to specify this >> directory with the SYSOUT environment variable or with >> the equivalent nvidia-installer command line option. >> >> Depending on where and how the kernel sources (or the >> kernel headers) were installed, you may need to specify >> their location with the SYSSRC environment variable or >> the equivalent nvidia-installer command line option. >> >> *** Unable to determine the target kernel version. *** >> >> make: *** [select_makefile] Error 1 > > This seems like old dkms is being used. Upgrade to > dkms-2.0.16-1.1mdv2007.1 which is available in main/testing.
With your fix I can make it build by hand, but the problem with dkms not finding tmb kernel sources persists. i.e., at bootup, dkms reports no kernel source found. Austin _______________________________________________ PLF-discuss mailing list [email protected] https://www.zarb.org/mailman/listinfo/plf-discuss
