View previous topic :: View next topic |
Author |
Message |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Aug 24, 2004 8:00 am Post subject: nvidia problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scoon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/155449604644193d200e61b.gif)
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Tue Aug 24, 2004 11:15 am Post subject: Re: nvidia problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
thraxil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Apr 2003 Posts: 46 Location: nyc
|
Posted: Tue Aug 24, 2004 5:51 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
psycovic Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Jun 2004 Posts: 172
|
Posted: Tue Aug 24, 2004 6:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Aug 24, 2004 9:06 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scoon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/155449604644193d200e61b.gif)
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Tue Aug 24, 2004 10:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed Aug 25, 2004 5:33 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed Aug 25, 2004 7:56 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scoon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/155449604644193d200e61b.gif)
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Wed Aug 25, 2004 9:53 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed Aug 25, 2004 3:13 pm Post subject: |
|
|
nothing seems to be working here
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 |
|
![](templates/gentoo/images/spacer.gif) |
scoon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/155449604644193d200e61b.gif)
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Wed Aug 25, 2004 4:43 pm Post subject: |
|
|
sobers_2002 wrote: | nothing seems to be working here
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 |
|
![](templates/gentoo/images/spacer.gif) |
Deathwing00 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1140581890451d29047ad41.jpg)
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Wed Aug 25, 2004 5:49 pm Post subject: |
|
|
Moved from Multimedia. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed Aug 25, 2004 5:52 pm Post subject: |
|
|
YESSSSSSSSSS!!!! finally things get working with nitro5 for 2.6.8.1 i am sooooooooooo happy i can't tell you ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RikBlankestijn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/10506872693fef05c1ec6e9.png)
Joined: 01 May 2003 Posts: 315 Location: Arnhem the Netherlands
|
Posted: Wed Aug 25, 2004 7:10 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed Aug 25, 2004 7:17 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
RikBlankestijn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/10506872693fef05c1ec6e9.png)
Joined: 01 May 2003 Posts: 315 Location: Arnhem the Netherlands
|
Posted: Wed Aug 25, 2004 7:20 pm Post subject: |
|
|
Yet another kernel source? Interesting. Thanks!
Edit: Those sources solved it. Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|