Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Tue Aug 24, 2004 8:00 am    Post subject: nvidia problem Reply with quote

i just did emerge -uD world.......during the process my glibc was upgraded........after that i had some problem with loading drivers so i had to recompile my kernel which went off fine.........but then the nvidia-kernel stopped compiling :(......it just goes off just after unpacking saying "failed to compile nvidia.ko, function src_compile failed"......what should i do....now i can't have an X......i have tried using nv driver but that didn't work out.

thnx in adv
Saurabh
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Tue Aug 24, 2004 11:15 am    Post subject: Re: nvidia problem Reply with quote

sobers_2002 wrote:
i just did emerge -uD world.......during the process my glibc was upgraded........after that i had some problem with loading drivers so i had to recompile my kernel which went off fine.........but then the nvidia-kernel stopped compiling :(......it just goes off just after unpacking saying "failed to compile nvidia.ko, function src_compile failed"......what should i do....now i can't have an X......i have tried using nv driver but that didn't work out.

thnx in adv
Saurabh


Hey there,

What nvidia driver are you trying to use and can you give some more lines from the compile error ?


scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
thraxil
n00b
n00b


Joined: 04 Apr 2003
Posts: 46
Location: nyc

PostPosted: Tue Aug 24, 2004 5:51 pm    Post subject: Reply with quote

i'm probably having the same problem as sobers_2002. when i try to emerge nvidia-kernel, i get:

Code:
...
make -f scripts/Makefile.build obj=net/ipv4/netfilter
make -f scripts/Makefile.build obj=net/netlink
make -f scripts/Makefile.build obj=net/packet
make -f scripts/Makefile.build obj=net/sched
make -f scripts/Makefile.build obj=net/sunrpc
make -f scripts/Makefile.build obj=net/unix
make -f scripts/Makefile.build obj=net/xfrm
make -f scripts/Makefile.build obj=lib
make -f scripts/Makefile.build obj=arch/i386/lib
  Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.4/scripts/Makefile.modpost
  scripts/modpost vmlinux arch/i386/kernel/apm.o drivers/net/dummy.o drivers/scsi/ide-scsi.o
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.5336-r4 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! Failed to build module



this is on a 2.6.4 kernel.
Back to top
View user's profile Send private message
psycovic
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 172

PostPosted: Tue Aug 24, 2004 6:20 pm    Post subject: Reply with quote

Try adding the ~x86 version into your package.keywords file and compiling that one. That's version 6111 as far as I know.

Code:
echo "media-video/nvidia-kernel ~x86" >> /etc/portage/package.keywords


If you don't have a /portage/package.keywords, create one.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Tue Aug 24, 2004 9:06 pm    Post subject: Reply with quote

i am already using ( or used to rather :( ) 6111 driver......the error i get is something like this
Quote:
...........somepath......../nv.c:3697 :IN function nv_acpi_event;
...........somepath......../nv.c:3697 :error : 'PM save state' undeclared first use in this function
...........somepath......../nv.c:3697 :error : each undeclared identifier is reported only once
...........somepath......../nv.c:3697 :error :for each function it appears in .)

then 3 make errors which say modules eroor

then NVIDIA left KBUILD
nvidia.ko failed to build
function src_compile, Line 87 . exitcode 2


i have run out of ideaz :((.....som1 plz haalp!!

PS:- the glibc version was upgraded to 20040808.....so is there any possibility on whether it could be non support for that?

thnx in adv
Saurabh
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Tue Aug 24, 2004 10:39 pm    Post subject: Reply with quote

sobers_2002 wrote:
i am already using ( or used to rather :( ) 6111 driver......the error i get is something like this
Quote:
...........somepath......../nv.c:3697 :IN function nv_acpi_event;
...........somepath......../nv.c:3697 :error : 'PM save state' undeclared first use in this function
...........somepath......../nv.c:3697 :error : each undeclared identifier is reported only once
...........somepath......../nv.c:3697 :error :for each function it appears in .)

then 3 make errors which say modules eroor

then NVIDIA left KBUILD
nvidia.ko failed to build
function src_compile, Line 87 . exitcode 2


i have run out of ideaz :((.....som1 plz haalp!!

PS:- the glibc version was upgraded to 20040808.....so is there any possibility on whether it could be non support for that?

thnx in adv
Saurabh


Hey there,

Make certain that the /usr/src/linux symlink points to your new kernel. Also, it appears that it is failing becuase of power management code. Here are my settings for my kernel power management:
Code:

# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_SERIAL_8250_ACPI is not set

_________________
Hope this helps........
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Aug 25, 2004 5:33 am    Post subject: Reply with quote

okay i tried installing manually.....now this is what i got frm error log file
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug 25 11:20:17 2004

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     : false
  no questions            : false
  silent                  : false
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
ERROR: Invalid .manifest file; error on line 64.
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.


the first ERROR seems like the problem.....what is manifest file??
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Aug 25, 2004 7:56 am    Post subject: Reply with quote

okay i tried that......found and removed all probs that i could think of.......had linux 2.4 headers installed.....unmerged them and installed the latest 2.6 headers......re-emerged glibc,gcc but no avail :( :( it still gives the same kinds of errors....herez the exact things
Code:
   /tmp/selfgz18290/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
   `nv_acpi_event':
   /tmp/selfgz18290/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
   `PM_SAVE_STATE' undeclared (first use in this function)
   /tmp/selfgz18290/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
   (Each undeclared identifier is reported only once
   /tmp/selfgz18290/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
   for each function it appears in.)
   make[4]: *** [/tmp/selfgz18290/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.
   o] Error 1
   make[3]: *** [_module_/tmp/selfgz18290/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
   c/nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2


some1 plzzz haalp
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Wed Aug 25, 2004 9:53 am    Post subject: Reply with quote

Hey there,

Since you keep getting different errors, that would lead me to believe that you are dealing with more than one problem. The first thing that I'd do would be to scan through dmesg output and look for and fix any errors in there. If there are none, then I'd completely unmerge nvidia-kernel and nvidia-libs and try and re-emerge them again. If that still fails then I'd completely remove them and try and see what a revdep-rebuild would show. If it shows nothing wrong then I'd do an emerge -ev system and hope that makes everything work out.


scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Aug 25, 2004 3:13 pm    Post subject: Reply with quote

nothing seems to be working here :cry: :cry: :cry: :cry: :cry:
i have tried out the 2.6.8.1-mm4 also still the same probs

EDIT:-- i heard that love sources for mm3 fix this thing.....but i get innumerate "Already patched" lines when i try to patch that kernel....ny ideas on what i could be doin wrong??
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Wed Aug 25, 2004 4:43 pm    Post subject: Reply with quote

sobers_2002 wrote:
nothing seems to be working here :cry: :cry: :cry: :cry: :cry:
i have tried out the 2.6.8.1-mm4 also still the same probs

EDIT:-- i heard that love sources for mm3 fix this thing.....but i get innumerate "Already patched" lines when i try to patch that kernel....ny ideas on what i could be doin wrong??


Hey there,

Try and just use a plain old vanilla kernel.

scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Aug 25, 2004 5:49 pm    Post subject: Reply with quote

Moved from Multimedia.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Aug 25, 2004 5:52 pm    Post subject: Reply with quote

YESSSSSSSSSS!!!! finally things get working with nitro5 for 2.6.8.1 :D :D :D :D :D i am sooooooooooo happy i can't tell you :) :) :)
Back to top
View user's profile Send private message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Wed Aug 25, 2004 7:10 pm    Post subject: Reply with quote

Good for you man, I'm still stuck ;) I've seen more threads about this problem and people keep mentioning nitro...can you tell me what it is? Google doesn't make things clear either.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed Aug 25, 2004 7:17 pm    Post subject: Reply with quote

it is one of the kernel patches like "love" which are out there........search gentoo forum with nitro5 and u will get to the exact page......luck!!

PS:- i dunno but moderator i guess this topic might be made sticky 'cauz lots more ppl are in for this problem
Back to top
View user's profile Send private message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Wed Aug 25, 2004 7:20 pm    Post subject: Reply with quote

Yet another kernel source? Interesting. Thanks!

Edit: Those sources solved it. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum