From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
To: "StDenis, Tom" <Tom.StDenis@amd.com>
Cc: "Grodzovsky, Andrey" <Andrey.Grodzovsky@amd.com>,
"Wentland, Harry" <Harry.Wentland@amd.com>,
"Deucher, Alexander" <Alexander.Deucher@amd.com>,
"Koenig, Christian" <Christian.Koenig@amd.com>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Subject: Re: After Vega 56/64 GPU hang I unable reboot system
Date: Thu, 20 Dec 2018 02:14:57 +0500 [thread overview]
Message-ID: <CABXGCsP9O8p1_hC31faCYkUOnHZp_i=mWuP5_F9v-KPxeOMsdQ@mail.gmail.com> (raw)
In-Reply-To: <C97D2E5E-24AB-4B28-B7D3-BF561E4FF3D6@amd.com>
On Thu, 20 Dec 2018 at 01:56, StDenis, Tom <tom.stdenis@amd.com> wrote:
>
> Sorry missed the gfx ring in the reply.
>
> Um what kernel version?
4.20.0-0.rc6
> Is this the latest umr?
yes, master branch, commit 546c30a71f7b87f97f2a96eab184c3973b014711
> Maybe capture a trace of umr to see what is happening.
Cannot seek to MMIO address: Bad file descriptor
[ERROR]: Could not open ring debugfs file
Program received signal SIGSEGV, Segmentation fault.
umr_pm4_decode_ring (asic=asic@entry=0x1c08a50, ringname=<optimized
out="">, no_halt=no_halt@entry=1) at
/home/mikhail/packaging-work/umr/src/lib/umr_read_pm4_stream.c:333
333 ringdata[0] %= ringsize;
(gdb) thread apply all bt full
Thread 1 (Thread 0x7ffff7a22740 (LWP 7844)):
#0 umr_pm4_decode_ring (asic=asic@entry=0x1c08a50,
ringname=<optimized out="">, no_halt=no_halt@entry=1) at
/home/mikhail/packaging-work/umr/src/lib/umr_read_pm4_stream.c:333
ps = <optimized out="">
ringdata = 0x0
ringsize = 8191
#1 0x00000000004b4ac6 in umr_print_waves (asic=asic@entry=0x1c08a50)
at /home/mikhail/packaging-work/umr/src/app/print_waves.c:52
x = <optimized out="">
y = <optimized out="">
shift = <optimized out="">
thread = <optimized out="">
pgm_addr = <optimized out="">
shader_addr = <optimized out="">
wd = <optimized out="">
owd = <optimized out="">
first = 1
col = 0
shader = 0x0
stream = <optimized out="">
#2 0x0000000000496952 in main (argc=<optimized out="">,
argv=<optimized out="">) at
/home/mikhail/packaging-work/umr/src/app/main.c:285
i = 3
j = <optimized out="">
k = <optimized out="">
l = <optimized out="">
asic = 0x1c08a50
blockname = <optimized out="">
str = <optimized out="">
str2 = <optimized out="">
asicname = "\000\000\000\000\004", '\000' <repeats 19=""
times="">, "F;\226\000\000\000\000\000\000\000\000\000\004", '\000'
<repeats 19="" times="">, "\a", '\000' <repeats 11="" times="">,
"\004", '\000' <repeats 19="" times="">,
"\027\362\321\000\000\000\000\000\000\000\000\000\004", '\000'
<repeats 31="" times="">, "\004", '\000' <repeats 31="" times="">,
"\004", '\000' <repeats 31="" times="">, "\004", '\000' <repeats 31=""
times="">...
ipname = '\000' <repeats 24="" times="">, "F;\226", '\000'
<repeats 29="" times="">, "l-option", '\000' <repeats 24="" times="">,
"\006\000\000\000\000\000\000\200", '\000' <repeats 56="" times="">,
"\027\362\321", '\000' <repeats 29="" times="">, "\037", '\000'
<repeats 31="" times="">...
regname = "\000\000\000\000\000 ", '\000' <repeats 18=""
times="">, "\017\004", '\000' <repeats 11="" times="">, " ", '\000'
<repeats 18="" times="">, "\220\377\377\377\377\377\377\377", '\000'
<repeats 16="" times="">, "\031", '\000' <repeats 15="" times="">,
"\a\000\000\000\000\000\000\000\037\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\030\220\275\001\000\000\000\000P\000\000\000\000\000\000\000\220\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\003\000\000\000w\000\000\000[\000\000\000\060",
'\000' <repeats 27="" times="">, "n\000\000\000|", '\000' <repeats
19="" times="">...
req = {tv_sec = 0, tv_nsec = 7310868735956184161}
(gdb)
> It works just fine on my raven1.
>
$ inxi -bM
System: Host: localhost.localdomain Kernel:
4.20.0-0.rc6.git2.3.fc30.x86_64 x86_64 bits: 64 Desktop: Gnome 3.31.2
Distro: Fedora release 30 (Rawhide)
Machine: Type: Desktop Mobo: ASUSTeK model: ROG STRIX X470-I GAMING
v: Rev 1.xx serial: <root required="">
UEFI: American Megatrends v: 1103 date: 11/16/2018
CPU: 8-Core: AMD Ryzen 7 2700X type: MT MCP speed: 2086 MHz
min/max: 2200/3700 MHz
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Vega 10 XL/XT
[Radeon RX Vega 56/64] driver: amdgpu v: kernel
Display: wayland server: Fedora Project X.org 1.20.3
driver: amdgpu resolution: 3840x2160~60Hz
OpenGL: renderer: Radeon RX Vega (VEGA10 DRM 3.27.0
4.20.0-0.rc6.git2.3.fc30.x86_64 LLVM 7.0.0) v: 4.5 Mesa 18.3.0
Network: Device-1: Intel I211 Gigabit Network driver: igb
Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
driver: r8822be
Drives: Local Storage: total: 11.35 TiB used: 7.54 TiB (66.4%)
Info: Processes: 435 Uptime: 22m Memory: 31.35 GiB used: 19.69
GiB (62.8%) Shell: bash inxi: 3.0.29
--
Best Regards,
Mike Gavrilov.
next prev parent reply other threads:[~2018-12-19 21:15 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-04 22:18 Mikhail Gavrilov
2018-12-14 19:36 ` Wentland, Harry
2018-12-15 9:42 ` Mikhail Gavrilov
2018-12-17 18:51 ` Wentland, Harry
2018-12-17 19:08 ` Grodzovsky, Andrey
2018-12-19 18:35 ` Mikhail Gavrilov
2018-12-19 20:21 ` Grodzovsky, Andrey
2018-12-19 20:51 ` StDenis, Tom
2018-12-19 20:56 ` StDenis, Tom
2018-12-19 21:14 ` Mikhail Gavrilov [this message]
2018-12-19 21:21 ` Mikhail Gavrilov
2018-12-19 22:41 ` StDenis, Tom
2018-12-20 3:29 ` Mikhail Gavrilov
2018-12-20 11:17 ` StDenis, Tom
2018-12-20 11:45 ` Mikhail Gavrilov
2018-12-20 14:06 ` StDenis, Tom
2018-12-20 14:08 ` StDenis, Tom
2018-12-20 14:19 ` StDenis, Tom
[not found] ` <96c70496-ce62-b162-187c-ff34ebb84ec2-5C7GfCeVMHo@public.gmane.org>
2018-12-20 16:07 ` Mikhail Gavrilov
2018-12-20 16:20 ` StDenis, Tom
2018-12-22 10:28 ` Mikhail Gavrilov
2018-12-22 10:28 ` Mikhail Gavrilov
2019-01-03 20:23 ` Mikhail Gavrilov
2019-01-04 17:50 ` Mikhail Gavrilov
2019-01-07 18:46 ` Grodzovsky, Andrey
2019-01-09 19:36 ` Mikhail Gavrilov
2019-01-09 20:35 ` Grodzovsky, Andrey
2019-01-09 21:12 ` Mikhail Gavrilov
2019-01-09 21:12 ` Mikhail Gavrilov
2019-01-09 21:48 ` Grodzovsky, Andrey
2019-01-10 4:04 ` Mikhail Gavrilov
2019-01-10 8:54 ` Michel Dänzer
2019-01-10 9:42 ` Mikhail Gavrilov
2019-01-10 9:42 ` Mikhail Gavrilov
2019-01-10 10:38 ` Michel Dänzer
2019-01-10 15:22 ` Mikhail Gavrilov
2019-01-10 15:22 ` Mikhail Gavrilov
2019-01-10 15:31 ` StDenis, Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABXGCsP9O8p1_hC31faCYkUOnHZp_i=mWuP5_F9v-KPxeOMsdQ@mail.gmail.com' \
--to=mikhail.v.gavrilov@gmail.com \
--cc=Alexander.Deucher@amd.com \
--cc=Andrey.Grodzovsky@amd.com \
--cc=Christian.Koenig@amd.com \
--cc=Harry.Wentland@amd.com \
--cc=Tom.StDenis@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox