Expert mode installation fails with error

Bug #1410573 reported by bugproxy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Fix Released
High
Mathieu Trudel-Lapierre
Vivid
Fix Released
High
Mathieu Trudel-Lapierre

Bug Description

1) Start 15.04 installation (as a Power KBM guest) using daily ISO (Jan 11)
2) Append priority=low option during installation
3) On partitioning disk panel select - Separate /home, /usr, /var, and /tmp partitions - option
4) Continue with the installation.

Installation fails with following message :

                  Configuring linux-image-3.18.0-8-generic

                    Unable to install the selected kernel
      An error was returned while trying to install the kernel into the
      target system.

      Kernel package: 'linux-generic'.

      Check /var/log/syslog or see virtual console 4 for the details.

                                  <Continue>

I have attached following files captured after the failure.

hardware-summary lsb-release status partman syslog

> Hi Sachin,
>
> It seems that we ran out of space on / while unpacking the kernel modules:
>
> an 12 08:30:55 in-target: Preparing to unpack
> .../linux-image-extra-3.18.0-8-generic_3.18.0-8.9_ppc64el.deb ...
> Jan 12 08:30:55 in-target: Unpacking linux-image-extra-3.18.0-8-generic
> (3.18.0-8.9) ...
> Jan 12 08:31:14 in-target: dpkg: error processing archive
> /media/cdrom//pool/main/l/linux/linux-image-extra-3.18.0-8-generic_3.18.0-8.
> 9_ppc64el.deb (--unpack):
> Jan 12 08:31:14 in-target: cannot copy extracted data for
> './lib/modules/3.18.0-8-generic/kernel/drivers/scsi/ips.ko' to
> '/lib/modules/3.18.0-8-generic/kernel/drivers/scsi/ips.ko.dpkg-new': failed
> to write (No space left on device)
> Jan 12 08:31:14 in-target: dpkg-deb: error: subprocess paste was killed by
> signal (Broken pipe)
>
> hardware-summary shows /dev/vda2 is fairly small. Was that intentional?
>
> df: Filesystem 1K-blocks Used Available Use% Mounted on
> df: none 836160 2496 833664 0% /run
> df: devtmpfs 4139712 0 4139712 0% /dev
> df: /dev/sr0 573810 573810 0 100% /cdrom
> df: /dev/vda2 275395 181991 74665 71% /target
> df: /dev/vda7 63427476 53064 60129408 0% /target/home
> df: /dev/vda6 369639 2062 343974 1% /target/tmp
> df: /dev/vda3 5636212 250392 5076472 5% /target/usr
> df: /dev/vda4 2818080 23964 2631252 1% /target/var
> df: /dev/sr0 573810 573810 0 100%
> /target/media/cdrom

Nope. The partitions and their size was suggested by the installer. These are the default suggested values.

Revision history for this message
bugproxy (bugproxy) wrote : syslog

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-120256 severity-critical targetmilestone-inin---
Revision history for this message
bugproxy (bugproxy) wrote : hardware-summary

Default Comment by Bridge

Revision history for this message
bugproxy (bugproxy) wrote : status

Default Comment by Bridge

Revision history for this message
bugproxy (bugproxy) wrote : partman log

Default Comment by Bridge

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1410573/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Luciano Chavez (lnx1138)
affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
Brian Murray (brian-murray) wrote :

From syslog:

Jan 12 08:34:37 in-target: The following packages have unmet dependencies:
Jan 12 08:34:37 in-target: linux-image-generic : Depends: linux-image-extra-3.18.0-8-generic but it is not going to be installed
Jan 12 08:34:37 in-target: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Jan 12 08:34:38 base-installer: error: exiting on error base-installer/kernel/failed-install
Jan 12 08:59:51 main-menu[224]: on not supported

Revision history for this message
Frédéric Bonnard (frediz) wrote :

Hi,
actually the problem is a disk space missing issue while installing linux-image-3.18.0-9-generic . For some reason, the disk layout may be
not enough. But I don't think this is related to ppc64el as I did the test on amd64 and got the same.
I'll do the test with older releases of Ubuntu how it behaves and check if the layout is the same.

Fred

Revision history for this message
Frédéric Bonnard (frediz) wrote :

Ok going deeper, the recipe for "multi" file systems specifies on 15.04 the following for / : /lib/partman/recipe_ppc64el/80multi

---
70 800 300 $default_filesystem
        $lvmok{ }
        $primary{ }
        method{ format }
        format{ }
        use_filesystem{ }
        $default_filesystem{ }
        mountpoint{ / } .
---
~ # df -h
Filesystem Size Used Available Use% Mounted on
none 100.5M 2.3M 98.3M 2% /run
devtmpfs 456.7M 0 456.7M 0% /dev
/dev/vda2 268.9M 177.7M 72.9M 71% /target

~ # chroot /target /bin/bash
root@vm7:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-image-extra-3.18.0-9-generic
The following NEW packages will be installed:
  linux-image-extra-3.18.0-9-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0 B/36.6 MB of archives.
After this operation, 170 MB of additional disk space will be used.

So 177M free and 170M to install...

The maximum fs size for / is 300M rounded to cylinder size, according to the recipe which is not enough :

Setting it to something bigger let the installation finish.

Revision history for this message
Frédéric Bonnard (frediz) wrote :

partman-auto upstream is ok, having a max of 5G.
The package in vivid just needs to be updated to the one in SId (124) :
https://launchpad.net/partman-auto :

partman-auto source package in Vivid Version 118ubuntu3 uploaded on 2014-04-11
partman-auto source package in Utopic Version 118ubuntu3 uploaded on 2014-04-11
partman-auto source package in Trusty Version 118ubuntu3 uploaded on 2014-04-11
partman-auto source package in Sid Version 124 uploaded on 2014-10-06

Debian Jessie is ok, using 124

Changed in debian-installer (Ubuntu):
status: New → Confirmed
Changed in debian-installer (Ubuntu Vivid):
status: Confirmed → Triaged
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Hi Canonical / Brian @brian-murray,

This bug is fixed with these 2 upstream commits in d-i partman-auto:
 - [1] ppc64el-only: Combine / and /usr partitions in ppc64el 'multi' recipe
 - [2] other archs: Combine / and /usr partitions in 'multi' recipes

I confirm [1] fixes the issue for us (ppc64el).

For Vivid, can the patches incorporated, or the overall package be upgraded to sid's version?
Also affects Trusty and Utopic (same package version as Vivid [3])

It'd be nice to the LTS stream, at least.
Can the patches be incorporated / package upgraded too?

Links:
[1] http://anonscm.debian.org/cgit/d-i/partman-auto.git/commit/?id=0d86920c68f0371f2dd784a465d65e114e12d683
[2] http://anonscm.debian.org/cgit/d-i/partman-auto.git/commit/?id=bc194094b21b12ed537325262d74c617a7098e47
[3] https://launchpad.net/partman-auto

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :
Download full text (3.8 KiB)

Here's the installer screens confirming patch [1] (in comment #10) fixes the issue on ppc64el:

Running Vivid installer, with priority=low.
Go through Partition Disks -> Guided - use entire disk -> (select disk) -> Separate /home, /usr, /var, and /tmp partitions

Before patch:
-------------------

- / is ~300 MB
- /usr is 6.0 GB

  ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
  │ │
  │ This is an overview of your currently configured partitions and mount │
  │ points. Select a partition to modify its settings (file system, mount │
  │ point, etc.), a free space to create partitions, or a device to │
  │ initialize its partition table. │
  │ │
  │ SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK │
  │ > 1.0 MB FREE SPACE ▒ │
  │ > #1 7.3 MB K ▒ │
  │ > #2 299.9 MB f ext4 / │
  │ > #3 6.0 GB f ext4 /usr ▒ │
  │ > #4 3.0 GB f ext4 /var ▒ │
  │ > #5 12.5 GB f swap swap ▒ │
  │ > #6 399.5 MB f ext4 /tmp ▒ │
  │ > #7 115.2 GB f ext4 /home ▒ │
  │ > 1.0 MB FREE SPACE │
  │ │
  │ <Go Back> │
  │ │
  └─────────────────────────────────────────────────────────────────────────┘

After patch:
-----------------

- applied manually (nano /lib/partman/recipes-ppc64el/80multi), slight change due to 280/300 numbers.
- / is 5.0 GB
- /usr is gone
- /home accomodated the remaining 1.3 GB (previously 6.0 /usr + 0.3 / = 6.3 GB, now / is 5.0 GB. Difference is 1.3 GB)

  ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
  │ │
  │ This is an overview of your currently configured partitions and mount │
  │ points. Select a partition to modify its settings (file system, mount │
  │ point, etc.), a free space to create partitions, or a device to │
  │ initialize its partition table. │
  │ │
  │ SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK │
  │ > 1.0 MB FREE SPACE ▒ │
  │ > #1 7.3 MB K ▒ │
  │ > #2 5.0 GB f ext4 / │
  │ > #3 3.0 GB f ext4 /var ▒ │
  │ ...

Read more...

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 299.9 MB f ext4 / ?
? > #3 6.0 GB f ext4 /usr ? ?
? > #4 3.0 GB f ext4 /var ? ?
? > #5 12.5 GB f swap swap ? ?
? > #6 399.5 MB f ext4 /tmp ? ?
? > #7 115.2 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 5.0 GB f ext4 / ?
? > #3 3.0 GB f ext4 /var ? ?
? > #4 12.5 GB f swap swap ? ?
? > #5 399.5 MB f ext4 /tmp ? ?
? > #6 116.5 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ? ?
? ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

Changed in debian-installer (Ubuntu Vivid):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
bugproxy (bugproxy) wrote :
Download full text (6.2 KiB)

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 299.9 MB f ext4 / ?
? > #3 6.0 GB f ext4 /usr ? ?
? > #4 3.0 GB f ext4 /var ? ?
? > #5 12.5 GB f swap swap ? ?
? > #6 399.5 MB f ext4 /tmp ? ?
? > #7 115.2 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 5.0 GB f ext4 / ?
? > #3 3.0 GB f ext4 /var ? ?
? > #4 12.5 GB f swap swap ? ?
? > #5 399.5 MB f ext4 /tmp ? ?
? > #6 116.5 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ? ?
? ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????
???????...

Read more...

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Hi Canonical, @mathieu-tl

Would you have any news on uploading the new/fixed ppc64el recipes for partman-auto in comment #10?

Funny, yesterday there was an re-upload of the old/broken ppc64el recipes in partman-auto/118ubuntu5. :)

Thanks!

Revision history for this message
bugproxy (bugproxy) wrote :

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 299.9 MB f ext4 / ?
? > #3 6.0 GB f ext4 /usr ? ?
? > #4 3.0 GB f ext4 /var ? ?
? > #5 12.5 GB f swap swap ? ?
? > #6 399.5 MB f ext4 /tmp ? ?
? > #7 115.2 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 5.0 GB f ext4 / ?
? > #3 3.0 GB f ext4 /var ? ?
? > #4 12.5 GB f swap swap ? ?
? > #5 399.5 MB f ext4 /tmp ? ?
? > #6 116.5 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ? ?
? ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

Changed in debian-installer (Ubuntu Vivid):
importance: Undecided → High
status: Triaged → In Progress
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Unrelated comment. It seems the bugproxy quite liked that post/comment it's been re-posting often. :)

Revision history for this message
bugproxy (bugproxy) wrote :

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 299.9 MB f ext4 / ?
? > #3 6.0 GB f ext4 /usr ? ?
? > #4 3.0 GB f ext4 /var ? ?
? > #5 12.5 GB f swap swap ? ?
? > #6 399.5 MB f ext4 /tmp ? ?
? > #7 115.2 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 5.0 GB f ext4 / ?
? > #3 3.0 GB f ext4 /var ? ?
? > #4 12.5 GB f swap swap ? ?
? > #5 399.5 MB f ext4 /tmp ? ?
? > #6 116.5 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ? ?
? ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

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

Hi Mauricio,

I've updated partman-auto to version 125; I'll upload right after getting some code review from my team.

Revision history for this message
bugproxy (bugproxy) wrote :

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 299.9 MB f ext4 / ?
? > #3 6.0 GB f ext4 /usr ? ?
? > #4 3.0 GB f ext4 /var ? ?
? > #5 12.5 GB f swap swap ? ?
? > #6 399.5 MB f ext4 /tmp ? ?
? > #7 115.2 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

?????????????????????????? [!!] Partition disks ???????????????????????????
? ?
? This is an overview of your currently configured partitions and mount ?
? points. Select a partition to modify its settings (file system, mount ?
? point, etc.), a free space to create partitions, or a device to ?
? initialize its partition table. ?
? ?
? SCSI1 (0,0,0) (sda) - 137.4 GB QEMU QEMU HARDDISK ?
? > 1.0 MB FREE SPACE ? ?
? > #1 7.3 MB K ? ?
? > #2 5.0 GB f ext4 / ?
? > #3 3.0 GB f ext4 /var ? ?
? > #4 12.5 GB f swap swap ? ?
? > #5 399.5 MB f ext4 /tmp ? ?
? > #6 116.5 GB f ext4 /home ? ?
? > 1.0 MB FREE SPACE ? ?
? ?
? ?
? <Go Back> ?
? ?
???????????????????????????????????????????????????????????????????????????

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Hi Mathieu,

That's great news! Thank you ;)

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

Uploaded partman-auto 125ubuntu1 yesterday, it should have closed this bug automatically but I forgot to include the bug tag -- should I take from comment #22 that you've already tested this successfully?

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Hi Mathieu,

I just verified with the new package, and it's all set.
There's no /usr anymore, and / is 5.0 GB.
Thank you very much.

  │ SCSI2 (0,1,0) (sda) - 34.4 GB QEMU QEMU HARDDISK
  │ > 1.0 MB FREE SPACE
  │ > #1 7.3 MB K
  │ > #2 5.0 GB f ext4 /
  │ > #3 3.0 GB f ext4 /var
  │ > #4 3.1 GB f swap swap
  │ > #5 399.5 MB f ext4 /tmp
  │ > #6 22.8 GB f ext4 /home
  │ > 1.0 MB FREE SPACE

(please disregard comment #22; it's something weird w/ the bug mirroring)

Changed in debian-installer (Ubuntu Vivid):
status: In Progress → Fix Released
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.