View Full Version : Help with 2.6.6 and Nvidia Drivers

06-26-2004, 08:40 PM
As I am pretty much a newb, I've had a lot of troubles in trying to get this set up. I've gone through all the posts regarding Nvidia drivers, the most applicable being http://www.knoppix.net/forum/viewtopic.php?t=11304&highlight=, but I still can't figure out how to do it. The link I just pasted has a lot of vague references and jumps that I can't follow.

I was wondering if anyone would be kind enough to fix-up or post another quick set of installation steps. Thanks ALOT in advance!

06-27-2004, 12:00 AM
Yeah they kind of did it the hard way eh? :) Try this:

wget http://kanotix.com/files/install-kernel-source-vanilla.sh
wget http://kanotix.com/files/install-nvidia-5336-debian.sh
chmod +x install-kernel-source-vanilla.sh
chmod +x install-nvidia-5336-debian.sh

You may need to use a different nvidia installer. For example the 5336 version doesn't get along well w/ my nforce1 mobo. They can be found @ kanotix.com/files

06-27-2004, 12:33 AM
Are you sure that this works for 2.6.6 kernel? What is the vanilla-kernel file that you are suggesting that I download? Is that the 2.4.25 kernel? Do I have to modify the XF86 file as well afterwards?

06-27-2004, 12:54 AM
Just decided to reformat the above questions:

1) Are these for 2.6.6 kernel?
2) Are you using the installed or an updated to 2.6.6?
3) Did you use the beginner or debian install option?

Unfortunately, it doesn't work...:

"(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD8000000
(--) NVIDIA(0): MMIO registers at 0xE4000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to submit@bugs.debian.org."

Please halp.

06-27-2004, 03:02 AM
Hi Naventus,

Here's a link to a post I made a while back;


As you can see another member, Shah, posted a very good way of doing the job. I used a similar but not as clean method. (I'm a Linux newbie).

Hope this helps


06-27-2004, 07:49 PM
I've done everything, but it has a problem at this point:

:/linux# patch -p1 <../knoppix-kernel26.patch
bash: ../knoppix-kernel26.patch: No such file or directory

How do I deal with that? If this is relevant: I installed Knoppix beginner and am using the 2.6.6 kernel from the lilo menu...

06-27-2004, 08:27 PM
When I attempted to skip ahead and ignore that error, make doesn't work:

for i in source image headers doc; do mkdir -p /usr/src/linux/debian/tmp-$i; sudo mount -t tmpfs -o size=1G tmpfs /usr/src/linux/debian/tmp-$i; done
sudo mount -t tmpfs tmpfs
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p num].
For many more details, say man 8 mount .
make: [all] Error 1 (ignored)
cd /usr/src/linux && fakeroot make-kpkg --us --uc --rootcmd fakeroot binary modules
We do not seem to be in a top level linux kernel source directory
tree. Since we are trying to make a kernel package, that does not make
sense. Please change directory to a top level linux kernel source
directory, and try again. (If I am wrong, and this is indeed a top
level linux kernel source directory, then I have gotten sadly out of
date with current kernels, and you should upgrade kernel-package)
make: *** [all] Error 1

06-27-2004, 09:44 PM
Never mind, I just fixed it up and got it work- thanks soooo much:

How is a FPS of 1560ish in glxgears on a Geforce MX200 PCI 32MB?

06-28-2004, 08:00 PM
There's a good kernel 2.6 compile how to with nvidia instructions at the bottom of the page: