pc-kernel umount failure

Bug #2084032 reported by Sergio Costas
340
This bug affects 45 people
Affects Status Importance Assigned to Milestone
subiquity
In Progress
High
Olivier Gayot
ubuntu-desktop-provision
Triaged
High
Unassigned
subiquity (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Doing some install tests with the Oracular October 8 ISO, I had an installer crash.

I booted with a live system and proceed to wipe the internal SSD hard disk using `blkdiscard -f /dev/sda` (this disk is quite old, so it's recognized as a SATA one, not as a NVME). After that, I completely shut down the computer, and booted the Oracular Desktop LiveCD using an USB stick created with the October, 8 ISO. I chose "Spanish" and "Spanish keyboard", no `accessibility` options, connected to my WiFi (no Ethernet available in the laptop), clicked next, next, chose `extended selection` to install "all the stuff", clicked next, marked both `Install third party software for graphics and WiFi hardware` and `Download and install support for additional media formats`, and when I press the `Next` button, the installer crashed.

I attach the contents of the `/var/log` folder.

I also checked the first 400KBytes of the hard disk, and it's all zeros. No data there, as expected after a `blkdiscard`.

The laptop is an Asus Zenbook UX21E from 2012, with 4GBytes of RAM, with an Intel Core i5-2467M CPU.

The bug can be consistently reproduced after using `blkdiscard`. But if the disk has partitions, it doesn't seem to fail.

I didn't test with other languages. Also, didn't test using `normal selection` or not marking `third party drivers` or `additional media format`. Only tested that specific combination.

No FDE/TPM install is being done (the laptop is too old for that).

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

I'll keep the crashed computer on for today, in case you need more files to diagnostic this.

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :
Revision history for this message
Olivier Gayot (ogayot) wrote :

FWIW bug 2083952 and bug 2075994 have the same symptoms

Dan Bungert (dbungert)
summary: - In Oracular installer, it crashes if the disk has been wipped with
- blkdiscard
+ pc-kernel umount failure
Changed in subiquity:
status: New → Triaged
importance: Undecided → Medium
Chris Peterson (cpete)
tags: added: foundations-todo
Chris Peterson (cpete)
Changed in subiquity:
assignee: nobody → Chris Peterson (cpete)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in subiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier Gayot (ogayot) wrote :

In all the reports I've seen so far, there's a cancellation during `_get_systems` when we're in the middle of requesting info from snapd though its API:

```python
return await self.app.snapdapi.v2.systems[label].GET()
```

However, cancelling on the client (i.e., subiquity) side does not necessarily means the server (i.e., snapd will stop executing its query handler). So we can't immediately expect snapd not to be using the systems directory anymore. We'd need to wait until the request has been responded.

```python
        self._examine_systems_task = SingleInstanceTask(self._examine_systems)
```
^ this is created with `cancel_restart=True` (the default) and is probably the reason for cancellation?

```python
        self.app.hub.subscribe(
            (InstallerChannels.CONFIGURED, "source"),
            self._examine_systems_task.start_sync,
        )
```

Olivier Gayot (ogayot)
Changed in subiquity:
importance: Medium → High
Changed in subiquity (Ubuntu):
importance: Undecided → High
Changed in ubuntu-desktop-provision:
importance: Undecided → High
status: New → Triaged
tags: added: desktop-lts-wishlist
Revision history for this message
corrado venturini (corradoventu) wrote :

Same problem installing from Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20241201)
I had the problem twice with the same usb pen, the third time, waiting for the activity on the disk to finish, the installation completed well.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@corrado, is that specific to some options? or do you just pick the default for everything?

Revision history for this message
corrado venturini (corradoventu) wrote :

Install in English with Italian keyboard, interactive install, extended selection, 'Install third party software...` and `Download and install support...`, press the `Next` ... the installer crashed.
I may ?easily? reproduce the problem because it happens very often, so tell me i may produce some more useful info.

Revision history for this message
corrado venturini (corradoventu) wrote :

Here the ubuntu report from the successful install:
{
  "Version": "25.04",
  "OEM": {
    "Vendor": "Gigabyte Technology Co., Ltd.",
    "Product": "H510M H",
    "Family": "H510 MB"
  },
  "BIOS": {
    "Vendor": "American Megatrends International, LLC.",
    "Version": "F14"
  },
  "Arch": "amd64",
  "HwCap": "x86-64-v4",
  "GPU": [
    {
      "Vendor": "8086",
      "Model": "4c8b"
    }
  ],
  "RAM": 15.4,
  "Disks": [
    500.1,
    500.1
  ],
  "Partitions": [
    32.7,
    0.5
  ],
  "Screens": [
    {
      "Size": "600mmx330mm",
      "Resolution": "1920x1080",
      "Frequency": "59.96"
    }
  ],

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/2084032

tags: added: iso-testing
Revision history for this message
corrado venturini (corradoventu) wrote :

Today i had again the same crash but may be I was able to get documentation of the problem.
Attaching log and crash

Revision history for this message
corrado venturini (corradoventu) wrote :

Attaching also some screenshots

Revision history for this message
corrado venturini (corradoventu) wrote :

Note: same USB key, same PC, same partition successful install with the same options just wasting time during installation to take screenshots of all pages.
I had the same experience with preceding ISOs

Olivier Gayot (ogayot)
Changed in subiquity:
assignee: Chris Peterson (cpete) → Olivier Gayot (ogayot)
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.