From owner-freebsd-hackers@freebsd.org Sat May 8 22:52:00 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 9BA8264216C for ; Sat, 8 May 2021 22:52:00 +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 4Fd2cw0L95z3rgq for ; Sat, 8 May 2021 22:51:59 +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 148Mpr7D032778 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 8 May 2021 18:51:58 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Subject: Re: amdgpu.ko crashes on Radeon Vega To: Hans Petter Selasky , FreeBSD Hackers References: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org> From: George Mitchell Message-ID: Date: Sat, 8 May 2021 18:51:52 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV" X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP, HELO_NO_DOMAIN, NICE_REPLY_A 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: 4Fd2cw0L95z3rgq 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]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[74.104.188.4:from]; R_SPF_ALLOW(-0.20)[+a:c]; MID_RHS_MATCH_FROM(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[m5p.com]; SPAMHAUS_ZRD(0.00)[74.104.188.4:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; ASN(0.00)[asn:701, ipnet:74.104.0.0/16, country:US]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] 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:52:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV Content-Type: multipart/mixed; boundary="Qyc55NO3uJ7x2Bjm08o05aoY7S40OTHnD"; protected-headers="v1" From: George Mitchell To: Hans Petter Selasky , FreeBSD Hackers Message-ID: Subject: Re: amdgpu.ko crashes on Radeon Vega References: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org> In-Reply-To: <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org> --Qyc55NO3uJ7x2Bjm08o05aoY7S40OTHnD Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 5/8/21 6:38 PM, Hans Petter Selasky wrote: > On 5/9/21 12:34 AM, George Mitchell wrote: >> I have (per dmesg): AMD Ryzen 3 2200G with Radeon Vega Graphics. >> (pciconf -lv reports: >> vgapci0@pci0:6:0:0:=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x030000 card=3D0x= d0001458 chip=3D0x15dd1002=20 >> rev=3D0xc8 hdr=3D0x00 >> =C2=A0=C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Advanced = Micro Devices, Inc. [AMD/ATI]' >> =C2=A0=C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Raven Rid= ge [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."=C2=A0 After a coupl= e >> more seconds, the screen goes blank and the machine is as frozen as >> can be, and I have to cycle power to recover.=C2=A0 I've tried all fou= r >> combinations of hw.vga.textmode and hw.syscons.disable, but it >> crashes each time.=C2=A0 Help!=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- George >> >=20 > Hi, >=20 > If you hook up a USB serial adapter and redirect the console to it usin= g: >=20 > hw.usb.ucom.cons_baud: 9600 > hw.usb.ucom.cons_subunit: 0 > hw.usb.ucom.cons_unit: -1 >=20 >=20 > Then you might get the prints from the panic which is happening. Also=20 > try to build a kernel with debugging support to get an automatic core d= ump. >=20 > It is also recommended to try 13-stable. The DRM code there is much new= er. >=20 > --HPS Thanks -- trying 13-stable sounds simpler, but for the moment I may just stick with VESA mode ... -- George --Qyc55NO3uJ7x2Bjm08o05aoY7S40OTHnD-- --pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAmCXFggFAwAAAAAACgkQwRES3m+p4flK RQ//UW+Karwn4dYa3kgd4sY7PsgfvFRJNWFDtlDKMOK+Are9Eev0n4+A19Kc01uiOTbTP7vg5Oe8 KKVsxYBGcq8uZJziXC1CDiTbDJ3s8DwhL/jfSqjtRI/yhwX2LvVLG5lEMpF+MleLVpQK59C2QgZd lvVozE9Mxs5cW7wwd5LmlS2pUKl7H2eFuMqmCfpg1SA4eALy3CNOriXba1eIbg1jSRLuXWSXijhu O0UpvCGvN5bvNZ1DnovFHQ7ycLBiN4S6Tci150VN6iK5OQgzfY+X0sJXfW4j8BVKQzpBBPMC61H9 tnOK6J1RkeoJBwM2sVFBkJsCCWkm8G/0AqYwSHw9TUkjLEEhGAO9wewjRdhZFUctplA4d8WQ1dYB htNIR8ZiR4mTXEdxGBZjvSNIxTjfUkg1/TQcQSUUP2dP6tP3CuMSXI45pFr8Rs/6yMfa1HfsLiIh JSpVb4oVC3gwN7YxBL16N4JEqONJ+s3PwG3I4XTMpul6QMqUbVwoaGA7L4KL6aDwLYep8BdB2uMP dXY9secbV0LCk7t0T/TFDtKbMGPtpnvHLkxtSDKixUZbPYPBWuIYtNuUJgy080KBTA3ZAT1L2IAy RhpQL9CY6aqATeXiuHhNhzOULt2y8HH6VXC6yyYI1I4Kf6J8QewEHapE/eAELotDRW4ZPN/Y9DiR cko= =A/OG -----END PGP SIGNATURE----- --pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV--