[Bug 2045034] Re: [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

2024-06-05 Thread Launchpad Bug Tracker
This bug was fixed in the package libvpoll-eventfd - 0.1-2ubuntu2

---
libvpoll-eventfd (0.1-2ubuntu2) jammy; urgency=medium

  * Support Linux 6.5 (LP: #2045034):
- debian/patches/0002-Linux-6.5-support-class-create.patch

 -- Andrea Righi   Tue, 28 Nov 2023 13:59:33
+

** Changed in: libvpoll-eventfd (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2045034

Title:
  [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2045034] Re: [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

2024-05-05 Thread Sudip Mukherjee
I can confirm that vpoll-dkms from jammy-proposed has fixed the bug for
me.

Test done:

install vpoll-dkms in a jammy system
confirm that the issue is seen and the installation fails with the build 
failure.

modify grub defaults to disable grub hidden menu and update menu timeout
install linux-image-generic linux-headers-generic
reboot to generic kernel

$ uname -r
5.15.0-105-generic

Add jammy-proposed to apt sources
install vpoll-dkms from jammy-proposed
confirm that it installs for both the kernel.

Build the test_vpoll.c from the testplan
modprobe vpoll
execute the binary and confirm it can use the vpoll module

reboot to hwe kernel

$ uname -r
6.5.0-21-generic

modprobe vpoll
execute the binary and confirm it can use the vpoll module


Test result: the issue with vpoll-dkms has been fixed.

Package tested:

$ apt-cache policy vpoll-dkms
vpoll-dkms:
  Installed: 0.1-2ubuntu2
  Candidate: 0.1-2ubuntu2
  Version table:
 *** 0.1-2ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 
Packages
500 http://gb.archive.ubuntu.com/ubuntu jammy-proposed/universe i386 
Packages
100 /var/lib/dpkg/status
 0.1-2ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 
Packages
500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe i386 
Packages
 0.1-2 500
500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu jammy/universe i386 Packages


** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2045034

Title:
  [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2045034] Re: [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

2024-04-26 Thread Timo Aaltonen
Hello Andrea, or anyone else affected,

Accepted libvpoll-eventfd into jammy-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/libvpoll-
eventfd/0.1-2ubuntu2 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: libvpoll-eventfd (Ubuntu Jammy)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2045034

Title:
  [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2045034] Re: [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

2024-04-15 Thread Dave Jones
Updating test case to make clear that both the release and hwe kernels
require testing for this patch, but otherwise looks good -- sponsoring.

** Description changed:

  [Impact]
  
  libvpoll-eventfd is completely unusable as it will fail to install for a
  Jammy user with the following error:
  
  ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ 
from incompatible pointer type [-Werror=incompatible-pointer-types]
     29 | #define THIS_MODULE (&__this_module)
    | ~^~~
    |  |
    |  struct module *
  /var/lib/dkms/vpoll/0.1/build/vpoll.c:117:44: note: in expansion of macro 
‘THIS_MODULE’
  
  [Test case]
  
- A simple testcase to confirm the build failure is fixed
+ To be tested on both the release kernel (5.15), which is currently
+ unaffected but may be affected by the fix, and the hwe kernel (6.5),
+ which is intended to be fixed by this SRU.
+ 
+ The following should fail with the current, and succeed with the
+ proposed vpoll-dkms under kernel 6.5, and should be succeed under both
+ with release kernel 5.15:
  
   $ sudo apt install vpoll-dkms
  
- Another testcase to test the basic sanity of the package to confirm its 
working:
+ Another testcase to test the basic sanity of the package to confirm its
+ working (again, test on both release and hwe kernels):
+ 
  1. Build the attached test_vpoll.c
  2. Execute it, it will use the kernel driver for execution.
  
  [ Where problems could occur ]
  
  Users of vpoll may experience regressions (restricted to this module)
  using the new 6.5 kernel.
  
  [ Other Info ]
  
  Backport the changes in the vpoll kernel module to properly support the
  new linux 6.5 kernel ABI.
  
  [ Original Bug Description ]
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: vpoll-dkms 0.1-2ubuntu1
  ProcVersionSignature: User Name 6.5.0-14.14~22.04.1-generic 6.5.3
  Uname: Linux 6.5.0-14-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: config-disk (/dev/vdb)
  Date: Tue Nov 28 13:50:29 2023
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: libvpoll-eventfd
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2045034

Title:
  [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2045034] Re: [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

2024-04-06 Thread Sudip Mukherjee
test code for vpoll

** Description changed:

  [Impact]
  
+ libvpoll-eventfd is completely unusable as it will fail to install for a
+ Jammy user with the following error:
+ 
  ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ 
from incompatible pointer type [-Werror=incompatible-pointer-types]
-29 | #define THIS_MODULE (&__this_module)
-   | ~^~~
-   |  |
-   |  struct module *
+    29 | #define THIS_MODULE (&__this_module)
+   | ~^~~
+   |  |
+   |  struct module *
  /var/lib/dkms/vpoll/0.1/build/vpoll.c:117:44: note: in expansion of macro 
‘THIS_MODULE’
  
  [Test case]
  
-  $ sudo apt install vpoll-dkms
+ A simple testcase to confirm the build failure is fixed
  
- [Fix]
+  $ sudo apt install vpoll-dkms
+ 
+ Another testcase to test the basic sanity of the package to confirm its 
working:
+ 1. Build the attached test_vpoll.c
+ 2. Execute it, it will use the kernel driver for execution.
+ 
+ [ Where problems could occur ]
+ 
+ Users of vpoll may experience regressions (restricted to this module)
+ using the new 6.5 kernel.
+ 
+ [ Other Info ]
  
  Backport the changes in the vpoll kernel module to properly support the
  new linux 6.5 kernel ABI.
  
- [Regression potential]
- 
- Users of vpoll may experience regressions (restricted to this module)
- using the new 6.5 kernel.
+ [ Original Bug Description ]
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: vpoll-dkms 0.1-2ubuntu1
  ProcVersionSignature: User Name 6.5.0-14.14~22.04.1-generic 6.5.3
  Uname: Linux 6.5.0-14-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: config-disk (/dev/vdb)
  Date: Tue Nov 28 13:50:29 2023
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=
-  LANG=C.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=
+  LANG=C.UTF-8
+  SHELL=/bin/bash
  SourcePackage: libvpoll-eventfd
  UpgradeStatus: No upgrade log present (probably fresh install)

** Attachment added: "test_vpoll.c"
   
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+attachment/5761747/+files/test_vpoll.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2045034

Title:
  [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs