[Bug 106225] Kernel panic after modesetting (not on every boot) on ryzen 5 2400g

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 27 17:14:55 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106225

--- Comment #12 from Francisco Pina Martins <f.pinamartins at gmail.com> ---
francisco at ZenBox [18:03:53] [/usr/lib/modules/4.16.5-1-kasan/build] 
-> $ 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=0 amdgpu.si_support=1

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=0 amdgpu.cik_support=1

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 debugging.

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.ko.xz"
which I have decompressed using "xz -k -d".
Running the command you requested resulted in the following output:

francisco at ZenBox [18:12:53] [/usr/lib/modules/4.16.5-1-kasan/build] 
-> $ scripts/faddr2line ../kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
firmware_parser_create+0xa70/0xd90 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180427/7575e836/attachment-0001.html>


More information about the dri-devel mailing list