package upgrade broken for multipath system, specifically ppc64el

Bug #1617345 reported by Brad Figg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Setting up grub2-common (2.02~beta2-9ubuntu1.12) ...
Setting up grub-ieee1275-bin (2.02~beta2-9ubuntu1.12) ...
Setting up grub-ieee1275 (2.02~beta2-9ubuntu1.12) ...
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
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
 grub-ieee1275
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Brad Figg (brad-figg) wrote :
Download full text (69.5 KiB)

ubuntu@modoc:~$ sudo grub-install --verbose /dev/sda1
sudo: unable to resolve host modoc
Installing for powerpc-ieee1275 platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/adler32.mod' -> `/boot/grub/powerpc-ieee1275/adler32.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/luks.mod' -> `/boot/grub/powerpc-ieee1275/luks.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/reboot.mod' -> `/boot/grub/powerpc-ieee1275/reboot.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/exfctest.mod' -> `/boot/grub/powerpc-ieee1275/exfctest.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/tga.mod' -> `/boot/grub/powerpc-ieee1275/tga.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/raid6rec.mod' -> `/boot/grub/powerpc-ieee1275/raid6rec.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/gcry_rsa.mod' -> `/boot/grub/powerpc-ieee1275/gcry_rsa.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/videotest.mod' -> `/boot/grub/powerpc-ieee1275/videotest.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/memdisk.mod' -> `/boot/grub/powerpc-ieee1275/memdisk.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/echo.mod' -> `/boot/grub/powerpc-ieee1275/echo.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/zfs.mod' -> `/boot/grub/powerpc-ieee1275/zfs.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/hexdump.mod' -> `/boot/grub/powerpc-ieee1275/hexdump.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/normal.mod' -> `/boot/grub/powerpc-ieee1275/normal.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/crc64.mod' -> `/boot/grub/powerpc-ieee1275/crc64.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/part_amiga.mod' -> `/boot/grub/powerpc-ieee1275/part_amiga.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/part_sunpc.mod' -> `/boot/grub/powerpc-ieee1275/part_sunpc.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/newc.mod' -> `/boot/grub/powerpc-ieee1275/newc.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/video.mod' -> `/boot/grub/powerpc-ieee1275/video.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/ntfscomp.mod' -> `/boot/grub/powerpc-ieee1275/ntfscomp.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/hfs.mod' -> `/boot/grub/powerpc-ieee1275/hfs.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/trig.mod' -> `/boot/grub/powerpc-ieee1275/trig.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/sleep_test.mod' -> `/boot/grub/powerpc-ieee1275/sleep_test.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/iso9660.mod' -> `/boot/grub/powerpc-ieee1275/iso9660.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/all_video.mod' -> `/boot/grub/powerpc-ieee1275/all_video.mod'.
grub-install: info: copying `/usr/lib/grub/powerpc-ieee1275/ufs1.mod' -> `/boot/grub/powerpc-ieee1275/ufs1.mod'.
grub-install: info: copying `/usr/lib/grub...

Revision history for this message
Stefan Bader (smb) wrote :

I was able to do a quick glance on the affected host. So the problem is not the
new version of grub-ieee1275 and more that there is a new version. IOW something
is causing something like dpkg-reconfigure grub-ieee1275 to run. I have not
figured out what exactly is done but both

- grub-install
- grub-install /dev/mapper/mpath0-part1

would work. However dpkg-reconfigure runs in a way that tries to directly access
one of the multipath path devices and returns an error.
So the question is somehow whether its possible to prevent dpkg-reconfigure from
what it is doing under the hoods...

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Please run 'apport-collect 1617345' so we can have the apt logs for this issue; or include /var/log/apt/history.log and /var/log/apt/term.log.

Thanks!

Changed in grub (Ubuntu):
status: New → Incomplete
affects: grub (Ubuntu) → grub2 (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
Changed in grub2 (Ubuntu):
status: Expired → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.