[ 5.334548] Waiting 300 sec before mounting root device... This is not a kernel issue, but an emergent bug from the combination of us specifying rootdelay=300 in azure images, and the fact that the minimal image boots initramfsless. The kernel interprets 'rootdelay' differently than Ubuntu initramfs-tools does.
** Changed in: linux-azure (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1795017 Title: linux-azure on cosmic minimal image boot speed Status in linux-azure package in Ubuntu: Invalid Bug description: Hi, We're planning to share a new Cosmic minimal image for Azure including the linux-azure custom kernel. I have found boot speed increase from ~55s in non minimal image to over 6mins for minimal image. I have gathered boot log, systemd logs and cloud-init logs for this instance @ https://private-fileshare.canonical.com/~philroche/azure- cosmic-20180927/minimal/. You can see the same logs for the non minimal image @ https://private-fileshare.canonical.com/~philroche /azure-cosmic-20180927/base Most of the time seems to be spent in crng and "task swapper/0:1" (?) [ 5.774760] sd 3:0:0:0: [sdc] Attached SCSI disk [ 71.388989] random: crng init done [ 242.656057] INFO: task swapper/0:1 blocked for more than 120 seconds. [ 242.688434] Not tainted 4.15.0-1018-azure #18-Ubuntu Source: https://private-fileshare.canonical.com/~philroche/azure- cosmic-20180927/minimal/iengal3seeSee-vm-imagedebug-boot.log Please let me know if you need any more information or would like me to launch an instance for testing. I understand that minimal images are intended to boot without initramfs but I did install initramfs-tools in another test image which did result in much better boot times. See https://private-fileshare.canonical.com/~philroche/azure- cosmic-20180928/ for logs. Minimal image boot time 48.784s To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1795017/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp