make-edge-iso.sh fails on focal/ppc64el images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned | ||
libisoburn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Since 2021-02-01 make-edge-iso.sh stopped working on the focal-live-
-------
+ xorriso -as mkisofs -V 'Ubuntu-Server 20.04.2 LTS ppc64' --modification-
xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 244g free
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/tmp/
xorriso : UPDATE : 141 files added in 1 seconds
xorriso : UPDATE : 141 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 32768 bytes from file '--interval:
libisofs: NOTE : Automatically adjusted MBR geometry to 1017/81/32
xorriso : FAILURE : Image size 409295092s exceeds free space on media 127778488s
libisofs: MISHAP : Image write cancelled
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE
-------
This happens with xorriso from Bionic and Focal. I researched the error a bit and normally it seems associated with not enough disk space in the target directory, but this is not the case of the system where I'm hitting this issue, as I have 243G free in the target partition. I also tried with a different target partition with 142G free, just in case, same failure.
I tried dropping the `-o` option entirely, which should make xorriso output to stdout, but it still failed with that error.
Are we perhaps hitting an upper limit of the generated ISO image itself? We're speaking of about 1.3GB so I'd be surprised (it's way less than a single layer DVD), but on 2021-02-01 the daily ISO images started including the HWE kernel, and their size increased quite a bit.
Assuming the s in 409295092s means 512 byte sectors, then that's something like 195 gigabytes and 127778488s is around 60 gigabytes. I don't know why xorriso would think that the ISO needs that much space...
Nothing relevant changed in subiquity on 2021-02-01 that I can see, so I think it must be the HWE kernel. Do you still have logs from a successful run before that? Maybe -report_el_torito as_mkisofs is going crazy.