tag:blogger.com,1999:blog-6469704299235308349.post6559660737695632655..comments2024-03-28T15:50:13.644+11:00Comments on -ck hacking: linux-5.6-ck2, MuQSS version 0.2 for linux-5.6ckhttp://www.blogger.com/profile/02904761195451530213noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-6469704299235308349.post-43808824306578425152020-11-19T22:55:55.927+11:002020-11-19T22:55:55.927+11:00tanxtanxbesthttps://www.blogger.com/profile/00545828744576388700noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-73187820330135477652020-06-08T04:18:50.303+10:002020-06-08T04:18:50.303+10:00It turned out that the problem was not related to ...It turned out that the problem was not related to CK patchset, and was present also in vanilla kernel. The cuplrit was the powersave for the ethernet adapter of the USB-C dock, disabling it by means of a udev rule fixed the problem. I'm sure I had no problem at the end of February, but even reverting to kernel/firmware versions at that date didn't fix the issue (just gave different, mitigated phenomenology). Nevertheless, the patchset was ok, so sorry for the noise and thanks for the support.Nicolanoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-49825832401328568882020-06-03T05:32:41.870+10:002020-06-03T05:32:41.870+10:00This comment has been removed by the author.damentzhttps://www.blogger.com/profile/07613469397631531886noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-53939673591404895242020-06-02T02:08:39.673+10:002020-06-02T02:08:39.673+10:00Thanks Con, I tried with the nothreadirqs flag to ...Thanks Con, I tried with the nothreadirqs flag to no avail. I never built the patched kernel so I don't know how to try the muqss git. If there's nothing else that I can try then I'll stick with the stock kernel and see if the new patchset for Linux 5.7 will fix the problem.Nicolanoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-51121360518802565792020-06-01T21:36:25.852+10:002020-06-01T21:36:25.852+10:00If you've built with irqthreads force enabled,...If you've built with irqthreads force enabled, try disabling them. Add the nothreadirqs parameter to your kernel command line. Otherwise, try the extra bugfixes committed to the muqss git tree.Con Kolivashttps://www.blogger.com/profile/05355844537881606702noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-26443223600535839872020-06-01T20:42:27.504+10:002020-06-01T20:42:27.504+10:00Hi,
I get an error with the eth0 interface in my ...Hi,<br /><br />I get an error with the eth0 interface in my USB-C adapter when using the linux-ck kernel in Archlinux. The problem is not present with stock kernels, so I guess it may be due to the ck patchset. The issue is described here:<br /><br /> https://bbs.archlinux.org/viewtopic.php?pid=1907858#p1907858<br /><br />I can provide additional info if needed. Thanks.Nicolanoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-20880266308342754152020-05-20T21:36:03.354+10:002020-05-20T21:36:03.354+10:00ok. thanks.ok. thanks.fidajhttps://www.blogger.com/profile/11667278719546201906noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-27371683920818773142020-05-20T18:12:27.707+10:002020-05-20T18:12:27.707+10:00Did you try to boot with psi=0? dmesg don't re...Did you try to boot with psi=0? dmesg don't report about psi with this option<br />In config<br />CONFIG_PSI_DEFAULT_DISABLED=y<br /><br />---<br /><br />Currently schedutil also doesn't work correctly with alternative schedulers (muqss, pds, bmq)<br />Yevhenhttps://www.blogger.com/profile/02359467126889194736noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-57685517349454062622020-05-18T22:59:10.930+10:002020-05-18T22:59:10.930+10:00Hi.
I have panic when kernel is building with opti...Hi.<br />I have panic when kernel is building with option CONFIG_PSI=y<br />https://pastebin.com/vnV1GkdD<br />fidajhttps://www.blogger.com/profile/11667278719546201906noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-8752415197756956862020-05-14T22:28:18.643+10:002020-05-14T22:28:18.643+10:00Arch Linux just updated to gcc-10.1, and I was abl...Arch Linux just updated to gcc-10.1, and I was able to successfully build and boot 5.6.13-ck1 kernel (built with -O3 -march=native, and no other changes) with it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-59706194538213077182020-05-14T04:18:36.154+10:002020-05-14T04:18:36.154+10:00Using 5.6-muqss tree makes no difference, still un...Using 5.6-muqss tree makes no difference, still unable to boot.Danielnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-15249039226157710492020-05-13T17:43:54.695+10:002020-05-13T17:43:54.695+10:00Fedora 32 cannot install and run gcc9 on it easily...Fedora 32 cannot install and run gcc9 on it easily, so I tried something by built the kernel with clang10 instead, and the result was still the same that ck kernel cannot boot. However, vanilla kernel that built with clang10 can boot and run perfectly. I also tried BMQ patch with gcc10 and the kernel is working too. Is it possible that there is something in CK or MuQSS patch that cause (or trigger) a problem with gcc10?cwthttps://www.blogger.com/profile/18199969520356544338noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-12384116414001151962020-05-13T17:43:15.973+10:002020-05-13T17:43:15.973+10:00This comment has been removed by the author.cwthttps://www.blogger.com/profile/18199969520356544338noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-18514139361639325672020-05-13T14:56:32.790+10:002020-05-13T14:56:32.790+10:00You could try the 5.6-muqss tree. There are some f...You could try the 5.6-muqss tree. There are some fixes in there.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-7355367965535228962020-05-13T08:48:32.989+10:002020-05-13T08:48:32.989+10:00I also cannot boot with CK kernel 5.6 on Fedora 32...I also cannot boot with CK kernel 5.6 on Fedora 32. I always build a custom kernel, and vanilla (5.6/5.7) / BMQ (5.6) kernels both work fine. With CK kernel using GCC or LLVM I cannot boot at all, just gets a black screen, removing quiet option does nothing the kernel never outputs anything. <br /><br />I also tried the GCC patch and it does not help, but given it didn't work with LLVM I guess that makes sense.Danielnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-64742687534326360262020-05-12T01:03:14.785+10:002020-05-12T01:03:14.785+10:00Some information about gcc-10 vs. kernel
https://g...Some information about gcc-10 vs. kernel<br />https://github.com/Frogging-Family/linux-tkg/issues/7<br />https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit?id=f670269a42bfdd2c83a1118cc3d1b475547eac22<br /><br />Mentioning the first one, cos this is a custom kernel with different schedulers - like muqss/bmq/pds and the last one actually mentioning that 5.6 kernel is not 100% ready for gcc-10.<br /><br />https://lore.kernel.org/lkml/20200423161126.GD26021@zn.tnic/<br /><br />I have not tried it, but if you find the kernel boots fine when compiled with gcc-9 (like it does for me), you could try skim through this and test the patch with gcc-10?Sveinar Søplerhttps://www.blogger.com/profile/18401720133659243541noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-73723332227008428592020-05-11T08:05:32.863+10:002020-05-11T08:05:32.863+10:00Yes, Fedora 32 came with gcc10, but with the same ...Yes, Fedora 32 came with gcc10, but with the same compiler I can build and run vanilla kernel. I will try again without native optimization or with gcc9.cwthttps://www.blogger.com/profile/18199969520356544338noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-61373541027413828242020-05-11T07:48:18.050+10:002020-05-11T07:48:18.050+10:00The only time recently i had that happen, was when...The only time recently i had that happen, was when i tried to compile the kernel with gcc-10. Just black screen with the "cursor" on the left corner.<br /><br />Did not bother to debug it more, cos gcc-10 i use is not really "production" ready i guess (Ubuntu testing PPA). I am only mentioning this, since i think Fedora 32 got gcc-10 now?<br /><br />Something about CONFIG_STACKPROTECTOR_STRONG or some shit, but it should then happen anyways, and not only when using MuQSS i guess?Sveinar Søplerhttps://www.blogger.com/profile/18401720133659243541noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-72962174594437869482020-05-11T04:03:51.138+10:002020-05-11T04:03:51.138+10:00Yeah, "it won't boot" mean it won...Yeah, "it won't boot" mean it won't boot at all, not boot for a while and crash. However, here the screen, just a cursor on the top left. http://imgur.com/gallery/kn7HlhAcwthttps://www.blogger.com/profile/18199969520356544338noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-90269317662274992092020-05-11T03:19:45.188+10:002020-05-11T03:19:45.188+10:00Can You remove "quiet" from the kernel c...Can You remove "quiet" from the kernel commandline, try to boot and share what's on the screen when it crashes?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-42203187394299693872020-05-11T02:31:32.104+10:002020-05-11T02:31:32.104+10:00I use vanilla kernel with minimal patches, one fro...I use vanilla kernel with minimal patches, one from https://github.com/graysky2/kernel_gcc_patch/blob/master/enable_additional_cpu_optimizations_for_gcc_v9.1%2B_kernel_v5.5%2B.patch to enable native optimization, another one is https://github.com/dolohow/uksm/blob/master/v5.x/uksm-5.6.patch.<br /><br />with these two patches and config from distro (fedora 32), I just make some changes like "Preemptible Kernel" and remove some drivers for hardware that don't exist on my laptop, the kernel is working perfectly. However after added ck patch or even just MuQSS patch, the kernel won't boot.cwthttps://www.blogger.com/profile/18199969520356544338noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-40951856685826949142020-05-11T00:45:19.316+10:002020-05-11T00:45:19.316+10:00Sounds strange cwt.
Are you sure you use the same ...Sounds strange cwt.<br />Are you sure you use the same kernel (source/patches) as the one that you normally use?<br /><br />Just asking cos if you are using a distro kernel (eg. Ubuntu kernel), and do not use the same source you could run into some patched kernel driver or whatnot that is not added to your "custom" kernel with MuQSS.Sveinar Søplerhttps://www.blogger.com/profile/18401720133659243541noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-90256360713842053482020-05-10T17:43:36.256+10:002020-05-10T17:43:36.256+10:00I remember having similar issue with some combinat...I remember having similar issue with some combination of CONFIG_HZ, threadirqs, rqshare, rr_interval & iso_cpu settings.<br />You can also try with different HZ (100 or 1000), periodic ticks (nohz=off command line parameter). Or maybe some combination of nohz, 1000HZ and muqss-only (without other patches).<br />There also might be some distro or config-related problem.Yevhenhttps://www.blogger.com/profile/02359467126889194736noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-2227953134001603032020-05-10T17:42:42.590+10:002020-05-10T17:42:42.590+10:00This comment has been removed by the author.Yevhenhttps://www.blogger.com/profile/02359467126889194736noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-38658939742323212692020-05-10T03:48:23.351+10:002020-05-10T03:48:23.351+10:00I tried rqshare=none and also other option (e.g. s...I tried rqshare=none and also other option (e.g. smt, all) nothing work. I also tried them with nothreadirqs still unable to boot.cwthttps://www.blogger.com/profile/18199969520356544338noreply@blogger.com