View Single Post
Old 04-09-09, 08:43 PM   #10
sandman73
Registered User
 
Join Date: Apr 2009
Posts: 1
Default Re: 2.6.29 Debian is breaking NVIDIA (and other kernel module packages)

Hi,

waiting for the nvidia/debian package fix (wich I'm sure will come soon) I've used the debian "sub"way workaround below.

Building the vanilla with the debian configuration take a long time because it is a generic hw configuration and build everything, it is also already highly optimized so I don't see the need to build vanilla if you can avoid.
Configuring the kernel for your specific hw may also take a long time.

Code:
sudo apt-get install linux-source-2.6.29 linux-headers-2.6.29-1-686 nvidia-kernel-source
tar -C /usr/src -xjf /usr/src/linux-source-2.6.29.tar.bz2
cd /usr/src/linux-source-2.6.29
sed -i 's/^EXTRAVERSION =/EXTRAVERSION = -1-686/' Makefile
cp /boot/config-2.6.29-1-686 .config
make-kpkg --us --uc debian
make modules_prepare
ln -s ../linux-headers-2.6.29-1-686/Module.symvers
fakeroot make-kpkg --us --uc --added-modules nvidia-kernel modules_image

sudo dpkg -i  ../nvidia-kernel-2.6.29-1-686_180.29-1+2.6.29-1-686-10.00.Custom_i386.deb
Hope it help
bye
sandman73 is offline   Reply With Quote