arm64: virtio_blk is not included in the initramfs

Bug #1938530 reported by Alfonso Sanchez-Beato
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-meta (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

The virtio_blk module is not included by default in the initramfs for arm64, so UC20 cannot boot as expected.

Revision history for this message
Juerg Haefliger (juergh) wrote :

What exactly are you trying to do? virtio_blk is not required to boot UC20 on real HW...

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

I'm trying to boot UC20 on qemu. Note that the module is present in the x86 initramfs, and we can use UC20 on qemu/x86.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

$ git grep virtio_blk
features/server/usr/lib/modules-load.d/ubuntu-core-server.conf:virtio_blk

When building initrd into the generic arm64 kernel snap, we should enable feature "server" like we do on x86.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Doing this in "kernel-snaps-uc20" git repo would be tricky, as at the moment we don't pass any option when making kernel snaps.

Otherwise core-initd itself defaults to "main server" on x86, but just "main" on all other arches. Maybe we should enable "server" features for "generic" kernel flavours always.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Something like this https://github.com/snapcore/core-initrd/pull/34/files should do it. Plus respinning the pc-kernel arm64 & armhf kernel snaps.

Changed in linux-meta (Ubuntu):
status: New → Won't Fix
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.