{"id":385,"date":"2017-12-01T18:26:18","date_gmt":"2017-12-01T17:26:18","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=385"},"modified":"2018-02-10T11:47:06","modified_gmt":"2018-02-10T10:47:06","slug":"ryzen-part-4","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=385","title":{"rendered":"Ryzen, Part 4"},"content":{"rendered":"<h3>Take 4<\/h3>\n<p>Well, I didn&#8217;t have to wait long. The box crashed right under my fingers only hours after the <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=379\">last changes<\/a>. So, instead of enabling &#8220;Global C-States&#8221; in the BIOS, I disabled it explicitly.<\/p>\n<p>Additionally, I used <a href=\"https:\/\/github.com\/r4m0n\/ZenStates-Linux\">zenstates.py<\/a> to disable C6 for good, hopefully:<\/p>\n<pre># modprobe msr\r\n# .\/zenstates.py --c6-disable \r\nDisabling C6 state\r\n# .\/zenstates.py -l \r\nP0 - Enabled [...]\r\nP1 - Enabled [...]\r\nP2 - Enabled [...]\r\nP3 - Disabled \r\nP4 - Disabled \r\nP5 - Disabled \r\nP6 - Disabled \r\nP7 - Disabled \r\nC6 State - Package - Disabled \r\nC6 State - Core - Disabled<\/pre>\n<p>As suggested <a href=\"http:\/\/blog.programster.org\/how-to-disable-aslr\">here<\/a>, I also disabled ASLR:<\/p>\n<pre># echo 0 &gt; \/proc\/sys\/kernel\/randomize_va_space<\/pre>\n<h3>Changes so far:<\/h3>\n<ul>\n<li>Buy new Memory:\u00a0 16GB G.Skill Flare X schwarz DDR4-3200 DIMM CL14 Dual Kit instead of\u00a016GB Corsair Vengeance LPX schwarz DDR4-3000 DIMM CL15 Dual Kit.\u00a0 Didn&#8217;t help at all, since it&#8217;s not a memory timing problem, but a linux problem. About 200\u20ac wasted, yay! The bright side: If the other changes make my system stable, I could install the other 16GB, too. That would be a whopping 32GB for a desktop system \ud83d\ude42<\/li>\n<li>Various <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=326\">BIOS updates<\/a>.<\/li>\n<li>Play with D.O.C.P. settings. Didn&#8217;t help, see above.<\/li>\n<li>Find out that linux <a href=\"https:\/\/bugzilla.kernel.org\/show_bug.cgi?id=196683\">doesn&#8217;t<\/a> <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux\/+bug\/1690085\">like<\/a> AMD Ryzen processors and build a custom kernel with\u00a0<a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=379\">RCU_NOCB_CPU enabled<\/a>. Still crashes \ud83d\ude41<\/li>\n<li>Disable C6 with zenstates.py (see above)<\/li>\n<li>Disable ASLR (also see above)<\/li>\n<\/ul>\n<p>Keeping my fingers crossed. If all this doesn&#8217;t help, my last option would be to change to Intel. I don&#8217;t expect much from my system, just that it runs stable. Very disappointing that AMD can&#8217;t get it right&#8230;<\/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>Take 4 Well, I didn&#8217;t have to wait long. The box crashed right under my fingers only hours after the last changes. So, instead of enabling &#8220;Global C-States&#8221; in the BIOS, I disabled it explicitly. Additionally, I used zenstates.py to disable C6 for good, hopefully: # modprobe msr # .\/zenstates.py &#8211;c6-disable Disabling C6 state # &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=385\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ryzen, Part 4<\/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":[],"class_list":["post-385","post","type-post","status-publish","format-standard","hentry","category-arch-linux","category-hardware","category-linux"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/385","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=385"}],"version-history":[{"count":4,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":415,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions\/415"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}