You are not logged in.

#1 2019-04-08 09:26:40

czx
Member
Registered: 2019-03-31
Posts: 20

[SOLVED]How to add pcie_port_pm=off to my kernel parameters?

I need to add add pcie_port_pm=off to my kernel parameters because of the NVIDIA Driver on Linux 5.0.6.
After I read the Kernel Parameters on Wiki, I still don't know what command to type. Could you please tell me what to do?

Last edited by czx (2019-04-10 04:54:17)

Offline

#2 2019-04-08 09:30:14

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,472
Website

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

You need to edit it in the configuration of your boot loader / manager if you use one or create an appropriate EFI boot entry if you use EFISTUB to boot the kernel directly.
I just read the Wiki article you linked to. Everything is explained there.
What did you try so far? Do you have an actual problem? What is your boot loader / manager.

Last edited by schard (2019-04-08 09:32:20)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2019-04-08 09:43:17

czx
Member
Registered: 2019-03-31
Posts: 20

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

schard wrote:

You need to edit it in the configuration of your boot loader / manager if you use one or create an appropriate EFI boot entry if you use EFISTUB to boot the kernel directly.
I just read the Wiki article you linked to. Everything is explained there.
What did you try so far? Do you have an actual problem? What is your boot loader / manager.

Thank you for your reply. I'm just not very understand what the wiki said and thus no idea about what to do. I'm just starting to learn so I am not sure about what the boot loader is on my Computer. I think it is grub because I remember my installation guide have some commands about it. Yes the bootloader is GRUB.

Last edited by czx (2019-04-08 09:56:25)

Offline

#4 2019-04-08 09:49:24

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

How did you install Arch?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2019-04-08 09:58:29

czx
Member
Registered: 2019-03-31
Posts: 20

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

Slithery wrote:

How did you install Arch?

Mainly on the wiki installation guide. And some steps I don't understand very clearly are from other websites. Now I am sure that the boot loader is GRUB.

Last edited by czx (2019-04-08 10:05:33)

Offline

#6 2019-04-08 10:15:13

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,472
Website

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

Well, then re-read the Grub section of the Wiki article you linked to.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#7 2019-04-08 10:21:50

czx
Member
Registered: 2019-03-31
Posts: 20

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

schard wrote:

Well, then re-read the Grub section of the Wiki article you linked to.

It gives an example.

linux /boot/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff quiet splash

So the one I need to do is this?

linux /boot/vmlinuz-linux pcie_port_pm=off

Offline

#8 2019-04-08 10:28:07

czx
Member
Registered: 2019-03-31
Posts: 20

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

czx wrote:
schard wrote:

Well, then re-read the Grub section of the Wiki article you linked to.

It gives an example.

linux /boot/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff quiet splash

So the one I need to do is this?

linux /boot/vmlinuz-linux pcie_port_pm=off

And this:

Kernel parameters wiki wrote:

    To make the change persistent after reboot, while you could manually edit /boot/grub/grub.cfg with the exact line from above, the best practice is to:

    Edit /etc/default/grub and append your kernel options to the GRUB_CMDLINE_LINUX_DEFAULT line:

       

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Is it right to replace the 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"' in the article with 'pcie_port_pm=off'?

Offline

#9 2019-04-08 10:42:18

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,472
Website

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

It says append, not replace. Hence:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_port_pm=off"

Don't forget to re-generate your /boot/grub/grub.cfg after the config file change:

grub-mkconfig -o /boot/grub/grub.cfg

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#10 2019-04-08 11:15:33

czx
Member
Registered: 2019-03-31
Posts: 20

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

schard wrote:

It says append, not replace. Hence:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_port_pm=off"

Don't forget to re-generate your /boot/grub/grub.cfg after the config file change:

grub-mkconfig -o /boot/grub/grub.cfg

Thank you. So before that, which command should I type when menu shows up and press 'e'?
1.

linux /boot/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff quiet splash pcie_port_pm=off

2.

linux /boot/vmlinuz-linux pcie_port_pm=off

Or maybe neither of them is right?

Last edited by czx (2019-04-08 11:18:58)

Offline

#11 2019-04-08 11:35:07

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,472
Website

Re: [SOLVED]How to add pcie_port_pm=off to my kernel parameters?

You should not type any "command". The Wiki does not menion any command at this point.
Again you are instructed to add the respective arguments to the mentioned "^linux *" line.
And, again, read the Wiki. Everything is explained in the discussed article and I won't post any further reiteration of it for you.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB