You are not logged in.
Not in my home system, it crashes _very_ regularly xorg when I play video.
Ok, thanks. But I am running into an issue. I am getting this error when I am trying to install it:
==> Building and installing package
cat: /lib/modules/extramodules-3.4-pf/version: No such file or directory
==> ERROR: An unknown error has occurred. Exiting...
Offline
nous wrote:Not in my home system, it crashes _very_ regularly xorg when I play video.
Ok, thanks. But I am running into an issue. I am getting this error when I am trying to install it:
==> Building and installing package cat: /lib/modules/extramodules-3.4-pf/version: No such file or directory ==> ERROR: An unknown error has occurred. Exiting...
Ah, thanks for pointing out. PKGBUILD was in need of fixing this /lib to /usr/lib transition. Will upload updated AUR and precompiled soonest.
Offline
I'm not sure it's just that. I am compiling for kernel 3.3, but the path is for 3.4
Offline
I'm not sure it's just that. I am compiling for kernel 3.3, but the path is for 3.4
But of course, it's for the corresponding linux-pf at the AUR. If you're using older versions, you'll have to edit the version number in the PKGBUILD.
Offline
Hmm, it still doesn't work.
cat: /usr/lib/modules/extramodules-3.3-pf/version: No such file or directory
Offline
Hmm, it still doesn't work.
cat: /usr/lib/modules/extramodules-3.3-pf/version: No such file or directory
With kmod=9-2 from [testing] all modules are expected to reside in /usr/lib/modules; edit the '/usr' part out from the PKGBUILD wherever it appears.
Offline
Do you mean those lines?
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
Cause then I get
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
Last edited by Lockheed (2012-07-12 11:01:41)
Offline
Do you mean those lines?
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"Cause then I get
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
Does this PKGBUILD work for you?
Offline
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build nvidia-275xx-pf.
==> Restart building nvidia-275xx-pf ? [y/N]
==> ----------------------------------------
Offline
Have you installed linux-pf-headers?
Offline
Forgot about that. But now with headers installed and you PKGBUILD, I am getting a new error:
/usr/src/linux-3.3-pf/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.3-pf/arch/x86/include/asm/uaccess_64.h:53:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/src/linux-3.3-pf/arch/x86/include/asm/uaccess.h:575:0,
from include/linux/poll.h:14,
from /tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h:96,
from /tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv.c:13:
/usr/src/linux-3.3-pf/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.3-pf/arch/x86/include/asm/uaccess_64.h:53:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-mlock.c:15:0:
/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h: At top level:
/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h:114:22: fatal error: asm/system: No such file or directory
compilation terminated.
In file included from /tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-chrdev.c:15:0:
/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h: At top level:
/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h:114:22: fatal error: asm/system: No such file or directory
compilation terminated.
In file included from /tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv.c:13:0:
/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h: At top level:
/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-linux.h:114:22: fatal error: asm/system: No such file or directory
compilation terminated.
make[3]: *** [/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-mlock.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv.o] Error 1
make[3]: *** [/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nv-chrdev.o] Error 1
make[2]: *** [_module_/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build nvidia-275xx-pf.
Offline
Comment out the last 2 sed lines in build(), as they modify sources for linux 3.4+
Offline
Comment out the last 2 sed lines in build(), as they modify sources for linux 3.4+
Done that, but
NVIDIA: left KBUILD.
==> Entering fakeroot environment...
==> Starting package()...
install: missing destination file operand after ‘/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nvidia.ko’
Try 'install --help' for more information.
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build nvidia-275xx-pf.
Offline
nous wrote:Comment out the last 2 sed lines in build(), as they modify sources for linux 3.4+
Done that, but
NVIDIA: left KBUILD. ==> Entering fakeroot environment... ==> Starting package()... install: missing destination file operand after ‘/tmp/yaourt-tmp-juha/aur-nvidia-275xx-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nvidia.ko’ Try 'install --help' for more information. ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build nvidia-275xx-pf.
Don't use yaourt, use straight makepkg.
Offline
Don't use yaourt, use straight makepkg.
How am I supposed to install something from AUR without yaourt?
Offline
How am I supposed to install something from AUR without yaourt?
Are you serious?
https://wiki.archlinux.org/index.php/Ar … Repository
Edit: How did you install yaourt in the first place ?
Last edited by ewaller (2012-07-14 16:47:29)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
by simply adding the archlinuxfr repo?
Offline
Ok, new error:
==> Entering fakeroot environment...
==> Starting package()...
install: missing destination file operand after ‘/home/juha/Desktop/nvidia-pf/nvidia-pf/src/NVIDIA-Linux-x86_64-275.43-no-compat32/kernel/nvidia.ko’
Try 'install --help' for more information.
==> ERROR: A failure occurred in package().
Aborting...
Offline
I give up. Copy nvidia.ko by hand to /lib/modules/extramodules-3.3-pf/.
Offline
I've got a problem compiling the newest kernel:
...
INSTALL /tmp/yaourt-tmp-juha/aur-linux-pf/pkg/linux-pf/lib/firmware/yamaha/ds1e_ctrl.fw
DEPMOD 3.4-pf
/tmp/yaourt-tmp-juha/aur-linux-pf/./PKGBUILD: line 421: depmod: command not found
==> ERROR: A failure occurred in package_linux-pf().
Aborting...
Offline
I see you updated the package today, is the issue with /lib -> /usr/lib fixed?
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
@Lockheed: I never test PKGBUILDs with yaourt. The canon is makepkg. BTW, the newest is 3.4.5-pf.
@kokoko3k: I've added kmod>=9-2 as a dependency and moved to /usr/lib since 3.4.4-pf.
Offline
Ops, you're right, i don't know why, but last time it worked.
...Any clue on why TOI crashes the kernel as soon as it tries to write the image to the disk on an nvidia system?
Works good on an intel one and i've already tried the procsettings suggestions from the wiki specific to nvidia.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
@Lockheed: I never test PKGBUILDs with yaourt. The canon is makepkg. BTW, the newest is 3.4.5-pf.
Turned out to be a problem with $PATH. Solved.
Offline
Ops, you're right, i don't know why, but last time it worked.
...Any clue on why TOI crashes the kernel as soon as it tries to write the image to the disk on an nvidia system?
Works good on an intel one and i've already tried the procsettings suggestions from the wiki specific to nvidia.
No clue, it works fine on 2 nvidia boxen I own. I could email you my /etc/hibernate dir if you'd like.
Offline