You are not logged in.

#1 2005-12-17 08:12:00

NecroRomancist
Member
Registered: 2005-01-02
Posts: 53

Nvidia and new kernel

First of all sorry is this is not the right place to put this but after the last kernel update i can't compile the nvidia drivers.It seems that the kernel was compiled with gcc 4.1 and the gcc in current is 4.0.2.
Output of nvidia-installer.log:

Using built-in stream user interface
-> License accepted by command line option.
-> There appears to already be a driver installed on your system (version: 1.0-
   7676).  As part of installing this driver (version: 1.0-8174), the existing
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> Not probing for precompiled kernel interfaces.
-> Performing CC test with CC="cc".
-> gcc-version-check failed:
   
   The compiler used to compile the kernel (gcc 4.1) does not exactly match the
   current compiler (gcc 4.0).  The Linux 2.6 kernel module loader rejects kern
   el modules built with a version of gcc that does not exactly match that of t
   he compiler used to build the running kernel.
   
   If you know what you are doing and want to ignore the gcc version check, sel
   ect "No" to continue installation.  Otherwise, select "Yes" to abort install
   ation, set the CC environment variable to the name of the compiler used to c
   ompile your kernel, and restart installation.  Abort now? (Answer: Yes)
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.

Thanks

Offline

#2 2005-12-17 09:25:35

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Nvidia and new kernel

Yes. kernel.log tells gcc version 4.1. Nvidia won´t install here too. Argh :twisted:

Offline

#3 2005-12-17 09:26:45

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: Nvidia and new kernel

i'm working on a solution please be patient.

Offline

#4 2005-12-17 10:50:17

dragonajie
Member
From: Dragonmount, near the Isle of
Registered: 2005-12-06
Posts: 32

Re: Nvidia and new kernel

Hi,

I upgraded to the latest nvidia driver today and ran into this.

# pacman -S nvidia
 
 
  Targets: nvidia-1.0.8174-1
 
  Total Package Size:   5.9 MB
 
Proceed with upgrade? [Y/n]   
  checking package integrity... done.
  loading package data... done.
  checking for file conflicts... done.
  installing nvidia... done.
  IMPORTANT
  ==> In order to use the software, you have to agree to NVIDIA's license located in
  ==> /usr/share/doc/NVIDIA_GLX-1.0/LICENSE else please remove this package
  Installation starts now ...
  INSTALLATION FAILED!
  ==> You have to shutdown Xserver to finish installation! You have to rerun 'pacman -S nvidia'
  ==> Other installation errors can be found at: /var/log/nvidia-installer.log
  If you need more information about setting up nvidia drivers have a look at:
  "http://wiki.archlinux.org/index.php/How … DIA_driver"
 
  rm: cannot remove `/usr/lib/libGL.la': No such file or directory
  FATAL: Module nvidia not found.

removing the drivers gave me this:

# pacman -R nvidia
 
  removing nvidia... ==> Deinstallation starts now!
  ==> Don't forget to update your /etc/X11/XF86Config or /etc/X11/xorg.conf!
  done.
 
  ERROR: Module nvidia does not exist in /proc/modules

i'm now using "nv". sad i ran pacman in CLI. what did i do wrong?


"The Future Makes Fools of Experts and Visionaries of Lunatics" -Darcy Wilson, CHIP-

Offline

#5 2005-12-17 13:20:37

Richie
Member
From: Leverkusen, Germany
Registered: 2003-12-10
Posts: 22

Re: Nvidia and new kernel

Just do a

pacman -S testing/gcc

That'll fix it.

Offline

#6 2005-12-17 13:38:46

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Nvidia and new kernel

No way. I guess that would break lots of other things too at the moment.

Better would be a new kernel release compiled with gcc from current.

Offline

#7 2005-12-17 14:22:31

Richie
Member
From: Leverkusen, Germany
Registered: 2003-12-10
Posts: 22

Re: Nvidia and new kernel

You can install testing/gcc, install nvidia and return to current/gcc.
Shouldn't break anything...
At least for me it worked nice. (I still have testing/gcc)

Offline

#8 2005-12-17 15:36:17

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: Nvidia and new kernel

You shouldn't have to do this. :-/
The best fix is a kernel compiled with the gcc from current.

Offline

#9 2005-12-17 15:42:07

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: Nvidia and new kernel

new kernel will come soon, nvidia cannot be patched, gcc 4.0.2 kernel built will come as fast ass possible

Offline

#10 2005-12-17 16:00:59

thorstenhirsch
Member
Registered: 2005-08-03
Posts: 102

Re: Nvidia and new kernel

FYI: I could load the module with "modprobe --force-vermagic". However, I couldn't start X with it. Error message "couldn't load nvidia".

Offline

#11 2005-12-17 16:14:54

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: Nvidia and new kernel

in 2 hours new kernel will go online so please be patient, thanks

Offline

#12 2005-12-17 16:52:49

jondkent
Member
From: London
Registered: 2005-09-13
Posts: 123

Re: Nvidia and new kernel

Hi,

When will the new kernel be availabe?  Been more than a few hours  sad

Would be nice to have X back again without having to downgrade the kernel.

Cheers,

Jon

Offline

#13 2005-12-17 17:21:47

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Nvidia and new kernel

jondkent wrote:

When will the new kernel be availabe?  Been more than a few hours  sad

tpowa, one post and approx 40 minutes before wrote:

in 2 hours new kernel will go online so please be patient, thanks

Hope that answers your question.

Offline

#14 2005-12-17 17:22:56

jondkent
Member
From: London
Registered: 2005-09-13
Posts: 123

Re: Nvidia and new kernel

In todays arch digest tpowa mentions that you could use nvidia from testing, however I cannot see it.  Whats going on?

Jon

Offline

#15 2005-12-17 17:25:36

jondkent
Member
From: London
Registered: 2005-09-13
Posts: 123

Re: Nvidia and new kernel

Cerebral wrote:
jondkent wrote:

When will the new kernel be availabe?  Been more than a few hours  sad

tpowa,one post before wrote:

in 2 hours new kernel will go online so please be patient, thanks

Hope that answers your question.

Sorry looked at the Wiki time and assumed is what the in the TZ as me, which is obviously is not, whoops  :oops:


Jon

Offline

#16 2005-12-17 17:26:50

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Nvidia and new kernel

Maybe I'm missing something -- "nv" works just fine here.  Is there some reason that folks can't just use that until the new kernel is available?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#17 2005-12-17 17:30:01

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Nvidia and new kernel

not with TwinVIew :-(

Offline

#18 2005-12-17 17:38:56

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Nvidia and new kernel

jondkent wrote:

Sorry looked at the Wiki time and assumed is what the in the TZ as me, which is obviously is not, whoops  :oops:

I suggest you hit the "profile" link at the top of the forum and set your time zone appropriately, so the times listed on the posts are accurate. wink

Offline

#19 2005-12-17 17:52:08

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: Nvidia and new kernel

launched new kernel atm, wait until mirrors get synced, have a nice weekend
greetings
tpowa

Offline

#20 2005-12-17 17:58:36

depi
Member
From: EU - Slovakia
Registered: 2005-12-07
Posts: 39
Website

Re: Nvidia and new kernel

tpowa wrote:

launched new kernel atm, wait until mirrors get synced, have a nice weekend
greetings
tpowa

thanks very much tpowa! smile

Offline

#21 2005-12-17 18:17:04

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: Nvidia and new kernel

Yep, thanks for the response! smile
note: I didn't reboot to the new kernel yet - I guess I'll have to wait until my mirror gets the correct one before smile

Offline

#22 2005-12-17 19:31:01

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Nvidia and new kernel

For me it works now fine. Seems to be solved.

Offline

#23 2005-12-28 16:18:48

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

Re: Nvidia and new kernel

Yeah I just compiled my own kernel, after much headache with that initrd...


"The ecological crisis is a moral issue."

Offline

Board footer

Powered by FluxBB