Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-56375

kdumpctl rebuild stuck in dracut/Including module: kernel-modules

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-10.0.beta
    • kdump-utils
    • rhel-sst-kernel-debug
    • ssg_core_kernel
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      kdumpctl rebuild is stuck forever. Looks to be stuck in dracut. Regular dracut -f works fine.

      Please provide the package NVR for which bug is seen:

      kdump-utils-1.0.43-1.el10.x86_64
      dracut-102-2.el10.x86_64
      kernel-6.11.0-0.rc4.20.el10.x86_64
      kernel-6.11.0-0.rc3.19.el10.x86_64

      How reproducible:

      always


      # kdumpctl rebuild
      kdump: Rebuilding /boot/initramfs-6.11.0-0.rc4.20.el10.x86_64kdump.img
      kdump: Warning: There might not be enough space to save a vmcore.
      kdump:          The size of /dev/mapper/rhel_rhel--storage--108-root should be greater than 130954452 kilo bytes.
      
      # ps axlf
      4     0    7653    2994  20   0  14468  8252 do_pol Ss   ?          0:00  \_ sshd-session: root [priv]
      5     0    7670    7653  20   0  14904  5548 do_pol S    ?          0:00  |   \_ sshd-session: root@pts/0
      4     0    7671    7670  20   0   7328  2856 do_wai Ss   pts/0      0:00  |       \_ -bash
      0     0   17735    7671  20   0   8800  4524 do_wai S+   pts/0      0:00  |           \_ /usr/bin/bash /usr/bin/kdumpctl rebuild
      5     0   17738   17735  20   0   8932  3768 do_wai S+   pts/0      0:00  |               \_ /usr/bin/bash /usr/bin/kdumpctl rebuild
      0     0   17757   17738  20   0   8264  3612 do_wai S+   pts/0      0:00  |                   \_ /usr/bin/bash --norc /sbin/mkdumprd -f /boot/initramfs-6.11.0-0.rc4.20.el10.x86_64kdump.img 6.11.0-0.rc4.20.el10.x86_64
      4     0   17927   17757  20   0  10196  5436 wait_w S+   pts/0      0:00  |                       \_ /usr/bin/bash -p /usr/bin/dracut --add kdumpbase --quiet --hostonly --hostonly-cmdline --hostonly-i18n --hostonly-mode strict --hostonly-nics  --aggressive-strip -o plymouth resume ifcfg earlykdump --mount /dev/mapper/rhel_rhel--storage--108-root /sysroot xfs rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota --squash-compressor zstd --no-hostonly-default-device -f /boot/initramfs-6.11.0-0.rc4.20.el10.x86_64kdump.img 6.11.0-0.rc4.20.el10.x86_64
      4     0   17955   17927  20   0   2712   940 pipe_r S+   pts/0      0:00  |                           \_ /bin/cat
      
      # /sbin/mkdumprd -f /boot/initramfs-6.11.0-0.rc4.20.el10.x86_64kdump.img 6.11.0-0.rc4.20.el10.x86_64 -vvv 
      kdump: Warning: There might not be enough space to save a vmcore.
      kdump:          The size of /dev/mapper/rhel_rhel--storage--108-root should be greater than 130954452 kilo bytes.
      dracut[I]: Executing: /usr/bin/dracut --add kdumpbase --quiet --hostonly --hostonly-cmdline --hostonly-i18n --hostonly-mode strict --hostonly-nics  --aggressive-strip -o "plymouth resume ifcfg earlykdump" --mount "/dev/mapper/rhel_rhel--storage--108-root /sysroot xfs rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota" --squash-compressor zstd --no-hostonly-default-device -f /boot/initramfs-6.11.0-0.rc4.20.el10.x86_64kdump.img 6.11.0-0.rc4.20.el10.x86_64 -vvv
      ...
      dracut[I]: *** Including module: network ***
      dracut[I]: *** Including module: net-lib ***
      dracut[I]: *** Including module: drm ***
      dracut[I]: *** Including module: prefixdevname ***
      dracut[I]: *** Including module: dm ***
      dracut[D]: Skipping udev rule: 64-device-mapper.rules
      dracut[D]: Skipping udev rule: 60-persistent-storage-dm.rules
      dracut[D]: Skipping udev rule: 55-dm.rules
      dracut[I]: *** Including module: kernel-modules ***
      
      # /sbin/mkdumprd -f /boot/initramfs-6.11.0-0.rc4.20.el10.x86_64kdump.img 6.11.0-0.rc4.20.el10.x86_64 -vvv --debug
      ...
      dracut-install: dracut_install '/lib/modules/6.11.0-0.rc4.20.el10.x86_64//kernel/drivers/ata/libata.ko.xz' '/lib/modules/6.11.0-0.rc4.20.el10.x86_64//kernel/drivers/ata/libata.ko.xz' OK
      /usr/lib/dracut/dracut-init.sh@1114(instmods): _ret=0
      /usr/lib/dracut/dracut-init.sh@1116(instmods): (( _ret != 0 ))
      /usr/lib/dracut/dracut-init.sh@1130(instmods): [[ -n -o ]]
      /usr/lib/dracut/dracut-init.sh@1130(instmods): return 0
      /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh@111(installkernel): [[ strict == \s\t\r\i\c\t ]]
      /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh@112(installkernel): install_block_modules_strict
      /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh@23(install_block_modules_strict): hostonly=
      /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh@23(install_block_modules_strict): instmods
      /usr/lib/dracut/dracut-init.sh@1079(instmods): local dstdir=/var/tmp/dracut.CACoTN/initramfs
      /usr/lib/dracut/dracut-init.sh@1080(instmods): local _optional=-o
      /usr/lib/dracut/dracut-init.sh@1081(instmods): local _silent
      /usr/lib/dracut/dracut-init.sh@1082(instmods): local _ret
      /usr/lib/dracut/dracut-init.sh@1084(instmods): [[ '' == yes ]]
      /usr/lib/dracut/dracut-init.sh@1086(instmods): [[ '' == \-\c ]]
      /usr/lib/dracut/dracut-init.sh@1090(instmods): [[ '' == \-\s ]]
      /usr/lib/dracut/dracut-init.sh@1095(instmods): (( 0 == 0 ))
      /usr/lib/dracut/dracut-init.sh@1096(instmods): read -r -d '' -a args
      
        1072	instmods() {
        1073	    # instmods [-c [-s]] <kernel module> [<kernel module> ... ]
        1074	    # instmods [-c [-s]] <kernel subsystem>
        1075	    # install kernel modules along with all their dependencies.
        1076	    # <kernel subsystem> can be e.g. "=block" or "=drivers/usb/storage"
        1077	    # -c check
        1078	    # -s silent
        1079	    local dstdir="${dstdir:-"$initdir"}"
        1080	    local _optional="-o"
        1081	    local _silent
        1082	    local _ret
        1083	
        1084	    [[ $no_kernel == yes ]] && return
        1085	
        1086	    if [[ $1 == '-c' ]]; then
        1087	        unset _optional
        1088	        shift
        1089	    fi
        1090	    if [[ $1 == '-s' ]]; then
        1091	        _silent=1
        1092	        shift
        1093	    fi
        1094	
        1095	    if (($# == 0)); then
        1096	        read -r -d '' -a args
        1097	        set -- "${args[@]}"
        1098	    fi
      

      Full logs attached.

        1. dracut-debug.log
          2.90 MB
          Tomáš Bžatek
        2. dracut-verbose.log
          8 kB
          Tomáš Bžatek
        3. kdump-run-console.log
          146 kB
          Tomáš Bžatek

              coxu@redhat.com Coiby Xu
              tbzatek Tomáš Bžatek
              kdump team kdump team
              Xiaoying Yan Xiaoying Yan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: