[Bug 204181] NULL pointer dereference regression in amdgpu

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Thu Aug 15 22:05:22 UTC 2019


https://bugzilla.kernel.org/show_bug.cgi?id=204181

--- Comment #31 from Sergey Kondakov (virtuousfox at gmail.com) ---
(In reply to Andrey Grodzovsky from comment #30)
> (In reply to Sergey Kondakov from comment #27)
> 
> Sergey, I tried to reproduce you latest issue on Ellsmere (Polaris 10) with
> "ShadowPrimary" enabled flip disabled and didn't observe any crash.
> In case you built your own kernel can you give me the output of this command
> -
> 
> Run gdb on amdgpu.ko
> gdb drivers/gpu/drm/amd/amdgpu/amdgpu.ko
> 
> Then do - 
> list *(amdgpu_vm_update_directories+0xe7)

The crash may take a while (hours) to manifest and requires some video-watching
via Firefox and/or mpv (with '--opengl-pbo' option on opengl-hq profile). It
also may or may not need VAAPI to be used ('--hwdec=vaapi-copy' in case of
mpv).

My kernel is built on OBS build-server, so I had to enable debuginfo packaging
and rebuild it, then debuginfo package used up mind-boggling 5,1gb of space
leaving me with measly ~400mb on / ! After that I managed to get this:
0x2e127 is in amdgpu_vm_update_directories
(../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1191).
where line #1191 is:
struct amdgpu_bo *bo = parent->base.bo, *pbo;

But it a different build of the kernel, so I don't know if this is even
relevant. I'm not going to stick around with this monstrosity. You may check
out the packages at
https://build.opensuse.org/package/binaries/home:X0F:HSF:Kernel/kernel-HSF/standard
- they have pretty much all kernel modules that x86_64 supports, so it should
run anywhere.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list