You are not logged in.

#3051 2017-08-30 11:27:21

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

Please switch back to the 4.12 kernel from repo-ck try the same kernel command line options and see if suspend still works.
If it does you may need patches from https://bugzilla.kernel.org/show_bug.cgi?id=196675 / https://aur.archlinux.org/packages/linux-bfq-mq/ to get multiqueue/bfq working.
Edit:
replace bfq with multiqueue/bfq.

Last edited by loqs (2017-08-30 11:31:45)

Offline

#3052 2017-08-30 14:07:05

zaxdan69
Member
Registered: 2016-06-04
Posts: 70

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

Yes, it still works. But I'm not familiar with kernel building, so I think I will stay with the previous version for now. I just hope that all these can help to fix this issue in next kernel versions.
Thanks for your efforts.

Offline

#3053 2017-08-30 15:33:58

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

@zaxdan69 no problem glad you have MuQSS and suspend working now even if it means disabling bfq.
@graysky have you considered hosting a series of test kernels on repo-ck to try and pinpoint the cause of some of the issues and possible fixes?

Offline

#3054 2017-08-30 18:32:42

graysky
Member
From: /usr/share/zoneinfo/US/Eastern
Registered: 2008-12-01
Posts: 9,179
Website

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

@loqs - No, but engaging users such as yourself can work to this end big_smile


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

Offline

#3055 2017-08-30 19:16:33

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

With no response from Con Kolivas or Jens Axboe and a worst case estimate of 4.13 being out in under two weeks I do not want to invest effort into a 4.12 investigation.
Hypothetically speaking if I found adding 9 patches from upstream linux-block tree made fixed the issues with 4.13.  What would that finding achieve?

Offline

#3056 2017-09-03 01:48:53

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,093

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

Apparently having trouble with graysky signature on recent packages ck-kx.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3057 2017-09-03 01:50:56

raggerv8
Member
Registered: 2010-07-01
Posts: 87

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

nomorewindows wrote:

Apparently having trouble with graysky signature on recent packages ck-kx.

Same issue? https://bbs.archlinux.org/viewtopic.php … 7#p1713887

Offline

#3058 2017-09-03 03:17:24

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,093

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

raggerv8 wrote:
nomorewindows wrote:

Apparently having trouble with graysky signature on recent packages ck-kx.

Same issue? https://bbs.archlinux.org/viewtopic.php … 7#p1713887

error: linux-ck-kx:  signature from "graysky (used to sign repo-ck packages) <graysky@archlinux.us>" is invalid
:: File /var/cache/pacman/pkg/linux-ck-kx-4.12.10-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3059 2017-09-03 10:26:43

raggerv8
Member
Registered: 2010-07-01
Posts: 87

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

nomorewindows wrote:
raggerv8 wrote:
nomorewindows wrote:

Apparently having trouble with graysky signature on recent packages ck-kx.

Same issue? https://bbs.archlinux.org/viewtopic.php … 7#p1713887

error: linux-ck-kx:  signature from "graysky (used to sign repo-ck packages) <graysky@archlinux.us>" is invalid
:: File /var/cache/pacman/pkg/linux-ck-kx-4.12.10-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

Do you use powerpill? I only get that with powerpill, not with pacman. It's annoying but apparently something that can be ignored.

Offline

#3060 2017-09-03 16:35:17

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,093

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

raggerv8 wrote:
nomorewindows wrote:
error: linux-ck-kx:  signature from "graysky (used to sign repo-ck packages) <graysky@archlinux.us>" is invalid
:: File /var/cache/pacman/pkg/linux-ck-kx-4.12.10-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

Do you use powerpill? I only get that with powerpill, not with pacman. It's annoying but apparently something that can be ignored.

Using pacman...


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3061 2017-09-04 16:11:47

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,093

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

I deleted the file and redownloaded and was able to get it to go...
I tried pacman-key but that didn't go anywhere since it wasn't able to get the keyserver...
Don't know what happened, but I got it going now...


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3062 2017-09-05 14:37:12

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 67
Website

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

I'm having problems with the integrated SD card reader on my laptop (ThinkPad X230) when running linux-ck-ivybridge, though it works fine under plain linux (-ARCH). The module appears to crash, and pcmanfm seems unable to automount any of the SD card partitions.

linux 4.12.10-1
linux-ck-ivybridge 4.12.10-1

dmesg log at moment of insertion of SD card https://bpaste.net/show/e09a7590f931
result of lsusb and lspci https://bpaste.net/show/d174f7f5e60e

If you'd like me to clarify anything else, just ask.

Last edited by aphirst (2017-09-05 14:38:29)


ArchLinux | x86_64 | linux-ck-ivybridge
OpenBox3 | tint2 | sakura | PCManFM | Chromium | Thunderbird | Code::Blocks | GCC
Lenovo Thinkpad X230 | 14.1" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1066MHz) | 256GB mSATA SSD | 320GB HDD

Offline

#3063 2017-09-05 17:05:42

biosin
Member
Registered: 2016-12-31
Posts: 3

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

I can boot 4.12.10-1-ck successfully only when I have the power supply attached, either directly or via dock. The laptop is a Lenovo X250. I have Gnome installed.

Forgot to say: I also have an SD card, but it doesn't seem to be related to the boot issue

Last edited by biosin (2017-09-05 17:30:08)

Offline

#3064 2017-09-05 17:38:23

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

@aphirst are you doing a like for like test by default the kernel provided by the linux package has CONFIG_SCSI_MQ_DEFAULT=n did you rebuild that kernel or override the option with scsi_mod.use_blk_mq=1?
@graysky the patch I sent to ck is causing an OOPS would be great if you could test and see if it works or OOPS on someone elses system.  Still no response to the kernel bug report.

Offline

#3065 2017-09-05 21:15:37

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 67
Website

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

@loqs No, I'm just comparing between the behaviour of the "linux" kernel in the arch repo, and the "linux-ck-ivybridge" kernel provided in [repo-ck]. Rebuilding kernels to further test this myself is something which I'm not going to be able to do until the weekend at the very earliest, also assuming I don't have anything else to do. The most I could do "soon" would be to also compare with the behaviour of just "linux-ck" also from [repo-ck].


ArchLinux | x86_64 | linux-ck-ivybridge
OpenBox3 | tint2 | sakura | PCManFM | Chromium | Thunderbird | Code::Blocks | GCC
Lenovo Thinkpad X230 | 14.1" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1066MHz) | 256GB mSATA SSD | 320GB HDD

Offline

#3066 2017-09-05 21:41:30

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

@aphirst you can avoid the rebuild if you pass the kernel parameters instead scsi_mod.use_blk_mq=1 for arch linux or scsi_mod.use_blk_mq=0 elevator=cfq for linux-ck ( you only need to change the parameter set for one of the kernels )
If you can trigger the issue on arch linux then please report it upstream at kernel.org if it is unique to linux-ck report it to ck.

Offline

#3067 2017-09-10 17:58:24

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 478

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

It seems that with any 4.12.* version my laptop (Dell XPS15 9550, skylake) suffers from hangs and crashes using the CK kernel; vanilla kernel works fine.
Sometimes it will hang on suspend, sometimes on boot, sometimes on login, sometimes on resume... just like that, randomly.
Anyone else has been experiencing this?

Last edited by OdinEidolon (2017-09-10 17:58:40)


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#3068 2017-09-12 12:09:05

kazimir
Member
Registered: 2012-01-20
Posts: 61

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

I wish I could suffer hangs and crashes.
With a thinkpad x230 all the 4.12-*-ck kernel I've tried fail to boot and stay stuck at "loading initial ramdisk".

Offline

#3069 2017-09-16 13:33:14

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 67
Website

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

@loqs I tried running linux-ARCH and linux-CK with and without the options you specified, and got the following results (the OPTIONS line from my /boot/loader/entries/* files):

linux 4.12.13-1

options	cryptdevice=UUID=[redacted]:root root=/dev/mapper/root quiet rw acpi_osi="!Windows 2012"

- WORKS

options	cryptdevice=UUID=[redacted]:root root=/dev/mapper/root quiet rw acpi_osi="!Windows 2012" scsi_mod.use_blk_mq=1

- WORKS

linux-ck-ivybridge 4.12.13-1

options	cryptdevice=UUID=[redacted]:root root=/dev/mapper/root quiet rw acpi_osi="!Windows 2012"

- DOES NOT WORK - DMESG EXCERPT

options	cryptdevice=UUID=[redacted]:root root=/dev/mapper/root quiet rw acpi_osi="!Windows 2012" scsi_mod.use_blk_mq=0 elevator=cfq

- WORKS

Interesting, I didn't get the symmetry you expected I would.

So, either there's some problem with my -ck options line (am I missing something? I was under the impression that since the introduction of the new scheduler, I didn't need to specify anything extra, but maybe that's wrong), or there's a bug of some kind with the -ck build. I'll wait for a little feedback here, then I'll escalate this.


UPDATE #1: I tried adding elevator=bfq to both of the above -ck-ivybridge lines, which did not affect the results.

UPDATE #2: I installed linux-ck (not custom-built for a particular CPU) and repeated the tests - the same occurred as with linux-ck-ivybridge.

Last edited by aphirst (2017-09-16 13:57:46)


ArchLinux | x86_64 | linux-ck-ivybridge
OpenBox3 | tint2 | sakura | PCManFM | Chromium | Thunderbird | Code::Blocks | GCC
Lenovo Thinkpad X230 | 14.1" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1066MHz) | 256GB mSATA SSD | 320GB HDD

Offline

#3070 2017-09-16 18:27:52

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

aphirst wrote:

I was under the impression that since the introduction of the new scheduler, I didn't need to specify anything extra, but maybe that's wrong),

Without any additional options you get MuQSS + scsi_mod.use_blk_mq=1 you do not get bfq but you get mq-deadline or none as the IO scheduler depending on the devices properties.
You would need a udev rules such as the following to get bfq

ACTION=="add|change", KERNEL=="sd[a-z]",  ATTR{queue/scheduler}="bfq"

However your system seems to fail when scsi_mod.use_blk_mq=1 is enabled similar to zaxdan69 slightly earlier in this thread.

Offline

#3071 2017-09-16 21:12:54

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 67
Website

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

Ah, so even "elevator=bfq" doesn't work any more? Strange. Well, at least the scsi_mod.use_blk_mq issue seems "known" - is CK aware?


ArchLinux | x86_64 | linux-ck-ivybridge
OpenBox3 | tint2 | sakura | PCManFM | Chromium | Thunderbird | Code::Blocks | GCC
Lenovo Thinkpad X230 | 14.1" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1066MHz) | 256GB mSATA SSD | 320GB HDD

Offline

#3072 2017-09-16 21:49:08

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

elevator=bfq does not work because in 4.12 CK switched to using the in kernel version of bfq that uses blk_mq but https://git.kernel.org/pub/scm/linux/ke … c0db2c3032
ignores the elevator parameter when the queue type is multiqueue such as scsi_mod.use_blk_mq=1 or the device is NVME (this covers 4.12 ck kernels)
So elevators you can select with the elevator parameter are cfq,noop and deadline only if the queue is not multiqueue
Multiqueue elevators are bfq,kyber,mq-deadline and none and can only be changed using udev or similar and the queue is a multiqueue if you do not specify you get none if the device is NVME or similar otherwise mq-deadline.
I think the closest anyone has come to reporting the issue on CK's blog is http://ck-hack.blogspot.com/2017/08/lin … 7797998186
I do not know if graysky has reported any of the issues from this thread or the AUR package comments to CK.
Edit:
changed linked from this one where CK changes the config so that SCSI_MQ_DEFAULT (scsi_mod.use_blk_mq) is enabled for mq schedulers
https://github.com/ckolivas/linux/commi … 1e22fa1728
to https://git.kernel.org/pub/scm/linux/ke … c0db2c3032

Last edited by loqs (2017-09-16 21:56:07)

Offline

#3073 2017-09-17 10:49:59

pr0dukter
Member
Registered: 2017-08-24
Posts: 3

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

how would i rebuild the ck-bulldozer kernel and add in the AMD DC/DAL ?(for hdmi audio)

merg diffs on .configs?

merge pkgbuilds?

can someone set me on the right path?

Offline

#3074 2017-09-17 16:25:19

loqs
Member
Registered: 2014-03-06
Posts: 2,595

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

pr0dukter wrote:

how would i rebuild the ck-bulldozer kernel and add in the AMD DC/DAL ?(for hdmi audio)

You mean https://aur.archlinux.org/packages/linu … aging-git/ or https://aur.archlinux.org/packages/linu … -next-git/

pr0dukter wrote:

merg diffs on .configs?

merge pkgbuilds?

You would have to merge the source trees as well.
Edit:
@graysky off topic but 4.14-rc1 has another case of a symbol being marked GPL only breaking the nvidia driver.  Nvidia is aware of the issue https://lkml.org/lkml/2017/9/15/499
other fixes for the nvidia driver appear trivial.

Last edited by loqs (2017-09-17 19:18:04)

Offline

#3075 2017-09-22 05:54:50

pr0dukter
Member
Registered: 2017-08-24
Posts: 3

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

loqs wrote:
pr0dukter wrote:

how would i rebuild the ck-bulldozer kernel and add in the AMD DC/DAL ?(for hdmi audio)

You mean https://aur.archlinux.org/packages/linu … aging-git/ or https://aur.archlinux.org/packages/linu … -next-git/

pr0dukter wrote:

merg diffs on .configs?

merge pkgbuilds?

You would have to merge the source trees as well.
other fixes for the nvidia driver appear trivial.

i thought i would have to merge ck-bulldozer 4.12 with linux-amd-staging (because my thinking was it was for kernel 4.12)
i can pull in the absolute latest drm-next to the current bulldozer? don't have to match up versions?

how would i merge source trees in this case? i was thinking i would need to apply all the ck-bulldozer packages to the linux-amd-staging (or drm-next)...

or do i start with ck-bulldozer as base and pull in all the amd-staging?

Offline

Board footer

Powered by FluxBB