- Linux

Linux Ryzen Problems Solutions

Linux Ryzen Problems Solutions

All problems solutions will be on this post

one of the theories is that disabling cstate 6 contributes to preventing random freezes.  My experience is of finding the machine frozen in the morning, when it has been idle overnight.  So some problem with the “Deep Power Down” state seems probable.

…however, the kernel-command-line option “”processor.max_cstate=5”, does not appear to disable (cstate) C6 🙁  I am unable to determine what (if anything) it does do.

…but at ZenStates-Linux there is ‘zenstates.py’ which will disable C6.  And (with any luck) that may do the trick.

It is, of course, disappointing that my shiny Ryzen CPU is unreliable.  But it is *infuriating* that nobody seems to know what the problem is, or whether some or all of the suggested spells are required to avoid these apparently random freezes.

After over 39 consecutive hours of testing with the updated kill-ryzen.sh script on Ubuntu 18.04, I am sure my Ryzen 2700 does not have this flaw

In case of AMD doing the right thing all round. They listened, replicated… and then immediately made public they would replace effected chips. The number of effected chips was supposedly not a massive number of chips, they could have put their fingers in their ears. I have no doubt the blue team would have done just that. I mean I know the Pentium 3 thing was 20 years back now. Still it effected basically every P3, took them 4 months of denials and downplaying to agree to replacements. (they also admitted they knew about the bug during production and just pushed on)

Code:
[loop-0] Sat May 26 17:56:00 EDT 2018 start 0
[loop-1] Sat May 26 17:56:01 EDT 2018 start 0
[loop-2] Sat May 26 17:56:02 EDT 2018 start 0
[loop-3] Sat May 26 17:56:03 EDT 2018 start 0
[loop-3] Sat May 26 19:14:03 EDT 2018 start 1
[loop-1] Sat May 26 19:14:04 EDT 2018 start 1
[loop-2] Sat May 26 19:14:13 EDT 2018 start 1
[loop-0] Sat May 26 19:14:33 EDT 2018 start 1
[loop-1] Sat May 26 20:32:10 EDT 2018 start 2
[loop-2] Sat May 26 20:32:13 EDT 2018 start 2
[loop-3] Sat May 26 20:32:23 EDT 2018 start 2
[loop-0] Sat May 26 20:32:46 EDT 2018 start 2
[loop-2] Sat May 26 21:49:42 EDT 2018 start 3
[loop-3] Sat May 26 21:49:45 EDT 2018 start 3
[loop-0] Sat May 26 21:50:16 EDT 2018 start 3
[loop-1] Sat May 26 21:53:47 EDT 2018 start 3
[loop-3] Sat May 26 23:07:40 EDT 2018 start 4
[loop-2] Sat May 26 23:08:07 EDT 2018 start 4
[loop-0] Sat May 26 23:08:26 EDT 2018 start 4
[loop-1] Sat May 26 23:11:54 EDT 2018 start 4
[loop-3] Sun May 27 00:25:10 EDT 2018 start 5
[loop-2] Sun May 27 00:25:36 EDT 2018 start 5
[loop-0] Sun May 27 00:26:26 EDT 2018 start 5
[loop-1] Sun May 27 00:29:10 EDT 2018 start 5
[loop-2] Sun May 27 01:42:57 EDT 2018 start 6
[loop-3] Sun May 27 01:42:58 EDT 2018 start 6
[loop-0] Sun May 27 01:43:54 EDT 2018 start 6
[loop-1] Sun May 27 01:46:25 EDT 2018 start 6
[loop-2] Sun May 27 02:59:49 EDT 2018 start 7
[loop-0] Sun May 27 03:00:48 EDT 2018 start 7
[loop-1] Sun May 27 03:03:05 EDT 2018 start 7
[loop-3] Sun May 27 03:04:15 EDT 2018 start 7
[loop-2] Sun May 27 04:16:57 EDT 2018 start 8
[loop-0] Sun May 27 04:18:41 EDT 2018 start 8
[loop-1] Sun May 27 04:20:22 EDT 2018 start 8
[loop-3] Sun May 27 04:22:06 EDT 2018 start 8
[loop-2] Sun May 27 05:34:09 EDT 2018 start 9
[loop-1] Sun May 27 05:37:01 EDT 2018 start 9
[loop-3] Sun May 27 05:38:56 EDT 2018 start 9
[loop-0] Sun May 27 05:39:45 EDT 2018 start 9
[loop-2] Sun May 27 06:51:24 EDT 2018 start 10
[loop-1] Sun May 27 06:54:49 EDT 2018 start 10
[loop-3] Sun May 27 06:56:12 EDT 2018 start 10
[loop-0] Sun May 27 06:57:29 EDT 2018 start 10
[loop-2] Sun May 27 08:08:37 EDT 2018 start 11
[loop-1] Sun May 27 08:12:09 EDT 2018 start 11
[loop-3] Sun May 27 08:13:38 EDT 2018 start 11
[loop-0] Sun May 27 08:15:14 EDT 2018 start 11
[loop-2] Sun May 27 09:26:01 EDT 2018 start 12
[loop-1] Sun May 27 09:29:34 EDT 2018 start 12
[loop-3] Sun May 27 09:31:08 EDT 2018 start 12
[loop-0] Sun May 27 09:32:34 EDT 2018 start 12
[loop-2] Sun May 27 10:43:52 EDT 2018 start 13
[loop-1] Sun May 27 10:47:44 EDT 2018 start 13
[loop-3] Sun May 27 10:48:58 EDT 2018 start 13
[loop-0] Sun May 27 10:50:32 EDT 2018 start 13
[loop-2] Sun May 27 12:01:17 EDT 2018 start 14
[loop-1] Sun May 27 12:05:14 EDT 2018 start 14
[loop-3] Sun May 27 12:06:54 EDT 2018 start 14
[loop-0] Sun May 27 12:07:54 EDT 2018 start 14
[loop-2] Sun May 27 13:18:44 EDT 2018 start 15
[loop-1] Sun May 27 13:23:06 EDT 2018 start 15
[loop-3] Sun May 27 13:24:33 EDT 2018 start 15
[loop-0] Sun May 27 13:25:24 EDT 2018 start 15
[loop-2] Sun May 27 14:36:58 EDT 2018 start 16
[loop-1] Sun May 27 14:40:57 EDT 2018 start 16
[loop-3] Sun May 27 14:42:33 EDT 2018 start 16
[loop-0] Sun May 27 14:43:28 EDT 2018 start 16
[loop-2] Sun May 27 15:55:38 EDT 2018 start 17
[loop-1] Sun May 27 15:59:28 EDT 2018 start 17
[loop-3] Sun May 27 16:00:39 EDT 2018 start 17
[loop-0] Sun May 27 16:01:20 EDT 2018 start 17
[loop-2] Sun May 27 17:13:33 EDT 2018 start 18
[loop-1] Sun May 27 17:16:51 EDT 2018 start 18
[loop-3] Sun May 27 17:18:07 EDT 2018 start 18
[loop-0] Sun May 27 17:19:16 EDT 2018 start 18
[loop-2] Sun May 27 18:33:05 EDT 2018 start 19
[loop-1] Sun May 27 18:35:59 EDT 2018 start 19
[loop-3] Sun May 27 18:37:16 EDT 2018 start 19
[loop-0] Sun May 27 18:38:36 EDT 2018 start 19
[loop-2] Sun May 27 19:50:39 EDT 2018 start 20
[loop-1] Sun May 27 19:52:58 EDT 2018 start 20
[loop-0] Sun May 27 19:55:32 EDT 2018 start 20
[loop-3] Sun May 27 19:58:39 EDT 2018 start 20
[loop-2] Sun May 27 21:08:25 EDT 2018 start 21
[loop-1] Sun May 27 21:10:41 EDT 2018 start 21
[loop-0] Sun May 27 21:13:59 EDT 2018 start 21
[loop-3] Sun May 27 21:16:16 EDT 2018 start 21
[loop-2] Sun May 27 22:26:35 EDT 2018 start 22
[loop-1] Sun May 27 22:28:23 EDT 2018 start 22
[loop-0] Sun May 27 22:31:42 EDT 2018 start 22
[loop-3] Sun May 27 22:34:25 EDT 2018 start 22
[loop-2] Sun May 27 23:44:44 EDT 2018 start 23
[loop-1] Sun May 27 23:46:36 EDT 2018 start 23
[loop-0] Sun May 27 23:49:43 EDT 2018 start 23
[loop-3] Sun May 27 23:52:21 EDT 2018 start 23
[loop-2] Mon May 28 01:02:25 EDT 2018 start 24
[loop-1] Mon May 28 01:04:25 EDT 2018 start 24
[loop-0] Mon May 28 01:07:27 EDT 2018 start 24
[loop-3] Mon May 28 01:10:04 EDT 2018 start 24
[loop-2] Mon May 28 02:20:02 EDT 2018 start 25
[loop-1] Mon May 28 02:22:34 EDT 2018 start 25
[loop-0] Mon May 28 02:25:13 EDT 2018 start 25
[loop-3] Mon May 28 02:27:44 EDT 2018 start 25
[loop-2] Mon May 28 03:37:46 EDT 2018 start 26
[loop-1] Mon May 28 03:40:13 EDT 2018 start 26
[loop-0] Mon May 28 03:43:11 EDT 2018 start 26
[loop-3] Mon May 28 03:45:30 EDT 2018 start 26
[loop-2] Mon May 28 04:55:06 EDT 2018 start 27
[loop-1] Mon May 28 04:57:40 EDT 2018 start 27
[loop-3] Mon May 28 05:02:21 EDT 2018 start 27
[loop-0] Mon May 28 05:04:46 EDT 2018 start 27
[loop-2] Mon May 28 06:13:00 EDT 2018 start 28
[loop-1] Mon May 28 06:15:27 EDT 2018 start 28
[loop-3] Mon May 28 06:20:20 EDT 2018 start 28
[loop-0] Mon May 28 06:22:37 EDT 2018 start 28
[loop-2] Mon May 28 07:30:35 EDT 2018 start 29
[loop-1] Mon May 28 07:33:28 EDT 2018 start 29
[loop-3] Mon May 28 07:37:58 EDT 2018 start 29
[loop-0] Mon May 28 07:40:12 EDT 2018 start 29

Leave a Reply

Your email address will not be published. Required fields are marked *