You are not logged in.

#526 2012-07-12 07:39:21

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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...

Offline

#527 2012-07-12 09:19:52

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:
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

#528 2012-07-12 09:29:13

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I'm not sure it's just that. I am compiling for kernel 3.3, but the path is for 3.4

Offline

#529 2012-07-12 09:42:36

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

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

#530 2012-07-12 09:47:59

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Hmm, it still doesn't work.

cat: /usr/lib/modules/extramodules-3.3-pf/version: No such file or directory

Offline

#531 2012-07-12 09:59:46

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

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

#532 2012-07-12 11:00:07

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#533 2012-07-12 21:08:20

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

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

#534 2012-07-12 21:59:24

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#535 2012-07-13 07:35:16

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Have you installed linux-pf-headers?

Offline

#536 2012-07-13 09:23:42

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#537 2012-07-13 09:55:54

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Comment out the last 2 sed lines in build(), as they modify sources for linux 3.4+

Offline

#538 2012-07-13 10:48:09

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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.

Offline

#539 2012-07-13 18:55:27

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:
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

#540 2012-07-14 13:26:52

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

Don't use yaourt, use straight makepkg.

How am I supposed to install something from AUR without yaourt?

Offline

#541 2012-07-14 16:41:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,216

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Lockheed wrote:

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 ? hmm

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

#542 2012-07-14 18:45:55

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

by simply adding the archlinuxfr repo?

Offline

#543 2012-07-15 08:38:13

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#544 2012-07-15 13:49:18

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I give up. Copy nvidia.ko by hand to /lib/modules/extramodules-3.3-pf/.

Offline

#545 2012-07-17 08:52:02

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#546 2012-07-17 09:19:39

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,423

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#547 2012-07-17 10:47:07

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

@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

#548 2012-07-18 05:19:57

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,423

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

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

#549 2012-07-18 07:52:16

Lockheed
Member
Registered: 2010-03-16
Posts: 1,527

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

@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

#550 2012-07-18 20:40:40

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

kokoko3k wrote:

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

Board footer

Powered by FluxBB