Exclude DRM drivers from linux-modules

Bug #2037936 reported by Juerg Haefliger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned
Mantic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

DRM modules and their firmwares end up in the initrd and blow up its size. Most of them, especially nouveau and radeon, are unlikely to be used on a Pi, so move the modules to linux-modules-extra.

[Fix]

Moeve DRM modules to linux-modules-extra.

[Test Case]

Install new kernel and inspect initrd. Verify display still comes up.

[Regression Potential]

Blank display if a module is moved that is used for the primary display.

Juerg Haefliger (juergh)
summary: - Exclude DRM modules from linux-modules
+ Exclude DRM drivers from linux-modules
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Mantic):
status: New → Fix Committed
Juerg Haefliger (juergh)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.8 KiB)

This bug was fixed in the package linux-raspi - 6.5.0-1004.6

---------------
linux-raspi (6.5.0-1004.6) mantic; urgency=medium

  * mantic/linux-raspi: 6.5.0-1004.6 -proposed tracker (LP: #2037558)

  * Include USB drivers in linux-modules (LP: #2037938)
    - [Packaging] raspi: Include most USB modules in linux-modules

  * Exclude DRM drivers from linux-modules (LP: #2037936)
    - [Packaging] raspi: Exclude unlikely DRM modules from linux-modules

  * Miscellaneous Ubuntu changes
    - SAUCE: ARM: dts: Fix broken symlinks
    - [Config] raspi: updateconfigs after update to raspberrypi rpi-6.1.y
      (2023-09-29)
    - [Config] raspi: Modify some RP1 configs to fix build failures
    - [Config] raspi: Set ARCH_BRCMSTB=y
    - [Config] raspi: Set IOMMU_SUPPORT=y and BCM2712_IOMMU=y

  * Miscellaneous upstream changes
    - Revert "ASoC: cs43130: Fix numerator/denominator mixup"
    - overlays: Add a sample hat_map
    - Revert "usb: phy: generic: Get the vbus supply"
    - config: 2712: Update defconfig
    - dts: 2712: Update for device tree
    - bcm2708_fb: Hack out dma support
    - gpio_brcmstb: Allow to build for ARCH_BCM2835
    - Allow RESET_BRCMSTB on ARCH_BCM2835
    - pinctrl: bcm2712 pinctrl/pinconf driver
    - vc4/fkms: Remove use of SMI peripheral
    - mmc: brcmstb: add support for BCM2712
    - sdhci: Add SD Express hook
    - Add new "pispbe" driver (though not yet the Makesfiles or DT required to use
      it)
    - irqchip: irq-bcm2712-mip: Support for 2712's MIP
    - reset: reset-brcmstb-rescal: Support shared use
    - net: macb: Also set DMA coherent mask
    - usb: dwc3: Set DMA and coherent masks early
    - drm/panel/raspberrypi-touchscreen: Insert more delays.
    - PCI: brcmstb: Add BCM2712 support
    - V4L2: Add PiSP opaque formats to V4L2
    - V4L2: Add PiSP compressed formats to V4L2
    - bcm2708_fb: Fix more build warnings
    - dt-binding: mfd: Add binding for Raspberry Pi RP1
    - mfd: Add rp1 driver
    - dt-bindings: clock: Add bindings for Raspberry Pi RP1
    - clk: Add rp1 clock driver
    - dt-bindings: pinctrl: Add bindings for Raspberry Pi RP1
    - pinctrl: Add rp1 driver
    - serial: pl011: rp1 uart support
    - mmc: sdhci-of-dwcmshc: define sdio timeout clocks
    - mmc: sdhci-of-dwcmshc: rp1 sdio changes
    - clk: rp1: Add sdio-clk driver
    - i2c: designware: Add SMBUS quick command support
    - dmaengine: dw-axi-dmac: Fixes for RP1
    - spi: dw: Handle combined tx and rx messages
    - pwm: Add support for RP1 PWM
    - drm: Add RP1 DSI driver
    - drm: Add RP1 DPI driver
    - drm: Add RP1 VEC driver
    - v4l2: Add pisp compression format support to v4l2
    - media: rp1: Add CFE (Camera Front End) support
    - dt-bindings: net: cdns,macb: AXI tuning properties
    - ASoC: dwc: Support set_bclk_ratio
    - ASoC: dwc: Add DMACR handling
    - ASOC: dwc: Improve DMA shutdown
    - ASOC: dwc: Fix 16-bit audio handling
    - ASoC: bcm: Remove dependency on BCM2835 I2S
    - hwmon: Add RP1 ADC and temperature driver
    - mfd: bcm2835-pm: Add support for BCM2712
    - soc: bcm: bcm2835-power: Add support for BCM2712
    - drivers: spi: Fix spi-gpio to correctly implement sck-idle-in...

Read more...

Changed in linux-raspi (Ubuntu Mantic):
status: Fix Committed → Fix Released
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Lunar):
status: New → Fix Committed
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/6.2.0-1016.18 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-lunar-linux-raspi' to 'verification-done-lunar-linux-raspi'. If the problem still exists, change the tag 'verification-needed-lunar-linux-raspi' to 'verification-failed-lunar-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-lunar-linux-raspi-v2 verification-needed-lunar-linux-raspi
Revision history for this message
Juerg Haefliger (juergh) wrote :

Installed 6.2.0-1016-raspi from lunar-proposed on lunar desktop. Verified that desktop comes up and is accelerated.

tags: added: verification-done-lunar-linux-raspi
removed: verification-needed-lunar-linux-raspi
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-raspi/5.15.0-1042.45 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
Juerg Haefliger (juergh) wrote :

Installed 5.15.0-1042-raspi from jammy-proposed on jammy desktop. Verified that desktop comes up and is accelerated.

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

This bug was fixed in the package linux-raspi - 6.2.0-1016.18

---------------
linux-raspi (6.2.0-1016.18) lunar; urgency=medium

  * lunar/linux-raspi: 6.2.0-1016.18 -proposed tracker (LP: #2038070)

  * Include USB drivers in linux-modules (LP: #2037938)
    - [Packaging] raspi: Include most USB modules in linux-modules

  * Exclude DRM drivers from linux-modules (LP: #2037936)
    - [Packaging] raspi: Exclude unlikely DRM modules from linux-modules

  * pi-kernel snap is missing modules for microk8s/microceph on UC22
    (LP: #2036747)
    - [Packaging] raspi: Include rbd and vxlan modules in linux-modules

  * Move nbd module into modules (from -extra) (LP: #2035373)
    - [Packaging] raspi: Include nbd module in linux-modules

  * pi-kernel 5.15 on UC22 is missing most staging modules (LP: #2024443)
    - [Packaging] raspi: Include r8188eu module in linux-modules

  [ Ubuntu: 6.2.0-36.37 ]

  * lunar/linux: 6.2.0-36.37 -proposed tracker (LP: #2038076)
  * Regression for ubuntu_bpf test build caused by upstream bdeeed3498c7
    (LP: #2035181)
    - selftests/bpf: fix static assert compilation issue for test_cls_*.c
  * CVE-2023-4244
    - netfilter: nf_tables: don't skip expired elements during walk
    - netfilter: nf_tables: adapt set backend to use GC transaction API
    - netfilter: nft_set_hash: mark set element as dead when deleting from packet
      path
    - netfilter: nf_tables: GC transaction API to avoid race with control plane
    - netfilter: nf_tables: don't fail inserts if duplicate has expired
    - netfilter: nf_tables: fix kdoc warnings after gc rework
    - netfilter: nf_tables: fix GC transaction races with netns and netlink event
      exit path
    - netfilter: nf_tables: GC transaction race with netns dismantle
    - netfilter: nf_tables: GC transaction race with abort path
    - netfilter: nf_tables: use correct lock to protect gc_list
    - netfilter: nf_tables: defer gc run if previous batch is still pending
    - netfilter: nft_dynset: disallow object maps
    - netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
  * CVE-2023-4563
    - netfilter: nf_tables: remove busy mark and gc batch API
  * CVE-2023-42756
    - netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
  * CVE-2023-4623
    - net/sched: sch_hfsc: Ensure inner classes have fsc curve
  * Fix unstable audio at low levels on Thinkpad P1G4 (LP: #2037077)
    - ALSA: hda/realtek - ALC287 I2S speaker platform support
  * Lunar update: upstream stable patchset 2023-09-21 (LP: #2037005)
    - Upstream stable to v6.1.41, v6.4.6
    - io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
    - ALSA: hda/realtek - remove 3k pull low procedure
    - ALSA: hda/realtek: Add quirk for Clevo NS70AU
    - ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    - maple_tree: set the node limit when creating a new root node
    - maple_tree: fix node allocation testing on 32 bit
    - keys: Fix linking a duplicate key to a keyring's assoc_array
    - perf probe: Add test for regression introduced by switch to
      die_get_decl_file()
    - btrfs: fix warning when putting transaction with qgroups enabled after...

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

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

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

  * jammy/linux-raspi: 5.15.0-1042.45 -proposed tracker (LP: #2038050)

  * Include USB drivers in linux-modules (LP: #2037938)
    - [Packaging] raspi: Include most USB modules in linux-modules

  * Exclude DRM drivers from linux-modules (LP: #2037936)
    - [Packaging] raspi: Exclude unlikely DRM modules from linux-modules

  * pi-kernel snap is missing modules for microk8s/microceph on UC22
    (LP: #2036747)
    - [Packaging] raspi: Include rbd and vxlan modules in linux-modules

  * Move nbd module into modules (from -extra) (LP: #2035373)
    - [Packaging] raspi: Include nbd module in linux-modules

  [ Ubuntu: 5.15.0-88.98 ]

  * jammy/linux: 5.15.0-88.98 -proposed tracker (LP: #2038055)
  * CVE-2023-4244
    - netfilter: nf_tables: don't skip expired elements during walk
    - netfilter: nf_tables: adapt set backend to use GC transaction API
    - netfilter: nft_set_hash: mark set element as dead when deleting from packet
      path
    - netfilter: nf_tables: GC transaction API to avoid race with control plane
    - netfilter: nf_tables: remove busy mark and gc batch API
    - netfilter: nf_tables: don't fail inserts if duplicate has expired
    - netfilter: nf_tables: fix kdoc warnings after gc rework
    - netfilter: nf_tables: fix GC transaction races with netns and netlink event
      exit path
    - netfilter: nf_tables: GC transaction race with netns dismantle
    - netfilter: nf_tables: GC transaction race with abort path
    - netfilter: nf_tables: use correct lock to protect gc_list
    - netfilter: nf_tables: defer gc run if previous batch is still pending
    - netfilter: nft_dynset: disallow object maps
    - netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
  * CVE-2023-42756
    - netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
  * CVE-2023-4623
    - net/sched: sch_hfsc: Ensure inner classes have fsc curve
  * PCI BARs larger than 128GB are disabled (LP: #2037403)
    - PCI: Support BAR sizes up to 8TB
  * Fix unstable audio at low levels on Thinkpad P1G4 (LP: #2037077)
    - ALSA: hda/realtek - ALC287 I2S speaker platform support
  * Check for changes relevant for security certifications (LP: #1945989)
    - [Packaging] Add a new fips-checks script
  * Jammy update: v5.15.126 upstream stable release (LP: #2037593)
    - io_uring: gate iowait schedule on having pending requests
    - perf: Fix function pointer case
    - net/mlx5: Free irqs only on shutdown callback
    - arm64: errata: Add workaround for TSB flush failures
    - arm64: errata: Add detection for TRBE write to out-of-range
    - [Config] updateconfigs for ARM64_ERRATUM_ and
      ARM64_WORKAROUND_TSB_FLUSH_FAILURE
    - iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    - iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    - iommu/arm-smmu-v3: Add explicit feature for nesting
    - iommu/arm-smmu-v3: Document nesting-related errata
    - arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    - word-at-a-time: use the same return type for...

Changed in linux-raspi (Ubuntu Jammy):
status: Fix Committed → Fix Released
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.