From nobody Sun Feb 6 16:58:14 2022 X-Original-To: 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 3B88919A2DDC for ; Sun, 6 Feb 2022 16:58:15 +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 4JsFpG6Njjz505S for ; Sun, 6 Feb 2022 16:58:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B7E7D1619D for ; Sun, 6 Feb 2022 16:58:14 +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 216GwErU079238 for ; Sun, 6 Feb 2022 16:58:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 216GwE4n079237 for bugs@FreeBSD.org; Sun, 6 Feb 2022 16:58:14 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: bugs@FreeBSD.org Subject: [Bug 261749] radeonkms corrupts kernel (panic) when being unloaded Date: Sun, 06 Feb 2022 16:58:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sblachmann@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644166694; 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=oW0icxlc6OqdDFLFXPvngC2nRkSjvqLDKcBkhvCqd5Q=; b=HgDTsAVDRTMgUOcBFacrmWQ4HicCL2qS/kNyJcmNT31ESEQc6rEghdqNRmy/xHZzeDUW9g t/VAgA0VDD6aRyfIKzXlyoDKD9uYtSnFB/SgOdvBR5ETZsL1v6gb+CC2PAOzMS6Jh9bxHz xs0zwSsUgZSRGuK1V1JJeJ9pRS92pS4F4L5UENbCVlGgVtYCXKOtaaHhB95otazD7xBroM d9OeAUle/rAtrqDUmzywig/VzN6IACzCMRWzTZ04iIxn2VVmhPC4v/S+CPqu3kjVRbLSCz fWkfvFMmjTH+/hBXrgRglmXmRD3QV9q/8PZ9/VCKatCOBkr4Hf1hW4lbqVQvdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644166694; a=rsa-sha256; cv=none; b=xrRN1LMjPzpNdfN0Fct3lElcGCjCVPzQT90S0R1H5b0lFDTKIFAi29o6uQcl0DCQAlTZ8V mQwELiJb9cA1TflsXt6Tomcht+86EoqT0Ykp+ly64fIKu+Q5NuQdgyPP1+Y5vdXNR4M6Ua uT10mGTTxg27gJHm5/hI19EXGO7ncZXYeoiyxiWnbzMgSOaFVRoIQZ/x39IATah1ncy+Nc KS9Kp9OVFfrFY2oKZQR/4TfJtkYQGi7aKqgL0Cjwx4C7lO02/vgy0WANs4tT9W4JPL3Hiz ETeaRnJU0NHfASD3Oyb63CLfSCkKXpEq1LX9If+QHFuJgkeSC3G/7Idev+0/nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261749 Bug ID: 261749 Summary: radeonkms corrupts kernel (panic) when being unloaded Product: Base System Version: Unspecified Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sblachmann@gmail.com How to reproduce: 1. kldload radeonkms (no matter whether via rc.conf or manually via console= . It loads even if there is no radeon hardware present!). 2. kldunload radeonkms. 3. kldload nvidia. BANG! GPF PANIC! It happens no matter whether sc or vt console are being used. This issue is particularly annoying when you swapped the radeon graphics ca= rd for a nvidia one and want reconfigure the system to run with the nvidia, af= ter booting with the rc.conf still containing the radeonkms module kldload. Because, it should not be necessary to have to reboot only because of radeo= nkms corrupting the kernel. Test system is HP Z800 with FreeBSD 13-RELEASE-p7. Nvidia driver here is 390 (Quadro 2000). But my feeling is the Nvidia driver version will not matter. --=20 You are receiving this mail because: You are the assignee for the bug.=