This is fixed now.
** Changed in: snapd
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500
** Tags added: fr-167
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications about this bug go to:
https://bugs
This bug was fixed in the package grub2 - 2.04-1ubuntu26.3
---
grub2 (2.04-1ubuntu26.3) focal; urgency=medium
* 2.04-1ubuntu27 and 2.04-1ubuntu28 folded together for focal
* debian/patches/ubuntu-flavour-order.patch:
- Add a (hidden) GRUB_FLAVOUR_ORDER setting that can mark ce
Booted existing core20 vm with old grub2.
rss went up from 128264 to 422636, after executing loopback loop1
(hd0,gpt2)/snaps/pc-kernel_565.snap.
Replacing grubx64.efi with the one from grub-efi-
amd64-signed_1.142.5+2.04-1ubuntu26.3_amd64.deb.
loopback command was very quick, and rss went up fro
Hello Michael, or anyone else affected,
Accepted grub2 into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/grub2/2.04-1ubuntu26.3
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wik
This bug was fixed in the package grub2 - 2.04-1ubuntu28
---
grub2 (2.04-1ubuntu28) groovy; urgency=medium
* Ensure that grub-multi-install can always find templates (LP: #1879948)
* Fix changelog entries for security update
-- Julian Andres Klode Mon, 10 Aug 2020 15:07:29
+02
** Merge proposal linked:
https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/388791
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs i
** Merge proposal linked:
https://code.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu/+merge/388381
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from sq
groovy bileto: https://bileto.ubuntu.com/#/ticket/4093
focal bileto: https://bileto.ubuntu.com/#/ticket/4109
** Changed in: grub2 (Ubuntu Focal)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https:/
** Changed in: snapd
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications a
** Description changed:
+ [Impact]
+
+ * loopback command uses too much ram, resulting in OOM on small
+ machines
+
+ [Test Case]
+
+ * Download & Copy kernel.snap from amd64 pc image onto ESP partitition
+
+ * Boot VM with secureboot, uefi and tpm and drop into grub recovery
+ shell
+
+
An easy minimal test case would be appreciated. I guess I could just put
grub into a directory and then tftp boot that inside qemu, and add a
large file in there or something? (or use -vfat on a dir)
** Changed in: grub2 (Ubuntu Groovy)
Status: In Progress => Fix Committed
--
You received
Groovy testing in https://launchpad.net/~ci-train-ppa-
service/+archive/ubuntu/4093
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500
** Merge proposal linked:
https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/385521
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs i
** Merge proposal linked:
https://code.launchpad.net/~juliank/grub/+git/ubuntu/+merge/385358
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs i
** Changed in: grub2 (Ubuntu Groovy)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To ma
Chris Coulson's patch should also solve the problem that breaks install
on the Thinkcentre m920s with TPM enabled. The last printed message when
booting with grub debug enabled is the type of the loopback file, and
nothing happens after that. It finishes installing if you rmmod tpm.
--
You receiv
The patch looks right to me.
** Changed in: grub2 (Ubuntu Groovy)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squ
** Tags removed: rls-gg-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications about this bug go to:
h
** Tags added: id-5ec540751c801c607c3d8c33
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications about this bu
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications about this bug go to:
https://bugs.
Hi Colin, I wouldn't mind hearing your thoughts on the previous comment.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To mana
I did a bit of digging on this, and it seems to happen because the grub
verifier module reads in to memory the entire contents of any file that
is opened via grub_file_open without the GRUB_FILE_TYPE_SKIP_SIGNATURE
flag or any file which doesn't have a type of GRUB_FILE_TYPE_SIGNATURE
or GRUB_FILE_
** Also affects: grub2 (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: grub2 (Ubuntu Groovy)
Importance: High
Status: Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchp
seems to work fine under BIOS, loopback loop does not appear to be using
up any more data.
It feels like a bug in EFI memory page allocation, which never get
released. And/or max_agglomerate implementation under EFI.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
The minimum reproducer i have is this:
1) Fetch UC20 image from http://cdimage.ubuntu.com/ubuntu-core/20/edge/pending/
2) boot to grub cmdline prompt
2) execute
loopback loop (hd0,gpt3)/pc-kernel_502.snap
(or use tabcompletion for the right kernel snap)
Equivalent command on UC18 image (with bi
the kernel snap sizes, are roughly similar.
204M for uc18
284M for uc20
1.4x larger
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 15
UC18 size:
8100kernel.img
3808initrd.img
~12MB, loaded from .snap, on ext4
UC20 size:
48196 kernel.efi
~50MB, loaded from .snap, on fat
More than 4x larger
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.laun
With unpacked kernel.efi boot to rdinit=/bin/sh res usage is 456756
so it feels as if (loop) device is not freed by grub / shim / firmware.
Next up is to try to play with things interactively in grub shell, to
try to figure out which commands cause memory to baloon.
Or like see if it can be free
lzo compression ended up being more 797568
Also, it feels like we try to read the _whole_ of the snap prior to
loading it.
As if, measurement of the whole squashfs / partition is taken.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Using sorting didn't change peak rss much, it's at 742524
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notification
Starting uc20 in a virsh domain, whilst controlling for peak memory
usage, and modifying command line to boot to "rdinit=/bin/sh" => meaning
boot to unpacked initrd and start busybox shell without doing anything
else.
The rss memory achieved to get to that point was 744684, out of 2033104
availabl
Note, the Testscript specifies 512MB which is quite small.
Previously, we wanted to ensure that amd64 reference target is "a typical NUC
with TPMv2.0 and secureboot", at the time typical NUC models had 2GB of ram.
What is the target minimum ram usage we must achieve?
--
You received this bug no
** Changed in: snapd
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications ab
** Changed in: grub2 (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notific
** Tags added: uc20
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel from squashfs if mem < 1500mb
To manage notifications about this bug go to:
https://bugs.l
Dimitri suggested to sort the squashfs with the "-sort" option. I
created the attached test for this but it has no effect for me.
** Attachment added: "Testscript"
https://bugs.launchpad.net/snapd/+bug/1878541/+attachment/5371585/+files/lp1878541-test.sh
--
You received this bug notification
** Description changed:
Booting a uc20 system fails early currently. The image used was:
http://cdimage.ubuntu.com/ubuntu-core/20/beta/20200513.2/
Attached is a screenshot of the debug output.
This appears to be some sort of regression with grub in 20.04 or with
UEFI grub - this us
** Also affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Tags added: rls-gg-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878541
Title:
Grub fails to load kernel fro
39 matches
Mail list logo