Kdump kernel hang when set amd_iommu=off
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20180126080622.GC1759-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
Hi Baoquan,
Quoted 6 lines · Baoquan He
Saw Huawei's bug report about kdump kernel hang when intel_iommu=off is set. I met the similar problem in amd system, only set amd_iommu=off in kdump kernel, it means
amd_iommuis on in 1st kernel.I am reading doc and code, trying to debug. Please help have a look when convenient, see if there's hint or direction.
Yeah, I know that this is broken on the AMD-IOMMU side. Problem is that the IOMMU hardware needs to be disabled in the kdump kernel when amd_iommu=off is on the command-line. I'll look into fixing that.
I thought we fixed this a while ago already for VT-d, is it broken again?
Joerg
A message that is not in the archive (sent off-list or not yet received): 20180213132520.nqn5osmgsubzjzcq-zLv9SwRftAIdnm+yROfE0A@public.gmane.org
Hi Joerg,
Quoted 7 lines · Joerg Roedel
Hi Baoquan,
Quoted 4 lines · Baoquan He
Saw Huawei's bug report about kdump kernel hang when intel_iommu=off is set. I met the similar problem in amd system, only set amd_iommu=off in kdump kernel, it means
amd_iommuis on in 1st kernel.
Quoted 6 lines
Quoted 2 lines
I am reading doc and code, trying to debug. Please help have a look when convenient, see if there's hint or direction.
Yeah, I know that this is broken on the AMD-IOMMU side. Problem is that the IOMMU hardware needs to be disabled in the kdump kernel when amd_iommu=off is on the command-line. I'll look into fixing that.
Thanks for looking into this. This was found by our QE, I checked, and found it only happened on two HPE systems. Other AMD systems have no such issue. Since it's not a blocker, I just go to fix those urgent bugs.
Quoted 3 lines
I thought we fixed this a while ago already for VT-d, is it broken again?
It's not seen in redhat's test machines, just saw Huawei engineers reported this issue. They cc-ed lkml.
Thanks
Baoquan