LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   NVidia driver install fails on Debian 6 (https://www.linuxquestions.org/questions/debian-26/nvidia-driver-install-fails-on-debian-6-a-890810/)

gradinaruvasile 07-11-2011 04:43 PM

Hm. That xorg.conf looks overly complicated. Te nvidia installer does a very good job in most cases in auto-generating the xorg.conf file.

Rename that xorg.conf of yours and issue a "sudo nvidia-xconfig" command in a terminal then restart the x server.

EDDY1 07-11-2011 07:58 PM

his 1 has 5 different ways to install + troubleshooting.

the trooper 07-12-2011 08:54 AM

Looking at your log file,I've noticed the following:

Code:

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=65489270-556d-4ee3-ab59-352bf8ae69a7 ro quiet
Which is different to what I have on my system,try adding the following to /etc/default/grub:

Code:

nomodeset nouveau.modeset=0
You will need to run update-grub after.
Then try to reinstall the driver again.

Quote:

Shall i reinstall Debian 6 with full DE this time from net install
What Xorg packages have you installed on your system?,here's what I have using Testing:

Code:

ade@Pc1:~$ dpkg -l | grep xorg
ii  xserver-xorg                                1:7.6+7                          X.Org X server
ii  xserver-xorg-core                          2:1.10.2.902-1                  Xorg X server - core server
ii  xserver-xorg-input-evdev                    1:2.6.0-2+b1                    X.Org X server -- evdev input driver
ii  xserver-xorg-video-vesa                    1:2.3.0-7                        X.Org X server -- VESA display driver

Plus the Nvidia driver obviously.

Arcane 07-12-2011 02:20 PM

Quote:

Originally Posted by gradinaruvasile (Post 4412013)
Hm. That xorg.conf looks overly complicated. Te nvidia installer does a very good job in most cases in auto-generating the xorg.conf file.

Rename that xorg.conf of yours and issue a "sudo nvidia-xconfig" command in a terminal then restart the x server.

Yes in "most cases" but i guess this is not one of them. Also i did + i don't use sudo because either i go to root mode or login as root.
Quote:

Originally Posted by EDDY1 (Post 4412116)
his 1 has 5 different ways to install + troubleshooting.

Sorry i didn't understand this..
Quote:

Originally Posted by the trooper (Post 4412665)
{...}try adding the following to /etc/default/grub:
Code:

nomodeset nouveau.modeset=0
You will need to run update-grub after.
Then try to reinstall the driver again.{...}

Grub thing failed + i use Ubuntu grub menu atm. Got this message.
Code:

root@tdbaltic:~# update-grub
/etc/default/grub: 32: nomodeset: not found

Quote:

{...}What Xorg packages have you installed on your system?{...}
Code:

root@tdbaltic:~# dpkg -l | grep xorg
ii  xserver-xorg                                  1:7.5+8                        the X.Org X server
ii  xserver-xorg-core                            2:1.7.7-13                    Xorg X server - core server
ii  xserver-xorg-input-all                        1:7.5+8                        the X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev                      1:2.3.2-6                      X.Org X server -- evdev input driver
ii  xserver-xorg-input-synaptics                  1.2.2-2                        Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-wacom                      0.10.5+20100416-1              X.Org X server -- Wacom input driver
ii  xserver-xorg-video-all                        1:7.5+8                        the X.Org X server -- output driver metapackage
ii  xserver-xorg-video-apm                        1:1.2.2-2                      X.Org X server -- APM display driver
ii  xserver-xorg-video-ark                        1:0.7.2-2                      X.Org X server -- ark display driver
ii  xserver-xorg-video-ati                        1:6.13.1-2+squeeze1            X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-chips                      1:1.2.3-1                      X.Org X server -- Chips display driver
ii  xserver-xorg-video-cirrus                    1:1.3.2-2+squeeze1            X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-fbdev                      1:0.4.2-2                      X.Org X server -- fbdev display driver
ii  xserver-xorg-video-geode                      2.11.9-7                      X.Org X server -- Geode GX2/LX display driver
ii  xserver-xorg-video-i128                      1:1.3.3-2                      X.Org X server -- i128 display driver
ii  xserver-xorg-video-i740                      1:1.3.2-2                      X.Org X server -- i740 display driver
ii  xserver-xorg-video-intel                      2:2.13.0-6                    X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64                    6.8.2-3                        X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga                        1:1.4.11.dfsg-4+squeeze1      X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic                  1:1.2.4-3                      X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nouveau                    1:0.0.15+git20100329+7858345-5 X.Org X server -- Nouveau display driver (experimental)
ii  xserver-xorg-video-nv                        1:2.1.17-3                    X.Org X server -- NV display driver
ii  xserver-xorg-video-openchrome                1:0.2.904+svn842-2            X.Org X server -- VIA display driver
ii  xserver-xorg-video-r128                      6.8.1-3                        X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon                    1:6.13.1-2+squeeze1            X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-rendition                  1:4.2.3-3                      X.Org X server -- Rendition display driver
ii  xserver-xorg-video-s3                        1:0.6.3-2                      X.Org X server -- legacy S3 display driver
ii  xserver-xorg-video-s3virge                    1:1.10.4-2                    X.Org X server -- S3 ViRGE display driver
ii  xserver-xorg-video-savage                    1:2.3.1-2                      X.Org X server -- Savage display driver
ii  xserver-xorg-video-siliconmotion              1:1.7.3-2                      X.Org X server -- SiliconMotion display driver
ii  xserver-xorg-video-sis                        1:0.10.3-1                    X.Org X server -- SiS display driver
ii  xserver-xorg-video-sisusb                    1:0.9.3-2                      X.Org X server -- SiS USB display driver
ii  xserver-xorg-video-tdfx                      1:1.4.3-2                      X.Org X server -- tdfx display driver
ii  xserver-xorg-video-trident                    1:1.3.3-2                      X.Org X server -- Trident display driver
ii  xserver-xorg-video-tseng                      1:1.2.3-2+squeeze1            X.Org X server -- Tseng display driver
ii  xserver-xorg-video-vesa                      1:2.3.0-3                      X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware                    1:11.0.1-2                    X.Org X server -- VMware display driver
ii  xserver-xorg-video-voodoo                    1:1.2.3-2                      X.Org X server -- Voodoo display driver

So what now? Shall i give up? Am i missing something in net-install and need install from other source or do full install, is wiki outdated or maybe my PC is just too lame for Debian(it has ASRock motherboard btw..) and need get new?

gradinaruvasile 07-12-2011 02:39 PM

You are certain that you have absolutely no warnings or errors during installation from the .run file?

What give the following commands?

Code:

apt-cache policy gcc
ls -al /usr/bin/gcc
apt-cache policy build-essential
apt-cache policy linux-headers-`uname -r`
cat /proc/version

BTW you dont need anything else besides making sure that nouveau is blacklisted - no nomodeset or anything.

Arcane 07-12-2011 03:05 PM

Quote:

Originally Posted by gradinaruvasile (Post 4412986)
You are certain that you have absolutely no warnings or errors during installation from the .run file?{...}

Positive. It only warns about nouveau but then i allow it to create disable file, then restart PC and reinstall .run without any messages of failure but when i try start X i just doesn't work and says to restart when it be configured properly.
Quote:

{...}What give the following commands?{...}
Code:

root@tdbaltic:~# apt-cache policy gcc
gcc:
  Installed: 4:4.4.5-1
  Candidate: 4:4.4.5-1
  Version table:
 *** 4:4.4.5-1 0
        500 http://cdn.debian.net/debian/ squeeze/main i386 Packages
        100 /var/lib/dpkg/status

Code:

root@tdbaltic:~# ls -al /usr/bin/gcc
lrwxrwxrwx 1 root root 7 2011-07-08 15:57 /usr/bin/gcc -> gcc-4.4

Code:

root@tdbaltic:~# apt-cache policy build-essential
build-essential:
  Installed: 11.5
  Candidate: 11.5
  Version table:
 *** 11.5 0
        500 http://cdn.debian.net/debian/ squeeze/main i386 Packages
        100 /var/lib/dpkg/status

Code:

root@tdbaltic:~# apt-cache policy linux-headers-`uname -r`
linux-headers-2.6.32-5-686:
  Installed: 2.6.32-35
  Candidate: 2.6.32-35
  Version table:
 *** 2.6.32-35 0
        500 http://cdn.debian.net/debian/ squeeze/main i386 Packages
        100 /var/lib/dpkg/status
    2.6.32-34squeeze1 0
        500 http://security.debian.org/ squeeze/updates/main i386 Packages

Code:

root@tdbaltic:~# cat /proc/version
Linux version 2.6.32-5-686 (Debian 2.6.32-35) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Jun 13 04:13:06 UTC 2011

P.S.One more thing i recently found was same problem on Fedora 14 with EasyLife mod. When Fedora 14 was latest not F15 it worked fine no questions asked no trouble. After that i reinstalled some small time ago and downloaded from archive(previous version from website) for F14 and then it behaves just like Debian here. Maybe it has to do with outdated drivers or stuff like wrong links(yes i noticed ati radeon in previous post too)?

gradinaruvasile 07-12-2011 03:55 PM

You have the default gcc at version 4.4 but your kernel is compiled with gcc 4.3.

You MUST make gcc 4.3 your default gcc as i mentioned before. You might have to install it (aptitude install gcc-4.3).
Then make sure the /usr/bin/gcc symlink points to /usr/bin/gcc-4.3:

Code:

rm /usr/bin/gcc
ln -s /usr/bin/gcc-4.3 /usr/bin/gcc

But first make sure you installed gcc-4.3. Dont worry about that deleted file, it is just a symlink, the real executable is the gcc-4.x one.

After this, you have to clean up anything installed before and reinstall the driver.

the trooper 07-13-2011 07:11 AM

The only other thing I can think of is,are trying to install the downloaded Nvidia driver while you have the Debian Nvidia packages installed.
If so you will need to purge ALL Debian Nvidia packages BEFORE trying to install the downloaded version.
If this does not cure the problem I'm officially out of ideas.


All times are GMT -5. The time now is 09:01 PM.