From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 111229] Unable to unbind GPU from amdgpu Date: Sun, 28 Jul 2019 11:35:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1611737291==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 520076E02A for ; Sun, 28 Jul 2019 11:35:35 +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 --===============1611737291== Content-Type: multipart/alternative; boundary="15643137351.bc4Dc1.16285" Content-Transfer-Encoding: 7bit --15643137351.bc4Dc1.16285 Date: Sun, 28 Jul 2019 11:35:35 +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=3D111229 --- Comment #5 from wedens13@yandex.ru --- Created attachment 144896 --> https://bugs.freedesktop.org/attachment.cgi?id=3D144896&action=3Dedit unbinding without X running I've attached a log of attempt to unbind without X running: systemctl stop sddm echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind || true echo "0000:03:00.0" > /sys/bus/pci/devices/0000:03:00.0/driver/unbind Result is the same but backtrace seems a bit different. This was done with kernel 5.2.1. I've tried suspend to ram and another reset bug mitigation (which helps in other cases), but gpu is still unusable after this failed attempt to unbind= . I still can't re-bind it to amdgpu or vfio-pci and clean shutdown is not happening. --=20 You are receiving this mail because: You are the assignee for the bug.= --15643137351.bc4Dc1.16285 Date: Sun, 28 Jul 2019 11:35:35 +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

Commen= t # 5 on bug 11122= 9 from wedens13@yande= x.ru
Created attachment 1=
44896 [details]
unbinding without X running

I've attached a log of attempt to unbind without X running:

systemctl stop sddm
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbin=
d ||
true

echo "0000:03:00.0" > /sys/bus/pci/devices/0000:03:00.0/driver=
/unbind

Result is the same but backtrace seems a bit different. This was done with
kernel 5.2.1.

I've tried suspend to ram and another reset bug mitigation (which helps in
other cases), but gpu is still unusable after this failed attempt to unbind=
. I
still can't re-bind it to amdgpu or vfio-pci and clean shutdown is not
happening.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15643137351.bc4Dc1.16285-- --===============1611737291== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1611737291==--