[SOLVED] Installation problem M7 / M8 in M2: PCIe SSD

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Installation problem M7 / M8 in M2: PCIe SSD

Postby boveda » Feb 19th, '21, 19:08

Installation problem M7 / M8 in M2: PCIe SSD

Hello, I have been using Mageia on my computer for a long time but now I want to migrate my system to a new M2 SSD disk, but none of the latest versions of Mageia recognize the device.

For example, I already have M7 and M8 running on my PC on a conventional HDD without problem. When I want to install on an M2 PCIe SSD, the device does not appear in the installation options.

I think it is not a hardware problem because I have managed to install Zorin or Debian on the M2 SSD device, but nevertheless in Mageia it is impossible for now.

Does the same thing happen to someone else? Can anybody help me ??


For example, booting Mageia 8 from the current HDD and reviewing the system messages I observe that:

Code: Select all
[root@Bovedux jose]# dmesg |grep nvme
[    0.632724] nvme 0000:02:00.0: platform quirk: setting simple suspend
[    0.632743] nvme nvme0: pci function 0000:02:00.0
[    0.637476] nvme nvme0: missing or invalid SUBNQN field.
[    0.638232] nvme nvme0: 4/0/0 default/read/poll queues
[    0.638399] nvme nvme0: Identify Descriptors failed (16386)
[root@Bovedux jose]#


The device is recognized by the kernel:

Code: Select all
[root@Bovedux jose]# lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 08)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 08)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.2 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #11 (rev f0)
00:1d.3 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #12 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a308 (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)
02:00.0 Non-Volatile memory controller: Marvell Technology Group Ltd. Device 1092
05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
[root@Bovedux jose]#



But I think the system doesn't know what it is:

Code: Select all
[root@Bovedux jose]# lspcidrake
i2c_i801        : Intel Corporation|Cannon Lake PCH SMBus Controller [SERIAL_SMBUS] (rev: 10)
xhci_pci        : Intel Corporation|Cannon Lake PCH USB 3.1 xHCI Host Controller [SERIAL_USB] (rev: 10)
unknown         : Intel Corporation|Cannon Lake PCH Shared SRAM [MEMORY_RAM] (rev: 10)
unknown         : Intel Corporation|Cannon Lake PCH PCI Express Root Port #9 [BRIDGE_PCI] (rev: f0)
unknown         : ASMedia Technology Inc.|ASM1083/1085 PCIe to PCI Bridge [BRIDGE_PCI] (rev: 04)
unknown         : Intel Corporation|Cannon Lake PCH PCI Express Root Port #11 [BRIDGE_PCI] (rev: f0)
ie31200_edac    : Intel Corporation|8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] [BRIDGE_HOST] (rev: 08)
snd_hda_intel   : Intel Corporation|Cannon Lake PCH cAVS [MULTIMEDIA_AUDIO_DEV] (rev: 10)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (rev: 15)
unknown         : Intel Corporation|Cannon Lake PCH SPI Controller (rev: 10)
unknown         : Intel Corporation|Cannon Lake PCH PCI Express Root Port #21 [BRIDGE_PCI] (rev: f0)
Card:NVIDIA GeForce 8100 to GeForce 415: NVIDIA Corporation|G84 [GeForce 8600 GT] [DISPLAY_VGA] (rev: a1)
mei_me          : Intel Corporation|Cannon Lake PCH HECI Controller [COMMUNICATION_OTHER] (rev: 10)
unknown         : Intel Corporation|6th-10th Gen Core Processor PCIe Controller (x16) [BRIDGE_PCI] (rev: 08)
unknown         : Marvell Technology Group Ltd.|Device 1092
unknown         : Intel Corporation|Device a308 [BRIDGE_ISA] (rev: 10)
unknown         : Intel Corporation|Cannon Lake PCH PCI Express Root Port #12 [BRIDGE_PCI] (rev: f0)
unknown         : Intel Corporation|Cannon Lake PCH PCI Express Root Port #5 [BRIDGE_PCI] (rev: f0)
unknown         : Intel Corporation|Cannon Lake PCH SATA AHCI Controller [STORAGE_SATA] (rev: 10)
hub             : Linux 5.10.12-desktop-3.mga8 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Terminus Technology Inc.|USB 2.0 Hub [MTT] [Hub|Unused|TT per port]
usb_storage     : Genesys Logic, Inc.|USB Storage [Mass Storage|SCSI|Bulk-Only]
usbhid          : Logitech|USB Receiver [Human Interface Device|Boot Interface Subclass|Keyboard]
hub             : Linux 5.10.12-desktop-3.mga8 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hid_generic     : Logitech USB Receiver
hid_generic     : Logitech USB Receiver
hid_generic     : Logitech Wireless Keyboard PID:4075
hid_generic     : Logitech Wireless Mouse
[root@Bovedux jose]#




With lspci -v the following is observed:
Code: Select all
02:00.0 Non-Volatile memory controller: Marvell Technology Group Ltd. Device 1092 (prog-if 02 [NVM Express])
   Subsystem: Shenzhen Longsys Electronics Co., Ltd. Device 1092
   Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
   Memory at a3300000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
   Capabilities: [70] Express Endpoint, MSI 00
   Capabilities: [b0] MSI-X: Enable+ Count=19 Masked-
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
   Capabilities: [158] Power Budgeting <?>
   Capabilities: [168] Alternative Routing-ID Interpretation (ARI)
   Capabilities: [178] Secondary PCI Express
   Capabilities: [2b8] Latency Tolerance Reporting
   Capabilities: [2c0] L1 PM Substates
   Kernel driver in use: nvme

It is observed that the nvme module does not load


Viewing the nvme module dependencies

Code: Select all
[root@Bovedux jose]# modprobe --show-depends nvme
builtin nvme
[root@Bovedux jose]#



and the module information

Code: Select all
[root@Bovedux jose]# modinfo nvme
name:           nvme
filename:       (builtin)
version:        1.0
license:        GPL
file:           drivers/nvme/host/nvme
author:         Matthew Wilcox <willy@linux.intel.com>
parm:           use_threaded_interrupts:int
parm:           use_cmb_sqes:use controller's memory buffer for I/O SQes (bool)
parm:           max_host_mem_size_mb:Maximum Host Memory Buffer (HMB) size per controller (in MiB) (uint)
parm:           sgl_threshold:Use SGLs when average request segment size is larger or equal to this size. Use 0 to disable SGLs. (uint)
parm:           io_queue_depth:set io queue depth, should >= 2
parm:           write_queues:Number of queues to use for writes. If not set, reads and writes will share a queue set.
parm:           poll_queues:Number of queues to use for polled IO.
parm:           noacpi:disable acpi bios quirks (bool)
[root@Bovedux jose]#



Code: Select all
[root@Bovedux jose]# cat /lib/modules/$(uname -r)/modules.builtin |grep nvme
kernel/drivers/nvme/host/nvme-core.ko
kernel/drivers/nvme/host/nvme.ko
kernel/drivers/nvmem/nvmem_core.ko
[root@Bovedux jose]#


It is observed that the nvme module is embedded in the kernel. I have observed that unlike the other two operating systems (Zorin and Debian) where the device works correctly, the nvme module is not embedded in the kernel but is loaded when called.


In the configuration of the boot file in the /boot we have this:

Code: Select all
[root@Bovedux boot]# gedit /boot/config-5.10.12-desktop-3.mga8
.
.
.
.

# NVME Support
#
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
# CONFIG_NVME_MULTIPATH is not set
CONFIG_NVME_HWMON=y
CONFIG_NVME_FABRICS=m
CONFIG_NVME_RDMA=m
CONFIG_NVME_FC=m
CONFIG_NVME_TCP=m
CONFIG_NVME_TARGET=m
# CONFIG_NVME_TARGET_PASSTHRU is not set
CONFIG_NVME_TARGET_LOOP=m
CONFIG_NVME_TARGET_RDMA=m
CONFIG_NVME_TARGET_FC=m
# CONFIG_NVME_TARGET_FCLOOP is not set
CONFIG_NVME_TARGET_TCP=m
# end of NVME Support


.
.
.


The device does not mount on boot, even though it exists:

Code: Select all
root@Bovedux jose]# ls -l /dev/nvme0
crw------- 1 root root 248, 0 feb 19 15:24 /dev/nvme0
[root@Bovedux jose]#

[root@Bovedux jose]# nvme list
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev 
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
[root@Bovedux jose]#


[root@Bovedux jose]# lsblk -l
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0   1,8T  0 disk
sda1   8:1    0  16,6G  0 part [SWAP]
sda2   8:2    0    40G  0 part /  (Mageia 8)
sda3   8:3    0    40G  0 part    (Mageia 7)   
sda4   8:4    0   1,7T  0 part /home
sdb    8:16   0 931,5G  0 disk
sdb1   8:17   0   300M  0 part
sdb2   8:18   0   7,4G  0 part
sdb3   8:19   0     1K  0 part
sdb5   8:21   0 839,8G  0 part
sdb6   8:22   0    84G  0 part
sr0   11:0    1  1024M  0 rom 
[root@Bovedux jose]#


[root@Bovedux jose]# inxi -F
System:
  Host: Bovedux Kernel: 5.10.12-desktop-3.mga8 x86_64 bits: 64
  Desktop: GNOME 3.38.3 Distro: Mageia 8 mga8
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B360-PLUS v: Rev 1.xx
  serial: 190245335002829 UEFI [Legacy]: American Megatrends v: 2501
  date: 11/11/2020
CPU:
  Info: Quad Core model: Intel Core i3-8100 bits: 64 type: MCP
  L2 cache: 6 MiB
  Speed: 800 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 800 2: 800
  3: 800 4: 800
Graphics:
  Device-1: NVIDIA G84 [GeForce 8600 GT] driver: nouveau v: kernel
  Display: wayland server: Mageia X.org 1.20.10 driver: nouveau,v4l
  resolution: 1920x1080~60Hz
  OpenGL: renderer: NV84 v: 3.3 Mesa 20.3.0
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  Sound Server: ALSA v: k5.10.12-desktop-3.mga8
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: 04:d4:c4:25:ad:dd
Drives:
  Local Storage: total: 2.73 TiB used: 726.76 GiB (26.0%)
  ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1ER164 size: 1.82 TiB
  ID-2: /dev/sdb vendor: Seagate model: ST31000528AS size: 931.51 GiB
Partition:
  ID-1: / size: 39.16 GiB used: 8.45 GiB (21.6%) fs: ext4 dev: /dev/sda2
  ID-2: /home size: 1.7 TiB used: 718.31 GiB (41.3%) fs: ext4 dev: /dev/sda4
Swap:
  ID-1: swap-1 type: partition size: 16.6 GiB used: 0 KiB (0.0%)
  dev: /dev/sda1
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nouveau temp: 47.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 211 Uptime: 5m Memory: 15.55 GiB used: 1.06 GiB (6.8%)
  Shell: Bash inxi: 3.2.01
[root@Bovedux jose]#



Following the instructions that I have seen on the internet with users with the same problem, I have tried to create another initrd but it fails precisely with the nvme module

Code: Select all
[root@Bovedux jose]# mkinitrd initrd-5.10.12-desktop-3.mga8.img 5.10.12-desktop-3.mga8 --preload nvme --force
Creating: target|kernel|dracut args|basicmodules
/etc/dracut.conf.d/51-mageia-resume.conf:add_device+="UUID=35209499-a60d-4c38-8b32-d6708c63d401"

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

dracut: Executing: /usr/bin/dracut -f --add-drivers " nvme" initrd-5.10.12-desktop-3.mga8.img 5.10.12-desktop-3.mga8
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'mksh' will not be installed, because command '/bin/mksh' could not be found!
dracut: systemd-initrd needs systemd in the initramfs
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'masterkey' will not be installed, because command 'keyctl' could not be found!
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack
dracut: dracut-squash only supports systemd bases initramfs
dracut: dracut module 'mksh' will not be installed, because command '/bin/mksh' could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut: dracut module 'masterkey' will not be installed, because command 'keyctl' could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack
dracut: dracut-squash only supports systemd bases initramfs
dracut: *** Including module: bash ***
dracut: *** Including module: dash ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 70-persistent-net.rules
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut-install: ERROR: installing 'nvme'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /tmp/dracut.r8kNMW/initramfs --kerneldir /lib/modules/5.10.12-desktop-3.mga8/ -m nvme nvme
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done ***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut:  root=UUID=70f49f8c-382c-401f-94a6-a44104b3eece rootfstype=ext4 rootflags=rw,noatime
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/home/jose/initrd-5.10.12-desktop-3.mga8.img' ***
dracut: *** Creating initramfs image file '/home/jose/initrd-5.10.12-desktop-3.mga8.img' done ***
[root@Bovedux jose]#






On this same computer, this M2 PCIe SSD device works fine, for example on Debian:

Code: Select all
root@Bovedux:/home/jose# dmesg |grep nvme
[    1.329645] nvme nvme0: pci function 0000:02:00.0
[    1.447772] nvme nvme0: missing or invalid SUBNQN field.
[    1.449240] nvme nvme0: nvme_report_ns_ids: Identify Descriptors failed
[    1.449435] nvme nvme0: nvme_report_ns_ids: Identify Descriptors failed
[    1.449671]  nvme0n1: p1 p2 p3 p4 < p5 p6 >
[    4.946630] EXT4-fs (nvme0n1p3): mounted filesystem with ordered data mode. Opts: (null)
[    5.115398] EXT4-fs (nvme0n1p3): re-mounted. Opts: (null)
[    5.421919] Adding 8191996k swap on /dev/nvme0n1p2.  Priority:-2 extents:1 across:8191996k SSFS
root@Bovedux:/home/jose#


root@Bovedux:/home/jose# lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 08)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 08)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.2 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.3 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a308 (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)
02:00.0 Non-Volatile memory controller: Marvell Technology Group Ltd. Device 1092
05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
root@Bovedux:/home/jose#


root@Bovedux:/home/jose# lspci -v
02:00.0 Non-Volatile memory controller: Marvell Technology Group Ltd. Device 1092 (prog-if 02 [NVM Express])
   Subsystem: Device 1d97:1092
   Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
   Memory at a3300000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
   Capabilities: [70] Express Endpoint, MSI 00
   Capabilities: [b0] MSI-X: Enable+ Count=19 Masked-
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
   Capabilities: [158] Power Budgeting <?>
   Capabilities: [168] Alternative Routing-ID Interpretation (ARI)
   Capabilities: [178] #19
   Capabilities: [2b8] Latency Tolerance Reporting
   Capabilities: [2c0] L1 PM Substates
   Kernel driver in use: nvme
   Kernel modules: nvme


root@Bovedux:/home/jose# modprobe --show-depends nvme
insmod /lib/modules/4.19.0-14-amd64/kernel/drivers/nvme/host/nvme-core.ko
insmod /lib/modules/4.19.0-14-amd64/kernel/drivers/nvme/host/nvme.ko
root@Bovedux:/home/jose#


root@Bovedux:/home/jose# modinfo nvme
filename:       /lib/modules/4.19.0-14-amd64/kernel/drivers/nvme/host/nvme.ko
version:        1.0
license:        GPL
author:         Matthew Wilcox <willy@linux.intel.com>
srcversion:     E14700B2B1A19F59157D603
alias:          pci:v0000106Bd00002003sv*sd*bc*sc*i*
alias:          pci:v0000106Bd00002001sv*sd*bc*sc*i*
alias:          pci:v*d*sv*sd*bc01sc08i02*
alias:          pci:v00001D1Dd00002601sv*sd*bc*sc*i*
alias:          pci:v00001D1Dd00002807sv*sd*bc*sc*i*
alias:          pci:v00001D1Dd00001F1Fsv*sd*bc*sc*i*
alias:          pci:v0000144Dd0000A822sv*sd*bc*sc*i*
alias:          pci:v0000144Dd0000A821sv*sd*bc*sc*i*
alias:          pci:v00001C5Fd00000540sv*sd*bc*sc*i*
alias:          pci:v00001C58d00000023sv*sd*bc*sc*i*
alias:          pci:v00001C58d00000003sv*sd*bc*sc*i*
alias:          pci:v00001BB1d00000100sv*sd*bc*sc*i*
alias:          pci:v00008086d00005845sv*sd*bc*sc*i*
alias:          pci:v00008086d0000F1A5sv*sd*bc*sc*i*
alias:          pci:v00008086d00000A55sv*sd*bc*sc*i*
alias:          pci:v00008086d00000A54sv*sd*bc*sc*i*
alias:          pci:v00008086d00000A53sv*sd*bc*sc*i*
alias:          pci:v00008086d00000953sv*sd*bc*sc*i*
depends:        nvme-core
retpoline:      Y
intree:         Y
name:           nvme
vermagic:       4.19.0-14-amd64 SMP mod_unload modversions
sig_id:         PKCS#7
signer:         Debian Secure Boot CA
sig_key:        B5:5E:B3:B9
sig_hashalgo:   sha256
signature:      5C:92:02:63:6A:4D:44:81:36:B4:1C:3C:B8:E7:18:EB:6F:CE:EC:57:
      A0:1F:DC:B3:2A:14:D6:9D:6F:D1:18:BF:F5:C0:D0:9C:F6:A3:2C:A7:
      E9:68:30:07:AF:D0:1D:8D:5A:C3:6B:C3:81:7D:79:95:59:1F:76:96:
      59:CB:F7:59:92:5E:94:0A:FD:89:9D:27:30:57:C1:7E:33:3A:6B:D6:
      68:D3:5A:10:5C:2F:41:4F:C2:48:87:63:99:7C:E9:62:BB:C2:2A:6F:
      0C:B0:43:04:7D:B9:C4:31:FD:A5:DA:91:63:58:7C:B5:F4:F1:7A:7E:
      AB:87:B0:A2:A5:4C:32:C7:37:33:57:54:85:5D:2F:68:03:3B:38:CC:
      F6:BC:AA:AC:DE:75:98:6F:22:E5:5B:72:84:FA:9F:BB:29:A9:EF:B8:
      FA:4C:0A:62:2A:80:2C:EB:4B:15:D9:EB:2C:67:96:D2:E1:96:54:09:
      52:84:2F:19:E0:20:34:F9:8F:06:B8:5F:84:54:19:44:CE:EA:BF:01:
      98:FD:0C:C0:3F:F1:E8:58:D7:36:A6:D2:C4:82:25:AD:67:7A:7A:21:
      DA:21:AB:49:39:04:D5:DB:C4:46:8D:5B:F3:97:6B:69:A8:B7:25:F7:
      8C:5C:B5:F6:AF:32:66:32:F3:21:D7:E1:22:4C:CC:A6
parm:           use_threaded_interrupts:int
parm:           use_cmb_sqes:use controller's memory buffer for I/O SQes (bool)
parm:           max_host_mem_size_mb:Maximum Host Memory Buffer (HMB) size per controller (in MiB) (uint)
parm:           sgl_threshold:Use SGLs when average request segment size is larger or equal to this size. Use 0 to disable SGLs. (uint)
parm:           io_queue_depth:set io queue depth, should >= 2
root@Bovedux:/home/jose#



root@Bovedux:/home/jose# gedit /boot/config-4.19.0-14-amd64

.
.
.

#
# NVME Support
#
CONFIG_NVME_CORE=m
CONFIG_BLK_DEV_NVME=m
CONFIG_NVME_MULTIPATH=y
CONFIG_NVME_FABRICS=m
CONFIG_NVME_RDMA=m
CONFIG_NVME_FC=m
CONFIG_NVME_TARGET=m
# CONFIG_NVME_TARGET_LOOP is not set
CONFIG_NVME_TARGET_RDMA=m
CONFIG_NVME_TARGET_FC=m
# CONFIG_NVME_TARGET_FCLOOP is not set
.
.
.



root@Bovedux:/home/jose# ls -l /dev/nvme0
crw------- 1 root root 245, 0 feb 19 16:29 /dev/nvme0


root@Bovedux:/home/jose# nvme list
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev 
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     K34799R000756        Lexar 256GB SSD                          1         256,06  GB / 256,06  GB    512   B +  0 B   V1.10.1
root@Bovedux:/home/jose#


root@Bovedux:/home/jose# lsblk -l
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda         8:0    0   1,8T  0 disk
sda1        8:1    0  16,6G  0 part
sda2        8:2    0    40G  0 part
sda3        8:3    0    40G  0 part
sda4        8:4    0   1,7T  0 part /media/jose/HOME  (original Mageia home)
sdb         8:16   0 931,5G  0 disk
sdb1        8:17   0   300M  0 part
sdb2        8:18   0   7,4G  0 part
sdb3        8:19   0     1K  0 part
sdb5        8:21   0 839,9G  0 part /home   (Debian home test)
sdb6        8:22   0    84G  0 part
sr0        11:0    1  1024M  0 rom 
nvme0n1   259:0    0 238,5G  0 disk
nvme0n1p1 259:1    0     2G  0 part
nvme0n1p2 259:2    0   7,8G  0 part [SWAP]
nvme0n1p3 259:3    0  58,6G  0 part /    (Debian)
nvme0n1p4 259:4    0     1K  0 part
nvme0n1p5 259:5    0  58,6G  0 part
nvme0n1p6 259:6    0 111,5G  0 part
root@Bovedux:/home/jose#

root@Bovedux:/home/jose# inxi -F
System:
  Host: Bovedux Kernel: 4.19.0-14-amd64 x86_64 bits: 64
  Desktop: Gnome 3.30.2 Distro: Debian GNU/Linux 10 (buster)
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B360-PLUS v: Rev 1.xx
  serial: 190245335002829 UEFI [Legacy]: American Megatrends v: 2501
  date: 11/11/2020
CPU:
  Topology: Quad Core model: Intel Core i3-8100 bits: 64 type: MCP
  L2 cache: 6144 KiB
  Speed: 800 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 801 2: 800
  3: 800 4: 800
Graphics:
  Device-1: NVIDIA G84 [GeForce 8600 GT] driver: nouveau v: kernel
  Display: x11 server: X.Org 1.20.4 driver: nouveau
  resolution: 1920x1080~60Hz
  OpenGL: renderer: NV84 v: 3.3 Mesa 18.3.6
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  Sound Server: ALSA v: k4.19.0-14-amd64
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: 04:d4:c4:25:ad:dd
Drives:
  Local Storage: total: 2.96 TiB used: 1.38 TiB (46.7%)
  ID-1: /dev/nvme0n1 vendor: Lexar model: 256GB SSD size: 238.47 GiB
  ID-2: /dev/sda vendor: Seagate model: ST2000DM001-1ER164 size: 1.82 TiB
  ID-3: /dev/sdb vendor: Seagate model: ST31000528AS size: 931.51 GiB
Partition:
  ID-1: / size: 57.42 GiB used: 7.40 GiB (12.9%) fs: ext4
  dev: /dev/nvme0n1p3
  ID-2: /home size: 825.66 GiB used: 690.08 GiB (83.6%) fs: ext4
  dev: /dev/sdb5
  ID-3: swap-1 size: 7.81 GiB used: 0 KiB (0.0%) fs: swap
  dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nouveau temp: 47 C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 195 Uptime: 32m Memory: 15.58 GiB used: 1.42 GiB (9.1%)
  Shell: bash inxi: 3.0.32
root@Bovedux:/home/jose#



The SSD is working properly, even the MBR boot is on it.

Anyone have any suggestions to try ??
Last edited by boveda on Mar 1st, '21, 23:34, edited 1 time in total.
boveda
 
Posts: 10
Joined: Feb 18th, '21, 22:48

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby Germ » Feb 19th, '21, 19:52

Hi
I edited your post to add the code tags
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 570
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby boveda » Feb 19th, '21, 20:18

Germ wrote:Hi
I edited your post to add the code tags


Ok. Thanks for your help.
boveda
 
Posts: 10
Joined: Feb 18th, '21, 22:48

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby sturmvogel » Feb 19th, '21, 21:25

It looks similar to this bugreport https://bugzilla.kernel.org/show_bug.cgi?id=205679, but not 100%.
sturmvogel
 
Posts: 678
Joined: Jul 30th, '12, 00:39

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby boveda » Feb 20th, '21, 00:33

sturmvogel wrote:It looks similar to this bugreport https://bugzilla.kernel.org/show_bug.cgi?id=205679, but not 100%.



Hi thanks. Yes, it is something similar happens to me. From what I see in that thread, they have problems with a Seagate drive. In my case it is a Marvel drive.
I see that in the end what they do is add the device to a list (¿nvmequirk?) with this script.


Code: Select all
diff -uprN -X linux-5.4.96/Documentation/dontdiff linux-5.4.96/drivers/nvme/host/pci.c linux-5.4.96-nvmequirk/drivers/nvme/host/pci.c
--- linux-5.4.96/drivers/nvme/host/pci.c   2021-02-07 14:35:50.000000000 +0000
+++ linux-5.4.96-nvmequirk/drivers/nvme/host/pci.c   2021-02-11 12:33:35.876802467 +0000
@@ -3135,7 +3135,8 @@ static const struct pci_device_id nvme_i
    { PCI_DEVICE(0x126f, 0x2263),   /* Silicon Motion unidentified */
       .driver_data = NVME_QUIRK_NO_NS_DESC_LIST, },
    { PCI_DEVICE(0x1bb1, 0x0100),   /* Seagate Nytro Flash Storage */
-      .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
+      .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY |
+            NVME_QUIRK_NO_NS_DESC_LIST, },
    { PCI_DEVICE(0x1c58, 0x0003),   /* HGST adapter */
       .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
    { PCI_DEVICE(0x1c58, 0x0023),   /* WDC SN200 adapter */

I am not sure if my case will be the same and I would not know how to apply these changes, because I am not an expert user. Let's see if someone can shed more light on the problem.

What I have observed is that in older Kernel versions it works correctly, and in the most modern ones it does not work for me.
Last edited by doktor5000 on Feb 20th, '21, 01:34, edited 1 time in total.
Reason: added code tags
boveda
 
Posts: 10
Joined: Feb 18th, '21, 22:48

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby sturmvogel » Feb 20th, '21, 01:08

According your logs you have a Lexar SSD. The memory controler of your motherboard is from Marvel.

If you search a little bit further at the web there are some hints that the reason are cheap SSDs which dont follow the standards or have crappy firmeware (wrong or missing identifiers as shown in your logs).
sturmvogel
 
Posts: 678
Joined: Jul 30th, '12, 00:39

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby boveda » Feb 20th, '21, 14:57

sturmvogel wrote:According your logs you have a Lexar SSD. The memory controler of your motherboard is from Marvel.

If you search a little bit further at the web there are some hints that the reason are cheap SSDs which dont follow the standards or have crappy firmeware (wrong or missing identifiers as shown in your logs).



Thanks for the information. I have searched the internet for information about my problem and I have not found anything about what you say about Marvel SSDs. Can you tell me a link about it?
Anyway, I don't know if this SSD is expensive or cheap. I found the manufacturer's website to be trusted and that's why I bought it.
Even so, if it does not meet the standards as indicated, why does Zorin or Debian recognize it without problems and Mageia does not. There must be something else in the kernels of these OS that Mageia does not contemplate.
Thanks and best regards
boveda
 
Posts: 10
Joined: Feb 18th, '21, 22:48

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby doktor5000 » Feb 20th, '21, 17:41

Please add
Code: Select all
lspcidrake -v
output because I can't see the whole vendor/product IDs.

boveda wrote:Even so, if it does not meet the standards as indicated, why does Zorin or Debian recognize it without problems and Mageia does not. There must be something else in the kernels of these OS that Mageia does not contemplate.

You should create a bugreport for that, and add the lspcidrake -v and both the dmesg outputs from Mageia and Debian for comparison.

There are two other bugreports regarding NVMe drives but they both seem unrelated.
https://bugs.mageia.org/show_bug.cgi?id=26708
https://bugs.mageia.org/show_bug.cgi?id=27364
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby boveda » Feb 20th, '21, 21:07

Hello, I send you the command output you request
Attachments
DEBIAN.txt
List of commands in Debian
(61.85 KiB) Downloaded 87 times
MG8RC1.txt
List of commands in Mageia 8 RC1
(69.71 KiB) Downloaded 77 times
Last edited by doktor5000 on Feb 20th, '21, 22:24, edited 1 time in total.
Reason: removed fullquote
boveda
 
Posts: 10
Joined: Feb 18th, '21, 22:48

Re: Installation problem M7 / M8 in M2: PCIe SSD

Postby morgano » Feb 23rd, '21, 20:08

Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron