This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1869235

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1869235

Title:
  Ryzen 3rd gen (3900X) ECC support missing from kernel

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu server:
  Description:    Ubuntu 19.10
  Release:        19.10
  Installed kernel:
  linux-generic:
    Installed: 5.3.0.42.36
  (I could not figure out what package to select in the 'in what package did 
you find this bug' chooser)

  Expected behavior: ECC RAM is detected and utilized
  Result instead:
  Error in dmesg at boot:
  EDAC amd64: Error: F0 not found, device 0x1460 (broken BIOS?) (more in the 
attached KernelErrors.log)

  Kernel 5.3 is missing ECC support for some families of AMD Ryzen 3rd
  gen CPUs.

  Support is added via these two commits in the mainline tree:
  
https://github.com/torvalds/linux/commit/e53a3b267fb0a79db9ca1f1e08b97889b22013e6
  
https://github.com/torvalds/linux/commit/3e443eb353eda6f4b4796e07f2599683fa752f1d

  The second commit actually adds the missing support, but it relies on
  the first commit: a partial refactor of the AMD ECC code.

  I tested myself, followed the instructions at 
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel to build my own kernel, 
cherry-picked the two above commits, and have working ECC support on my 
self-built kernel:
  Linux smaug 5.3.0-43-generic #36 SMP Sat Mar 21 02:33:30 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux:

  EDAC MC: Ver: 3.0.0
  EDAC amd64: Node 0: DRAM ECC enabled.
  EDAC amd64: F17h_M70h detected (node 0).
  EDAC MC: UMC0 chip selects:
  EDAC amd64: MC: 0:     0MB 1:     0MB
  EDAC amd64: MC: 2: 16384MB 3: 16384MB
  EDAC MC: UMC1 chip selects:
  EDAC amd64: MC: 0:     0MB 1:     0MB
  EDAC amd64: MC: 2: 16384MB 3: 16384MB
  EDAC amd64: using x16 syndromes.
  EDAC amd64: MCT channel count: 2
  EDAC MC0: Giving out device to module amd64_edac controller F17h_M70h: DEV 
0000:00:18.3 (INTERRUPT)
  EDAC PCI0: Giving out device to module amd64_edac controller EDAC PCI 
controller: DEV 0000:00:18.0 (POLLED)
  AMD64 EDAC driver v3.5.0

  
  If this could be included in a future hardware support kernel release, that 
would be very helpful.  I am unsure what the policy is for including this kind 
of backport in non-LTS kernels, though I know the LTS releases have hardware 
support updates that include this type of fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1869235/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to