← Back to team overview

kernel-packages team mailing list archive

[Bug 1455268] Re: update-grub (grub-probe) during package installation on Cisco UCS B260 servers - Precise deployment fails with hwe-t kernel

 

Larry, thanks for these traces.  I realized it would have been a good
idea to ask you for traces with timestamps, so we can confirm where the
stall is actually happening.  Could you rerun these with strace -t?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1455268

Title:
  update-grub (grub-probe) during package installation on Cisco UCS B260
  servers - Precise deployment fails with hwe-t kernel

Status in grub2 package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  In bug 1437475, deploying Precise with maas was failing with curtin
  error with generic ephemeral image.

  With hwe-t kernel it gets passed the curtin error.. However, grub
  looks to be stuck. Looking at the diff for install log minutes apart
  right before deployment gets marked as failed by maas, it looks to be
  retrying the last step:

  Last lines of curtin install log:
  ===========================================================================
  Unpacking linux-generic-lts-trusty (from .../linux-generic-lts-trusty_3.13.0.52.45_amd64.deb) ...
  Setting up linux-image-3.13.0-52-generic (3.13.0-52.86~precise1) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-52-generic
  df: Warning: cannot read table of mounted file systems: No such file or directory
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
  run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
  Searching for GRUB installation directory ... found: /boot/grub
  Searching for default file ... found: /boot/grub/default
  Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  Searching for splash image ... none found, skipping ...
  Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.2.0-80-generic
  Found kernel: /boot/vmlinuz-3.13.0-52-generic
  Found kernel: /boot/memtest86+.bin
  Updating /boot/grub/menu.lst ... done

  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.13.0-52-generic
  Found initrd image: /boot/initrd.img-3.13.0-52-generic
  Found linux image: /boot/vmlinuz-3.2.0-80-generic
  Found initrd image: /boot/initrd.img-3.2.0-80-generic
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Setting up linux-image-generic-lts-trusty (3.13.0.52.45) ...
  Setting up linux-headers-3.13.0-52 (3.13.0-52.86~precise1) ...
  Setting up linux-headers-3.13.0-52-generic (3.13.0-52.86~precise1) ...
  Setting up linux-headers-generic-lts-trusty (3.13.0.52.45) ...
  Setting up linux-generic-lts-trusty (3.13.0.52.45) ...
  Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'
  8192+0 records in
  8192+0 records out
  8589934592 bytes (8.6 GB) copied, 6.10194 s, 1.4 GB/s
  Setting up swapspace version 1, size = 8388604 KiB
  no label, UUID=56f58ad7-bd54-4c17-be2f-893d3c70cd7e
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.13.0-52-generic
  Found initrd image: /boot/initrd.img-3.13.0-52-generic
  Found linux image: /boot/vmlinuz-3.2.0-80-generic
  Found initrd image: /boot/initrd.img-3.2.0-80-generic
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.13.0-52-generic
  Found initrd image: /boot/initrd.img-3.13.0-52-generic
  ===========================================================================

  Diff output:
  ===========================================================================
  ubuntu@pullman-01:~$ diff install.log var/log/curtin/install.log 
  219,221d218
  < Generating grub.cfg ...
  < Found linux image: /boot/vmlinuz-3.13.0-52-generic
  < Found initrd image: /boot/initrd.img-3.13.0-52-generic
  ubuntu@pullman-01:~$ 
  ===========================================================================

  I am attaching some logs I collected including content of /var/log

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1455268/+subscriptions