← Back to team overview

kernel-packages team mailing list archive

[Bug 1259861] Re: 5-10 second delay in kernel boot


@rhansen, your bug might be a different one, since ip=dhcp is processed
by the initramfs, while I'm talking about the kernel, before the
initramfs gets to run.

The bug is still there in Xenial.
I noticed that it doesn't happen in all hardware; I've seen it in *some* real clients and under VirtualBox, while I haven't been able to reproduce it under KVM.

Example from Xenial:
$ grep 'model name' /proc/cpuinfo 
model name      : Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz

$ dmesg
[    1.224044] usb 3-4: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[    1.677095] tsc: Refined TSC clocksource calibration: 3292.375 MHz
[    1.677134] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2f75298baf3, max_idle_ns: 440795322961 ns
[    2.677286] clocksource: Switched to clocksource tsc
[   12.784911] PM: Hibernation image not present or could not be loaded.
[   12.785223] Freeing unused kernel memory: 936K (c1b6d000 - c1c57000)
[   12.785350] Write protecting the kernel text: 7816k
[   12.785450] Write protecting the kernel read-only data: 3120k
[   12.785502] NX-protecting the kernel data: 6520k
[   12.797220] random: systemd-udevd urandom read with 0 bits of entropy available

I also tried with "nohibernate", it's not related to hibernation.

** Tags removed: kernel-fixed-upstream
** Tags added: xenial

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  5-10 second delay in kernel boot

Status in linux package in Ubuntu:

Bug description:
  In Trusty I see a big delay while the kernel boots that I did not see back in Precise.
  Some people have been experiencing this in Saucy too, so I don't know exactly when it started happening.
  Excerpt from dmesg:
  [    3.740100] Switched to clocksource tsc
  [   14.208118] PM: Hibernation image not present or could not be loaded.
  [   14.208885] Freeing unused kernel memory: 864K (c19ac000 - c1a84000)

  The exact messages above don't matter, they are different on different boots or on different machines.
  It even happens with e.g. 
  $ sudo kvm -m 768 -cdrom trusty-desktop-i386.iso

  My current kernel is
  Linux server 3.12.0-7-generic #15-Ubuntu SMP Sun Dec 8 23:42:09 UTC 2013 i686 i686 i686 GNU/Linux
  ...but the exact version, maybe from 3.8 to 3.12+, shouldn't matter, just run `dmesg` yourself and check if there's a big delay there.

To manage notifications about this bug go to: