Fix snapcraftyaml.yaml for jammy:linux-raspi

Bug #2051468 reported by Masahiro Yamada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
linux-raspi (Ubuntu)
Fix Released
Medium
Masahiro Yamada
Jammy
Fix Released
Undecided
Unassigned

Bug Description

SRU Justification:

[Impact]

The in-tree snapcraft.yaml is stale. It does not produce any functional kernel
snap for jammy:linux-raspi.

[Fix]

Replace the stale snapcraft.yaml with a newly implemented one.

[Testcase]

Build a pi-kernel with the following command:

[for arm64]

$ snapcraft --use-lxd --build-for=arm64

for armhf]

$ snapcraft --use-lxd --build-for=armhf

Then, install it to Ubuntu Core 22 running on a raspi board.

$ snap install --dangerous <kernel-snap>

Please note you need "grade: dangerous" for replacing
the kernel using the local snap.

Changed in linux-raspi (Ubuntu):
assignee: nobody → Masahiro Yamada (myamada)
importance: Undecided → Medium
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

the same is true for unstable and generic pc-kernel too

description: updated
Juerg Haefliger (juergh)
description: updated
description: updated
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu):
status: New → Confirmed
Changed in linux-raspi (Ubuntu Jammy):
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-raspi/5.15.0-1048.51 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-raspi' to 'verification-done-jammy-linux-raspi'. If the problem still exists, change the tag 'verification-needed-jammy-linux-raspi' to 'verification-failed-jammy-linux-raspi'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-raspi-v2 verification-needed-jammy-linux-raspi
Revision history for this message
Masahiro Yamada (myamada) wrote :

I built arm64 pi kernel, and installed it to my raspi 4 board successfully.

tags: added: verification-done-jammy-linux-raspi
removed: verification-needed-jammy-linux-raspi
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 6.8.0-11.11

---------------
linux (6.8.0-11.11) noble; urgency=medium

  * noble/linux: 6.8.0-11.11 -proposed tracker (LP: #2053094)

  * Miscellaneous Ubuntu changes
    - [Packaging] riscv64: disable building unnecessary binary debs

 -- Paolo Pisati <email address hidden> Wed, 14 Feb 2024 00:04:31 +0100

Changed in linux (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (26.1 KiB)

This bug was fixed in the package linux-raspi - 6.8.0-1001.1

---------------
linux-raspi (6.8.0-1001.1) noble; urgency=medium

  * noble/linux-raspi: 6.8.0-1001.1 -proposed tracker (LP: #2055123)

  * Packaging resync (LP: #1786013)
    - debian.raspi/dkms-versions -- update from kernel-versions (main/d2024.01.02)

  * Miscellaneous Ubuntu changes
    - [Packaging] raspi: Update reconstruct script
    - [Packaging] raspi: drop abi files with clean
    - SAUCE: Sync configs to rpi-6.8.y
    - [Config] raspi: updateconfigs after update to raspberrypi rpi-6.8.y
      (2024-02-26)

  * Miscellaneous upstream changes
    - dts: rp1: nobble HS and FS/LS park mode for dwc3 xhci
    - Revert "drm/vc4: Relax VEC modeline requirements and add progressive mode
      support"
    - drm/vc4: Do not reset tv mode as this is already handled by framework
    - ARM: dts: rp1: Add I2C timings
    - ARM: dts: rp1: Add a safe I2C SDA hold time
    - overlays: Add overlay for the Solomon SSD1327 OLED
    - arm: dts: overlays: add Pi 5 variants for w1-gpio overlays
    - Harmonizing the improvement on backup-switchover-mode overlay value
      definitions
    - Add pcie-32bit-dma-overlay-pi5 to enable 32bit DMA on the Pi 5's external
      PCIe
    - staging: vchiq_arm: Set up dma ranges on child devices
    - staging: vchiq: Use the old dma controller for OF config on platform devices
    - staging: vchiq_arm: Give vchiq children DT nodes
    - staging: vchiq_arm: Add 36-bit address support
    - staging: vchiq_arm: children inherit DMA config
    - staging: vchiq_arm: Usa a DMA pool for small bulks
    - gpio-poweroff: Disable the WARN
    - xhci: Use more event ring segment table entries
    - drivers: usb: dwc3: add FS/LS bus instance parkmode disable bit
    - drm/vc4: Initialise the tv_mode property default from cmdline_mode.
    - drivers: media: pisp_be: Update seqeuence numbers of the buffers
    - i2c: designware: Use SCL rise and fall times in DT
    - i2c: designware: Support non-standard bus speeds
    - iommu/bcm2712: don't allow building as module
    - drm/rp1: depends on, instead of select, MFD_RP1
    - ARM: dts: Standardise downstream Pi GPIO pin names
    - ARM: dts: bcm2712-rpi-5-b: Add act_led_gpio
    - ARM: dts: rp1: Boost the I2C drive strength
    - drm: rp1: Use tv_mode from the command line and fix for Linux 6.6
    - Update touch PiTFT overlays
    - ASoC: DACplus - fix 16bit sample support in clock consumer mode
    - ASoC: adds support for AMP4 Pro to the DAC Plus driver
    - DT-overlays: adds support for Hifiberry AMP4 Pro
    - ASoC: DACplusADCPro - fix 16bit sample support in clock consumer mode
    - overlays: Correct some compatible strings
    - overlays: Delete deprecated overlay mpu6050
    - irqchip: irq-bcm2836: Avoid prototype warning
    - dmaengine: bcm2835: Delete vestigial code
    - PCI: brcmstb: resolve conflicts with upstream CLKREQ# selection
    - PCI: brcmstb: don't set bridge timeouts on BCM2712
    - staging: bcm2835-codec: Fix up for 6.8 - use ignore_cap_streaming
    - overlays: i2c-sensor: include irq.h and use defined triggers
    - overlays: i2c-sensor: add support for hts221
    - overlays: i2c-sensor: ...

Changed in linux-raspi (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (65.9 KiB)

This bug was fixed in the package linux-raspi - 5.15.0-1048.51

---------------
linux-raspi (5.15.0-1048.51) jammy; urgency=medium

  * jammy/linux-raspi: 5.15.0-1048.51 -proposed tracker (LP: #2052084)

  * Fix snapcraftyaml.yaml for jammy:linux-raspi (LP: #2051468)
    - [Packaging] Remove old snapcraft.yaml
    - [Packaging] Add snapcraft.yaml for building uc22 pi-kernel snap

  [ Ubuntu: 5.15.0-100.110 ]

  * jammy/linux: 5.15.0-100.110 -proposed tracker (LP: #2052616)
  * i915 regression introduced with 5.5 kernel (LP: #2044131)
    - drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
  * Audio balancing setting doesn't work with the cirrus codec (LP: #2051050)
    - ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
  * partproke is broken on empty loopback device (LP: #2049689)
    - block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
  * CVE-2023-0340
    - vhost: use kzalloc() instead of kmalloc() followed by memset()
  * CVE-2023-51780
    - atm: Fix Use-After-Free in do_vcc_ioctl
  * CVE-2023-6915
    - ida: Fix crash in ida_free when the bitmap is empty
  * CVE-2024-0646
    - net: tls, update curr on splice as well
  * CVE-2024-0565
    - smb: client: fix OOB in receive_encrypted_standard()
  * CVE-2023-51781
    - appletalk: Fix Use-After-Free in atalk_ioctl
  * Jammy update: v5.15.143 upstream stable release (LP: #2050858)
    - vdpa/mlx5: preserve CVQ vringh index
    - hrtimers: Push pending hrtimers away from outgoing CPU earlier
    - i2c: designware: Fix corrupted memory seen in the ISR
    - netfilter: ipset: fix race condition between swap/destroy and kernel side
      add/del/test
    - tg3: Move the [rt]x_dropped counters to tg3_napi
    - tg3: Increment tx_dropped in tg3_tso_bug()
    - kconfig: fix memory leak from range properties
    - drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    - platform/x86: asus-wmi: Adjust tablet/lidflip handling to use enum
    - platform/x86: asus-wmi: Add support for ROG X13 tablet mode
    - platform/x86: asus-wmi: Simplify tablet-mode-switch probing
    - platform/x86: asus-wmi: Simplify tablet-mode-switch handling
    - platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    - of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    - platform/x86: wmi: Allow duplicate GUIDs for drivers that use struct
      wmi_driver
    - platform/x86: wmi: Skip blocks with zero instances
    - ipv6: fix potential NULL deref in fib6_add()
    - octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    - octeontx2-af: Check return value of nix_get_nixlf before using nixlf
    - hv_netvsc: rndis_filter needs to select NLS
    - r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
    - r8152: Add RTL8152_INACCESSIBLE checks to more loops
    - r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
    - r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
    - r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
    - mlxbf-bootctl: correctly identify secure boot with development keys
    - platform/mellanox: Add null pointer checks for devm_kasprintf()
    - platform/mellanox: Check devm_hwmon_dev...

Changed in linux-raspi (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-nvidia-6.8/6.8.0-1006.6~22.04.2 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-nvidia-6.8' to 'verification-done-jammy-linux-nvidia-6.8'. If the problem still exists, change the tag 'verification-needed-jammy-linux-nvidia-6.8' to 'verification-failed-jammy-linux-nvidia-6.8'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-nvidia-6.8-v2 verification-needed-jammy-linux-nvidia-6.8
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.