Artix Linux Forum

Artix Linux => System => Topic started by: tony26102 on 21 July 2021, 14:32:02

Title: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: tony26102 on 21 July 2021, 14:32:02
My System Artix Plasma openrc

following the command and the error message:
Code: [Select]
nvme show-regs -H /dev/nvme0
nvme0 failed to map. Did your kernel enable CONFIG_IO_STRICT_DEVMEM?

Can anyone help me to solve this issue?

Thanks in advance and best regards.
Title: Re: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: calvinh on 21 July 2021, 14:44:40
My System Artix Plasma openrc

following the command and the error message:
Code: [Select]
nvme show-regs -H /dev/nvme0
nvme0 failed to map. Did your kernel enable CONFIG_IO_STRICT_DEVMEM?

Can anyone help me to solve this issue?

Thanks in advance and best regards.

At least let us know what kernel you're currently running. Regardless, you can check it by yourself in /proc/config.gz
Title: Re: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: tony26102 on 21 July 2021, 17:03:50
Code: [Select]
uname -a
Linux Tony-Haupt-PC 5.12.14-artix1-1 #1 SMP PREEMPT Thu, 01 Jul 2021 20:51:04 +0000 x86_64 GNU/Linux

I don't know how to  read '/proc/config.gz', have you a command for my?
Title: Re: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: calvinh on 21 July 2021, 17:29:36
Yes, it's enabled by default.

Code: [Select]
CONFIG_IO_STRICT_DEVMEM=y
Title: Re: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: tony26102 on 21 July 2021, 18:13:09
Yes, it's enabled by default.

Code: [Select]
CONFIG_IO_STRICT_DEVMEM=y
OK, but the problem is not solved or the 'nvme-cli' still not working.
Title: Re: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: strajder on 21 July 2021, 18:39:25
https://forum.artixlinux.org/index.php/topic,1923.0.html

The only way to debug any problem in GNU/Linux is by reading logs. Nobody can know the specifics of your system otherwise.
Title: Re: Did your kernel enable CONFIG_IO_STRICT_DEVMEM?
Post by: tony26102 on 26 July 2021, 14:29:30
https://forum.artixlinux.org/index.php/topic,1923.0.html

The only way to debug any problem in GNU/Linux is by reading logs. Nobody can know the specifics of your system otherwise.

How to log this errer?