From owner-freebsd-hackers@freebsd.org Sat May 8 22:34:09 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E7526419EF for ; Sat, 8 May 2021 22:34:09 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "m5p.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fd2DJ5krQz3qyx for ; Sat, 8 May 2021 22:34:08 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::26] (court.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:26]) (authenticated bits=0) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPSA id 148MY1lq032676 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 8 May 2021 18:34:07 -0400 (EDT) (envelope-from george+freebsd@m5p.com) To: FreeBSD Hackers From: George Mitchell Subject: amdgpu.ko crashes on Radeon Vega Message-ID: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> Date: Sat, 8 May 2021 18:34:01 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZOi9oqqjy9imAUXRw97EttziJi8zsknLt" X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP,HELO_NO_DOMAIN autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on mattapan.m5p.com X-Rspamd-Queue-Id: 4Fd2DJ5krQz3qyx X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of george@m5p.com designates 74.104.188.4 as permitted sender) smtp.mailfrom=george@m5p.com X-Spamd-Result: default: False [-5.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; HAS_ATTACHMENT(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[74.104.188.4:from]; ASN(0.00)[asn:701, ipnet:74.104.0.0/16, country:US]; R_DKIM_NA(0.00)[]; TAGGED_FROM(0.00)[freebsd]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[m5p.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[74.104.188.4:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2021 22:34:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ZOi9oqqjy9imAUXRw97EttziJi8zsknLt Content-Type: multipart/mixed; boundary="TRTXYUpQTKc1VcEjIFAIUoFCskzIlyaRf"; protected-headers="v1" From: George Mitchell To: FreeBSD Hackers Message-ID: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> Subject: amdgpu.ko crashes on Radeon Vega --TRTXYUpQTKc1VcEjIFAIUoFCskzIlyaRf Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable I have (per dmesg): AMD Ryzen 3 2200G with Radeon Vega Graphics. (pciconf -lv reports: vgapci0@pci0:6:0:0: class=3D0x030000 card=3D0xd0001458 chip=3D0x15dd1= 002=20 rev=3D0xc8 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD/ATI]' device =3D 'Raven Ridge [Radeon Vega Series / Radeon Vega Mobile= Series]') I am running FreeBSD 12.2-RELEASE-p6 r369558. I built amdgpu.ko from drm-fbsd12.0-kmod-4.16.g20201016_1. When I boot single-user, with only kernel, vboxdrv.ko, and sem.ko loaded, and I type "kldload amdgpu", I get about six or seven lines of output, ending with "pci i/o bar is not found." After a couple more seconds, the screen goes blank and the machine is as frozen as can be, and I have to cycle power to recover. I've tried all four combinations of hw.vga.textmode and hw.syscons.disable, but it crashes each time. Help! -- George --TRTXYUpQTKc1VcEjIFAIUoFCskzIlyaRf-- --ZOi9oqqjy9imAUXRw97EttziJi8zsknLt Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAmCXEdkFAwAAAAAACgkQwRES3m+p4fmS kxAAnKMhii3AJH/1OYXRJusQWz8IxMXpBO87a8rBC4ZF7KEyELP06llg4fI20NayJZsk3pZaKvLP N6Txtv3bGQbRdD8rp3e+VV2JL9IEd3vzOqaX+IuyvHjM6GswRg3SoT5PMNBS8Rr9Ws29d0nvRwb7 IjrL4ldBFRcD5/mEfMoH03eHs7Lk7NQSdH1h2v38x6sUtiNHY+V6wXntJNwVKce7HcD5mM3Gqt32 582dblk6LEIQVkdqGeML1aEvCGVuUPstS4PU5knmIVyq2aVh9gaUlNcB9EAVToFWmK4UMDO4TRbK YUkTB/HBLN9aPX7a0gQjnoElQ1haMspA+rvhURyodFsJ8vo72f2k/4qvS9Qn9PnmkAvHev7ynehs iUwDgTUeMGPyEYBKnbLr5moe7lH8ddCpC7uPugUaFWY1hihwVvj0t7f0LfuXYcGzPsS+cSQQpWUN OoTdCqizORMyonbSjOQSy6mJXZ1gWzM0lH8NeyArnHLOfnQ6akhd/APEYHjyzwjI47dFPz0MI8xu 2uWmbtM04Oc13z24d6LgAO/E3jR+s92kUJiJXEtqkvgNY5z2K9qADXmdNxB5hQ4Q852KaO1HWbS5 qrKiWaTy9wwEbxK5xHF/hnl48Qh2dHldVyw/8Bb57znGTdgdYMl7idvzejeUoArAg8BTC3rbttMJ GMQ= =KQ5Y -----END PGP SIGNATURE----- --ZOi9oqqjy9imAUXRw97EttziJi8zsknLt--