Skip to content

[DellEMC] DMA errors are seen when loading bullseye kernel#9641

Merged
lguohan merged 1 commit intosonic-net:masterfrom
aravindmani-1:fix_dma_error
Jan 3, 2022
Merged

[DellEMC] DMA errors are seen when loading bullseye kernel#9641
lguohan merged 1 commit intosonic-net:masterfrom
aravindmani-1:fix_dma_error

Conversation

@aravindmani-1
Copy link
Copy Markdown
Contributor

Why I did it

Following errors are seen continuously on SMBus controller when loading bullseye kernel.

[ 273.643046] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[ 273.785784] DMAR: DRHD: handling fault status reg 2
[ 273.844072] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[ 273.986804] DMAR: DRHD: handling fault status reg 2
[ 274.045101] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[ 274.187789] DMAR: DRHD: handling fault status reg 2

root@sonic:~# lspci -s 00:12.0 -vv
00:12.0 System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host (rev 11)

Issue was not seen in buster.

How I did it

Modified platform specific installer.conf to turn off io_mmu

How to verify it

Check syslogs after making the changes in installer.conf

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@lguohan lguohan merged commit 2865fd4 into sonic-net:master Jan 3, 2022
@lguohan lguohan added the Request for 202111 Branch For PRs being requested for 202111 branch label Jan 3, 2022
judyjoseph pushed a commit that referenced this pull request Jan 9, 2022
Following errors are seen continuously on SMBus controller when loading bullseye kernel.

[ 273.643046] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[ 273.785784] DMAR: DRHD: handling fault status reg 2
[ 273.844072] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[ 273.986804] DMAR: DRHD: handling fault status reg 2
[ 274.045101] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[ 274.187789] DMAR: DRHD: handling fault status reg 2

root@sonic:~# lspci -s 00:12.0 -vv
00:12.0 System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host (rev 11)

Issue was not seen in buster. 

Modified platform specific installer.conf to turn off io_mmu
@aravindmani-1 aravindmani-1 deleted the fix_dma_error branch February 15, 2022 07:50
@ingmaf
Copy link
Copy Markdown

ingmaf commented Oct 21, 2022

Hi guys,

I'm still seeing those messages. Fresh install with:

SONiC Software Version: SONiC.master.160907-1f2ee7b72
Distribution: Debian 11.5
Kernel: 5.10.0-12-2-amd64
Build commit: 1f2ee7b72
Build date: Sat Oct 15 18:01:35 UTC 2022
Built by: AzDevOps@sonic-build-workers-0028R2

Platform: x86_64-dellemc_s5248f_c3538-r0
HwSKU: DellEMC-S5248f-P-25G
ASIC: broadcom
ASIC Count: 1
Serial Number: G9C10Q2
Model Number: 046MRJ
Hardware Revision: N/A
Uptime: 17:29:39 up  3:52,  1 user,  load average: 1.42, 1.57, 1.63
Date: Fri 21 Oct 2022 17:29:39

Any ideas?

Thanks in advance.
Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Included in 202111 Branch Request for 202111 Branch For PRs being requested for 202111 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants