{"id":404,"date":"2018-02-10T11:37:55","date_gmt":"2018-02-10T10:37:55","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=404"},"modified":"2018-02-10T11:45:58","modified_gmt":"2018-02-10T10:45:58","slug":"ryzen-part-5","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=404","title":{"rendered":"Ryzen, Part 5"},"content":{"rendered":"<p>Well, well, well, after 71 days uptime the system can be considered stable:<\/p>\n<p><a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/wp-content\/uploads\/2018\/02\/had-ry-upt.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-405 size-full\" src=\"https:\/\/tollana.d-tor.org\/notes-to-self\/wp-content\/uploads\/2018\/02\/had-ry-upt.png\" alt=\"\" width=\"597\" height=\"173\" srcset=\"https:\/\/tollana.d-tor.org\/notes-to-self\/wp-content\/uploads\/2018\/02\/had-ry-upt.png 597w, https:\/\/tollana.d-tor.org\/notes-to-self\/wp-content\/uploads\/2018\/02\/had-ry-upt-300x87.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/a><\/p>\n<p>Disabling the C6-sleep-state did it:<\/p>\n<pre>zenstates.py --c6-disable<\/pre>\n<p>Since last reboot the spectre\/meltdown disaster happened. DKMS didn&#8217;t work any more, because archlinux updated gcc to 7.3 with retpoline support, so it blatantly refused to compile the nvidia module with a different compiler than the kernel was compiled with. That wasn&#8217;t really a problem, because X still restarted properly.<\/p>\n<p>But there were other problems like systemd asking for passwords when it shouldn&#8217;t, dbus out of date and so on. Well, that&#8217;s what you get when running a rolling distribution. So I thought it was time to schedule a kernel re-compile and a reboot.<\/p>\n<p>The re-compile was harder than expected. To put it short:<\/p>\n<ul>\n<li>When following the <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Kernels\/Arch_Build_System\">official documentation<\/a>, do the checkout in an empty directory<\/li>\n<li>edit prepare() to do <em>make oldconfig<\/em> and <em>make menuconfig<\/em> in this order<\/li>\n<li><strong>Don&#8217;t forget<\/strong> to uncomment and change pkgbase to <em>linux-ryzen<\/em>!<\/li>\n<li>Don&#8217;t <em>makpkg -s<\/em> on an encrypted volume \ud83d\ude42<\/li>\n<li>If DKMS complains about a compiler mismatch on pacman -U, do\u00a0<em>IGNORE_CC_MISMATCH=1 pacman -U &#8230;<\/em><\/li>\n<\/ul>\n<p>After a successful reboot I decided to install the fallow 16 GB of ram I initially purchased, since RAM timings weren&#8217;t really the problem. Now I have a workstation with whopping 32GB RAM:<\/p>\n<pre># free -m \r\n  \u00a0\u00a0\u00a0  total \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0used \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0free...\r\nMem:   32167 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a05521 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a08478...\r\nSwap:  16382 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a016382<\/pre>\n<p>I kept the RCU_* setting, so let&#8217;s see how it turns out. Keeping fingers crossed!<\/p>\n<p><a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?page_id=411\">The whole SheBang!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, well, well, after 71 days uptime the system can be considered stable: Disabling the C6-sleep-state did it: zenstates.py &#8211;c6-disable Since last reboot the spectre\/meltdown disaster happened. DKMS didn&#8217;t work any more, because archlinux updated gcc to 7.3 with retpoline support, so it blatantly refused to compile the nvidia module with a different compiler than &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=404\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ryzen, Part 5<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,79,77],"tags":[118,127,126],"class_list":["post-404","post","type-post","status-publish","format-standard","hentry","category-arch-linux","category-hardware","category-linux","tag-dram","tag-kernel","tag-reboot"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=404"}],"version-history":[{"count":5,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/404\/revisions"}],"predecessor-version":[{"id":413,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/404\/revisions\/413"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}