[Bug 2089411] Re: python perf module missing in realtime kernel

2025-03-11 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux- nvidia-6.11/6.11.0-1004.4 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-noble-linux-nvidia-6.11' to 'verification-done-noble-linux-n

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-03-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 6.8.0-55.57 --- linux (6.8.0-55.57) noble; urgency=medium * noble/linux: 6.8.0-55.57 -proposed tracker (LP: #2097981) * python perf module missing in realtime kernel (LP: #2089411) - [Packaging] linux-tools: Add missing python perf sy

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-03-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 6.11.0-19.19 --- linux (6.11.0-19.19) oracular; urgency=medium * oracular/linux: 6.11.0-19.19 -proposed tracker (LP: #2098000) * python perf module missing in realtime kernel (LP: #2089411) - [Packaging] linux-tools: Add missing pytho

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-27 Thread Juerg Haefliger
The azure package doesn't provide the perf python library, so no wonder it's not working. I don't know why the package maintainer doesn't have this enabled... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-27 Thread Juerg Haefliger
There seems to be an issue with azure. But this bug is about realtime. It works with both the generic and the realtime kernels: ubuntu@ubuntu-noble:~$ uname -a Linux ubuntu-noble 6.8.1-1018-realtime #19-Ubuntu SMP PREEMPT_RT Mon Feb 24 20:13:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux ubuntu@ubunt

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-26 Thread Wesley Hershberger
Looks like the symlink described in 1ecc312721 (/usr/lib/linux- tools/6.8.0-1023-azure/lib -> /usr/lib/linux-azure-tools-6.8.0-1023/lib) doesn't exist with package linux-tools-6.8.0-1023-azure, likely because the link's target doesn't exist. I checked the corresponding links in linux-realtime-tools

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-26 Thread Wesley Hershberger
** Tags removed: verification-done-noble-linux ** Tags added: verification-failed-noble-linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089411 Title: python perf module missing in realtime kern

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-26 Thread Wesley Hershberger
Thanks Manuel; unfortunately the generic kernel is not affected by this bug, only the variants (aws, azure, realtime, etc), so we can't verify with linux-generic. I don't have permission to access the packages for the RT kernel in the Noble ppa [1] (linked from [2]) but this bug/fix applies to all

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-26 Thread Manuel Diewald
$ uname -a Linux cloudimg 6.8.0-56-generic #58-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 14 15:33:28 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux $ python3 -c 'import perf; [print(c) for c in perf.cpu_map()]' 0 1 2 3 4 5 6 7 $ ** Tags removed: verification-needed-noble-linux ** Tags added: verification-done-

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-20 Thread Wesley Hershberger
All set, thanks. ``` wesley@oracular2:~$ uname -a Linux oracular2 6.11.0-1006-realtime #6-Ubuntu SMP PREEMPT_RT Mon Feb 17 15:51:31 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux wesley@oracular2:~$ python3 -c 'import perf; [print(c) for c in perf.cpu_map()]' 0 ``` ** Tags removed: verification-failed-

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-19 Thread Juerg Haefliger
This is because you still have the old broken wrapper installed. The wrapper is provided by linux-tools-common from the main kernel (not realtime). You must upgrade that package as well. $ apt install linux-tools-common -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-19 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/6.8.0-56.58 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-noble-linux' to 'verification-done-noble-linux'. If the problem still exist

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-19 Thread Wesley Hershberger
** Tags removed: verification-needed-oracular-linux ** Tags added: verification-failed-oracular-linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089411 Title: python perf module missing in realt

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-19 Thread Wesley Hershberger
Hi, I'm still seeing this bug with 6.11.0-1006-realtime, which should contain the patch [1] (thanks for the help Juerg) ``` wesley@oracular2:~$ uname -a Linux oracular2 6.11.0-1006-realtime #6-Ubuntu SMP PREEMPT_RT Mon Feb 17 15:51:31 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux wesley@oracular2:~$ py

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-13 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/6.11.0-19.19 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-oracular-linux' to 'verification-done-oracular- linux'. If the problem sti

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-06 Thread Koichiro Den
** Changed in: linux (Ubuntu Noble) Status: Confirmed => Fix Committed ** Changed in: linux (Ubuntu Oracular) Status: Confirmed => Fix Committed ** Changed in: linux (Ubuntu Noble) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Oracular) Importance: Undecided =>

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-02-02 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 6.12.0-12.12 --- linux (6.12.0-12.12) plucky; urgency=medium * plucky/linux: 6.12.0-12.12 -proposed tracker (LP: #2095505) * Miscellaneous Ubuntu changes - [Packaging] temporarily disable signing for s390x * Miscellaneous upstream

[Bug 2089411] Re: python perf module missing in realtime kernel

2025-01-20 Thread Juerg Haefliger
This is fixed in Plucky 6.12.0-7.7 bootstrap kernel: https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/bootstrap ** Changed in: linux (Ubuntu Plucky) Status: Confirmed => Fix Released ** Changed in: linux (Ubuntu Plucky) Status: Fix Released => Fix Committed -- You rece

[Bug 2089411] Re: python perf module missing in realtime kernel

2024-11-28 Thread Juerg Haefliger
** Description changed: + [Impact] + + ubuntu@ubuntu-plucky:~$ python3 -c 'import perf; [print(c) for c in perf.cpu_map()]' + Traceback (most recent call last): + File "", line 1, in + File "/usr/lib/python3/dist-packages/perf/__init__.py", line 24, in + raise KernelNotFoundError() + p

[Bug 2089411] Re: python perf module missing in realtime kernel

2024-11-25 Thread Juerg Haefliger
This is just a workaround. I'm working on a proper packaging fix. > Also, this looks to have not been the root cause to losing network connection Well this bug is about the missing perf module, so that's that issue that is being fixed and tracked with this bug. If you think there's another (kern

[Bug 2089411] Re: python perf module missing in realtime kernel

2024-11-25 Thread Agathe Porte
** Also affects: linux-rt (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: New => Invalid ** Also affects: linux (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: linux-rt (Ubuntu Noble) Importance: Undecided St

[Bug 2089411] Re: python perf module missing in realtime kernel

2024-11-25 Thread Edward
Yes, that worked. But this is more of a workaround, though, right? What would be a long term fix for the realtime kernel? Also, this looks to have not been the root cause to losing network connection when tuned is running as I still am losing network connectivity but am no longer seeing the "WAR

[Bug 2089411] Re: python perf module missing in realtime kernel

2024-11-25 Thread Juerg Haefliger
The module is there but the wrapper is broken :-( Can you try this hack: $ sudo sed -i 's|/linux-tools-|/linux-realtime-tools-|' /usr/lib/python3/dist-packages/perf/__init__.py And check if it works now: $ python3 -c 'import perf; [print(c) for c in perf.cpu_map()]' 0 1 2 3 -- You received thi