From nobody Fri Aug 6 15:52:52 2021 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BF6621346FD7 for ; Fri, 6 Aug 2021 15:53:01 +0000 (UTC) (envelope-from ali.abdallah@suse.com) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gh93x0mKCz4mcs for ; Fri, 6 Aug 2021 15:53:01 +0000 (UTC) (envelope-from ali.abdallah@suse.com) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 21CDA1FED2 for ; Fri, 6 Aug 2021 15:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1628265173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=QIX8drZLK1L9zbmY94N4vHZuaE+lUexUeHSuwK6A7w4=; b=oRQ3hVNrcsl+1OpsGbbCFXVK5sHnjiPZsRGfmtB5OaGG18e0KCoRxUpx+131v0Ebyt0w75 WfYQcHmexii1xa/nmIAlkwhGM5w5z0Vqs1f0y028QOkz5nheeKW/C4Yl2Cr3b/8luc/rxp wZda41XxRWkkrN02mC46zmSxcgsYguA= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F2F3D13A8E for ; Fri, 6 Aug 2021 15:52:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Vzj2ONRaDWGYXQAAMHmgww (envelope-from ) for ; Fri, 06 Aug 2021 15:52:52 +0000 Date: Fri, 6 Aug 2021 17:52:52 +0200 To: freebsd-stable@freebsd.org Subject: Picasso AMD GPU freeze with the new g20210330 gpu firmwares Message-ID: <20210806155252.24riqjok4tw7kcx7@Fryzen495> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6z5clkxltcq7aofe" Content-Disposition: inline X-Rspamd-Queue-Id: 4Gh93x0mKCz4mcs X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=suse.com header.s=susede1 header.b=oRQ3hVNr; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (mx1.freebsd.org: domain of ali.abdallah@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=ali.abdallah@suse.com X-Spamd-Result: default: False [-8.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[suse.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp-out2.suse.de]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[suse.com:+]; RCVD_IN_DNSWL_MED(-0.20)[195.135.220.29:from]; DMARC_POLICY_ALLOW(-0.50)[suse.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-0.999]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:29298, ipnet:195.135.220.0/23, country:DE]; RCVD_TLS_ALL(0.00)[] Reply-To: ali.abdallah@suse.com From: Ali Abdallah via freebsd-stable X-Original-From: Ali Abdallah X-ThisMailContainsUnwantedMimeParts: N --6z5clkxltcq7aofe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi, I recently switched my port tree from 2021Q2 to 2021Q3, after updating and rebooting my FreeBSD 13.0 system, I started to notice random system freeze, I can ssh to the frozen system, and from dmesg I see: --- Aug 4 08:58:51 Fryzen495 kernel: drmn0: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:1 pasid:32769, for process pid 100349 thread pid 100349) Aug 4 08:58:51 Fryzen495 kernel: drmn0: in page starting at address 0x000080012c3f0000 from client 27 Aug 4 08:58:51 Fryzen495 kernel: drmn0: VM_L2_PROTECTION_FAULT_STATUS:0x00141051 Aug 4 08:58:51 Fryzen495 kernel: drmn0: MORE_FAULTS: 0x1 Aug 4 08:58:51 Fryzen495 kernel: drmn0: WALKER_ERROR: 0x0 Aug 4 08:58:51 Fryzen495 kernel: drmn0: PERMISSION_FAULTS: 0x5 Aug 4 08:58:51 Fryzen495 kernel: drmn0: MAPPING_ERROR: 0x0 Aug 4 08:58:51 Fryzen495 kernel: drmn0: RW: 0x1 --- The only thing seemed relevent for me between 2021Q2 and 2021Q3 is the newer GPU firmware g20210330 versus g20210224. I downgraged to g20210224, rebooted the system, and it is running stable as before. I found a similar issue here: https://githubmemory.com/repo/freebsd/drm-kmod/issues/78 But didn't try the mentioned work-around. My system is always connected to two external monitors using a USB-C dock, was running for almost 4 months without a reboot with the old firmwares. Shall I open a bug report? I hope this mail helps someone. Regards, Ali. --6z5clkxltcq7aofe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEUaD0oMjPyY+ELqmouUVW+ByF0NUFAmENWtEACgkQuUVW+ByF 0NWj1g//fbY03zCyLfp0IYBgS6SnPuvN9RYEQFOfNLEwBkhvWv+aQ1ksROl/9wV4 aMR6uQUC4NYDZL0QNue51PeFidJdAtyZq1Nn4HU6cav3Vzf1GmuiZlQvQZVMzfRS OMhVVGg3+DOY1ozDaFz1pVHGz4P016+mHX9ftrbpFmFQcSSokdxrv9lv6nYO4ey/ YXQ9g+cqKA4uBim2CgEZuDrFzQkM5d74wLSlSwBayaMq+sFjChG+XPrLQimvWVPI xh70h/pfPm4jKbIHEDMUMz5UFD5HwpW8r+s+WkX79iSQWHIHcXjMN9CaQdEJf+eA 8PbE80TZnxYBS4gEklqv0q0qq6f8noYsRmjwgfhoH+OTHQCv73a3iiBqKod/9RvE /0AWO2P6A5e85Ean/6xcgoK9XFs3PSr+xShVKP2ZhMMNlDccd6aVYUzczhfeReRF seT5ZunK2jOEm5AUJng9ovl039tsRgxEs2TSZ/G3y+Inq8gWuxIyqtZJx90SOuGP DiJKpLayeplngfLNbVw+xSbe9yRmqueF++dOcWuilmcuZxnefOUUg/bLSO6PQzCH juSnqSdaajq/XPx4r2mNObjwkjxTKDNWt28z+v+NvWTJXtMNR05ohpKWPLCXolrQ ANTzbZ+NLIB5O8mpo1qjWFJPQ7iPWCJjHJryVFVJf5gSJfegkRA= =+NKs -----END PGP SIGNATURE----- --6z5clkxltcq7aofe--