From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104274] Unable to cleanly unload kernel module: BUG: unable to handle kernel NULL pointer dereference at 0000000000000258 (mutex_lock) Date: Wed, 28 Feb 2018 02:01:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0271324608==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D0D546E70E for ; Wed, 28 Feb 2018 02:01:34 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0271324608== Content-Type: multipart/alternative; boundary="15197832940.1b4AE6E.24930" Content-Transfer-Encoding: 7bit --15197832940.1b4AE6E.24930 Date: Wed, 28 Feb 2018 02:01:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104274 Luke McKee changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hojuruku@gmail.com --- Comment #11 from Luke McKee --- I fixed this. I was going to open another ticket.=20 Just mentioned it before. Still dc=3D1 isn't yet usable due to this: https://bugs.freedesktop.org/show_bug.cgi?id=3D103953#c7 I found out that the breakage was occurring due to kernel configuration options. I can provide a working and broken kconfig, but my money is on it wanting the amd iommu gart support even though the hardware isn't installed. This is loaded on demand by the amdgpu module. Disabling agpart didn't do m= uch harm though. Would that affect performance if intel_iommu is enabled? Feb 28 08:08:35 hojuruku kernel: AMD IOMMUv2 driver by Joerg Roedel Feb 28 08:08:35 hojuruku kernel: AMD IOMMUv2 functionality not available on this system Feb 28 08:08:35 hojuruku kernel: CRAT table not found Feb 28 08:08:35 hojuruku kernel: Virtual CRAT table created for CPU Feb 28 08:08:35 hojuruku kernel: Parsing CRAT table with 1 nodes If users sensibly choose what hardware they have installed to reduce compile times, or build monolithic kernels they are going to run into trouble here. Ask me for the .config's for the kernel if you need them to replicate the defect if you need them. That's what triggered the error in my last comment= I think though in that kernel I had ORC off and no symbols. You might want to review / tweak your Kconfig depends clauses. --=20 You are receiving this mail because: You are the assignee for the bug.= --15197832940.1b4AE6E.24930 Date: Wed, 28 Feb 2018 02:01:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Luke McKee changed bug 10427= 4
What Removed Added
CC   hojuruku@gmail.com

Comme= nt # 11 on bug 10427= 4 from Luke McKee
I fixed this. I was going to open another ticket.=20
Just mentioned it before.

Still dc=3D1 isn't yet usable due to this:
https://bugs.freedesktop.org/show_b=
ug.cgi?id=3D103953#c7

I found out that the breakage was occurring due to kernel configuration
options. I can provide a working and broken kconfig, but my money is on it
wanting the amd iommu gart support even though the hardware isn't installed.
This is loaded on demand by the amdgpu module. Disabling agpart didn't do m=
uch
harm though. Would that affect performance if intel_iommu is enabled?

Feb 28 08:08:35 hojuruku kernel: AMD IOMMUv2 driver by Joerg Roedel
<jroedel@suse.de>
Feb 28 08:08:35 hojuruku kernel: AMD IOMMUv2 functionality not available on
this system
Feb 28 08:08:35 hojuruku kernel: CRAT table not found
Feb 28 08:08:35 hojuruku kernel: Virtual CRAT table created for CPU
Feb 28 08:08:35 hojuruku kernel: Parsing CRAT table with 1 nodes


If users sensibly choose what hardware they have installed to reduce compile
times, or build monolithic kernels they are going to run into trouble here.

Ask me for the .config's for the kernel if you need them to replicate the
defect if you need them. That's what triggered the error in my last comment=
 I
think though in that kernel I had ORC off and no symbols.

You might want to review / tweak your Kconfig depends clauses.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15197832940.1b4AE6E.24930-- --===============0271324608== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0271324608==--