apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1869235/+attachment/5342186/+files/Lspci.txt

-- 
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:
  Confirmed

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.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu8.6
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 19.10
  InstallationDate: Installed on 2020-03-20 (6 days ago)
  InstallationMedia: Ubuntu-Server 19.10 "Eoan Ermine" - Release amd64 
(20191017)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-42-generic 
root=UUID=89cfcc61-dbca-43d3-9a2e-5961df9ae5b4 ro
  ProcVersionSignature: Ubuntu 5.3.0-42.34-generic 5.3.18
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-42-generic N/A
   linux-backports-modules-5.3.0-42-generic  N/A
   linux-firmware                            1.183.4
  RfKill:
   
  Tags:  eoan uec-images
  Uname: Linux 5.3.0-42-generic x86_64
  UnreportableReason: This report is about a package that is not installed.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lxd plugdev sudo
  _MarkForUpload: False
  dmi.bios.date: 10/03/2019
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P3.30
  dmi.board.name: X470D4U2-2T
  dmi.board.vendor: ASRockRack
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP3.30:bd10/03/2019:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRockRack:rnX470D4U2-2T:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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