From nobody Sun Feb 12 08:17:01 2023 X-Original-To: ports-bugs@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 4PF0gd6dsZz3q3Vl for ; Sun, 12 Feb 2023 08:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PF0gd4KLYz3Mmx for ; Sun, 12 Feb 2023 08:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676189821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LyOHoTfBGz/lVwXhz3fHU7dsRPkaEzq185wWCeMLI3M=; b=frQrCGsj0jbQM8xu8ZDZ2VU4Ujm/uViMexA5stVlEsuDxbYT//a/d5BCvs1qkYNz4oUhte i6zddSK6f8+aBJQLN6OUV/7hNjw/V8F5xT4XNCFIcYx9WpIjngamlmxX3bR1kQbiKNzdqU gISf7AW2M9D2V5i82DIGFkMG1+Bv2JZdfmcgYg3y7z60q+uXPIMb0RaK80MYTMdmYTpj6g goHyDnsphpBUqOUTvssLZH2vnmYQkdcPQG6uUsHLxe+R/ify07s2Q0LAgkZc23lLPWilv0 2ztWQRmqY3Jf/cz7dQlDmd871egnnpBxjtEHlKImiuEuPA1+JeYe8MD7QwMmew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676189821; a=rsa-sha256; cv=none; b=uG2uUiJxJh7/wZRw/f95RZOGoquluFk2ySchTYPJUtN6nRrrjAFb1OKMEcmm34rjr5pZMS 3JwUVoOOVK5KcNbvuYyxYbaQ0eqEPEMw4Al30bMD6U6wgvSzKQuzvhYUX9dAj3oBirm0n1 zThQ6jCEDdG0Z2H3xbC7NIsayKNs9RDfMQVT+6uH5JAaEfd0vix6GmtyCPoxRCI9qjoqLd Ys0H/cmCWmu9vDjGO86DJzFFoQPHn15ItLH36pcw3rN5KNyM82JeK0735tyS1+dXAmDBnr SqbuYSSWVroTw+YWbZcyXPhxhnhOXyBCrlZ050cfXNZcdYggKWs5YwgpOCAftw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PF0gd3PSzzWHf for ; Sun, 12 Feb 2023 08:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 31C8H1NR095800 for ; Sun, 12 Feb 2023 08:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31C8H1Z4095799 for ports-bugs@FreeBSD.org; Sun, 12 Feb 2023 08:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269510] Problem with amdgpu kernel module after upgrading FreeBSD 13.1 system Date: Sun, 12 Feb 2023 08:17:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: riza.dindir@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269510 Bug ID: 269510 Summary: Problem with amdgpu kernel module after upgrading FreeBSD 13.1 system Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: riza.dindir@gmail.com Hardware: AMD FX7500 CPU AMD Radeon R7 M265, with two graphics devices. One device is the Kaveri [Ra= deon R6/R& Graphics] with PCI id 0x002 0x1309. The other is the Opal XT (oland) [Radeon R7 M265/M365X/M465]. OS: FreeBSD, 13.1-RELEASE, FreeBSD 13.1-RELEASE, releng/13.1-n250148-fc952ac221= 2, GENERIC, amd64 What Happened: Wanted to upgrade all the packages on my system. I have run "pkg upgrade". = The command did these: 1. Upgraded pkg from 1.18.4 to 1.19.0 2. Removed (deinstalled) the drm-fbsd13-kmod-5.1.191.g20220604_1. 3. Upgraded all the gpu-firmware-amd-kmod-* packages from version 20220511 = to 20221207_1. 4. Installed drm-510-kmod-5.10.113_8. 5. Upgraded drm-firmware-kmod from 20220511,1 to 20221208-1,1. Prior to the upgrade I have been loading the amdgpu kernel module in the rc.conf file. kld_list=3D"amdgpu". After the upgrade, I restarted the system. The system halted at the "loading kernel modules" message, and a line of colored pixels at the right lower part of the LCD screen (laptop). Restarted the system, Went into the single user mode. Did fsck and "mount -= u /" and removed the amdgpu from kld_list to prevent it from loading. Then resta= rted the system. After boot I did the update and upgrade again by doing these things: 1. pkg update -f 2. pkg install drm-510-kmod 3. pkg install drm-kmod (which also pulls the gpu-firmware-kmod package). 4. pkg upgrade -f All the packages were forcefully upgraded. Then changed kld_list to load the radeonkms kernel module (kld_list=3D"radeonkms"). After changing the kernel module, the system started normally and the graph= ics devices were initialized correctly. On the https://wiki.freebsd.org/Graphics page it is stated that the radeonk= ms kernel module is for older GPU's (pre-HD7000 or pre-Tahiti). I am not sure if my card is pre-Tahiti, or pre-HD7000. I think they might be newer. Being able to use the amdgpu kernel module prior to the package upgrade and having to use radeonkms after the upgrade might indicate a bug in the amdgpu kernel module. --=20 You are receiving this mail because: You are the assignee for the bug.=