Dedors’s Weblog

16. Juli 2008

howto: 32bit 4GB+ support with working nvidia binary drivers

Filed under: Linux — dedors @ 22:25
Tags:

currently the >>UBUNTU<< MODULES DONT WORK THAT WAY!

#Get needed files to compile

sudo apt-get install linux-kernel-devel fakeroot build-essential kernel-package
sudo apt-get build-dep linux-image

#get source to /usr/src/git

cd /usr/src && sudo mkdir git && sudo chown $USER:$USER git && cd git
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-hardy.git linux-source-hardy
cd linux-source-hardy

sudo apt-get source linux-image #get the source
ln -s linux-2.6.XX linux #make new source link
cd linux

#Do the Configuration

sudo make oldconfig #get old config in the new source
sudo make menuconfig #now search in the 4. option there you can switch from "4GB" to "64GB".

#Build it!

AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-generic

sudo make-kpkg clean
sudo make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

#and finally install it

sudo dpkg -i

#now about the same for the ubuntu modules

cd ../..
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-hardy-lum.git linux-source-hardy-modules
sudo apt-get source linux-ubuntu-modules-2.6.24-20-generic
apt-get source linux-restricted-modules-2.6.24-20-generic
cd linux-source-hardy-modules
cd linux-ubuntu-modules-2.6.24-20-generic
fakeroot debian/rules binary-modules-generic
cd ../linux-restricted-modules-2.6.24-20-generic
fakeroot debian/rules binary-modules-generic
cd ..
sudo dpkg -i linux-ubuntu-modules-2.6.24-20-generic.deb
sudo dpkg -i linux-restricted-modules-2.6.24-20-generic

at this point you can reboot and the new nvidia module will be compiled automatically during boot.

but for my laptop, using a iwl4965 module which is only available as a ubuntu module, the wlan does not work anymore, so i tried the following (not successfull yet):

sudo make modules

sudo make modules install

for the linux-ubuntu-modules i tried also the following found on the web, but it was not working:


mkdir /tmp/test
cd /tmp/test

apt-get source linux-ubuntu-modules-$(uname -r)

cd linux-ubuntu-modules*

sudo aptitude install fakeroot kernel-wedge linux-headers-$(uname -r)

fakeroot debian/rules binary-arch arch=i386 flavours=“generic“

Schreibe einen Kommentar »

Es gibt noch keine Kommentare.

RSS feed for comments on this post. TrackBack URI

Schreibe einen Kommentar

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s

Bloggen auf WordPress.com.

%d Bloggern gefällt das: