Closed KaeTuuN closed 2 years ago
Hello. This is the same issue that is intermittently reported. You don't say what sort of hardware you're using, but this is often motherboard related. On AMD and Xeon platforms, and recently some other intel platforms you have to set a kernel parameter that does a DMA fix. On lots of other platforms you have to go into bios and force the slot with the quadHD to gen1 mode. You might read through some of the other issues that describe peoples experience with this.
The pcie driver in question was written long ago. I've inquired with conexant in the past about tips to solve this, but they've said the issue is probably in the linux pcie stack, arch related, and not in their driver.
Hi @b-rad-NDi , thanks for the reply. I did some research in the meantime and found out the following:
So from my perspective it looks like there is a something different with the Hauppauge update this time. Nevertheless I will try downgrading the PCIe Version of this Slot to Gen 1 and set the Kernelparameter. Can you point me to the Parameter you meant? Is it the DMA workarounf mentioned in #51 or more specifically in this comment: https://github.com/b-rad-NDi/Ubuntu-media-tree-kernel-builder/issues/51#issuecomment-498923660 ?
Greetings KaeTuuN
PS: I added CPU and Board to my initial Post.
The post was try setting "options cx23885 dma_reset_workaround=2"
Ryzen 5, yup, you must need the dma workaround parameter. I'll need to get your board iommu id as well to submit it upstream as part of the list of affected boards.
@shspvr thx! :-)
@b-rad-NDi It is 1481
lspci -v -nn -k | grep IOMMU
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
Thanks for the help, it seems to work know! :+1:
Glad to hear
Well, I was a little quick closing this Issue. The error is still there... At the moment I try to figure out if it works better if the Server does have some load and is not using power saving features. I will give you some Feedback tomorrow.
@b-rad-NDi I stressed my CPU with stress-ng --cpu 4 --io 4 --vm 4 --vm-bytes 1024M
but it had no effect on my Problem. Also I tried to produce IO Traffic with shred -v -n1 /dev/sdX
but again, nothing changed. Do you have any further Advice?
Downgrading my PCIe Link to Gen 1 seems not possible in my UEFI.
Start by try disable C6 Mode then try also try with CPB mode or the other way around and don't need SVM I disable this any way as it for virtual machine. The thing to get hold of Asrock KaeTuuN
Thanks for the reply, but I found a solution. I switched the card from Slot PCIe 4 to PCIe 6 and after that no more Errors appeared. I made the change not hoping to get rid of the Error but to a needed HW Change. The solution was a positive side effect.
Btw.: Disabling SVM is not an Option for me. I have 6 VMs running on that Machine. ;) The new card (SAS Extension) works great in Slot PCIe 4.
Hi,
OS: Ubuntu 20.04 LTS HWE (Kernel 5.13) CPU: AMD Ryzen 5 3600 Board: ASRock Rack X470D4U
since a week ago I'm facing sporadic stuttering and get the following Messages:
Also TV Headend says it is getting a Timeout:
My question is know: what can I do? If you need any further Information, please let me know!