2020-04-23 19:16:44 |
Ian May |
bug |
|
|
added bug |
2020-04-23 19:16:45 |
Ian May |
tags |
|
kernel-adt-failure |
|
2020-04-23 19:16:51 |
Ian May |
attachment added |
|
make.log https://bugs.launchpad.net/bugs/1874521/+attachment/5358632/+files/make.log |
|
2020-05-13 15:26:04 |
Stefan Bader |
attachment added |
|
fix-vmalloc-sync-all.patch https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1874521/+attachment/5370973/+files/fix-vmalloc-sync-all.patch |
|
2020-05-13 16:28:02 |
Ubuntu Foundations Team Bug Bot |
tags |
kernel-adt-failure |
kernel-adt-failure patch |
|
2020-05-13 17:19:34 |
Stefan Bader |
attachment added |
|
fix-vmalloc-sync-all.patch https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1874521/+attachment/5371013/+files/fix-vmalloc-sync-all.patch |
|
2020-05-14 06:46:15 |
Stefan Bader |
nominated for series |
|
Ubuntu Focal |
|
2020-05-14 06:46:15 |
Stefan Bader |
bug task added |
|
lttng-modules (Ubuntu Focal) |
|
2020-05-14 06:46:15 |
Stefan Bader |
nominated for series |
|
Ubuntu Xenial |
|
2020-05-14 06:46:15 |
Stefan Bader |
bug task added |
|
lttng-modules (Ubuntu Xenial) |
|
2020-05-14 06:46:15 |
Stefan Bader |
nominated for series |
|
Ubuntu Eoan |
|
2020-05-14 06:46:15 |
Stefan Bader |
bug task added |
|
lttng-modules (Ubuntu Eoan) |
|
2020-05-14 06:46:15 |
Stefan Bader |
nominated for series |
|
Ubuntu Bionic |
|
2020-05-14 06:46:15 |
Stefan Bader |
bug task added |
|
lttng-modules (Ubuntu Bionic) |
|
2020-05-14 06:46:25 |
Stefan Bader |
lttng-modules (Ubuntu): status |
New |
Triaged |
|
2020-05-14 06:46:32 |
Stefan Bader |
lttng-modules (Ubuntu): importance |
Undecided |
Medium |
|
2020-05-14 06:47:19 |
Stefan Bader |
lttng-modules (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2020-05-14 06:47:19 |
Stefan Bader |
lttng-modules (Ubuntu Xenial): status |
New |
Triaged |
|
2020-05-14 06:47:26 |
Stefan Bader |
lttng-modules (Ubuntu Bionic): status |
New |
Triaged |
|
2020-05-14 06:47:29 |
Stefan Bader |
lttng-modules (Ubuntu Eoan): status |
New |
Triaged |
|
2020-05-14 06:47:33 |
Stefan Bader |
lttng-modules (Ubuntu Focal): status |
New |
Triaged |
|
2020-05-14 06:47:37 |
Stefan Bader |
lttng-modules (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2020-05-14 06:47:39 |
Stefan Bader |
lttng-modules (Ubuntu Eoan): importance |
Undecided |
Medium |
|
2020-05-14 06:47:42 |
Stefan Bader |
lttng-modules (Ubuntu Focal): importance |
Undecided |
Medium |
|
2020-05-14 07:04:01 |
Stefan Bader |
description |
Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz |
Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz
[SRU Justification]
== Impact ==
In linux 5.6 upstream replaced vmalloc_sync_all() by vmalloc_sync_mappings() and vmalloc_sync_unmappings(). Lttng uses vmalloc_sync_all() from a wrapper to prevent recursive page faults. The call is either made directly in the code or, if kallsyms is available, by looking up its address and then jumping indirectly.
Recent stable updates backported that change into 4.4, 4.15, 5.3, and 5.4. This affects lttng-modules. Either the build fails completely (if kallsyms is not enabled). Or there will be warnings at runtime:
LTTng: vmalloc_sync_all symbol lookup failed.
Page fault handler and NMI tracing might trigger faults.
== Fix ==
The proposed fix would check the kernel header for vmalloc_sync_mappings and if available, replace strings and calls with the correct function name.
== Testcase ==
Installation of lttng-modules-dkms, depending on kernel configuration either the build will fail or loading lttng modules (tried lttng-probe-rcu manually but on each reboot all modules seem to get loaded) will produce above warning messages.
== Regression Potential ==
Low, without the new function name present, everything would be unchanged and once the change is there, functionality already is regressed. |
|
2020-05-14 07:05:05 |
Stefan Bader |
attachment removed |
fix-vmalloc-sync-all.patch https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5370973/+files/fix-vmalloc-sync-all.patch |
|
|
2020-05-18 12:48:25 |
Stefan Bader |
attachment added |
|
lttng-groovy.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5373389/+files/lttng-groovy.debdiff |
|
2020-05-19 13:36:18 |
Stefan Bader |
attachment added |
|
lttng-focal.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5374127/+files/lttng-focal.debdiff |
|
2020-05-19 13:36:34 |
Stefan Bader |
lttng-modules (Ubuntu Focal): status |
Triaged |
In Progress |
|
2020-05-19 13:36:41 |
Stefan Bader |
lttng-modules (Ubuntu Focal): assignee |
|
Stefan Bader (smb) |
|
2020-05-19 13:36:47 |
Stefan Bader |
lttng-modules (Ubuntu Eoan): status |
Triaged |
In Progress |
|
2020-05-19 13:36:51 |
Stefan Bader |
lttng-modules (Ubuntu Eoan): assignee |
|
Stefan Bader (smb) |
|
2020-05-19 13:39:10 |
Stefan Bader |
lttng-modules (Ubuntu): status |
Triaged |
Won't Fix |
|
2020-05-19 13:44:42 |
Stefan Bader |
description |
Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz
[SRU Justification]
== Impact ==
In linux 5.6 upstream replaced vmalloc_sync_all() by vmalloc_sync_mappings() and vmalloc_sync_unmappings(). Lttng uses vmalloc_sync_all() from a wrapper to prevent recursive page faults. The call is either made directly in the code or, if kallsyms is available, by looking up its address and then jumping indirectly.
Recent stable updates backported that change into 4.4, 4.15, 5.3, and 5.4. This affects lttng-modules. Either the build fails completely (if kallsyms is not enabled). Or there will be warnings at runtime:
LTTng: vmalloc_sync_all symbol lookup failed.
Page fault handler and NMI tracing might trigger faults.
== Fix ==
The proposed fix would check the kernel header for vmalloc_sync_mappings and if available, replace strings and calls with the correct function name.
== Testcase ==
Installation of lttng-modules-dkms, depending on kernel configuration either the build will fail or loading lttng modules (tried lttng-probe-rcu manually but on each reboot all modules seem to get loaded) will produce above warning messages.
== Regression Potential ==
Low, without the new function name present, everything would be unchanged and once the change is there, functionality already is regressed. |
Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz
[SRU Justification]
== Impact ==
In linux 5.6 upstream replaced vmalloc_sync_all() by vmalloc_sync_mappings() and vmalloc_sync_unmappings(). Lttng uses vmalloc_sync_all() from a wrapper to prevent recursive page faults. The call is either made directly in the code or, if kallsyms is available, by looking up its address and then jumping indirectly.
Recent stable updates backported that change into 4.4, 4.15, 5.3, and 5.4. This affects lttng-modules. Either the build fails completely (if kallsyms is not enabled). Or there will be warnings at runtime:
LTTng: vmalloc_sync_all symbol lookup failed.
Page fault handler and NMI tracing might trigger faults.
== Fix ==
Backporting 4 patches from upstream lttng fixes the issue for 4.4 and 5.4 (as those allow matching against linux kernel version). For 4.15 and 5.3 and additional patch adds Ubuntu specific version ranges.
== Testcase ==
Installation of lttng-modules-dkms, depending on kernel configuration either the build will fail or loading lttng-test (or checking dmesg after reboot) will show warnings.
With the changes applied the build succeeds in all cases and no warnings appear.
== Regression Potential ==
Low, without the new function name present, everything would be unchanged and once the change is there, functionality already is regressed. |
|
2020-05-19 13:51:51 |
Stefan Bader |
description |
Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz
[SRU Justification]
== Impact ==
In linux 5.6 upstream replaced vmalloc_sync_all() by vmalloc_sync_mappings() and vmalloc_sync_unmappings(). Lttng uses vmalloc_sync_all() from a wrapper to prevent recursive page faults. The call is either made directly in the code or, if kallsyms is available, by looking up its address and then jumping indirectly.
Recent stable updates backported that change into 4.4, 4.15, 5.3, and 5.4. This affects lttng-modules. Either the build fails completely (if kallsyms is not enabled). Or there will be warnings at runtime:
LTTng: vmalloc_sync_all symbol lookup failed.
Page fault handler and NMI tracing might trigger faults.
== Fix ==
Backporting 4 patches from upstream lttng fixes the issue for 4.4 and 5.4 (as those allow matching against linux kernel version). For 4.15 and 5.3 and additional patch adds Ubuntu specific version ranges.
== Testcase ==
Installation of lttng-modules-dkms, depending on kernel configuration either the build will fail or loading lttng-test (or checking dmesg after reboot) will show warnings.
With the changes applied the build succeeds in all cases and no warnings appear.
== Regression Potential ==
Low, without the new function name present, everything would be unchanged and once the change is there, functionality already is regressed. |
Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz
[SRU Justification]
== Impact ==
In linux 5.6 upstream replaced vmalloc_sync_all() by vmalloc_sync_mappings() and vmalloc_sync_unmappings(). Lttng uses vmalloc_sync_all() from a wrapper to prevent recursive page faults. The call is either made directly in the code or, if kallsyms is available, by looking up its address and then jumping indirectly.
Recent stable updates backported that change into 4.4, 4.15, 5.3, and 5.4. This affects lttng-modules. Either the build fails completely (if kallsyms is not enabled). Or there will be warnings at runtime:
LTTng: vmalloc_sync_all symbol lookup failed.
Page fault handler and NMI tracing might trigger faults.
== Fix ==
Backporting 4 patches from upstream lttng fixes the issue for 4.4 and 5.4 (as those allow matching against linux kernel version). For 4.15 and 5.3 and additional patch adds Ubuntu specific version ranges.
Note, that this last patch also adds a range for 5.0 which was Disco. This should not hurt and also indirectly is needed for some backport kernels in 18.04/Bionic. But I want to try keeping the patches as similar as possible across releases.
== Testcase ==
Installation of lttng-modules-dkms, depending on kernel configuration either the build will fail or loading lttng-test (or checking dmesg after reboot) will show warnings.
With the changes applied the build succeeds in all cases and no warnings appear.
== Regression Potential ==
Low, without the new function name present, everything would be unchanged and once the change is there, functionality already is regressed. |
|
2020-05-19 19:11:44 |
Stefan Bader |
attachment added |
|
lttng-eoan.debdiff https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1874521/+attachment/5374286/+files/lttng-eoan.debdiff |
|
2020-05-20 14:49:21 |
Stefan Bader |
lttng-modules (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2020-05-20 14:49:21 |
Stefan Bader |
lttng-modules (Ubuntu Bionic): assignee |
|
Stefan Bader (smb) |
|
2020-05-20 19:53:55 |
Stefan Bader |
attachment added |
|
lttng-bionic.debdiff https://bugs.launchpad.net/ubuntu/bionic/+source/lttng-modules/+bug/1874521/+attachment/5374829/+files/lttng-bionic.debdiff |
|
2020-05-20 19:54:53 |
Stefan Bader |
attachment added |
|
lttng-xenial.debdiff https://bugs.launchpad.net/ubuntu/bionic/+source/lttng-modules/+bug/1874521/+attachment/5374830/+files/lttng-xenial.debdiff |
|
2020-05-20 19:55:07 |
Stefan Bader |
lttng-modules (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2020-05-20 19:55:07 |
Stefan Bader |
lttng-modules (Ubuntu Xenial): assignee |
|
Stefan Bader (smb) |
|
2020-05-20 19:55:56 |
Stefan Bader |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2020-06-08 13:02:29 |
Stefan Bader |
attachment added |
|
lttng-focal-v2.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5381641/+files/lttng-focal-v2.debdiff |
|
2020-06-08 15:00:24 |
Stefan Bader |
attachment added |
|
lttng-focal-v3.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5381680/+files/lttng-focal-v3.debdiff |
|
2020-06-08 15:01:07 |
Stefan Bader |
attachment added |
|
lttng-eoan-v2.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5381681/+files/lttng-eoan-v2.debdiff |
|
2020-06-08 15:02:12 |
Stefan Bader |
attachment added |
|
lttng-bionic-v2.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/lttng-modules/+bug/1874521/+attachment/5381682/+files/lttng-bionic-v2.debdiff |
|
2020-06-16 20:43:56 |
Brian Murray |
lttng-modules (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-06-16 20:43:58 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-06-16 20:44:01 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2020-06-16 20:44:04 |
Brian Murray |
tags |
kernel-adt-failure patch |
kernel-adt-failure patch verification-needed verification-needed-focal |
|
2020-06-16 20:49:19 |
Brian Murray |
lttng-modules (Ubuntu Eoan): status |
In Progress |
Fix Committed |
|
2020-06-16 20:49:25 |
Brian Murray |
tags |
kernel-adt-failure patch verification-needed verification-needed-focal |
kernel-adt-failure patch verification-needed verification-needed-eoan verification-needed-focal |
|
2020-06-16 20:58:59 |
Brian Murray |
lttng-modules (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2020-06-16 20:59:04 |
Brian Murray |
tags |
kernel-adt-failure patch verification-needed verification-needed-eoan verification-needed-focal |
kernel-adt-failure patch verification-needed verification-needed-bionic verification-needed-eoan verification-needed-focal |
|
2020-06-16 21:05:13 |
Brian Murray |
lttng-modules (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2020-06-16 21:05:20 |
Brian Murray |
tags |
kernel-adt-failure patch verification-needed verification-needed-bionic verification-needed-eoan verification-needed-focal |
kernel-adt-failure patch verification-needed verification-needed-bionic verification-needed-eoan verification-needed-focal verification-needed-xenial |
|
2020-06-16 21:08:19 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2020-06-17 13:10:25 |
Stefan Bader |
tags |
kernel-adt-failure patch verification-needed verification-needed-bionic verification-needed-eoan verification-needed-focal verification-needed-xenial |
kernel-adt-failure patch verification-done-focal verification-needed verification-needed-bionic verification-needed-eoan verification-needed-xenial |
|
2020-06-17 13:25:57 |
Stefan Bader |
tags |
kernel-adt-failure patch verification-done-focal verification-needed verification-needed-bionic verification-needed-eoan verification-needed-xenial |
kernel-adt-failure patch verification-done-eoan verification-done-focal verification-needed verification-needed-bionic verification-needed-xenial |
|
2020-06-17 14:06:51 |
Stefan Bader |
tags |
kernel-adt-failure patch verification-done-eoan verification-done-focal verification-needed verification-needed-bionic verification-needed-xenial |
kernel-adt-failure patch verification-done-bionic verification-done-eoan verification-done-focal verification-needed verification-needed-xenial |
|
2020-06-17 14:30:44 |
Stefan Bader |
tags |
kernel-adt-failure patch verification-done-bionic verification-done-eoan verification-done-focal verification-needed verification-needed-xenial |
kernel-adt-failure patch verification-done verification-done-bionic verification-done-eoan verification-done-focal verification-done-xenial |
|
2020-06-24 00:16:31 |
Launchpad Janitor |
lttng-modules (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2020-06-24 00:16:39 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-06-24 00:16:55 |
Launchpad Janitor |
lttng-modules (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-06-24 00:18:10 |
Launchpad Janitor |
lttng-modules (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2020-06-24 00:19:41 |
Launchpad Janitor |
lttng-modules (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|