Jump to content

NVIDIA drivers [solved]


Guest yodaky
 Share

Recommended Posts

I installed them just fine using a guide I found here. I recently downloaded updates using the update manager and upon rebooting I no longer have a graphical login. If I login and type startx then it acts as though it will boot up and shows the NVIDIA logo but returns errors and goes back to text based. I cannot remember the errors exactly but I can post them later if needed (I am at school). Can anyone point me in a direction to "look" for stuff to change? Thanx.

Link to comment
Share on other sites

There were recent security updates for X with the advisory dated 9/13. Did the update you referred to included those X updates and then immediately after that is when these problems occurred?

 

As root, you could check /var/log/Xorg.0.log (there might be some earlier history log versions as well, so hopefully you have logs to compare both a good and bad startx event) to see if there are any definitive error messages (besides any other relevant messages you might get when doing startx from the CLI). As polemicz indicated, post them if you have problems resolving the errors, along with any other relevant info.

Link to comment
Share on other sites

Will need more detailson the errors and what you did. Which kernel and kernel source will be helpful. I assume you got no errors during the nnvidia install process.

 

I had them installed previously with out issue until I updated last weekend. Ill post the errors in a bit.

 

There were recent security updates for X with the advisory dated 9/13.  Did the update you referred to included those X updates and then immediately after that is when these problems occurred?

 

As root, you could check /var/log/Xorg.0.log (there might be some earlier history log versions as well, so hopefully you have logs to compare both a good and bad startx event) to see if there are any definitive error messages (besides any other relevant messages you might get when doing startx from the CLI).  As polemicz indicated, post them if you have problems resolving the errors, along with any other relevant info.

 

I probably made a normal noob mistake and just told it to update everything ;) so I don't know if that was included, though I would assume so.

Link to comment
Share on other sites

The answer is likely as simple as running the driver install routine again. This is because xorg gets corrupted so by doing the reinstall routine you set it up correctly again.

 

When you reboot and get the command line again, type root, click enter then type in your root password then type in ls /<wherever you have saved the nvidia driver> and click enter. If this shows your nvidia driver then type in cd /<wherever you have saved the nvidia driver> and click enter. Type in sh < the full title of the nvidia driver> EXACTLY as it is shown. Note the spaces I have shown after ls and also cd and also after sh. Click enter and click yes all the way through until it tells you that the driver installation has been completed. Type in reboot and click enter again.

I hope this clears your problem. John.

Link to comment
Share on other sites

The answer is likely as simple as running the driver install routine again. This is because xorg gets corrupted so by doing the reinstall routine you set it up correctly again.

 

When you reboot and get the command line again, type root, click enter then type in your root password then type in ls /<wherever you have saved the nvidia driver> and click enter. If this shows your nvidia driver then type in cd /<wherever you have saved the nvidia driver> and click enter. Type in sh < the full title of the nvidia driver> EXACTLY as it is shown.  Note the spaces I have shown after ls and also cd and also after sh. Click enter and click yes all the way through until it tells you that the driver installation has been completed. Type in reboot and click enter again. 

I hope this clears your problem.                              John.

 

ok, i have tried the above and a couple of other things such as running ./nvidia-installer and ./nvidia-installer --add-this-kernel and rpm -qa | grep kernel

 

below is log for the installer when it errors out:

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Fri Sep 23 23:58:13 2005

 

option status:

license pre-accepted : false

update : false

force update : false

expert : false

uninstall : false

driver info : false

no precompiled interface: false

no ncurses color : false

query latest driver ver : false

OpenGL header files : true

no questions : false

silent : false

no backup : false

kernel module only : false

sanity : false

add this kernel : false

no runlevel check : false

no network : false

no ABI note : false

no RPMs : false

force tls : (not specified)

force compat32 tls : (not specified)

X install prefix : /usr/X11R6

OpenGL install prefix : /usr

compat32 install prefix : (not specified)

installer install prefix: /usr

utility install prefix : /usr

kernel name : (not specified)

kernel include path : (not specified)

kernel source path : (not specified)

kernel output path : (not specified)

kernel install path : (not specified)

proc mount point : /proc

ui : (not specified)

tmpdir : /root/tmp

ftp mirror : ftp://download.nvidia.com

RPM file list : (not specified)

 

Using: nvidia-installer ncurses user interface

-> License accepted.

-> There appears to already be a driver installed on your system (version: 1.0-

7676). As part of installing this driver (version: 1.0-7676), the existing

driver will be uninstalled. Are you sure you want to continue? ('no' will a

bort installation) (Answer: Yes)

-> A precompiled kernel interface for kernel 'Linux 2.6.11-6mdk #1 Tue Mar 22

16:04:32 CET 2005 i686' has been found here:

./usr/src/nv/precompiled/precompiled-nv-linux.o-1.0-7676.1124722907.

executing: 'cd ./usr/src/nv; /usr/bin/ld -d -r -o nvidia.ko precompiled-nv-l

inux.o nv-kernel.o'...

-> Kernel module linked successfully.

ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely

because the kernel module was built using the wrong kernel source files.

Please make sure you have installed the kernel source files for your

kernel; on Red Hat Linux systems, for example, be sure you have the

'kernel-source' rpm installed. If you know the correct kernel source

files are installed, you may specify the kernel source path with the

'--kernel-source-path' commandline option.

-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':

-1 Invalid module format

-> Kernel messages:

Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.0.102 DST=224.0.0.251

LEN=111 TOS=0x00 PREC=0x00 TTL=255 ID=9 DF PROTO=UDP SPT=5353 DPT=5353

LEN=91

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.0.102 DST=224.0.0.251

LEN=111 TOS=0x00 PREC=0x00 TTL=255 ID=10 DF PROTO=UDP SPT=5353 DPT=5353

LEN=91

ISO 9660 Extensions: Microsoft Joliet Level 1

ISOFS: changing to secondary root

ISO 9660 Extensions: Microsoft Joliet Level 3

ISO 9660 Extensions: RRIP_1991A

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686

gcc-3.4'

ERROR: Installation has failed. Please see the file

'/var/log/nvidia-installer.log' for details. You may find suggestions

on fixing installation problems in the README available on the Linux

driver download page at www.nvidia.com.

Link to comment
Share on other sites

Maybe with the X updates it rendered your precompiled drivers bad (I know it does that with kernel updates), dunno. Try ./nvidia-installer --uninstall and then re-run it.

 

that did it! then i ran the command aussiejohn supplied and now im back in business. very much appreciated you two.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...