From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106225] Kernel panic after modesetting (not on every boot) on ryzen 5 2400g Date: Fri, 27 Apr 2018 17:14:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1354127345==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AC0BC6EA9F for ; Fri, 27 Apr 2018 17:14:54 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1354127345== Content-Type: multipart/alternative; boundary="15248492940.A22e.29685" Content-Transfer-Encoding: 7bit --15248492940.A22e.29685 Date: Fri, 27 Apr 2018 17:14:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106225 --- Comment #12 from Francisco Pina Martins --- francisco@ZenBox [18:03:53] [/usr/lib/modules/4.16.5-1-kasan/build]=20 -> $ scripts/faddr2line drivers/gpu/drm/amd/amdgpu/amdgpu.ko firmware_parser_create+0xa70/0xd90 ERROR: can't find objfile drivers/gpu/drm/amd/amdgpu/amdgpu.ko the directory "drivers/gpu/drm/amd/amdgpu/" contains only a file named "Kconfig", containing the following: ``` config DRM_AMDGPU_SI bool "Enable amdgpu support for SI parts" depends on DRM_AMDGPU help Choose this option if you want to enable experimental support for SI asics. SI is already supported in radeon. Experimental support for SI in amdgpu will be disabled by default and is still provided by radeon. Use module options to override this: radeon.si_support=3D0 amdgpu.si_support=3D1 config DRM_AMDGPU_CIK bool "Enable amdgpu support for CIK parts" depends on DRM_AMDGPU help Choose this option if you want to enable support for CIK asics. CIK is already supported in radeon. Support for CIK in amdgpu will be disabled by default and is still provided by radeon. Use module options to override this: radeon.cik_support=3D0 amdgpu.cik_support=3D1 config DRM_AMDGPU_USERPTR bool "Always enable userptr write support" depends on DRM_AMDGPU select MMU_NOTIFIER help This option selects CONFIG_MMU_NOTIFIER if it isn't already selected to enabled full userptr support. config DRM_AMDGPU_GART_DEBUGFS bool "Allow GART access through debugfs" depends on DRM_AMDGPU depends on DEBUG_FS default n help Selecting this option creates a debugfs file to inspect the mapped pages. Uses more memory for housekeeping, enable only for debuggi= ng. source "drivers/gpu/drm/amd/acp/Kconfig" source "drivers/gpu/drm/amd/display/Kconfig" ``` I did find amdgpu.ko.xz under "/usr/lib/modules/4.16.5-1-kasan/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.k= o.xz" which I have decompressed using "xz -k -d". Running the command you requested resulted in the following output: francisco@ZenBox [18:12:53] [/usr/lib/modules/4.16.5-1-kasan/build]=20 -> $ scripts/faddr2line ../kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko firmware_parser_create+0xa70/0xd90=20 firmware_parser_create+0xa70/0xd90: firmware_parser_create at ??:? PS - Thank you for your patience --=20 You are receiving this mail because: You are the assignee for the bug.= --15248492940.A22e.29685 Date: Fri, 27 Apr 2018 17:14:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 12 on bug 10622= 5 from Francisco Pina Martins
francisco@ZenBox [18:03:53] [/usr/lib/modules/4.16.5-1-kas=
an/build]=20
-> $ scripts/faddr2line drivers/gpu/drm/amd/amdgpu/amdgpu.ko
firmware_parser_create+0xa70/0xd90
ERROR: can't find objfile drivers/gpu/drm/amd/amdgpu/amdgpu.ko

the directory "drivers/gpu/drm/amd/amdgpu/" contains only a file =
named
"Kconfig", containing the following:


```
config DRM_AMDGPU_SI
        bool "Enable amdgpu support for SI parts"
        depends on DRM_AMDGPU
        help
          Choose this option if you want to enable experimental support
          for SI asics.

          SI is already supported in radeon. Experimental support for SI
          in amdgpu will be disabled by default and is still provided by
          radeon. Use module options to override this:

          radeon.si_support=3D0 amdgpu.si_support=3D1

config DRM_AMDGPU_CIK
        bool "Enable amdgpu support for CIK parts"
        depends on DRM_AMDGPU
        help
          Choose this option if you want to enable support for CIK asics.

          CIK is already supported in radeon. Support for CIK in amdgpu
          will be disabled by default and is still provided by radeon.
          Use module options to override this:

          radeon.cik_support=3D0 amdgpu.cik_support=3D1

config DRM_AMDGPU_USERPTR
        bool "Always enable userptr write support"
        depends on DRM_AMDGPU
        select MMU_NOTIFIER
        help
          This option selects CONFIG_MMU_NOTIFIER if it isn't already
          selected to enabled full userptr support.

config DRM_AMDGPU_GART_DEBUGFS
        bool "Allow GART access through debugfs"
        depends on DRM_AMDGPU
        depends on DEBUG_FS
        default n
        help
          Selecting this option creates a debugfs file to inspect the mapped
          pages. Uses more memory for housekeeping, enable only for debuggi=
ng.

source "drivers/gpu/drm/amd/acp/Kconfig"
source "drivers/gpu/drm/amd/display/Kconfig"
```

I did find amdgpu.ko.xz under
"/usr/lib/modules/4.16.5-1-kasan/kernel/drivers/gpu/drm/amd/amdgpu/amd=
gpu.ko.xz"
which I have decompressed using "xz -k -d".
Running the command you requested resulted in the following output:

francisco@ZenBox [18:12:53] [/usr/lib/modules/4.16.5-1-kasan/build]=20
-> $ scripts/faddr2line ../kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
firmware_parser_create+0xa70/0xd90=20
firmware_parser_create+0xa70/0xd90:
firmware_parser_create at ??:?


PS - Thank you for your patience


You are receiving this mail because:
  • You are the assignee for the bug.
= --15248492940.A22e.29685-- --===============1354127345== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1354127345==--