4.18.1 "make install" issue

From: Mark Hounschell
Date: Fri Aug 17 2018 - 14:11:49 EST



Something is amiss. A "make install" of an already compiled 4.18.1
kernel is taking 10 minutes or so. The same thing for a 4.17.14 kernel
takes all of a minute.

And during that 10 minutes
or so we seem hung up on i915.ko

2626 pts/8 S+ 0:00 make -f ./scripts/Makefile.build obj=arch/x86/boot install
2627 pts/8 S+ 0:00 /bin/sh /sbin/installkernel 4.18.1 arch/x86/boot/bzImage System.map /boot
2642 pts/11 Ss 0:00 /bin/bash
2659 pts/8 S+ 0:00 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4581 pts/1 Ss 0:00 /bin/bash
4620 pts/8 S+ 0:00 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4622 pts/8 S+ 0:00 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4623 pts/8 S+ 0:00 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4624 pts/8 S+ 0:00 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4625 pts/8 S+ 0:09 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4627 pts/8 R+ 1:47 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4682 pts/8 S+ 0:00 /bin/bash --norc /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
4683 pts/8 S+ 0:00 cat /lib/modules/4.18.1//kernel/drivers/gpu/drm/i915/i915.ko
4684 pts/8 S+ 0:00 tr -cd [:print:]



# date ; make install ; date
Fri Aug 17 10:25:47 EDT 2018

sh ./arch/x86/boot/install.sh 4.18.1 arch/x86/boot/bzImage \
System.map "/boot"
dracut: Executing: /usr/bin/dracut --hostonly --force /boot/initrd-4.18.1 4.18.1
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: Could not find FONT_MAP none!
dracut: *** Including module: drm ***


Here it hangs up for 10 minutes with the above "ps ax" output?


dracut: Possible missing firmware "nvidia/gv100/sec2/sig.bin" for kernel module "nouveau.ko"
.
.
.
dracut: *** Including module: plymouth ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: resume ***
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: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: ostree ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: resume=UUID=86053ad3-d0fe-483f-bdd3-bdf8c26fa47b
dracut: root=UUID=a271f078-c500-4099-b058-fa9812037fc2 rootfstype=ext4 rootflags=rw,relatime
dracut: *** Creating image file '/boot/initrd-4.18.1' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.18.1' done ***

Fri Aug 17 10:34:50 EDT 2018


Same machine installing a 4.17.14 kernel take 1 minute:
# date ; make install ; date
Fri Aug 17 13:27:41 EDT 2018

sh ./arch/x86/boot/install.sh 4.17.14-lcrs arch/x86/boot/bzImage \
System.map "/boot"
renamed '/boot/config-4.17.14-lcrs' -> '/boot/config-4.17.14-lcrs.old'
dracut: Executing: /usr/bin/dracut --hostonly --force /boot/initrd-4.17.14-lcrs 4.17.14-lcrs
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: Could not find FONT_MAP none!
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
.
.
.
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: resume=UUID=86053ad3-d0fe-483f-bdd3-bdf8c26fa47b
dracut: root=UUID=a271f078-c500-4099-b058-fa9812037fc2 rootfstype=ext4 rootflags=rw,relatime
dracut: *** Creating image file '/boot/initrd-4.17.14-lcrs' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.17.14-lcrs' done ***

Fri Aug 17 13:28:29 EDT 2018

Regards
Mark