The following commit changed the name of that variable:
99a4e9bce56b block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART

That commit was applied to the gcp kernel via stable updates from Jammy (22.04) 
version:
5.15.0-93.103

Jammy received it from upstream stable updates via:
c6ce1c5dd327 block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART

That commit was applied to upstream stable in version: 
v5.15.132

I'll report this to upstream and see what the suggested fix may be.

** Changed in: linux-signed-gcp-5.15 (Ubuntu)
   Importance: Undecided => High

** Changed in: linux-signed-gcp-5.15 (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: linux-signed-gcp-5.15 (Ubuntu)
     Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Package changed: linux-signed-gcp-5.15 (Ubuntu) => linux (Ubuntu)

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: linux (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Jammy)
     Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Tags added: kernel-key

** Also affects: linux-realtime (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: linux-realtime (Ubuntu Jammy)

** Changed in: linux-realtime (Ubuntu)
   Importance: Undecided => High

** Changed in: linux-realtime (Ubuntu)
       Status: New => In Progress

** Changed in: linux-realtime (Ubuntu)
       Status: In Progress => Triaged

** Also affects: linux-gcp (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-gcp (Ubuntu)
       Status: New => Triaged

** Changed in: linux-gcp (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-gcp-5.15 in Ubuntu.
https://bugs.launchpad.net/bugs/2053101

Title:
  Backported rename of GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART breaks
  existing modules

Status in linux package in Ubuntu:
  In Progress
Status in linux-gcp package in Ubuntu:
  Triaged
Status in linux-realtime package in Ubuntu:
  Triaged
Status in linux source package in Jammy:
  In Progress

Bug description:
  3rd party kernel modules for Ubuntu 20.04 break due to the recently
  backported change of renaming GENHD_FL_NO_PART_SCAN to
  GENHD_FL_NO_PART

  linux-gcp-5.15-headers-5.15.0-1049 still uses GENHD_FL_NO_PART_SCAN
  which the 3rd party kernel modules use, while linux-
  gcp-5.15-headers-5.15.0-1051 has brought the rename to
  GENHD_FL_NO_PART in. This is a breaking change and should not have
  been backported. The 3rd party modules have been updated for newer
  kernels on 22.04, but can't be updated on 20.04 with this breaking
  change.

  $ grep GENHD_FL_NO_PART 
/usr/src/linux-gcp-5.15-headers-5.15.0-1049/include/linux/genhd.h 
/usr/src/linux-gcp-5.15-headers-5.15.0-1051/include/linux/genhd.h
  /usr/src/linux-gcp-5.15-headers-5.15.0-1049/include/linux/genhd.h: * 
``GENHD_FL_NO_PART_SCAN`` (0x0200): partition scanning is disabled.
  /usr/src/linux-gcp-5.15-headers-5.15.0-1049/include/linux/genhd.h: * 
``GENHD_FL_NO_PART_SCAN``.
  /usr/src/linux-gcp-5.15-headers-5.15.0-1049/include/linux/genhd.h:#define 
GENHD_FL_NO_PART_SCAN                 0x0200
  /usr/src/linux-gcp-5.15-headers-5.15.0-1049/include/linux/genhd.h:            
  !(disk->flags & GENHD_FL_NO_PART_SCAN);

  /usr/src/linux-gcp-5.15-headers-5.15.0-1051/include/linux/genhd.h: * 
``GENHD_FL_NO_PART`` (0x0200): partition support is disabled.
  /usr/src/linux-gcp-5.15-headers-5.15.0-1051/include/linux/genhd.h: * 
``GENHD_FL_NO_PART``.
  /usr/src/linux-gcp-5.15-headers-5.15.0-1051/include/linux/genhd.h:#define 
GENHD_FL_NO_PART                      0x0200
  /usr/src/linux-gcp-5.15-headers-5.15.0-1051/include/linux/genhd.h:      
return disk_max_parts(disk) > 1 && !(disk->flags & GENHD_FL_NO_PART);

  
  $ lsb_release -rd
  Description:    Ubuntu 20.04.6 LTS
  Release:        20.04

  $ apt policy linux-image-5.15.0-1051-gcp
  linux-image-5.15.0-1051-gcp:
    Installed: 5.15.0-1051.59~20.04.1
    Candidate: 5.15.0-1051.59~20.04.1
    Version table:
   *** 5.15.0-1051.59~20.04.1 500
          500 http://australia-southeast1.gce.archive.ubuntu.com/ubuntu 
focal-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu focal-security/main amd64 
Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.15.0-1051-gcp 5.15.0-1051.59~20.04.1
  ProcVersionSignature: Ubuntu 5.15.0-1051.59~20.04.1-gcp 5.15.136
  Uname: Linux 5.15.0-1051-gcp x86_64
  ApportVersion: 2.20.11-0ubuntu27.27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Feb 14 12:07:11 2024
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-signed-gcp-5.15
  UpgradeStatus: Upgraded to focal on 2023-05-07 (282 days ago)

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to