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

Re: The Debian Way-NVIDIA



Paul Cartwright wrote:
On Sat February 23 2008, Raj Kiran Grandhi wrote:
FWIW, I find the nvidia driver to be worth the little effort required.

http://wiki.debian.org/NvidiaGraphicsDrivers

I was reading that page, following along, but I got to this part and I don't understand how to FIX it: and then choose the options you want. Note, however, that each of the following kernel options has been reported to cause trouble with the nvidia driver: Processor Type and Features –> Local APIC support on uniprocessors (X86_UP_APIC) (not available if you have an SMP kernel, including hyperthreading) It is therefore recommended that you disable all of the above options in your kernel configuration. If for some reason you don't disable them, and then your X display doesn't work properly with the nvidia driver, you should suspect these options as the likely cause of the trouble. For more details, see the Troubleshooting section.
-----------------------------------------------
here is what happened to me:

/usr/src/linux# make-kpkg clean
exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean ====== making target minimal_clean [new prereqs: ]======
Cleaning.
test ! -f .config || cp -pf .config config.precious
test ! -e stamp-building || rm -f stamp-building
test ! -f Makefile || \
            make    ARCH=i386 distclean
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
scripts/Makefile.build:17: /usr/src/linux-headers-2.6.18-6-686/scripts/basic/Makefile: No such file or directory make[4]: *** No rule to make target `/usr/src/linux-headers-2.6.18-6-686/scripts/basic/Makefile'. Stop.
make[3]: *** [scripts_basic] Error 2
scripts/Makefile.clean:17: /usr/src/linux-headers-2.6.18-6-686/arch/i386/kernel/acpi/Makefile: No such file or directory make[3]: *** No rule to make target `/usr/src/linux-headers-2.6.18-6-686/arch/i386/kernel/acpi/Makefile'. Stop.
make[2]: *** [arch/i386/kernel/acpi] Error 2
make[1]: *** [_clean_arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make: *** [minimal_clean] Error 2

-------------------
there is no folder /scripts/basic
and there is no folder i386/kernel/acpi

# uname -a
Linux paulandcilla 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux


It appears you are using the stock kernel. There is a precompiled nvidia driver available for this kernel. It is in the non-free section. You might want to try that.

Regarding the errors, do you have the linux-kbuild-2.6.18 installed? linux-headers depends on it, so it should have been installed automatically.

Also, I think the recommended way to compile the kernel is as a normal user instead of as root. You may use fakeroot to create the debs.

--
Raj Kiran Grandhi
--
At the source of every error which is blamed on the computer, you will find at least two human errors, including the error of blaming it on the computer.


Reply to: