[Bug 1702997] [NEW] Grub version 2.02~beta2-36-ubuntu3.11 fails to boot when there are too many disks connected to the computer (grub prompt shown, out of memory error when trying ls)

Juhan Ernits 1702997 at bugs.launchpad.net
Fri Jul 7 19:47:51 UTC 2017


Public bug reported:

After upgrading Ubuntu 16.04.2 LTS to the current set of packages today,
a server failed to boot. The server is a file store and has lots of
disks. Only GRUB prompt came up after boot (thus UEFI managed to load
grubx64.efi, but it did not manage to load kernel). The prompt was
unstable. For example during one boot it was possible to use ls to list
partitions, but load kernel, but during another boot even running 'ls'
resulted in an "out of memory" error.

The server has 40+ disks attached in JBOD configuration where several
disks are using multipath. Thus the number of disks the system thinks it
sees is around 70 at boot time.

When only the ZFS pool containing the filesystem was left connected, the
system booted with grub 2.02~beta2-36-ubuntu3.11. Downgrading the
packages  grub-common grub-efi-amd64-bin grub2-common to
2.02~beta2-36ubuntu3 fixed the boot problem with all disks attached.
Thus something got broken between 2.02~beta2-36ubuntu3 and
2.02~beta2-36-ubuntu3.11 that renders systems with dozens of disks
unbootable after upgrade.

lsb_release -rd
Description:    Ubuntu 16.04.2 LTS
Release:        16.04

The apport report is edited. Firstly there are lots of lines like the
following:

hostname systemd-udevd[8804]: Process '/usr/bin/partx -d --nr 1-1024
/dev/sdae' failed with exit code 1.

Secondly, since it did not boot properly with GRUB
2.02~beta2-36-ubuntu3.11, it was run with after booting up with
2.02~beta2-36-ubuntu3


ProblemType: Bug
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Fri Jul  7 21:57:12 2017
Dependencies:
 adduser 3.113+nmu3ubuntu4
 apt 1.2.20
 apt-utils 1.2.20
 debconf 1.5.58ubuntu1
 debconf-i18n 1.5.58ubuntu1
 debianutils 4.7
 dmsetup 2:1.02.110-1ubuntu10
 dpkg 1.18.4ubuntu1.2
 gcc-5-base 5.4.0-6ubuntu1~16.04.4
 gcc-6-base 6.0.1-0ubuntu1
 gettext-base 0.19.7-2ubuntu3
 gnupg 1.4.20-1ubuntu3.1
 gpgv 1.4.20-1ubuntu3.1
 grub-common 2.02~beta2-36ubuntu3
 init-system-helpers 1.29ubuntu4
 libacl1 2.2.52-3
 libapt-inst2.0 1.2.20
 libapt-pkg5.0 1.2.20
 libasprintf0v5 0.19.7-2ubuntu3
 libattr1 1:2.4.47-2
 libaudit-common 1:2.4.5-1ubuntu2
 libaudit1 1:2.4.5-1ubuntu2
 libblkid1 2.27.1-6ubuntu3.3
 libbz2-1.0 1.0.6-8
 libc6 2.23-0ubuntu9
 libdb5.3 5.3.28-11
 libdevmapper1.02.1 2:1.02.110-1ubuntu10
 libfdisk1 2.27.1-6ubuntu3.3
 libfreetype6 2.6.1-0.1ubuntu2.3
 libfuse2 2.9.4-1ubuntu3.1
 libgcc1 1:6.0.1-0ubuntu1
 libgcrypt20 1.6.5-2ubuntu0.3
 libgpg-error0 1.21-2ubuntu1
 libgpm2 1.20.4-6.1
 liblocale-gettext-perl 1.07-1build1
 liblz4-1 0.0~r131-2ubuntu2
 liblzma5 5.1.1alpha+20120614-2ubuntu2
 libmount1 2.27.1-6ubuntu3.3
 libncursesw5 6.0+20160213-1ubuntu1
 libpam-modules 1.1.8-3.2ubuntu2
 libpam-modules-bin 1.1.8-3.2ubuntu2
 libpam0g 1.1.8-3.2ubuntu2
 libpcre3 2:8.38-3.1
 libpng12-0 1.2.54-1ubuntu1
 libreadline6 6.3-8ubuntu2
 libselinux1 2.4-3build2
 libsemanage-common 2.3-1build3
 libsemanage1 2.3-1build3
 libsepol1 2.4-2
 libsmartcols1 2.27.1-6ubuntu3.3
 libstdc++6 5.4.0-6ubuntu1~16.04.4
 libsystemd0 229-4ubuntu17
 libtext-charwidth-perl 0.04-7build5
 libtext-iconv-perl 1.7-5build4
 libtext-wrapi18n-perl 0.06-7.1
 libtinfo5 6.0+20160213-1ubuntu1
 libudev1 229-4ubuntu17
 libusb-0.1-4 2:0.1.12-28
 libustr-1.0-1 1.0.4-5
 libuuid1 2.27.1-6ubuntu3.3
 lsb-base 9.20160110ubuntu0.2
 multiarch-support 2.23-0ubuntu9
 os-prober 1.70ubuntu3.3
 passwd 1:4.2-3.1ubuntu5.3
 perl-base 5.22.1-9
 readline-common 6.3-8ubuntu2
 sensible-utils 0.0.9
 sysvinit-utils 2.88dsf-59.3ubuntu2
 tar 1.28-2.1ubuntu0.1
 ubuntu-keyring 2012.05.19
 update-motd 3.6-0ubuntu1
 util-linux 2.27.1-6ubuntu3.3
 uuid-runtime 2.27.1-6ubuntu3.3
 zlib1g 1:1.2.8.dfsg-2ubuntu4.1
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2015-03-13 (847 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
JournalErrors:
JournalErrors:
 -- Logs begin at F 2017-07-07 21:44:33 UTC, end at F 2017-07-07 21:55:01 UTC. --
 july 07 21:44:33 hostname kernel: ACPI: RSDP 0x000000006A82F014 000024 (v02 IBM   )
 july 07 21:44:33 hostname kernel: ACPI: XSDT 0x000000006A82F1C0 0000C4 (v01 IBM    SERMEGAL 00000000      01000013)
 july 07 21:44:33 hostname kernel: ACPI: FACP 0x0000000069A57000 0000F4 (v04 IBM    SERMEGAL 00000000 MSFT 01000019)
 july 07 21:44:33 hostname kernel: ACPI: DSDT 0x0000000069932000 005002 (v01 INTEL  TIANO    00000003 MSFT 01000013)
...
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
Package: grub2-common 2.02~beta2-36ubuntu3
PackageArchitecture: amd64
ProcCpuinfoMinimal:
 processor      : 23
 vendor_id      : GenuineIntel
 cpu family     : 6
 model          : 62
 model name     : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
 stepping       : 4
 microcode      : 0x428
 cpu MHz                : 2400.093
 cache size     : 15360 KB
 physical id    : 1
 siblings       : 12
 core id                : 5
 cpu cores      : 6
 apicid         : 43
 initial apicid : 43
 fpu            : yes
 fpu_exception  : yes
 cpuid level    : 13
 wp             : yes
 flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts
 bugs           :
 bogomips       : 4801.42
 clflush size   : 64
 cache_alignment        : 64
 address sizes  : 46 bits physical, 48 bits virtual
 power management:
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
SourcePackage: grub2
Tags:  xenial
Uname: Linux 4.4.0-83-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-07-29 (343 days ago)
_MarkForUpload: True

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: gnutls28 (Ubuntu) => grub2 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnutls28 in Ubuntu.
https://bugs.launchpad.net/bugs/1702997

Title:
  Grub version 2.02~beta2-36-ubuntu3.11 fails to boot when there are too
  many disks connected to the computer (grub prompt shown, out of memory
  error when trying ls)

Status in grub2 package in Ubuntu:
  New

Bug description:
  After upgrading Ubuntu 16.04.2 LTS to the current set of packages
  today, a server failed to boot. The server is a file store and has
  lots of disks. Only GRUB prompt came up after boot (thus UEFI managed
  to load grubx64.efi, but it did not manage to load kernel). The prompt
  was unstable. For example during one boot it was possible to use ls to
  list partitions, but load kernel, but during another boot even running
  'ls' resulted in an "out of memory" error.

  The server has 40+ disks attached in JBOD configuration where several
  disks are using multipath. Thus the number of disks the system thinks
  it sees is around 70 at boot time.

  When only the ZFS pool containing the filesystem was left connected,
  the system booted with grub 2.02~beta2-36-ubuntu3.11. Downgrading the
  packages  grub-common grub-efi-amd64-bin grub2-common to
  2.02~beta2-36ubuntu3 fixed the boot problem with all disks attached.
  Thus something got broken between 2.02~beta2-36ubuntu3 and
  2.02~beta2-36-ubuntu3.11 that renders systems with dozens of disks
  unbootable after upgrade.

  lsb_release -rd
  Description:    Ubuntu 16.04.2 LTS
  Release:        16.04

  The apport report is edited. Firstly there are lots of lines like the
  following:

  hostname systemd-udevd[8804]: Process '/usr/bin/partx -d --nr 1-1024
  /dev/sdae' failed with exit code 1.

  Secondly, since it did not boot properly with GRUB
  2.02~beta2-36-ubuntu3.11, it was run with after booting up with
  2.02~beta2-36-ubuntu3

  
  ProblemType: Bug
  ApportVersion: 2.20.1-0ubuntu2.6
  Architecture: amd64
  Date: Fri Jul  7 21:57:12 2017
  Dependencies:
   adduser 3.113+nmu3ubuntu4
   apt 1.2.20
   apt-utils 1.2.20
   debconf 1.5.58ubuntu1
   debconf-i18n 1.5.58ubuntu1
   debianutils 4.7
   dmsetup 2:1.02.110-1ubuntu10
   dpkg 1.18.4ubuntu1.2
   gcc-5-base 5.4.0-6ubuntu1~16.04.4
   gcc-6-base 6.0.1-0ubuntu1
   gettext-base 0.19.7-2ubuntu3
   gnupg 1.4.20-1ubuntu3.1
   gpgv 1.4.20-1ubuntu3.1
   grub-common 2.02~beta2-36ubuntu3
   init-system-helpers 1.29ubuntu4
   libacl1 2.2.52-3
   libapt-inst2.0 1.2.20
   libapt-pkg5.0 1.2.20
   libasprintf0v5 0.19.7-2ubuntu3
   libattr1 1:2.4.47-2
   libaudit-common 1:2.4.5-1ubuntu2
   libaudit1 1:2.4.5-1ubuntu2
   libblkid1 2.27.1-6ubuntu3.3
   libbz2-1.0 1.0.6-8
   libc6 2.23-0ubuntu9
   libdb5.3 5.3.28-11
   libdevmapper1.02.1 2:1.02.110-1ubuntu10
   libfdisk1 2.27.1-6ubuntu3.3
   libfreetype6 2.6.1-0.1ubuntu2.3
   libfuse2 2.9.4-1ubuntu3.1
   libgcc1 1:6.0.1-0ubuntu1
   libgcrypt20 1.6.5-2ubuntu0.3
   libgpg-error0 1.21-2ubuntu1
   libgpm2 1.20.4-6.1
   liblocale-gettext-perl 1.07-1build1
   liblz4-1 0.0~r131-2ubuntu2
   liblzma5 5.1.1alpha+20120614-2ubuntu2
   libmount1 2.27.1-6ubuntu3.3
   libncursesw5 6.0+20160213-1ubuntu1
   libpam-modules 1.1.8-3.2ubuntu2
   libpam-modules-bin 1.1.8-3.2ubuntu2
   libpam0g 1.1.8-3.2ubuntu2
   libpcre3 2:8.38-3.1
   libpng12-0 1.2.54-1ubuntu1
   libreadline6 6.3-8ubuntu2
   libselinux1 2.4-3build2
   libsemanage-common 2.3-1build3
   libsemanage1 2.3-1build3
   libsepol1 2.4-2
   libsmartcols1 2.27.1-6ubuntu3.3
   libstdc++6 5.4.0-6ubuntu1~16.04.4
   libsystemd0 229-4ubuntu17
   libtext-charwidth-perl 0.04-7build5
   libtext-iconv-perl 1.7-5build4
   libtext-wrapi18n-perl 0.06-7.1
   libtinfo5 6.0+20160213-1ubuntu1
   libudev1 229-4ubuntu17
   libusb-0.1-4 2:0.1.12-28
   libustr-1.0-1 1.0.4-5
   libuuid1 2.27.1-6ubuntu3.3
   lsb-base 9.20160110ubuntu0.2
   multiarch-support 2.23-0ubuntu9
   os-prober 1.70ubuntu3.3
   passwd 1:4.2-3.1ubuntu5.3
   perl-base 5.22.1-9
   readline-common 6.3-8ubuntu2
   sensible-utils 0.0.9
   sysvinit-utils 2.88dsf-59.3ubuntu2
   tar 1.28-2.1ubuntu0.1
   ubuntu-keyring 2012.05.19
   update-motd 3.6-0ubuntu1
   util-linux 2.27.1-6ubuntu3.3
   uuid-runtime 2.27.1-6ubuntu3.3
   zlib1g 1:1.2.8.dfsg-2ubuntu4.1
  DistroRelease: Ubuntu 16.04
  InstallationDate: Installed on 2015-03-13 (847 days ago)
  InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
  JournalErrors:
  JournalErrors:
   -- Logs begin at F 2017-07-07 21:44:33 UTC, end at F 2017-07-07 21:55:01 UTC. --
   july 07 21:44:33 hostname kernel: ACPI: RSDP 0x000000006A82F014 000024 (v02 IBM   )
   july 07 21:44:33 hostname kernel: ACPI: XSDT 0x000000006A82F1C0 0000C4 (v01 IBM    SERMEGAL 00000000      01000013)
   july 07 21:44:33 hostname kernel: ACPI: FACP 0x0000000069A57000 0000F4 (v04 IBM    SERMEGAL 00000000 MSFT 01000019)
   july 07 21:44:33 hostname kernel: ACPI: DSDT 0x0000000069932000 005002 (v01 INTEL  TIANO    00000003 MSFT 01000013)
  ...
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  Package: grub2-common 2.02~beta2-36ubuntu3
  PackageArchitecture: amd64
  ProcCpuinfoMinimal:
   processor      : 23
   vendor_id      : GenuineIntel
   cpu family     : 6
   model          : 62
   model name     : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
   stepping       : 4
   microcode      : 0x428
   cpu MHz                : 2400.093
   cache size     : 15360 KB
   physical id    : 1
   siblings       : 12
   core id                : 5
   cpu cores      : 6
   apicid         : 43
   initial apicid : 43
   fpu            : yes
   fpu_exception  : yes
   cpuid level    : 13
   wp             : yes
   flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts
   bugs           :
   bogomips       : 4801.42
   clflush size   : 64
   cache_alignment        : 64
   address sizes  : 46 bits physical, 48 bits virtual
   power management:
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
  SourcePackage: grub2
  Tags:  xenial
  Uname: Linux 4.4.0-83-generic x86_64
  UpgradeStatus: Upgraded to xenial on 2016-07-29 (343 days ago)
  _MarkForUpload: True

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



More information about the foundations-bugs mailing list