← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1881623] Re: USB support missing in initrd makes booting core with writable on USB impossible

 

Closing due to inactivity. Please open a new case if you encounter a
similar issue again.

** Changed in: linux-raspi (Ubuntu)
       Status: New => Invalid

** Changed in: linux-raspi (Ubuntu Focal)
       Status: New => Invalid

** Changed in: linux-raspi2 (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: linux-raspi2 (Ubuntu Xenial)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1881623

Title:
  USB support missing in initrd makes booting core with writable on USB
  impossible

Status in linux-raspi package in Ubuntu:
  Invalid
Status in linux-raspi2 package in Ubuntu:
  Invalid
Status in linux-raspi2 source package in Xenial:
  Invalid
Status in linux-raspi2 source package in Bionic:
  Invalid
Status in linux-raspi source package in Focal:
  Invalid

Bug description:
  when using a gadget.yaml like:

  volumes:
    pi4-system-boot:
      schema: mbr
      bootloader: u-boot
      structure:
        - type: 0C
          filesystem: vfat
          filesystem-label: system-boot
          size: 512M
          content:
            - source: boot-assets/
              target: /
    pi4-usb-writable:
      schema: mbr
      structure:
        - name: writable
          type: 83
          filesystem: ext4
          filesystem-label: writable
          size: 650M
          role: system-data

  this creates two separate img files for a Pi image ... one for SD to
  hold the boot files, one for USB that carries the rootfs ...

  sadly our kernel will then not find the writable partition because it
  lacks support for usb disks (usb-storage seems to be there but not
  sufficient)

  adding the following to a re-built kernel snap makes everything work
  (verified with USB 3.1 SSD on a pi4 as well as various USB 3.0 keys)

        - CONFIG_ENCLOSURE_SERVICES=y
        - CONFIG_SCSI_SAS_ATTRS=y
        - CONFIG_USB_STORAGE=y
        - CONFIG_USB_UAS=y

  can we please have these either built into the kernel or added to the
  core initrd as modules ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1881623/+subscriptions