------- Comment From tmri...@de.ibm.com 2019-07-18 03:46 EDT------- I have this /etc/apt/sources.list file with the following deb-src lines
root@s8360046:~# fgrep bionic /etc/apt/sources.list | fgrep deb-src deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic main restricted deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-updates main restricted deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic universe deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-updates universe deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic multiverse deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-updates multiverse deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-backports main restricted universe multiverse # deb-src http://archive.canonical.com/ubuntu bionic partner deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-security main restricted deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-security universe deb-src http://us.ports.ubuntu.com/ubuntu-ports bionic-security multiverse root@s8360046:~# apt-get source linux-image-$(uname -r) Reading package lists... Done E: You must put some 'source' URIs in your sources.list root@s8360046:~# uname -r 4.15.0-55-generic root@s8360046:~# But this is not really the issue. To debug this further I need the linux kernel tree (tarball preferred) or at least the subdirectory tools inside the linux kernel tree: root@s8360046:~# ls -ld ubuntu-* drwxr-xr-x 31 root root 4096 Jul 5 13:37 ubuntu-bionic drwxr-xr-x 29 root root 4096 Jul 17 14:17 ubuntu-disco root@s8360046:~# ls -ld ubuntu-bionic/tools/perf drwxr-xr-x 14 root root 4096 Jul 5 13:47 ubuntu-bionic/tools/perf <---- perf tool source directory. root@s8360046:~# I need this from the build done by kleber-souza (see entry 38 dated on 2019-07-15 10:07:50 CDT) with the kernel named Linux s8360046 4.15.0-55-generic #60+lp1828166.2-Ubuntu SMP Fri Jul 12 12:49:26 >From this tree I would like to get a tar file of the tools directory. Thanks a lot. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1828166 Title: perf top problem on z with Ubuntu 18.04 Status in Ubuntu on IBM z Systems: Confirmed Status in linux package in Ubuntu: Confirmed Status in linux source package in Bionic: In Progress Status in linux source package in Cosmic: Invalid Bug description: SRU Justification: ================== [Impact] * The perf top tool hangs and shows error messages, like 'Not enough memory for annotating' [Fix] * edeb0c90df3581b821a764052d185df985f8b8dc edeb0c9 "perf tools: Stop fallbacking to kallsyms for vdso symbols lookup" [Test Case] * start a benchmark (mem_alloc, but it doesn't really matter what) * execute perf top in a second terminal * the output of perf top is correct * now stop the benchmark * and perf top shows an error message, like "Not enough memory for annotating '__irf_end' symbol!)" * and perf top can't be exited anymore [Regression Potential] * The regression potential can be considered as low since this happens only while using the perf top tool * and it is known that the commit (above) fixes the problem * and the fix is upstream since 4.19 [Other Info] * current disco and eoan kernels don't show that problem * bisecting result points to above commit * applies cleanly on cosmic, but has a little conflict on bionic (both master-next) _________________________ perf top hangs and shows error messages ---uname output--- Linux weather 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:32:27 UTC 2019 s390x s390x s390x GNU/Linux ---Steps to Reproduce--- I start a benchmark (mem_alloc, but it really doesn't matter) and then issue perf top in a second terminal, the output from perf top is correct. Now I stop the benchmark: perf top shows a error message (Not enough memory for annotating '__irf_end' symbol!) and I can't quit from perf top anymore Following analyse took place: No problem with current kernel . Bi-Secting of perf tool took place and following commit was found: commit edeb0c90df3581b821a764052d185df985f8b8dc (HEAD, refs/bisect/bad) Author: Arnaldo Carvalho de Melo <a...@redhat.com> Date: Tue Oct 16 17:08:29 2018 -0300 perf tools: Stop fallbacking to kallsyms for vdso symbols lookup When you apply this patch the issue is gone, however it is contained in these versions: git tag --contains edeb0c90df3581b821 v4.19 v4.20 .... The level I was debugging was kernel 4.15 which does not contain this patch. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1828166/+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