[UBUNTU 23.04] Regression: Ubuntu 23.04/23.10 do not include uvdevice anymore

Bug #2048919 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Undecided
Skipper Bug Screeners
linux (Ubuntu)
Status tracked in Noble
Lunar
Won't Fix
Undecided
Unassigned
Mantic
Fix Released
High
Unassigned
Noble
Fix Released
Medium
Unassigned

Bug Description

---Problem Description---
Regression: uvdevice at /dev/uv not compiled into kernel

Machine Type = IBM z15, IBM z16

Contact Information = <email address hidden>

---uname output---
Linux 6.5.0-14-generic #14-Ubuntu SMP Tue Nov 14 14:16:58 UTC 2023 s390x s390x s390x GNU/Linux

---Debugger---
A debugger is not configured

---Additional Hardware Info---
Secure Execution feature code enabled (optional)

---Steps to Reproduce---
 # working/ old behavior
on a fresh ubuntu 22.10 (and 22.04) LPAR/guest1 (with Secure execution available)

> cat /dev/uv
/dev/uv
> cat /boot/config-$(uname -r) | grep UV_UAPI
CONFIG_S390_UV_UAPI=y

that's the expected state for Ubuntu.

# current/ non expected behavior

since Ubuntu 23.04 the following happens:
stock kernel non-modified, latest available

> cat /dev/uv
cat: /dev/uv: No such file or directory

COMMENT:
this still can happen if the machine has no Secure Execution feature available
However, the following should not be the case under any circumstances:

> cat /boot/config-$(uname -r) | grep UV_UAPI
# CONFIG_S390_UV_UAPI is not set

Somehow that configuration got lost between 22.X and 23.X.
Maybe, because IIRC that features got back-ported to 22.X

# Proposed Solution:

change the kernel config to

CONFIG_S390_UV_UAPI=y (same as 22.X backport)
or
CONFIG_S390_UV_UAPI=m (same as upstream)

and provide a new kernel binary

Stack trace output:
 n/a

System Dump Info:
  The system is not configured to capture a system dump.

Oops output:
 n/a

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-204559 severity-medium targetmilestone-inin---
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu Mantic):
importance: Undecided → High
Changed in linux (Ubuntu Noble):
importance: Undecided → Medium
Frank Heimes (fheimes)
Changed in linux (Ubuntu Lunar):
status: New → Won't Fix
Changed in linux (Ubuntu Noble):
assignee: Skipper Bug Screeners (skipper-screen-team) → nobody
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Revision history for this message
Frank Heimes (fheimes) wrote (last edit ):

Thanks Steffen for raising this and bringing this to our attention.
That should obviously not have happen, kernel config changes should be propagated to all newer Ubuntu kernel version, until explicitly dropped or modified for any other reason.
It looks like we hit a kind of a race condition here. While setting this option in jammy, the development of mantic just started and it was missed to enable it in the 'unstable' tree at that time.
We are looking into it soon-ish.
I believe that having a kernel in PPA to unblock you is not very helpful, since I think you need that kernel signed with the usual (prod.) signature/key (and not with a test/dev key coming from the PPA).

Since lunar will reach it's eol in less than 2 weeks, we'll ensure that the option is set in mantic onwards.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :
Changed in linux (Ubuntu Mantic):
status: New → In Progress
Changed in linux (Ubuntu Noble):
status: New → In Progress
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

I believe that having a kernel in PPA to unblock you is not very helpful, since yI think you need that kernel signed with the usual (prod.) signature/key (and not with a test/dev key coming from the PPA).

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → In Progress
Changed in linux (Ubuntu Mantic):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.5.0-17.17 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-mantic-linux' to 'verification-done-mantic-linux'. If the problem still exists, change the tag 'verification-needed-mantic-linux' to 'verification-failed-mantic-linux'.

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-mantic-linux-v2 verification-needed-mantic-linux
bugproxy (bugproxy)
tags: removed: verification-needed-mantic-linux
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2024-01-16 03:12 EDT-------
uvdevice is in linux-image-6.5.0-17-generic

# dpkg --list | grep linux-image
ii linux-image-6.5.0-17-generic 6.5.0-17.17 s390x Signed kernel image generic

# uname -r
6.5.0-17-generic

cat /boot/config-$(uname -r) | grep UV_UAPI
CONFIG_S390_UV_UAPI=y

# ls /dev/uv
/dev/uv

Revision history for this message
Frank Heimes (fheimes) wrote :

Thx for the prompt verification!

bugproxy (bugproxy)
tags: added: targetmilestone-inin2310
removed: targetmilestone-inin---
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2024-01-16 05:23 EDT-------
@Canonical: Thanks a lot, especially to Frank and the kernel team for your extra effort providing a fixed version instantly. Highly appreciated!

tags: added: verification-done-mantic-linux
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (86.2 KiB)

This bug was fixed in the package linux - 6.5.0-17.17

---------------
linux (6.5.0-17.17) mantic; urgency=medium

  * mantic/linux: 6.5.0-17.17 -proposed tracker (LP: #2049026)

  * [UBUNTU 23.04] Regression: Ubuntu 23.04/23.10 do not include uvdevice
    anymore (LP: #2048919)
    - [Config] Enable S390_UV_UAPI (built-in)

linux (6.5.0-16.16) mantic; urgency=medium

  * mantic/linux: 6.5.0-16.16 -proposed tracker (LP: #2048372)

  * Packaging resync (LP: #1786013)
    - [Packaging] resync git-ubuntu-log
    - [Packaging] resync update-dkms-versions helper
    - [Packaging] remove helper scripts
    - [Packaging] update annotations scripts
    - debian/dkms-versions -- update from kernel-versions (main/2024.01.08)

  * Add missing RPL P/U CPU IDs (LP: #2047398)
    - drm/i915/rpl: Update pci ids for RPL P/U

  * Fix BCM57416 lost after resume (LP: #2047518)
    - bnxt_en: Clear resource reservation during resume

  * Hotplugging SCSI disk in QEMU VM fails (LP: #2047382)
    - Revert "PCI: acpiphp: Reassign resources on bridge if necessary"

  * Update bnxt_en with bug fixes and support for Broadcom 5760X network
    adapters (LP: #2045796)
    - bnxt_en: use dev_consume_skb_any() in bnxt_tx_int
    - eth: bnxt: move and rename reset helpers
    - eth: bnxt: take the bit to set as argument of bnxt_queue_sp_work()
    - eth: bnxt: handle invalid Tx completions more gracefully
    - eth: bnxt: fix one of the W=1 warnings about fortified memcpy()
    - eth: bnxt: fix warning for define in struct_group
    - bnxt_en: Fix W=1 warning in bnxt_dcb.c from fortify memcpy()
    - bnxt_en: Fix W=stringop-overflow warning in bnxt_dcb.c
    - bnxt_en: Use the unified RX page pool buffers for XDP and non-XDP
    - bnxt_en: Let the page pool manage the DMA mapping
    - bnxt_en: Increment rx_resets counter in bnxt_disable_napi()
    - bnxt_en: Save ring error counters across reset
    - bnxt_en: Display the ring error counters under ethtool -S
    - bnxt_en: Add tx_resets ring counter
    - bnxt: use the NAPI skb allocation cache
    - bnxt_en: Update firmware interface to 1.10.2.171
    - bnxt_en: Enhance hwmon temperature reporting
    - bnxt_en: Move hwmon functions into a dedicated file
    - bnxt_en: Modify the driver to use hwmon_device_register_with_info
    - bnxt_en: Expose threshold temperatures through hwmon
    - bnxt_en: Use non-standard attribute to expose shutdown temperature
    - bnxt_en: Event handler for Thermal event
    - bnxt_en: Support QOS and TPID settings for the SRIOV VLAN
    - bnxt_en: Update VNIC resource calculation for VFs
    - Revert "bnxt_en: Support QOS and TPID settings for the SRIOV VLAN"
    - eth: bnxt: fix backward compatibility with older devices
    - bnxt_en: Do not call sleeping hwmon_notify_event() from NAPI
    - bnxt_en: Fix invoking hwmon_notify_event
    - bnxt_en: add infrastructure to lookup ethtool link mode
    - bnxt_en: support lane configuration via ethtool
    - bnxt_en: refactor speed independent ethtool modes
    - bnxt_en: Refactor NRZ/PAM4 link speed related logic
    - bnxt_en: convert to linkmode_set_bit() API
    - bnxt_en: extend media types to supported and autoneg modes
    - bnxt_en: Fix 2...

Changed in linux (Ubuntu Mantic):
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-gcp-6.5/6.5.0-1013.13~22.04.1 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-gcp-6.5' to 'verification-done-jammy-linux-gcp-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-gcp-6.5' to 'verification-failed-jammy-linux-gcp-6.5'.

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-gcp-6.5-v2 verification-needed-jammy-linux-gcp-6.5
Revision history for this message
Frank Heimes (fheimes) wrote :

This is s390x specific only and does not impact gcp.

Frank Heimes (fheimes)
tags: added: verification-done
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Confirmed the fix has been applied to 24.04 Noble linux 6.8 repository:

https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?h=master-next&id=04be82f0a7b12d0064afc919098f831ce79ba24f

As soon as the kernel is promoted to the noble-release pocket the bug report will be updated automatically.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/6.5.0-1013.13 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-mantic-linux-azure' to 'verification-done-mantic-linux-azure'. If the problem still exists, change the tag 'verification-needed-mantic-linux-azure' to 'verification-failed-mantic-linux-azure'.

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-mantic-linux-azure-v2 verification-needed-mantic-linux-azure
removed: verification-done
Revision history for this message
Frank Heimes (fheimes) wrote :

This issue is s390x only, and not related to azure at all.
Hence adding verification-done again to potentially unblock the process.

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

This bug is awaiting verification that the linux-aws-6.5/6.5.0-1013.13~22.04.1 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-aws-6.5' to 'verification-done-jammy-linux-aws-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-aws-6.5' to 'verification-failed-jammy-linux-aws-6.5'.

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-aws-6.5-v2 verification-needed-jammy-linux-aws-6.5
removed: verification-done
Revision history for this message
Frank Heimes (fheimes) wrote :

This issue is s390x only, and not related to aws at all.
Hence adding verification-done again to potentially unblock the process.

tags: added: verification-done verification-done-jammy-linux-aws-6.5 verification-done-jammy-linux-gcp-6.5 verification-done-mantic-linux-azure
removed: verification-needed-jammy-linux-aws-6.5 verification-needed-jammy-linux-gcp-6.5 verification-needed-mantic-linux-azure
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 Noble):
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
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.5/6.5.0-1014.14 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.5' to 'verification-done-jammy-linux-nvidia-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-nvidia-6.5' to 'verification-failed-jammy-linux-nvidia-6.5'.

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.5-v2 verification-needed-jammy-linux-nvidia-6.5
removed: verification-done
Revision history for this message
Frank Heimes (fheimes) wrote :

This LP bug was entirely s390x specific, hence not affecting any other platform.
So setting verification again to done, to potentially unblock any further processes.

tags: added: verification-done verification-done-jammy-linux-nvidia-6.5
removed: verification-needed-jammy-linux-nvidia-6.5
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.