Please include modules for NVMe and USB HID in pc-kernel snap initrd

Bug #1802260 reported by Robert Liu
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Jesse Sung

Bug Description

When trying Ubuntu Core with the pc-kernel snap, the system showed 'cannot find writable partition'. The system was stopped at the initrd stage and didn't accept any input.

My system is using a NVMe disk and it seems the pc-kernel doesn't provide the related modules in its initrd. Also, it's not possible to enter the initramfs environment because of the lacking of USB HID modules.

Is it possible to include these two categories of drivers in the initrd of pc-kernel, please?

Verified both 4.4 and 4.15 (track 18) have the same issue.
$ squashfuse pc-kernel_162.snap pc-kernel
$ lsinitramfs pc-kernel/initrd.img |grep -E 'nvme|usbhid'
[nothing is showed]
$ fusermount -u pc-kernel
$ squashfuse pc-kernel_165.snap pc-kernel
$ lsinitramfs pc-kernel/initrd.img |grep -E 'nvme|usbhid'
[nothing is showed]
$ fusermount -u pc-kernel

Robert Liu (robertliu)
summary: - Please include modules for NVMe and USBHID in pc-kernel snap initrd
+ Please include modules for NVMe and USB HID in pc-kernel snap initrd
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1802260

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Robert Liu (robertliu) wrote :

The fix would be similar with this bug #1794279

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Robert Liu (robertliu) wrote :

applied this patch against lp:~ubuntu-kernel/ubuntu/+source/linux-snap/+git/bionic then the issue is gone.

tags: added: patch
Jesse Sung (wenchien)
Changed in linux (Ubuntu):
assignee: nobody → Jesse Sung (wenchien)
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

https://lists.ubuntu.com/archives/kernel-team/2018-November/096856.html
https://lists.ubuntu.com/archives/kernel-team/2018-November/096857.html
https://lists.ubuntu.com/archives/kernel-team/2018-November/096858.html

The above patches were applied to linux-snap/{xenial,bionic,cosmic}/master branches and will be effective for the next kernel snap images uploaded.

Revision history for this message
Stefan Bader (smb) wrote :

Note the previous comment. This bug report will not automatically be updated because the deb-to-snap related code is no source package in Launchpad's mind.

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers