tag:blogger.com,1999:blog-6469704299235308349.post2158437280274763243..comments2024-03-28T15:50:13.644+11:00Comments on -ck hacking: linux-4.13-ck1, MuQSS version 0.161 for linux-4.13ckhttp://www.blogger.com/profile/02904761195451530213noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-6469704299235308349.post-77549546540770917972017-12-05T19:28:20.240+11:002017-12-05T19:28:20.240+11:00Hello, CK.
I noticed recently that my SD card rea...Hello, CK. <br />I noticed recently that my SD card reader RT5227 driven by RTSX_PCI stopped working. The card insertion causes<br />Dec 04 09:01:56 localhost kernel: mmc0: cannot verify signal voltage switch<br />Dec 04 09:01:56 localhost kernel: mmc0: new ultra high speed SDR50 SDXC card at address 59b4<br />Dec 04 09:01:56 localhost kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000014<br />Dec 04 09:01:56 localhost kernel: IP: blk_mq_init_sched+0x32/0x150<br /><br /><br />I run -ck patch set on 4.13. A matching gentoo patch set for 4.13 allows RTSX-PCI work ok. OOPS doesn't fit here - so https://pastebin.com/Gp01dBdR Антон Губарьковhttps://www.blogger.com/profile/07940999750916253876noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-25833154006117603312017-11-06T08:29:05.193+11:002017-11-06T08:29:05.193+11:00Hacking Bitcoin with scripting https://www.youtube...Hacking Bitcoin with scripting https://www.youtube.com/watch?v=OHnlkRW98uE&tQuick Silver911https://www.blogger.com/profile/15545431185559760281noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-21755626638525565362017-10-23T22:27:12.767+11:002017-10-23T22:27:12.767+11:00No problem here:
emerge -pv nvidia-drivers
These...No problem here:<br /><br />emerge -pv nvidia-drivers<br /><br />These are the packages that would be merged, in order:<br /><br />Calculating dependencies... done!<br />[ebuild R ] x11-drivers/nvidia-drivers-387.12:0/387::gentoo USE="X acpi driver gtk3 kms multilib tools uvm wayland -compat -pax_kernel -static-libs" ABI_X86="32 (64) (-x32)" 81087 KiB<br /><br />Total: 1 package (1 reinstall), Size of downloads: 81087 KiB<br /><br />asus-ux303 ~ # uname -a<br />Linux asus-ux303 4.13.9-ck #1 SMP PREEMPT Sun Oct 22 07:36:53 CEST 2017 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux<br />mbarhttps://www.blogger.com/profile/12968433807741052771noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-63102553193207341122017-10-18T21:52:18.874+11:002017-10-18T21:52:18.874+11:00To be clear, credit for that info should go to loq...To be clear, credit for that info should go to loqs: https://bbs.archlinux.org/viewtopic.php?pid=1743312#p1743312Grayskyhttp://repo-ck.comnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-79138426525146000992017-10-18T09:42:34.447+11:002017-10-18T09:42:34.447+11:00If you want to keep it you would need to do as gra...If you want to keep it you would need to do as graysky indicated have one default for multiqueue queues and one default for none multiqueue queues and add back the pre merged bfq scheduler under a different name and specify that as the default for none multiqueues. If you do not touch block/Kconfig.iosched then the .config choice is limited to the three elevators that do not trigger the issue but you can still trigger the issue if you specify elevator=bfq on the command line and the system is using a none multiqeue queue.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-91450828434703575532017-10-18T09:28:21.671+11:002017-10-18T09:28:21.671+11:00More likely I will just remove the defaulting to B...More likely I will just remove the defaulting to BFQ for lack of time to pursue upstream bugs.Con Kolivashttps://www.blogger.com/profile/05355844537881606702noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-22442263870390367992017-10-18T09:03:31.582+11:002017-10-18T09:03:31.582+11:00Yes it is an upstream bug as referenced https://gi...Yes it is an upstream bug as referenced https://github.com/ckolivas/linux/pull/5<br />The difference between 4.12-ck2 and 4.13-ck1 is the removal of Select SCSI_MQ_DEFAULT automatically when required by default io schedulers patch. Which prevented the mismatch. Even under 4.12-ck2 selecting bfq by default fails because bfq in mainline is a multiqueue based scheduler and https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?&id=b86dd815ff74ab9eda474d1c28428ac0db2c3032 hardcodes the choice for that in the code itself.<br />There are checks in mainline that prevent picking a none multiqeue scheduler when queue is multiqueue but not the reverse. If you could pursue the issue of lack of checks with upstream on the block mailing list that would be great.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-42812711441613443922017-10-18T07:16:08.266+11:002017-10-18T07:16:08.266+11:00Thanks Graysky. It will not remove BFQ from the pa...Thanks Graysky. It will not remove BFQ from the patchset since BFQ is part of mainline. That's why this is a most unusual bug since it is just a change in the default configuration which is doable even without this patch - it should not hang otherwise it's a mainline bug. I'll think about a -ck2.Con Kolivashttps://www.blogger.com/profile/05355844537881606702noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-86857228101877866322017-10-18T07:07:16.204+11:002017-10-18T07:07:16.204+11:00Hi CK. The boot freezing from my email seems to b...Hi CK. The boot freezing from my email seems to be a direct effect for BFQ. If I reverse apply 0015-Enable-and-make-BFQ-default-IO-scheduler-overriding-.patch after applying patch-4.13-ck1, everything works as expected.<br /><br />My understanding is that this will remove BFQ from the patchset though. A work around which is applied to the Arch Linux linux-zen package (that includes MuQSS) is:<br /><br />https://github.com/zen-kernel/zen-kernel/commit/3f98cead6c61156002dacb770bd9ffe20bce2752#diff-770586e82a162dbd2b70f2d5d926bac4<br /><br />That enables bfq by default in block/elevator.c that switches e = elevator_get("mq-deadline", false); to e = elevator_get("bfq", false); if #if defined(CONFIG_ZEN_INTERACTIVE) && defined(CONFIG_IOSCHED_BFQ) <br />That would enable bfq by default with a one line change if you enabled CONFIG_SCSI_MQ_DEFAULT in the .config<br /><br />sq-bfq the bfq for when multiqueue is off also the bfq from before it was merged into mainline is <br /><br />https://github.com/zen-kernel/zen-kernel/commits/4.13/master/block/bfq-sq-iosched.c<br /><br />Rather than me hacking this together, I'd like for you to review and consider a ck2.grayskyhttp://repo-ck.comnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-70520412004458731162017-10-17T08:48:36.963+11:002017-10-17T08:48:36.963+11:00387.12 is the newest beta driver.
I now reverted b...387.12 is the newest beta driver.<br />I now reverted back to 384.90 which works fine.<br />My card is a 1050 Ti so pretty recent.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-26878342153818667312017-10-17T08:34:46.892+11:002017-10-17T08:34:46.892+11:00That's not a patch, that's a link back to ...That's not a patch, that's a link back to this page.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-87749145645938413782017-10-17T08:21:52.549+11:002017-10-17T08:21:52.549+11:00This is fixed with patch http://ck-hack.blogspot.c...This is fixed with patch http://ck-hack.blogspot.co.uk/2017/10/linux-413-ck1-muqss-version-0161-for.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-30416928789339581902017-10-17T08:08:53.573+11:002017-10-17T08:08:53.573+11:00There's a much newer nvidia driver. Are you li...There's a much newer nvidia driver. Are you limited in version due to older hardware or something? It sucks once you're in the unsupported hardware group.Con Kolivashttps://www.blogger.com/profile/05355844537881606702noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-77007937485781468052017-10-17T08:08:12.489+11:002017-10-17T08:08:12.489+11:00Thanks.
No :PThanks.<br /><br />No :PCon Kolivashttps://www.blogger.com/profile/05355844537881606702noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-69874710344966512112017-10-17T07:33:58.979+11:002017-10-17T07:33:58.979+11:00Anyone running the nvidia driver 387.12 ?
I'm ...Anyone running the nvidia driver 387.12 ?<br />I'm getting errors with muqss vanille is working here the error message:<br />nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state:Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-2174914603894827692017-10-17T07:07:39.826+11:002017-10-17T07:07:39.826+11:00It seems as though bfq is to blame. For me, bootin...It seems as though bfq is to blame. For me, booting elevator=cfq in the boot loader works as expected. Can others confirm?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-55797400632007982382017-10-17T07:01:04.643+11:002017-10-17T07:01:04.643+11:00I have a kernel panic when booting a kernel build ...I have a kernel panic when booting a kernel build with 4.13.7-ck. This is on Archlinux with i7-6700. Kernel logs: https://ptpb.pw/kmqkAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-12104991673564351132017-10-17T03:40:42.546+11:002017-10-17T03:40:42.546+11:00There have been fixes for that on linux-block for ...There have been fixes for that on linux-block for a while now. My suspend/resume has been working fine on 4.13 for weeks. I think these are key, but post-factum (Oleksandr) would know for sure, as I've pulled in a lot of other things:<br />https://www.spinics.net/lists/linux-block/msg18208.html<br />[OR https://www.spinics.net/lists/linux-block/msg18625.html]<br />And you'd prob want this too:<br />https://www.spinics.net/lists/linux-block/msg18846.html<br /><br />If you're using bfq as well though, there's a bunch of patches for that too.<br /><br />Anyway, thanks Con! Getting bored w/ the new car yet? :-Pjwh7https://www.blogger.com/profile/09659185315567537391noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-66651606372593631382017-10-17T03:02:12.960+11:002017-10-17T03:02:12.960+11:00It would be interesting to see if the broken suspe...It would be interesting to see if the broken suspend problem exists with this release. Personally, I love to use this kernel but the hangup after wakeup is too much to live with unfortunately.Andreas Jacobnoreply@blogger.com