You are not logged in.

#1 2024-12-18 21:06:24

linuxgeek
Member
Registered: 2024-12-18
Posts: 1

weird nvme initialization process during boot

systemd-analyze blame output:

2.140s dev-tpmrm0.device
2.136s sys-module-fuse.device
2.135s sys-module-configfs.device
2.046s dev-disk-by\x2did-nvme\x2dnvme.144d\x2d20202020202053364d5a4e463157343338353733\x2d504d394231204e564d652053616d73756e67203531324742\x2d00000001\x2dpart1.device
2.046s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB_______S6MZNF1W438573\x2dpart1.device
2.046s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB__S6MZNF1W438573\x2dpart1.device
2.046s dev-disk-by\x2dpartuuid-0105dc3a\x2dae3b\x2d46e1\x2d915f\x2dbdeb83c27123.device
2.046s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-B984\x2dEB43.device
2.046s sys-devices-pci0000:00-0000:00:06.2-0000:02:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device
2.046s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart1.device
2.046s dev-nvme0n1p1.device
2.046s dev-disk-by\x2duuid-B984\x2dEB43.device
2.046s dev-disk-by\x2ddiskseq-1\x2dpart1.device
2.046s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB_______S6MZNF1W438573_1\x2dpart1.device
2.046s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-0105dc3a\x2dae3b\x2d46e1\x2d915f\x2dbdeb83c27123.device
2.046s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-1.device
2.045s dev-nvme0n1p2.device
2.045s sys-devices-pci0000:00-0000:00:06.2-0000:02:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device
2.045s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartuuid-9751942e\x2d9e19\x2d4607\x2d969a\x2dbd2414b85a66.device
2.045s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB_______S6MZNF1W438573_1\x2dpart2.device
2.045s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB_______S6MZNF1W438573\x2dpart2.device
2.045s dev-disk-by\x2did-nvme\x2dnvme.144d\x2d20202020202053364d5a4e463157343338353733\x2d504d394231204e564d652053616d73756e67203531324742\x2d00000001\x2dpart2.device
2.045s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart2.device
2.045s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart-by\x2duuid-6ccd14b3\x2df40c\x2d4dda\x2d9f07\x2da94425e9cb7b.device
2.045s dev-disk-by\x2ddiskseq-1\x2dpart2.device
2.045s dev-disk-by\x2duuid-6ccd14b3\x2df40c\x2d4dda\x2d9f07\x2da94425e9cb7b.device
2.045s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB__S6MZNF1W438573\x2dpart2.device
2.045s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1\x2dpart-by\x2dpartnum-2.device
2.045s dev-disk-by\x2dpartuuid-9751942e\x2d9e19\x2d4607\x2d969a\x2dbd2414b85a66.device
2.033s dev-disk-by\x2did-nvme\x2dnvme.144d\x2d20202020202053364d5a4e463157343338353733\x2d504d394231204e564d652053616d73756e67203531324742\x2d00000001.device
2.033s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB__S6MZNF1W438573.device
2.033s dev-nvme0n1.device
2.033s dev-disk-by\x2ddiskseq-1.device
2.033s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB_______S6MZNF1W438573_1.device
2.033s dev-disk-by\x2did-nvme\x2dPM9B1_NVMe_Samsung_512GB_______S6MZNF1W438573.device
2.033s sys-devices-pci0000:00-0000:00:06.2-0000:02:00.0-nvme-nvme0-nvme0n1.device
2.033s dev-disk-by\x2dpath-pci\x2d0000:02:00.0\x2dnvme\x2d1.device
 597ms systemd-boot-random-seed.service
 517ms boot.mount
 457ms initrd-switch-root.service
 431ms NetworkManager.service
 269ms systemd-modules-load.service
 187ms systemd-logind.service
 185ms user@1000.service
 180ms upower.service
 154ms udisks2.service
 124ms systemd-journald.service
 115ms systemd-tmpfiles-setup-dev-early.service
 111ms systemd-hostnamed.service
  95ms systemd-udevd.service
  94ms dev-hugepages.mount
  93ms dev-mqueue.mount
  93ms sys-kernel-debug.mount
  92ms sys-kernel-tracing.mount
  91ms tmp.mount
  90ms systemd-pcrphase.service
  86ms systemd-tmpfiles-clean.service
  84ms systemd-vconsole-setup.service
  82ms systemd-pcrmachine.service
  81ms systemd-tpm2-setup-early.service
  76ms systemd-tmpfiles-setup.service
  75ms systemd-userdbd.service
  75ms systemd-udev-trigger.service
  71ms user-runtime-dir@1000.service
  70ms polkit.service
  68ms systemd-fsck-root.service
  64ms systemd-pcrphase-sysinit.service
  58ms systemd-sysctl.service
  56ms dbus-broker.service
  55ms systemd-rfkill.service
  54ms initrd-parse-etc.service
  50ms systemd-tpm2-setup.service
  43ms modprobe@configfs.service
  43ms modprobe@fuse.service
  42ms systemd-tmpfiles-setup-dev.service
  40ms systemd-pcrphase-initrd.service
  39ms systemd-remount-fs.service
  37ms systemd-backlight@backlight:intel_backlight.service
  34ms wpa_supplicant.service
  33ms systemd-journal-flush.service
  24ms kmod-static-nodes.service
  21ms modprobe@dm_mod.service
  20ms modprobe@drm.service
  19ms modprobe@loop.service
  19ms systemd-fsck@dev-nvme0n1p1.service
  16ms initrd-cleanup.service
  16ms rtkit-daemon.service
  14ms getty@tty3.service
  13ms systemd-udev-load-credentials.service
  13ms initrd-udevadm-cleanup-db.service
  12ms systemd-user-sessions.service
  11ms systemd-update-utmp.service
  11ms sys-kernel-config.mount
  11ms sys-fs-fuse-connections.mount
  10ms systemd-random-seed.service
   9ms systemd-battery-check.service

/etc/fstab file content:

# See fstab(5) for details.

# /dev/nvme0n1p2 UUID=6ccd14b3-f40c-4dda-9f07-a94425e9cb7b
/dev/nvme0n1p2          /               ext4            rw,noatime,commit=60    0 1

# /dev/nvme0n1p1 UUID=B984-EB43
/dev/nvme0n1p1          /boot           vfat            rw,relatime,noauto,x-systemd.automount,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro        0 2

active kernel parameters:

root=/dev/nvme0n1p2 rw quiet loglevel=0 systemd.show_status=auto rd.udev.log_level=0

systemctl list-units --type=device output

  UNIT                                                                                   LOAD   ACTIVE SUB     DESCRIPTION                                                   
             
  sys-devices-pci0000:00-0000:00:02.0-drm-card2-card2\x2deDP\x2d1-intel_backlight.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/drm/card2/card2-eDP-1/intel_backlight
  sys-devices-pci0000:00-0000:00:06.2-0000:02:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device   loaded active plugged PM9B1 NVMe Samsung 512GB 1
  sys-devices-pci0000:00-0000:00:06.2-0000:02:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device   loaded active plugged PM9B1 NVMe Samsung 512GB 2
  sys-devices-pci0000:00-0000:00:06.2-0000:02:00.0-nvme-nvme0-nvme0n1.device             loaded active plugged PM9B1 NVMe Samsung 512GB
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d10-1\x2d10:1.0-bluetooth-hci0.device     loaded active plugged /sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/bluetooth/hci0
  sys-devices-pci0000:00-0000:00:1d.0-0000:03:00.0-net-wlp3s0.device                     loaded active plugged RTL8852BE PCIe 802.11ax Wireless Network Controller
  sys-devices-pci0000:00-0000:00:1f.3-sound-card0-controlC0.device                       loaded active plugged /sys/devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0-mtd1.device        loaded active plugged /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0/mtd1
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0-mtd1ro.device      loaded active plugged /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0/mtd1ro
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0.device             loaded active plugged /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0ro.device           loaded active plugged /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0ro
  sys-devices-platform-NTC0702:00-tpm-tpm0.device                                        loaded active plugged /sys/devices/platform/NTC0702:00/tpm/tpm0
  sys-devices-platform-NTC0702:00-tpmrm-tpmrm0.device                                    loaded active plugged /sys/devices/platform/NTC0702:00/tpmrm/tpmrm0
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.0-tty-ttyS0.device           loaded active plugged /sys/devices/platform/serial8250/serial8250:0/serial8250:0.0/tty/ttyS0
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-ttyS1.device           loaded active plugged /sys/devices/platform/serial8250/serial8250:0/serial8250:0.1/tty/ttyS1
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-ttyS2.device           loaded active plugged /sys/devices/platform/serial8250/serial8250:0/serial8250:0.2/tty/ttyS2
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-ttyS3.device           loaded active plugged /sys/devices/platform/serial8250/serial8250:0/serial8250:0.3/tty/ttyS3
  sys-devices-virtual-misc-rfkill.device                                                 loaded active plugged /sys/devices/virtual/misc/rfkill
  sys-module-configfs.device                                                             loaded active plugged /sys/module/configfs
  sys-module-fuse.device                                                                 loaded active plugged /sys/module/fuse
  sys-subsystem-bluetooth-devices-hci0.device                                            loaded active plugged /sys/subsystem/bluetooth/devices/hci0
  sys-subsystem-net-devices-wlp3s0.device                                                loaded active plugged RTL8852BE PCIe 802.11ax Wireless Network Controller

also just to note, i did refer to my partitions in fstab and in kernel parameters using UUID, but getting same issue.

Last edited by linuxgeek (2024-12-19 21:18:31)

Offline

#2 2024-12-18 22:04:02

seth
Member
Registered: 2012-09-03
Posts: 60,805

Re: weird nvme initialization process during boot

Please use [code][/code] tags. Edit your post in this regard.
Then please explain what you mean by "weird nvme initialization process" and "issue".

systemctl list-units --type=device

seems to show up in the blame for some reason and there also seesm a duplicate.
This is probably the result of some (custom?) udev rule?

Offline

Board footer

Powered by FluxBB