View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009543 | CentOS-7 | -OTHER | public | 2015-10-01 01:43 | 2022-02-23 09:35 |
Reporter | Locane | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
OS | CentOS 7 | OS Version | 3.10.0-229.el7 | ||
Product Version | 7.1-1503 | ||||
Summary | 0009543: Kernel parameter pcie_aspm.policy=performance ignored; can't echo to file to alter | ||||
Description | The pcie_aspm.policy=<POLICY> kernel parameter is not changing the PCIE ASPM policy. Echoing "performance" to /sys/module/pcie_aspm/parameters/policy is crashing. [burnc7 (2015-09-30 18:28:46) ~]# cat /sys/module/pcie_aspm/parameters/policy [default] performance powersave [burnc7 (2015-09-30 18:36:03) ~]# echo "performance" > /sys/module/pcie_aspm/parameters/policy -bash: echo: write error: Operation not permitted | ||||
Steps To Reproduce | 1. Install CentOS 7 2. Run cat /sys/module/pcie_aspm/parameters/policy 3. Output should be "[default] performance powersave" 4. Reboot 5. At boot time, hit tab repeatedly to edit boot parameters 6. Add "pcie_aspm.policy=performance" to the kernel parameter line behind "rghb quiet" 7. After boot, run cat /sys/module/pcie_aspm/parameters/policy again 8. Output SHOULD be "default [performance] powersave", but is NOT. 9. Run echo "performance" > /sys/module/pcie_aspm/parameters/policy 10. View bash error crash | ||||
Additional Information | In CentOS 6, we ran in to an issue where PCIE Advanced State Power Management (pcie_aspm) had to be turned to "performance" mode manually to prevent certain PCI cards from going to sleep and never waking up. We did this with a kernel parameter at boot time: pcie_aspm.policy=performance We were also able to simply echo to the file path that held the setting to change it on the fly: echo "performance" > /sys/module/pcie_aspm/parameters/policy Neither of these operations are working in CentOS 7. Redhat's documentation for 7 says that this setting should work - it is not. | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Power_Management_Guide/ASPM.html | ||||
I see the following config options in RHEL/CentOS-7 kernels: CONFIG_PCIEASPM=y # CONFIG_PCIEASPM_DEBUG is not set CONFIG_PCIEASPM_DEFAULT=y # CONFIG_PCIEASPM_POWERSAVE is not set # CONFIG_PCIEASPM_PERFORMANCE is not set You might want to file a report at http://bugzilla.redhat.com and ask if this is really intended config options. |
|
Toracat, do you know of a way I can get around this and disable ASPM currently? Or do I need to rebuild the kernel from source? | |
@Locane Can you try adding a kernel parameter pci_aspm=off and see if that works? |
|
Yeah, sorry I didn't mention this earlier - that has no effect on the output of "cat /sys/module/pcie_aspm/parameters/policy". I don't actually know of any other way to check whether it's off or not in the OS - do you know of any? The issue we're running in to is intermittent loss of storage devices through an LSI controller, so it's hard to gauge if the problem is "fixed" or not using that parameter, since there's no checkable way to see if it's off or not. I hope that makes sense. |
|
Any hint in dmesg? dmesg | grep -i aspm |
|
Hi there.. i got this problem too, my PCIe card will not awake after sleep. after adding pcie_aspm.policy=performance at grub, and update the grub. after rebooting i still got the policy same at the previous [root@server6 ~]# cat /sys/module/pcie_aspm/parameters/policy [default] performance powersave My grub : GRUB_TIMEOUT=5 GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet pcie_aspm.policy=performance" GRUB_DISABLE_RECOVERY="true" |
|
I had the same issue, and I solved it by modifying the grub <sudo nano /etc/default/grub> and change GRUB_CMDLINE_LINUX_DEFAULT with <GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force pcie_aspm.policy=performance"> |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-01 01:43 | Locane | New Issue | |
2015-10-01 07:19 | toracat | Note Added: 0024505 | |
2015-10-01 18:05 | Locane | Note Added: 0024513 | |
2015-10-02 00:26 | toracat | Note Added: 0024516 | |
2015-10-02 00:58 | Locane | Note Added: 0024517 | |
2015-10-02 03:39 | toracat | Note Added: 0024518 | |
2016-05-01 20:50 | Dynemix | Note Added: 0026401 | |
2022-02-23 09:35 | ax_fer | Note Added: 0038864 |