View previous topic :: View next topic |
Author |
Message |
Naquada n00b
Joined: 12 May 2005 Posts: 40
|
Posted: Sat Jul 23, 2005 8:44 am Post subject: Im Getting Error When Im Trying To Emerge nvidia-kernel |
|
|
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 |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sat Jul 23, 2005 8:54 am Post subject: |
|
|
Hi.
If you do 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 |
|
|
Naquada n00b
Joined: 12 May 2005 Posts: 40
|
Posted: Sat Jul 23, 2005 9:09 am Post subject: |
|
|
Yep when i uname -r im getting 2.6.12-gentoo-r5 |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sat Jul 23, 2005 9:27 am Post subject: |
|
|
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
Do you use genkernel or do you do manualy config? |
|
Back to top |
|
|
Naquada n00b
Joined: 12 May 2005 Posts: 40
|
Posted: Sat Jul 23, 2005 9:35 am Post subject: |
|
|
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 |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sat Jul 23, 2005 10:27 am Post subject: |
|
|
Hi.
It is a hidden file.
Code: | ls -a /usr/src/linux | should show the file. |
|
Back to top |
|
|
Naquada n00b
Joined: 12 May 2005 Posts: 40
|
Posted: Sat Jul 23, 2005 12:27 pm Post subject: |
|
|
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 |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sat Jul 23, 2005 12:50 pm Post subject: |
|
|
Ok.
Doand 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 |
|
|
Naquada n00b
Joined: 12 May 2005 Posts: 40
|
Posted: Sat Jul 23, 2005 1:10 pm Post subject: |
|
|
Thx Man
Now Its Working !!!! |
|
Back to top |
|
|
|