You are not logged in.

#2501 2015-08-06 05:33:22

kokonut
Member
Registered: 2014-10-17
Posts: 4

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

For any BTRFS users like me, scrubbing once again can cause deadlocks. According to ck's blogspot comments, here, it might be necessary to apply http://ck.kolivas.org/patches/bfs/4.0/4 … gged.patch again.

I am going to go test that.

Offline

#2502 2015-08-06 07:37:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@kokonut - Please do and report back.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2503 2015-08-06 14:50:42

kokonut
Member
Registered: 2014-10-17
Posts: 4

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

@kokonut - Please do and report back.

I am the Anonymous in ck's blog comments.

I btrfs scrubbed three times in a row while web browsing using a kernel with that patched and everything now seems fine. So I assume the patch fixes the deadlocking issue.

I would include as part of the linux-ck packages.

Offline

#2504 2015-08-06 22:56:08

GourdCaptain
Member
Registered: 2009-04-18
Posts: 121

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Is anyone else having crashes on 4.1 similar to the ones experienced with early 4.0 versions? On the linux-ck 4.1 kernel on my netbook (bobcat processor family) it crashes on boot about half the time and under high IO loads. I'm currently testing similar conditions on the stock Arch kernel, and if it runs clean for a day or so more, I'll probably post on the ck blog with this issue.

Offline

#2505 2015-08-06 22:56:21

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

As I comment on [1] I have BTRFS and I disabled NUMA and applied the patch from comments on ck blog. Couple of scrubs, kernel compilation and working with Citrix all day - no issues. I have AMD.
[1] https://aur4.archlinux.org/pkgbase/linux-ck/

Offline

#2506 2015-08-06 23:09:24

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

This is great to hear, inglor.  Thank you for testing this.  To others who have experienced these issues in the past, please do two things for testing:

1) Uncomment the code in the PKGBUILD that allows you to disable NUMA and do so.
2) Patch the code with CK's testing patch.

I have made it easy for you, just download this patch which will modify your PKGBUILD for version 4.1.4-1 which is the current version.  Execute it like so:

cd /path/to/PKGBUILD
wget https://gist.github.com/graysky2/cd637b026d4cf1649048/raw/776bd11edf983a6ebc33c39be53b13cb52f2385a/try_ck_panic_fix.patch
patch -i try_ck_panic_fix.patch

Now just makepkg -src as usual.  Please report back in this thread and thanks!

Last edited by graysky (2015-08-06 23:09:55)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2507 2015-08-07 11:58:59

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

To others who have experienced these issues in the past, please do two things for testing:

I don't use BTRFS, but in the past I had kernel panics using linux-ck with NUMA disabled. It's now a couple of hours that I'm running the patched linux 4.1.4-ck (no BTRFS) using BFQ and it seems to work well: no panic occurred so far. I will continue to test it and I'll report back if there is any problem.

--edit: Nevermind, a kernel panic occurred just now on shuthdown.

Last edited by mauritiusdadd (2015-08-07 22:45:17)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#2508 2015-08-09 18:14:29

yochaigal
Member
From: Boston
Registered: 2011-02-06
Posts: 202

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Apologies if this has already been asked - any idea what happened to acpi_call-ck? I don't see it in AUR anymore.

Offline

#2509 2015-08-09 18:20:28

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

The AUR was moved to version 4 yesterday. Packages that have not been reuploaded to the new AUR are no longer in the AUR. This includes a lot of abandoned packages (and probably the package you are asking for).

Last edited by runical (2015-08-09 18:21:07)

Offline

#2510 2015-08-09 20:21:28

Tambalamba
Member
Registered: 2015-03-13
Posts: 45

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Offline

#2511 2015-08-12 21:44:38

Streetwalker
Member
From: Israel
Registered: 2013-11-11
Posts: 8

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

All the packages seem to 404 at the moment. Pacman still lists 4.1.4 after running -Syy.

Offline

#2512 2015-08-12 22:22:12

fungle
Member
Registered: 2014-05-01
Posts: 81

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

The repo-ck.db seems out of date. Linux-ck is trying to update to 4.1.4-2 which 404's. Downloaded the db file manually and untarred it and it shows version 4.1.4-2 instead of 4.1.5 to reflect the repo.

Last edited by fungle (2015-08-12 22:22:20)

Offline

#2513 2015-08-12 23:31:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@fungle - Odd.  I just reindexed and pushed.  Please try now.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2514 2015-08-13 00:00:17

fungle
Member
Registered: 2014-05-01
Posts: 81

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

@fungle - Odd.  I just reindexed and pushed.  Please try now.

Works now. Thanks graysky.

Offline

#2515 2015-08-22 20:43:01

Saren
Member
Registered: 2014-04-02
Posts: 13

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:
AnAkkk wrote:

Is there any reason why there aren't ck-westmere packages for the westmere gcc march?

Trying keep the repo streamlined... dunno how many folks would actually use them.

I found that I need it 1 year after. I am too lazy to compile the kernel and I have to use generic now sad

Offline

#2516 2015-08-22 21:17:44

progandy
Member
Registered: 2012-05-17
Posts: 5,202

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Saren wrote:
graysky wrote:
AnAkkk wrote:

Is there any reason why there aren't ck-westmere packages for the westmere gcc march?

Trying keep the repo streamlined... dunno how many folks would actually use them.

I found that I need it 1 year after. I am too lazy to compile the kernel and I have to use generic now sad

I have a Core i3 350M, so it should be westmere, too. Since it is also called Nehalem-C, I am currently testing the nehalem build and it seems to work just fine.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#2517 2015-08-23 11:16:51

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Any chance of compiling with LZ4 enabled? I don't know much about compiling kernel, but it's just switching one flag right?
zswap is failing when using LZ4:

zswap: lz4 compressor not available
zswap: using lzo compressor

Using the exact same system with the official kernel works just fine.

Not a  big problem, would just be nice to have smile


Amateur web developer & Linux enthusiast

Offline

#2518 2015-08-23 11:39:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

frash23 wrote:

Any chance of compiling with LZ4 enabled? I don't know much about compiling kernel, but it's just switching one flag right?
zswap is failing when using LZ4:

zswap: lz4 compressor not available
zswap: using lzo compressor

Using the exact same system with the official kernel works just fine.

Not a  big problem, would just be nice to have smile

I believe that it is enabled:
Linux-ck:

% grep -i lz4 config.x86_64
CONFIG_HAVE_KERNEL_LZ4=y
# CONFIG_KERNEL_LZ4 is not set
CONFIG_RD_LZ4=y
CONFIG_ZRAM_LZ4_COMPRESS=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_CRYPTO_LZ4=m
CONFIG_CRYPTO_LZ4HC=m
CONFIG_LZ4_COMPRESS=m
CONFIG_LZ4HC_COMPRESS=m
CONFIG_LZ4_DECOMPRESS=y
CONFIG_DECOMPRESS_LZ4=y

Linux-ARCH:

% grep -i lz4 config.x86_64
CONFIG_HAVE_KERNEL_LZ4=y
# CONFIG_KERNEL_LZ4 is not set
CONFIG_RD_LZ4=y
CONFIG_ZRAM_LZ4_COMPRESS=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_CRYPTO_LZ4=m
CONFIG_CRYPTO_LZ4HC=m
CONFIG_LZ4_COMPRESS=m
CONFIG_LZ4HC_COMPRESS=m
CONFIG_LZ4_DECOMPRESS=y
CONFIG_DECOMPRESS_LZ4=y

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2519 2015-08-23 11:45:34

FadeMind
Member
Registered: 2013-09-16
Posts: 7

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

frash23 wrote:

Any chance of compiling with LZ4 enabled? I don't know much about compiling kernel, but it's just switching one flag right?
zswap is failing when using LZ4:

zswap: lz4 compressor not available
zswap: using lzo compressor

Using the exact same system with the official kernel works just fine.

Not a  big problem, would just be nice to have smile

Did You follow arch wiki?

mkinitcpio.conf in MODULES should have:
MODULES="lz4 lz4_compress"


For me working like a charm (under linux-ck kernel):

[tomasz@arch ~]$ cat /etc/mkinitcpio.conf |grep MODULES=
MODULES="i915 bbswitch lz4 lz4_compress"
[tomasz@arch ~]$ dmesg |grep gcc
[    0.000000] Linux version 4.1.6-1-ck (squishy@ease) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Mon Aug 17 15:25:36 EDT 2015
[tomasz@arch ~]$ dmesg |grep lz4
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.805308] zswap: using lz4 compressor
[tomasz@arch ~]$ dmesg |grep zswap
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.801863] zswap: loading zswap
[    0.801870] zswap: using zbud pool
[    0.805308] zswap: using lz4 compressor
[tomasz@arch ~]$ 

Reference: https://wiki.archlinux.org/index.php/Zs … ression.29

Offline

#2520 2015-08-23 11:45:45

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

EDIT: I'm an idiot! I've only used mkinitcpio per installation instructions - I had no idea linux-ck would need it's own initramfs.
Got it all fixed by running mkinitcpio -p linux-ck. I feel stupid.

Old post is below.

---

graysky wrote:
frash23 wrote:

Any chance of compiling with LZ4 enabled? I don't know much about compiling kernel, but it's just switching one flag right?
zswap is failing when using LZ4:

zswap: lz4 compressor not available
zswap: using lzo compressor

Using the exact same system with the official kernel works just fine.

Not a  big problem, would just be nice to have smile

I believe that it is enabled:

That's odd. Any clue how I'd go about debugging this? I have both kernels in my grub menu using the same initramfs yet they give different results.

FadeMind wrote:
frash23 wrote:

Any chance of compiling with LZ4 enabled? I don't know much about compiling kernel, but it's just switching one flag right?
zswap is failing when using LZ4:

zswap: lz4 compressor not available
zswap: using lzo compressor

Using the exact same system with the official kernel works just fine.

Not a  big problem, would just be nice to have smile

Did You follow arch wiki?

mkinitcpio.conf in MODULES should have:
MODULES="lz4 lz4_compress"


For me working like a charm (under linux-ck kernel):

[tomasz@arch ~]$ cat /etc/mkinitcpio.conf |grep MODULES=
MODULES="i915 bbswitch lz4 lz4_compress"
[tomasz@arch ~]$ dmesg |grep gcc
[    0.000000] Linux version 4.1.6-1-ck (squishy@ease) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Mon Aug 17 15:25:36 EDT 2015
[tomasz@arch ~]$ dmesg |grep lz4
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.805308] zswap: using lz4 compressor
[tomasz@arch ~]$ dmesg |grep zswap
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=82949e8a-d282-4b4d-88f2-60916f342763 rw acpi_osi=Linux "acpi_osi=!Windows 2012" zswap.enabled=1 zswap.compressor=lz4 quiet
[    0.801863] zswap: loading zswap
[    0.801870] zswap: using zbud pool
[    0.805308] zswap: using lz4 compressor
[tomasz@arch ~]$ 

Reference: https://wiki.archlinux.org/index.php/Zs … ression.29

Yes:
nom15CS.png

EDIT: That's odd. mkinitcpio doesn't say anything about adding the lz4 module (I'm sure I remember seeing this in the past):
HfuYHN2.png
Is mkinitcpio not respecting my MODULES array?
Still doesn't explain the fact it works using the official kernel though?

Last edited by frash23 (2015-08-23 14:37:53)


Amateur web developer & Linux enthusiast

Offline

#2521 2015-08-30 07:34:15

chaonaut
Member
From: Kyiv, Ukraine
Registered: 2014-02-05
Posts: 382

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky, could you plz enable CONFIG_EXT4_ENCRYPTION in ck kernels?
(it's not eanbled by default)


— love is the law, love under wheel, — said aleister crowley and typed in his terminal:
usermod -a -G wheel love

Offline

#2522 2015-08-30 11:18:50

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@chaonaut - I like to mirror the official config as much as possible.  Can you please a request against the official kernel to do so?  Also, didn't I read somewhere that no userspace tools for this feature are available yet?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2523 2015-08-30 12:03:07

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

@chaonaut - I like to mirror the official config as much as possible.  Can you please a request against the official kernel to do so?  Also, didn't I read somewhere that no userspace tools for this feature are available yet?

Apparently, it looks to be not natively enabled or something. This is what the ArchWiki says on the issue.

Archwiki wrote:

e4crypt source has disabled a relevant section in its source code, enable it


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#2524 2015-08-30 14:09:54

chaonaut
Member
From: Kyiv, Ukraine
Registered: 2014-02-05
Posts: 382

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

well, never mind, it's not a big problem for me to rebuild the kernel package.

clfarron4 wrote:

Apparently, it looks to be not natively enabled or something. This is what the ArchWiki says on the issue.

Archwiki wrote:

e4crypt source has disabled a relevant section in its source code, enable it

this applies to e2fsprogs, not kernel.
btw, it works smile


— love is the law, love under wheel, — said aleister crowley and typed in his terminal:
usermod -a -G wheel love

Offline

#2525 2015-08-30 15:03:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@chaonaut - If that feature is useful, and if support by current userspace tools, please create a feature request against the ARCH linux package.  If accepted, I will as well.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB