タイトル : 「PCIe Bus Error: severity=Corrected, type=Data Link Layer」を回避する方法
更新日 : 2023-10-16
カテゴリ : プログラミング
タグ :
ubuntu   

エラーメッセージが出てる

ubuntuマシンにエラーメッセージが出てた。AERって、Advanced Error Reporting のこと?

dmesgの抜粋
[  622.211530] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:03:00.0
[  622.211568] ath9k 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  622.211575] ath9k 0000:03:00.0:   device [168c:0036] error status/mask=00000001/00002000
[  622.211583] ath9k 0000:03:00.0:    [ 0] RxErr                  (First)
[  643.115364] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:03:00.0
[  643.115403] ath9k 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  643.115409] ath9k 0000:03:00.0:   device [168c:0036] error status/mask=00000001/00002000
[  643.115418] ath9k 0000:03:00.0:    [ 0] RxErr                  (First)
[  669.723591] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:03:00.0
[  669.723629] ath9k 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  669.723636] ath9k 0000:03:00.0:   device [168c:0036] error status/mask=00000001/00002000
[  669.723644] ath9k 0000:03:00.0:    [ 0] RxErr                  (First)
[  671.959887] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:03:00.0
[  671.959918] ath9k 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
[  671.959926] ath9k 0000:03:00.0:   device [168c:0036] error status/mask=00000080/00002000
[  671.959933] ath9k 0000:03:00.0:    [ 7] BadDLLP               
[  682.801524] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:03:00.0
[  682.801562] ath9k 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  682.801569] ath9k 0000:03:00.0:   device [168c:0036] error status/mask=00000001/00002000
[  682.801577] ath9k 0000:03:00.0:    [ 0] RxErr                  (First)

対応

「PCIe Bus Error: severity=Corrected, type=Data Link Layer」を回避する方法に載ってました。

作業抜粋

$ sudo vi grub

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"   ★ここを "quiet splash pci=nommconf" に
GRUB_CMDLINE_LINUX=""

$
$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Ubuntu 22.04.2 LTS (22.04) on /dev/nvme0n1p2
Adding boot menu entry for UEFI Firmware Settings ...
done
$