You are not logged in.

#401 2012-04-13 11:59:19

dontbugme
Banned
Registered: 2011-11-04
Posts: 166
Website

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

nous wrote:
dontbugme wrote:

I'm trying to install aufs3-util from AUR. I already added

export CPPFLAGS="-I /usr/src/linux-$(uname -r)/include"

in the build() of the PKGBUILD. But still, I only receive an error:

/usr/src/linux-3.2-pf/include/linux/aufs_type.h:179:27: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token

during the make process.
According to the README of aufs3-util I'm supposed to execute a make headers_install in the Linux source (/usr/src/linux-$(uname -r)/). (Something which could theoretically be added to the linux-pf{,-headers} PKGBUILD, I suppose.) But this only yields the following:

  CHK     include/linux/version.h
/usr/src/linux-3.2-pf/scripts/Makefile.headersinst:14: /usr/src/linux-3.2-pf/include/Kbuild: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.2-pf/include/Kbuild'.  Stop.
make: *** [headers_install] Error 2

There seems to some missing files in the linux-headers-pf(-k8 for me).

Please download linux-pf from the AUR and edit the PKGBUILD at around line 66 as follows:

#        rm -f include/linux/Kbuild
        mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
        mv include/linux/Kbuild "${pkgdir}/usr/src/linux-${_kernver}/include/"
        cd ..

Then makepkg as normal, install the resulting linux-pf-headers-k8 and retry building aufs3-util. I don't use aufs3 at all...

I've tried that and it still didn't work for me. In the README of aufs3 they even say that one shouldn't copy the Kbuild to the src. I also tried the linux-aufs_friendly in the AUR, looked at some PKGBUILDs of the Chakra Project and Arch Linux ARM, but didn't find out why make headers_install isn't workin and without this the aufs3-util won't work either. But I really don't want to bug you anymore considering that you don't use aufs yourself. I will keep on looking for a solution and if I find one I'll report back in here. wink

Offline

#402 2012-04-13 20:15:27

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

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

dontbugme wrote:

I've tried that and it still didn't work for me. In the README of aufs3 they even say that one shouldn't copy the Kbuild to the src. I also tried the linux-aufs_friendly in the AUR, looked at some PKGBUILDs of the Chakra Project and Arch Linux ARM, but didn't find out why make headers_install isn't workin and without this the aufs3-util won't work either. But I really don't want to bug you anymore considering that you don't use aufs yourself. I will keep on looking for a solution and if I find one I'll report back in here. wink

Thanks, when you find it I'll incorporate the fix ASAP.

Offline

#403 2012-04-14 04:22:06

gee
Member
Registered: 2006-11-29
Posts: 242

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

nous wrote:
gee wrote:

Hey nous, what would you think of including zcache as part of this kernel?
Anyone ever tried it? It seems interesting technology.

It's already there (in staging), along with zram.

I thought it was not built as part of the kernel, and it did not support being built as a module.
Have you tried it? Any feedback?

Thanks!

Offline

#404 2012-04-14 14:39:42

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

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

gee wrote:
nous wrote:
gee wrote:

Hey nous, what would you think of including zcache as part of this kernel?
Anyone ever tried it? It seems interesting technology.

It's already there (in staging), along with zram.

I thought it was not built as part of the kernel, and it did not support being built as a module.
Have you tried it? Any feedback?

Thanks!

To be honest, I wasn't actually aware of zcache. I enabled it on a heavy loaded box with "only" 2 GBs of RAM, which often froze when swapping. I'll see how it goes now.

Offline

#405 2012-04-14 16:38:38

kostett
Member
From: Archangelsk, Russia
Registered: 2012-04-14
Posts: 34

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

nous, thanks for your maintainer's work, but could you include into kernel the hibernate's allocator? I have some problems with using tuxonice (modules version). Also, if you know russian language, you'll can read the thread (clickable), where I described my problem completely. Thank you.

Offline

#406 2012-04-15 07:30:09

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

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

nous, could we leave Makefile's SUBLEVEL value empty? Even not zero, but empty.


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#407 2012-04-16 19:40:54

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

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

post-factum wrote:

nous, could we leave Makefile's SUBLEVEL value empty? Even not zero, but empty.

I'm not sure I understand the question, but I deliberately strip the SUBLEVEL value from the kernel Makefile so as minor version bumps, which are anyway just bugfixes, won't obsolete precompiled modules like nvidia or virtualbox.

Offline

#408 2012-04-16 20:28:01

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

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

kostett wrote:

nous, thanks for your maintainer's work, but could you include into kernel the hibernate's allocator? I have some problems with using tuxonice (modules version). Also, if you know russian language, you'll can read the thread (clickable), where I described my problem completely. Thank you.

Are the tuxonice_* modules loaded? Run 'lsmod|grep tuxonice' to check. If not, modprobe tuxonice_swap and retry. You might need to recreate the initramfs, if something went wrong during the installation and you missed it ('mkinitcpio -p linux-pf').

Have you followed all the installation steps from the linux-pf wiki page?

Last edited by nous (2012-04-16 20:30:55)

Offline

#409 2012-04-23 15:02:27

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

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

Any objections on merging VServer into pf-3.4?


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#410 2012-04-24 21:04:22

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

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

post-factum wrote:

Any objections on merging VServer into pf-3.4?

It can be modularized, right? Since this is a patch addressing a very specific (and narrow) audience, we wouldn't want it to clutter the kernel, eh? Also, I see on the VServer wiki that the kernel configuration options are quite extensive; please provide me with some sane defaults.

Offline

#411 2012-04-25 20:36:03

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

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

nous wrote:

It can be modularized, right? Since this is a patch addressing a very specific (and narrow) audience, we wouldn't want it to clutter the kernel, eh? Also, I see on the VServer wiki that the kernel configuration options are quite extensive; please provide me with some sane defaults.

Well, I guess it might be compiled as a module. I haven't investigate it quite well yet. I'll provide defaults in case of merging.


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#412 2012-04-25 23:31:42

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

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

nous, one more question. What about creating centralized forum for pf-kernel? I could set up it on my server and create there sections dedicated to different distros, such as Arch and Gentoo.


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#413 2012-04-26 20:09:33

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

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

post-factum wrote:

nous, one more question. What about creating centralized forum for pf-kernel? I could set up it on my server and create there sections dedicated to different distros, such as Arch and Gentoo.

Well, just set it up and see how it goes.

Offline

#414 2012-04-27 16:31:38

post-factum
Member
From: /ukraine/kyiv
Registered: 2008-09-12
Posts: 82
Website

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

You are welcome to visit pf-kernel community forum: http://pf.natalenko.name/forum/


Linux spock 4.4.0-pf1 #1 SMP PREEMPT Mon Jan 18 11:03:05 UTC 2016 x86_64 GNU/Linux

Offline

#415 2012-04-28 21:58:36

gee
Member
Registered: 2006-11-29
Posts: 242

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

nous wrote:
gee wrote:
nous wrote:

It's already there (in staging), along with zram.

I thought it was not built as part of the kernel, and it did not support being built as a module.
Have you tried it? Any feedback?

Thanks!

To be honest, I wasn't actually aware of zcache. I enabled it on a heavy loaded box with "only" 2 GBs of RAM, which often froze when swapping. I'll see how it goes now.

How did it go?

Offline

#416 2012-04-29 06:24:08

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

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

I created a tp_smapi-pf module in AUR for ThinkPad owners.
https://aur.archlinux.org/packages.php?ID=58854


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#417 2012-04-29 06:53:37

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

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

I've got this problem with Tux hibernation. Computer hibernates fine, but upon restore, it just boots up as if it was shut down.

I quadruple-checked everything according to the wiki and nous' previous suggestions from this thread.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#418 2012-04-29 12:24:28

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

Lockheed wrote:

I created a tp_smapi-pf module in AUR for ThinkPad owners.
https://aur.archlinux.org/packages.php?ID=58854

Hey lockheed, as far as I understand, this pkg may be considered (though need not necessarily) redundant, since tp_smapi pkg from AUR will be installed as tp_smapi-$kernver according to kernel on which the build process is run (ck-corex in my case).

Offline

#419 2012-04-29 12:28:59

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

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

That would be good news, but then what would be the point of this:
https://aur.archlinux.org/packages.php?ID=48087


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#420 2012-04-29 12:32:12

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

I don’t know, I don’t use it.

edit: So yes, I think (or better believe, since there might be a point for those pkgs that I’m just not able to see) that this pkg is redundant, too.

edit2: Sorry, I was fully mistaken. I mixed up the pkgs!

Last edited by jakob (2012-04-29 23:12:29)

Offline

#421 2012-04-29 16:27:24

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

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

Lockheed wrote:

I've got this problem with Tux hibernation. Computer hibernates fine, but upon restore, it just boots up as if it was shut down.

I quadruple-checked everything according to the wiki and nous' previous suggestions from this thread.

Please report with a complete dmesg before and after hibernation, and all relevant config files (mkinitcpio.conf mostly, but also those in /etc/hibernate).

Offline

#422 2012-04-29 18:02:29

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

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

Here's what's happening:

hibernate -F /etc/hibernate/tuxonice.conf goes fine first time after reboot, but then there is no resume, but just regular boot.
If I then try to hibernate again, I get:

hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - No swapspace was available. Try swapon?
[juha@panzor ~]$ sudo hibernate -F /etc/hibernate/tuxonice.conf
hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - No swapspace was available. Try swapon?

dmesg after first reboot and failed resume: http://pastebin.com/dp0aAyeq
dmesg after failed hibernation: http://pastebin.com/EihcvV94
mkinitcpio.conf: http://pastebin.com/HNQjC6S0
common.conf: http://pastebin.com/kSbjKZzv
tuxonice.conf: http://pastebin.com/dqxqQGPd
hibernate.conf is as per wiki


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#423 2012-04-29 21:11:38

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

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

Lockheed wrote:

Here's what's happening:

hibernate -F /etc/hibernate/tuxonice.conf goes fine first time after reboot, but then there is no resume, but just regular boot.
If I then try to hibernate again, I get:

hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - No swapspace was available. Try swapon?
[juha@panzor ~]$ sudo hibernate -F /etc/hibernate/tuxonice.conf
hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - No swapspace was available. Try swapon?

dmesg after first reboot and failed resume: http://pastebin.com/dp0aAyeq
dmesg after failed hibernation: http://pastebin.com/EihcvV94
mkinitcpio.conf: http://pastebin.com/HNQjC6S0
common.conf: http://pastebin.com/kSbjKZzv
tuxonice.conf: http://pastebin.com/dqxqQGPd
hibernate.conf is as per wiki

Hmm...

[    1.486252] TuxOnIce: It looks like we need module userui for reading the image but it hasn't been registered.
[    1.486254]
[    1.486256] TuxOnIce: Failed to read TuxOnIce module configurations.

Try adding tuxonice_userui to mkinitcpio.conf and running 'mkinitcpio -p linux-pf' afterwards. Then, 'hibernate -r1' and see what happens. If it works, then the userui is mandatory and I'll update the wiki. Don't forget to mkswap and swapon your swap partition.

Offline

#424 2012-04-29 23:09:12

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

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

jakob wrote:

I don’t know, I don’t use it.

edit: So yes, I think (or better believe, since there might be a point for those pkgs that I’m just not able to see) that this pkg is redundant, too.

Sorry guys, I made a huge mistake! I totally mixed up tp_smapi and tp_smap-ck! Without investigating and checking back, I just stated plain wrong things in that post.

I just built tp_smapi on a linux-pf and it DIDN'T turn out tp_smapi-ck-corex, so I think I have to withdraw that claim of the redundancy of kernel specific tp_smapi pkgs.

I'm really sorry!

Best, Jakob

Offline

#425 2012-04-30 06:21:02

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

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

jakob wrote:

I just built tp_smapi on a linux-pf and it DIDN'T turn out tp_smapi-ck-corex, so I think I have to withdraw that claim of the redundancy of kernel specific tp_smapi pkgs.

Why would you expect a -ck kernel element to be installed on a -pf kernel?
I removed all kernel-specific smapis and instlaled tp_smapi on my pf kernel. A boot time, there are no modules missing so I think your initial statement was correct.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

Board footer

Powered by FluxBB