Public bug reported:

This issue happened before as described in bug 1641567, but it's gone
for a while.

However, this Power8 node (modoc) haven't been tested for a couple
months so I'm not sure when this issue came back.

Steps:
  1. Deploy a Power8 system with Trusty
  2. Run a dist-upgrade, which will pull-in the grub-ieee1275 package.
 
Result:
$ sudo apt-get dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  grub-common grub-ieee1275 grub-ieee1275-bin grub2-common
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2606 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main grub-ieee1275 
ppc64el 2.02~beta2-9ubuntu1.15 [45.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main 
grub-ieee1275-bin ppc64el 2.02~beta2-9ubuntu1.15 [527 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main grub2-common 
ppc64el 2.02~beta2-9ubuntu1.15 [494 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main grub-common 
ppc64el 2.02~beta2-9ubuntu1.15 [1540 kB]
Fetched 2606 kB in 0s (2689 kB/s)    
Preconfiguring packages ...
(Reading database ... 53407 files and directories currently installed.)
Preparing to unpack .../grub-ieee1275_2.02~beta2-9ubuntu1.15_ppc64el.deb ...
Unpacking grub-ieee1275 (2.02~beta2-9ubuntu1.15) over (2.02~beta2-9ubuntu1.14) 
...
Preparing to unpack .../grub-ieee1275-bin_2.02~beta2-9ubuntu1.15_ppc64el.deb ...
Unpacking grub-ieee1275-bin (2.02~beta2-9ubuntu1.15) over 
(2.02~beta2-9ubuntu1.14) ...
Preparing to unpack .../grub2-common_2.02~beta2-9ubuntu1.15_ppc64el.deb ...
Unpacking grub2-common (2.02~beta2-9ubuntu1.15) over (2.02~beta2-9ubuntu1.14) 
...
Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1.15_ppc64el.deb ...
Unpacking grub-common (2.02~beta2-9ubuntu1.15) over (2.02~beta2-9ubuntu1.14) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub-common (2.02~beta2-9ubuntu1.15) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.15) ...
Setting up grub-ieee1275-bin (2.02~beta2-9ubuntu1.15) ...
Setting up grub-ieee1275 (2.02~beta2-9ubuntu1.15) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
device-mapper: deps ioctl on 
1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC33900000000A0 failed: No such 
device or address
device-mapper: deps ioctl on 
1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC33900000000C0 failed: No such 
device or address
device-mapper: deps ioctl on 
1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC3390000000020 failed: No such 
device or address
device-mapper: deps ioctl on 
1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC3390000000040 failed: No such 
device or address
device-mapper: deps ioctl on 
1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC3390000000060 failed: No such 
device or address
Installing for powerpc-ieee1275 platform.
grub-install: error: cannot find a GRUB drive for /dev/sda1.  Check your 
device.map.
dpkg: error processing package grub-ieee1275 (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)


/boot/grub/grub.cfg: https://pastebin.ubuntu.com/p/xg5r94qpzt/
fdisk -l output: https://pastebin.ubuntu.com/p/VkJdymwsgB/

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub-ieee1275 2.02~beta2-9ubuntu1.15
ProcVersionSignature: User Name 3.13.0-158.208-generic 3.13.11-ckt39
Uname: Linux 3.13.0-158-generic ppc64le
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: ppc64el
Date: Mon Sep 17 13:45:49 2018
ProcLoadAvg: 0.35 0.41 0.21 1/1089 5202
ProcLocks:
 1: FLOCK  ADVISORY  WRITE 3242 00:11:63609 0 EOF
 2: POSIX  ADVISORY  WRITE 3327 00:11:55446 0 EOF
 3: POSIX  ADVISORY  WRITE 3176 00:11:61549 0 EOF
 4: POSIX  ADVISORY  WRITE 3286 00:11:83972 0 EOF
ProcSwaps:
 Filename                               Type            Size    Used    Priority
 /swap.img                               file           8388544 0       -1
ProcVersion: Linux version 3.13.0-158-generic (buildd@bos02-ppc64el-005) (gcc 
version 4.8.4 (User Name 4.8.4-2ubuntu1~14.04.4) ) #208-User Name SMP Fri Aug 
24 17:05:25 UTC 2018
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT=8

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

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


** Tags: apport-bug ppc64el trusty uec-images

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

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

Title:
  Failed to install grub-ieee1275 from Trusty release-pocket on a Power8
  system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1792948/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to