alex88
October 27th, 2008, 01:59 PM
Hi, i've compiled the 2.6.28-rc1 kernel with no errors. But when i install the image with dkpg the output is this
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.28-rc1-extreme.postinst line 1181
dpkg: linux-image-2.6.28-rc1-extreme (--install):
subprocess post-installation script returned error exit status 2
the kernel works, but the nvidia drivers not... If i do
dkms build -m nvidia -v 177.80 -k $(uname -r)
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.28-rc1-extreme module KERNDIR=/lib/modules/2.6.28-rc1-extreme IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/2.6.28-rc1-extreme/build.... (bad exit status:2)
and the make.log file ends with
*** Unable to determine the target kernel version. ***
make: ***[select_makefile] Error 1
The link to the kernel source path is correct.
What should I do?
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.28-rc1-extreme.postinst line 1181
dpkg: linux-image-2.6.28-rc1-extreme (--install):
subprocess post-installation script returned error exit status 2
the kernel works, but the nvidia drivers not... If i do
dkms build -m nvidia -v 177.80 -k $(uname -r)
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.28-rc1-extreme module KERNDIR=/lib/modules/2.6.28-rc1-extreme IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/2.6.28-rc1-extreme/build.... (bad exit status:2)
and the make.log file ends with
*** Unable to determine the target kernel version. ***
make: ***[select_makefile] Error 1
The link to the kernel source path is correct.
What should I do?