[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Rebuilding kernel-source for NVIDIA drivers help!



I'm trying to get NVIDIA drivers to work with FC2T3's kernel-2.6.5-1.327 -- no luck. Maybe you guys can tell me what am I doing wrong here, it will benefit a lot of people I presume.

Here is what I did

I downloaded kernel-2.6.5-1.327.src.rpm and NVIDIA-Linux-x86-1.0-5341-pkg1.run

1. rpm -i kernel-2.6.5-1.327.src.rpm
2. commented out "Patch200: linux-2.6.5-nostack.patch" and "%patch200 -p1" from spec file (in /usr/src/redhat/SPECS)
3. rebuilt kernel with: rpmbuild -bb /usr/src/redhat/SPECS/kernel-2.6.spec (It made the package: kernel-2.6.5-1.327.root.i386.rpm) <-- why the suffix?
4. installed new kernel-source: rpm -ivh /usr/src/redhat/RPMS/i386/
-it placed linux-2.6.5-1.327.root into /usr/src/
5. did sh NVIDIA-Linux-x86-1.0-5341-pkg1.run --add-this-kernel (built custom package)
6. tried running custom package: sh NVIDIA-Linux-x86-1.0-5341-pkg1.custom.run, got error saying cannot find kernel-sources
7. specified kernel sources with sh NVIDIA-Linux-x86-1.0-5341-pkg1.custom.run --kernel-source-path=/usr/src/linux-2.6.5-1.327.root
8. received error saying NVIDIA kernel was built with different kernel-source


I installed and removed kernel-sources back and forth (original 2.6.5-1.327 and rebuilt one). Tried a few combinations with the installer and no luck. Minion.de patches don't work either, neither do sh.nu packages.

Cheers, and TIA.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]