Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Im Getting Error When Im Trying To Emerge nvidia-kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Naquada
n00b
n00b


Joined: 12 May 2005
Posts: 40

PostPosted: Sat Jul 23, 2005 8:44 am    Post subject: Im Getting Error When Im Trying To Emerge nvidia-kernel Reply with quote

Hey all Can Any one help me ?
im getting error when im trying to emerge nvidia-kernel,nvidia-glx

last night i have emerge -e world and 2 day im having this problem
can any one help :

the errors and the commands

Naquada ~ # emerge nvidia-kernel
Calculating dependencies - ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.7667 to /
>>> md5 files ;-) nvidia-kernel-1.0.7664.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.7167-r1.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.7174.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.6629-r4.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.6111-r3.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.6629-r1.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.7667.ebuild
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.6111-r3
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.6629-r1
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.6629-r4
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7167-r1
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7174
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7664
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7667
>>> md5 files ;-) files/nvidia
>>> md5 files ;-) files/1.0.6111/nv-pci_find_class.patch
>>> md5 files ;-) files/1.0.6111/conftest_koutput_includes.patch
>>> md5 files ;-) files/1.0.6111/power-suspend-2.6.9-changes.patch
>>> md5 files ;-) files/1.0.6111/vmalloc-reserve.patch
>>> md5 files ;-) files/1.0.6111/nv_enable_pci.patch
>>> md5 files ;-) files/1.0.6111/nv-remap-range.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1161283.patch
>>> md5 files ;-) files/1.0.6629/nv-shutup-warnings.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1165235.patch
>>> md5 files ;-) files/1.0.6629/nv-disable-preempt-on-smp_processor_id.patch
>>> md5 files ;-) files/1.0.6629/conftest_koutput_includes.patch
>>> md5 files ;-) files/1.0.6629/nv-amd64-shutup-warnings.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1189413.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1175225.patch
>>> md5 files ;-) files/1.0.6629/nv-fix-memory-limit.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1162524.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-agp_bridge_data.patch
>>> md5 files ;-) files/1.0.6629/nv-pgprot-speedup.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1155389.patch
>>> md5 files ;-) files/1.0.6629/nv-pgd_offset.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1182399.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1171869.patch
>>> md5 files ;-) files/1.0.6629/nv-vm_flags-no-VM_LOCKED.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1201042.diff
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1233959.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1237815.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-conftest-koutput-includes.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-x86-shutup-warnings.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-7667-pkg2.run
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.12-gentoo-r5

* getfilevar requires 2 variables, with the second a valid file.
* getfilevar <VARIABLE> <CONFIGFILE>
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: media-video/nvidia-kernel-1.0.7667 failed.
!!! Function linux-info_pkg_setup, Line 521, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.

Naquada ~ # emerge nvidia-glx
Calculating dependencies - \ | ...done!
>>> emerge (1 of 2) media-video/nvidia-kernel-1.0.7667 to /
>>> md5 files ;-) nvidia-kernel-1.0.7664.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.7167-r1.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.7174.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.6629-r4.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.6111-r3.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.6629-r1.ebuild
>>> md5 files ;-) nvidia-kernel-1.0.7667.ebuild
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.6111-r3
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.6629-r1
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.6629-r4
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7167-r1
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7174
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7664
>>> md5 files ;-) files/digest-nvidia-kernel-1.0.7667
>>> md5 files ;-) files/nvidia
>>> md5 files ;-) files/1.0.6111/nv-pci_find_class.patch
>>> md5 files ;-) files/1.0.6111/conftest_koutput_includes.patch
>>> md5 files ;-) files/1.0.6111/power-suspend-2.6.9-changes.patch
>>> md5 files ;-) files/1.0.6111/vmalloc-reserve.patch
>>> md5 files ;-) files/1.0.6111/nv_enable_pci.patch
>>> md5 files ;-) files/1.0.6111/nv-remap-range.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1161283.patch
>>> md5 files ;-) files/1.0.6629/nv-shutup-warnings.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1165235.patch
>>> md5 files ;-) files/1.0.6629/nv-disable-preempt-on-smp_processor_id.patch
>>> md5 files ;-) files/1.0.6629/conftest_koutput_includes.patch
>>> md5 files ;-) files/1.0.6629/nv-amd64-shutup-warnings.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1189413.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1175225.patch
>>> md5 files ;-) files/1.0.6629/nv-fix-memory-limit.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1162524.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-agp_bridge_data.patch
>>> md5 files ;-) files/1.0.6629/nv-pgprot-speedup.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1155389.patch
>>> md5 files ;-) files/1.0.6629/nv-pgd_offset.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1182399.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1171869.patch
>>> md5 files ;-) files/1.0.6629/nv-vm_flags-no-VM_LOCKED.patch
>>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1201042.diff
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1233959.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1237815.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-conftest-koutput-includes.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-x86-shutup-warnings.patch
>>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-7667-pkg2.run
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.12-gentoo-r5

* getfilevar requires 2 variables, with the second a valid file.
* getfilevar <VARIABLE> <CONFIGFILE>
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: media-video/nvidia-kernel-1.0.7667 failed.
!!! Function linux-info_pkg_setup, Line 521, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Sat Jul 23, 2005 8:54 am    Post subject: Reply with quote

Hi.

If you do
Code:
uname -r
does it report 2.6.12-r5?

If not you have set the symlink flag and emerged a new kernel.
You have to change the symlink /usr/src/linux to point to your
running kernel that you build. Then it should find the config.

The nvidia search for /usr/src/linux and not the right way of
checking the running kernel by /lib/modules/2.6.12-gentoo-r5/build
that always point to the running kernel source.
Back to top
View user's profile Send private message
Naquada
n00b
n00b


Joined: 12 May 2005
Posts: 40

PostPosted: Sat Jul 23, 2005 9:09 am    Post subject: Reply with quote

Yep when i uname -r im getting 2.6.12-gentoo-r5
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Sat Jul 23, 2005 9:27 am    Post subject: Reply with quote

Yep. Then we have to check that the config exist's and that
the mtrr is set in the config.

Look for the .config file in the /usr/src/linux , if it's there do
Code:
cat /usr/src/linux/.config |grep MTRR

It should return
Quote:

CONFIG_MTRR=y

Do you use genkernel or do you do manualy config?
Back to top
View user's profile Send private message
Naquada
n00b
n00b


Joined: 12 May 2005
Posts: 40

PostPosted: Sat Jul 23, 2005 9:35 am    Post subject: Reply with quote

i belive that i dont got this file

Naquada ~ # cd /usr/src/linux
Naquada linux # ls
COPYING Makefile crypto init mm security
CREDITS README drivers ipc net sound
Documentation REPORTING-BUGS fs kernel patches.txt usr
MAINTAINERS arch include lib scripts
Naquada linux # .config



i have manualy config
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Sat Jul 23, 2005 10:27 am    Post subject: Reply with quote

Hi.

It is a hidden file.
Code:
ls -a /usr/src/linux
should show the file.
Back to top
View user's profile Send private message
Naquada
n00b
n00b


Joined: 12 May 2005
Posts: 40

PostPosted: Sat Jul 23, 2005 12:27 pm    Post subject: Reply with quote

ls -a /usr/src/linux
. Documentation REPORTING-BUGS fs kernel patches.txt usr
.. MAINTAINERS arch include lib scripts
COPYING Makefile crypto init mm security
CREDITS README drivers ipc net sound


nope cant find it
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Sat Jul 23, 2005 12:50 pm    Post subject: Reply with quote

Ok.

Do
Code:
ls /proc
and se if you have a config.gz.

If you have one then copy this to /usr/src/linux and gunzip it.
rename it to .config.

Then you have the running config in the source directory.
[/code]
Back to top
View user's profile Send private message
Naquada
n00b
n00b


Joined: 12 May 2005
Posts: 40

PostPosted: Sat Jul 23, 2005 1:10 pm    Post subject: Reply with quote

Thx Man
Now Its Working !!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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