You are not logged in.
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.
Offline
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.
Thanks, when you find it I'll incorporate the fix ASAP.
Offline
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
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
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
nous, could we leave Makefile's SUBLEVEL value empty? Even not zero, but empty.
uname == latest pf-kernel
Offline
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
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
Any objections on merging VServer into pf-3.4?
uname == latest pf-kernel
Offline
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
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.
uname == latest pf-kernel
Offline
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.
uname == latest pf-kernel
Offline
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
You are welcome to visit pf-kernel community forum: http://pf.natalenko.name/forum/
uname == latest pf-kernel
Offline
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
I created a tp_smapi-pf module in AUR for ThinkPad owners.
https://aur.archlinux.org/packages.php?ID=58854
Offline
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.
Offline
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
That would be good news, but then what would be the point of this:
https://aur.archlinux.org/packages.php?ID=48087
Offline
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
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
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
Offline
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
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
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.
Offline