You are not logged in.

#1 2023-06-24 09:37:52

archqt
Member
Registered: 2015-04-29
Posts: 203

systemd pci, 100% cpu [Solved]

Hi,
100 cpu on systemd-journal

output: journalctl -b0 -p4

juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:    [ 0] RxErr                  (First)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
juin 24 11:40:37 archqt-x541ua kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)


output : lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader (rev 01)
02:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 06)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

I added pci=noaer on grub and i did sudo grub-mkconfig too
output /etc/default/grub

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 audit=0 pci=noaer"
GRUB_CMDLINE_LINUX="pci=noaer"

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="white/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/wallpapers/real-wood/real-wood.jpg"
#GRUB_THEME=

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above. Change 0 into saved.
# Do not forget to 'update-grub' in a terminal to apply the new settings
#GRUB_SAVEDEFAULT="true"

# Uncomment to make grub stop using submenus
#GRUB_DISABLE_SUBMENU=y

#New GRUB update disables OS prober by default. We don't want that.
GRUB_DISABLE_OS_PROBER=false

By advance thanks for your help
Sincerely

Last edited by archqt (2023-06-24 17:08:09)

Offline

#2 2023-06-24 17:07:30

archqt
Member
Registered: 2015-04-29
Posts: 203

Re: systemd pci, 100% cpu [Solved]

I don't know why the grub file didn't change so i wrote directly on /boot/grub/grub.cfg and i added pci=noaer and it works fine now

Offline

#3 2023-06-24 19:32:43

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,339

Re: systemd pci, 100% cpu [Solved]

btw you have to manually run 'grub-mkconfig -o /boot/grub/grub.cfg' to update the file.
as said in /boot/grub/grub.cfg, you shouldn't edit it directly.

Last edited by jl2 (2023-06-24 19:58:07)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#4 2023-06-25 21:04:46

archqt
Member
Registered: 2015-04-29
Posts: 203

Re: systemd pci, 100% cpu [Solved]

jl2 wrote:

btw you have to manually run 'grub-mkconfig -o /boot/grub/grub.cfg' to update the file.
as said in /boot/grub/grub.cfg, you shouldn't edit it directly.

Oh i thought just grub-mkconfig wrote directly on the file. Thanks

Offline

#5 2023-07-07 19:27:26

bjorn_helgaas
Member
Registered: 2020-06-12
Posts: 3

Re: systemd pci, 100% cpu [Solved]

@archqt, "pci=noaer" is a good workaround for this issue.  We hope to fix the kernel so the parameter will no longer be necessary.  Would you mind attaching the output of "sudo lspci -vvs00:1c.5"?  00:1c.5 is the Root Port that is logging the RxErr, and the device connected to that Root Port might be the cause of the problem.

Offline

Board footer

Powered by FluxBB