[opensuse-factory] new kernel install takes very long
With the warning that next update will be really big I have in the meantime updated Packman and the kernel from the kernel stable. Having had a problem with a lengthy kernel update I measured the time it takes for the finishing of the kernel install. After 47 minutes it suddenly showed the halfway results and after a total of 65 minutes it showed that the installation was finished. Where could I start looking why it takes more than an hour for the installation? After dowloading a total of 3 files the following story enrolls: Checking for file conflicts: ......................................................................................................................................... [done] (1/3) Installing: kernel-firmware-20160412-35.1.noarch ............................................................................................................... [done] (2/3) Installing: ucode-amd-20160412-35.1.noarch ..................................................................................................................... [done] (3/3) Installing: kernel-default-4.5.2-2.1.g0454a6e.x86_64 ++++++47 minutes no visible activity++++++ ........................................................................................................... [done] Additional rpm output: Creating initrd: /boot/initrd-4.5.2-2.g0454a6e-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log -- force /boot/initrd-4.5.2-2.g0454a6e-default 4.5.2-2.g0454a6e-default dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: warpclock *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: *** Including module: drm *** 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: 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 GenuineIntel.bin **** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=b979b9a0-fc2a-442f-9403-ef826cd229db dracut: root=UUID=3e238e33-0b53-4c4d-802a-a5c7f351471c rootfstype=ext4 rootflags=rw,relatime,data=ordered dracut: *** Creating image file '/boot/initrd-4.5.2-2.g0454a6e-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.5.2-2.g0454a6e- default' done *** ++++++++ 65 minutes++++++++++++ Output of kernel-firmware-20160412-35.1.noarch.rpm %posttrans script: Creating initrd: /boot/initrd-4.5.1-4.gda73f3b-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log -- force /boot/initrd-4.5.1-4.gda73f3b-default 4.5.1-4.gda73f3b-default dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: warpclock *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: *** Including module: drm *** 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: 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 GenuineIntel.bin **** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=b979b9a0-fc2a-442f-9403-ef826cd229db dracut: root=UUID=3e238e33-0b53-4c4d-802a-a5c7f351471c rootfstype=ext4 rootflags=rw,relatime,data=ordered dracut: *** Creating image file '/boot/initrd-4.5.1-4.gda73f3b-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.5.1-4.gda73f3b- default' done *** Creating initrd: /boot/initrd-4.5.1-5.g99697f1-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log -- force /boot/initrd-4.5.1-5.g99697f1-default 4.5.1-5.g99697f1-default dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: warpclock *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: *** Including module: drm *** 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: 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 GenuineIntel.bin **** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=b979b9a0-fc2a-442f-9403-ef826cd229db dracut: root=UUID=3e238e33-0b53-4c4d-802a-a5c7f351471c rootfstype=ext4 rootflags=rw,relatime,data=ordered dracut: *** Creating image file '/boot/initrd-4.5.1-5.g99697f1-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.5.1-5.g99697f1- default' done *** Creating initrd: /boot/initrd-4.5.2-2.g0454a6e-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log -- force /boot/initrd-4.5.2-2.g0454a6e-default 4.5.2-2.g0454a6e-default dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: warpclock *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: *** Including module: drm *** 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: 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 GenuineIntel.bin **** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=b979b9a0-fc2a-442f-9403-ef826cd229db dracut: root=UUID=3e238e33-0b53-4c4d-802a-a5c7f351471c rootfstype=ext4 rootflags=rw,relatime,data=ordered dracut: *** Creating image file '/boot/initrd-4.5.2-2.g0454a6e-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.5.2-2.g0454a6e- default' done *** CommitResult (total 3, done 3, error 0, skipped 0, updateMessages 0) Checking for running processes using deleted libraries... -- Linux User 183145 using Tumbleweed on a Pentium IV System : Linux 4.5.1-5.g99697f1-default Distro : openSUSE 20160417 (x86_64) Desktop: KDE Frameworks: 5.21.0 and Plasma 5.6.2 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op zaterdag 23 april 2016 17:14:32 CEST schreef C. Brouerius van Nidek:
With the warning that next update will be really big I have in the meantime updated Packman and the kernel from the kernel stable.
Having had a problem with a lengthy kernel update I measured the time it takes for the finishing of the kernel install. After 47 minutes it suddenly showed the halfway results and after a total of 65 minutes it showed that the installation was finished.
Where could I start looking why it takes more than an hour for the installation? After dowloading a total of 3 files the following story enrolls:
The length of a kernel update very much depends on the characteristics of your system, like the amount of memory, the speed of your CPU and your disk. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-04-23 12:41, Freek de Kruijf wrote:
The length of a kernel update very much depends on the characteristics of your system, like the amount of memory, the speed of your CPU and your disk.
I have a 32 bit machine with 500MB of ram and a pentium 4, and it doesn't take that long to update the kernel by far. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Saturday 2016-04-23 13:14, Carlos E. R. wrote:
On 2016-04-23 12:41, Freek de Kruijf wrote:
The length of a kernel update very much depends on the characteristics of your system, like the amount of memory, the speed of your CPU and your disk.
I have a 32 bit machine with 500MB of ram and a pentium 4, and it doesn't take that long to update the kernel by far.
It is conceivable that the xz compression is taking a lot of time which should be mitigatable by using /etc/dracut.conf.d/99-local.conf: compress=gzip -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-04-23 12:14, C. Brouerius van Nidek wrote:
With the warning that next update will be really big I have in the meantime updated Packman and the kernel from the kernel stable.
Having had a problem with a lengthy kernel update I measured the time it takes for the finishing of the kernel install. After 47 minutes it suddenly showed the halfway results and after a total of 65 minutes it showed that the installation was finished.
Open a terminal (xterm, konsole, whatever), run top in in it, then run the update. The idea is to find out what is it doing while it doesn't print anything in those 47 minutes. I would suspect grub probe of other systems, because that takes a long time in my system. It even probed extended partitions trying to see if they can be mounted with all known filesystems. Try looking at zypper logs. If that doesn't show anything, you would have to strace the process and its children... -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 04/23/2016 05:14 AM, C. Brouerius van Nidek wrote:
Having had a problem with a lengthy kernel update I measured the time it takes for the finishing of the kernel install. After 47 minutes it suddenly showed the halfway results and after a total of 65 minutes it showed that the installation was finished.
Much of that 47 minutes could have been network download time. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
C. Brouerius van Nidek
-
Carlos E. R.
-
Freek de Kruijf
-
Jan Engelhardt
-
Neil Rickert