Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-20-05, 04:43 AM   #13
showe
Registered User
 
Join Date: Feb 2005
Posts: 16
Default Re: Newbie nvidia driver install on debian3.0r4 with 2.4 kernel

> Will have to recompile the Kernel (sigh...)
cd /usr/src
rm kernel-image*
cd /usr/src/linux
make clean
> Apparently I need to patch the kernel with the vmalloc_reserve.patch.
>This is according to http://www.falkotimme.com/howtos/deb...el2.6_compile/
>No idea how to patch so
man patch
>this is all straightforward. However, now I have found another
>web page to set things up from:-
>http://home.comcast.net/~andrex/Debi...tallation.html
>This page seems to suggest that patching the kernel is no longer
>necessary.I am now going to follow the instructions on this page for
>building manually, custom kernel.
apt-get -t unstable install nvidia-kernel-source nvidia-kernel-common
>oh dear, networking is not working either.
NEW PLAN OF ACTION
------------------
-get a decent custom kernel to work from.I am going to use the
instructions at
http://www.falkotimme.com/howtos/deb...el2.6_compile/
and also use his example config file.
-I am going to follow the instructions at http://home.comcast.net/~andrex/Debi...tallation.html
on how to install the invidia kernel.
OK here goes:-
-copied example 2.6 kernel config. file from http://www.falkotimme.com/howtos/deb...el2.6_compile/
to my /usr/src directory
Then I did the following:
-Edited the Makefile in the /usr/src/linux directory and added EXTRAVERSION = -20050219
so as this new kernel would have a suffix of today's date
make menuconfig
during the makeconfig, I made sure that the following 3 options were disabled:-
# Graphics Support > nVidia Riva support (FB_RIVA)
# Kernel Hacking > Use 4Kb for kernel stacks instead of 8Kb (4KSTACKS)
# Processor Type and Features > Local APIC support on uniprocessors (X86_UP_APIC) (not available if you have an SMP kernel, including hyperthreading)
then I did:-
make-kpkg clean
fakeroot make-kpkg --revision=custom.1.0 kernel_image
>That has worked okay.
>Upgraded some packages apt-get install module-init-tools initrd-tools
>Now, following the instructions at http://home.comcast.net/~andrex/Debian-nVidia
apt-get install nvidia-kernel-source nvidia-kernel-common
cd /usr/src
tar -zxf nvidia-kernel-source.tar.gz
>not sure if I should have done this before compiling the kernel.I hope not.
>anyway, I definitely need to make-kpkg build Debian package files for the
>nvidia kernel module:-
cd /usr/src/linux
make-kpkg modules_image
>great, this has created a deb package called nvidia-kernel-* in the /usr/src directory
>so now I need to install the kernel image and invidia kernel
cd /usr/src
dpkg -i kernel-image-*.deb nvidia-kernel-*.deb
>obviously, be really careful to install the right deb packages.
cd /boot
>make an initial ramdisk to boot new kernel
mkinitrd -o initrd.img-2.6.10-20050219 2.6.10-20050219
>edit /etc/lilo.conf so it looks like this:
image=/vmlinuz
label=Linux
read-only
initrd=/boot/initrd.img-2.6.10-20050219
# restricted
# alias=1
>reconfigure lilo by running
lilo
>cross fingers and reboot !
>check we arerally running the new kernel
>uname -a
>Install the nVidia user-space libraries
apt-get install nvidia-glx
>Update /etc/X11/XF86Config-4
>save the old one (notthat it was working!)
cp -p /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.bak
>Tell Debian that XF86Config-4 has never been edited:
md5sum /etc/X11/XF86Config-4 >| /var/lib/xfree86/XF86Config-4.md5sum
>you only need to do this if you ran the dpkg config. file before
>run the config. program
dpkg-reconfigure xserver-xfree86
>add all the necessary monitor parameters i.e the right horizontal and vertical frequencies, When asked to choose an X server driver, >choose "nvidia". When asked to select X server modules, deselect (uncheck) GLCore and >dri, and select (check) glx.
>Create a "video" group, and add to it any users who you want to be able to use the >display
addgroup --system video
adduser $USER video
>Ensure that the nvidia module gets inserted into your kernel automatically at boot, by >adding it to /etc/modules if it's not already there:
grep -q ^nvidia /etc/modules || echo nvidia >> /etc/modules
>Hurray ! Everything is working now.
>NB I HAVE COPIED ALL THIS LIBERALLY FROM THE TWO WEB PAGES MENTIONED I.E.
>http://home.comcast.net/~andrex/Debian-nVidia
>http://www.falkotimme.com/howtos/deb...el2.6_compile/
Thanks to Macks for his help and big rasberry to all the nivia forum folks who have ignored my postings up to this
point.
showe is offline   Reply With Quote
Old 02-21-05, 09:25 AM   #14
showe
Registered User
 
Join Date: Feb 2005
Posts: 16
Default Re: Newbie nvidia driver install on debian3.0r4 with 2.4 kernel

Hello,

Steve here again.
I spoke too soon about having go everything working.
The mouse does not work.
I can get to the graphical login, but the mouse pointer just appears in the middle of the screen.
There are no error messages in the XFree log, no error messages during bootup relating to the mouse device and, when I disable the mouse section of XF86Config or change the mouse port, the server won't come on.When I don't load the mouse module in /etc/modules, that also gives me an error message.
I can even see the message in dmesg relating to the system setting up the mouse input port in IRQ 12.
The chip type seems to be an i8042.
I have checked everywhere for any similar problem, but no postings at all on the net !
Must be related to all those experimental drivers. I will try installing everything on another machine, and try out a serial adaptor on my mouse this evening...
showe is offline   Reply With Quote
Old 02-22-05, 02:18 AM   #15
showe
Registered User
 
Join Date: Feb 2005
Posts: 16
Default Re: Newbie nvidia driver install on debian3.0r4 with 2.4 kernel

vi /etc/lilo.conf
>added append= "pci=routeirq"
>did not change anything
>tRIED SERIAL MOUSE.
>Did not fix the problem
>Let's face it , the graphics card driver is causing the problems as it can't control the mouse.How many ways can a mouse go wrong for hecks sake ???
>I can think of 4 choices here:-
1.Try a different Nvidia install method i.e. go back to the non-nividia non-patched kernel and then apply the nvidia patches from invidia
2. Try a different version of XFree.My past expereinces tell me that this is a hit and miss process, so the only thing to do is to keep changing variables till you get lucky, and this would be another variable to change.
3.Try a different kernel i.e.2.6.8 or something.
4.Throw Nvidia cards in the bin and buy a more user-friendly graphics card.

THe only easy option out of these is option 2. so
My current version of XFree is Xfree86V4.1.0.1 which is pretty old.
Apt-get install xserver-xfree86 tells me that the server installed is the latest version.
Oh well, I guess i will have to try to install from unstable so now have to edit my sources.list file to read "unstable" again.
apt-get install xserver-xfree86
The message I get from apt tells me it will also update xserver-common and install 2 packages.
Xserver version I am upgrading to is 4.3.0.dfsg.1-10
Now I'd better vi /etc/X11/XFree86Config-4 to check it is okay still.
it is still okay.
rebooted- still have the same problem i.e. a frozen mouse.
I will repost this in another topic and hope that someone from Nvidia notices it this time.
showe is offline   Reply With Quote
Old 02-22-05, 03:58 PM   #16
showe
Registered User
 
Join Date: Feb 2005
Posts: 16
Default Re: Newbie nvidia driver install on debian3.0r4 with 2.4 kernel

installed fedora core 2 today on an identical machine.
It just booted up out of the install cd, with the "nv" driver, no problem.
It was running a 2.6.1 or so kernel .

This makes me wonder why I am not using X.org as apparently this Xfree86 stuff is not so "free".
I think I am going to give up on Xfree86 install. It seems to be a waste of valuable time to me.
showe is offline   Reply With Quote
Old 03-23-05, 06:35 PM   #17
enkrypt3d
Registered User
 
Join Date: Mar 2005
Posts: 1
Default Re: Newbie nvidia driver install on debian3.0r4 with 2.4 kernel

as root type:

apt-get install nvidia-glx

You have to have this to get your nvidia drivers installed

Of course I'd recommend using something like this in your /etc/apt/source.list:

proton:~# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.debian.org/debian testing main contrib non-free
deb http://non-US.debian.org/debian-non-US testing/non-US main contrib non-free
deb-src http://non-US.debian.org/debian-non-US testing/non-US main contrib non-free
#Debian Security Updates
deb http://security.debian.org/ testing/updates main contrib non-free
#Unstable
deb http://ftp.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.debian.org/debian/ unstable main non-free contrib
deb http://non-US.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-US.debian.org/debian-non-US unstable/non-US main contrib non-free
#Misc
#Tiny CA
deb http://www.scholler.net/debian /
#apache
deb http://packages.dotdeb.org /

Note this is for SARGE UNSTABLE may not work w/ any of the others...

Good luck
enkrypt3d is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM

All times are GMT -5. The time now is 05:28 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.