operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

PCIE reset - kernel issue - cannot change kernel setting

Open bjorrod opened this issue 1 year ago • 2 comments
trafficstars

Describe the issue you are experiencing

PCIE controller resets due to faulty kernel setting. Running Hass Os on pi 5. Cannot change the kernel setting. Reacurs every 3-5 min sort of. HA hangs slightly during reset.

What operating system image do you use?

rpi5-64 (Raspberry Pi 5 64-bit OS)

What version of Home Assistant Operating System is installed?

12.1

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. reacurring with approximately 3-5 min intervalls

...

Anything in the Supervisor logs that might be useful for us?

No warnings in supervisor log

Anything in the Host logs that might be useful for us?

Mar 22 09:13:57 homeassistant kernel: nvme nvme0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0x10
Mar 22 09:13:57 homeassistant kernel: nvme nvme0: Does your device have a faulty power saving mode enabled?
Mar 22 09:13:57 homeassistant kernel: nvme nvme0: Try "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" and report a bug
Mar 22 09:13:57 homeassistant kernel: nvme 0000:01:00.0: enabling device (0000 -> 0002)
Mar 22 09:13:57 homeassistant kernel: nvme nvme0: 4/0/0 default/read/poll queues
Mar 22 09:13:57 homeassistant kernel: nvme nvme0: Ignoring bogus Namespace Identifiers

System information

No response

Additional information

No response

bjorrod avatar Mar 22 '24 09:03 bjorrod

What NVMe adapter are you using for the drive? If you have an M.2 drive enclosure, you can try taking the drive out and editing the cmdline.txt in the boot partiton on a PC (it is a FAT filesystem, so it should be possible to mount it easily even on Windows) and adding those parameters. But most likely this is issue with the adapter or RPi kernel, so if the issue persists, a test with official RPi OS is desirable.

sairon avatar Apr 10 '24 12:04 sairon

Thanx! It is a Argon NEO 5 M.2 NVME PCIE Case for Raspberry Pi 5.

bjorrod avatar Apr 10 '24 12:04 bjorrod

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 10 '24 05:07 github-actions[bot]