[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-06-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.18.0-21.22

---
linux (4.18.0-21.22) cosmic; urgency=medium

  * linux: 4.18.0-21.22 -proposed tracker (LP: #1829186)

  * disable a.out support (LP: #1818552)
- [Config] Turn off a.out support

  * ftrace in ubuntu_kernel_selftests hang with Cosmic kernel (LP: #1826385)
- kprobes/x86: Fix instruction patching corruption when copying more than 
one
  RIP-relative instruction

  * touchpad not working on lenovo yoga 530 (LP: #1787775)
- Revert "UBUNTU: SAUCE: i2c:amd Depends on ACPI"
- Revert "UBUNTU: SAUCE: i2c:amd move out pointer in union i2c_event_base"
- Revert "UBUNTU: SAUCE: i2c:amd I2C Driver based on PCI Interface for
  upcoming platform"
- i2c: add extra check to safe DMA buffer helper
- i2c: Add drivers for the AMD PCIe MP2 I2C controller
- [Config] Update config for AMD MP2 I2C driver
- [Config] Update I2C_AMD_MP2 annotations

  * Geneve tunnels don't work when ipv6 is disabled (LP: #1794232)
- geneve: correctly handle ipv6.disable module parameter

  * There are 4 HDMI/Displayport audio output listed in sound setting without
attach any HDMI/DP monitor (LP: #1827967)
- ALSA: hda/hdmi - Read the pin sense from register when repolling
- ALSA: hda/hdmi - Consider eld_valid when reporting jack event

  * Headphone jack switch sense is inverted: plugging in headphones disables
headphone output (LP: #1824259)
- ASoC: rt5645: Headphone Jack sense inverts on the LattePanda board

  * CTAUTO:DevOps:860.50:devops4fp1:Error occurred during LINUX Dmesg error
Checking for all LINUX clients for devops4p10 (LP: #1766201)
- SAUCE: integrity: downgrade error to warning

  * potential memory corruption on arm64 on dev release (LP: #1827437)
- driver core: Postpone DMA tear-down until after devres release

  * powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while
loading shared libraries" on Bionic/Cosmic PowerPC (LP: #1812805)
- selftests/powerpc/pmu: Link ebb tests with -no-pie

  * unnecessary request_queue freeze (LP: #1815733)
- block: avoid setting nr_requests to current value
- block: avoid setting none scheduler if it's already none

  * Kprobe event string type argument failed in ftrace from
ubuntu_kernel_selftests on B/C i386 (LP: #1825780)
- selftests/ftrace: Fix kprobe string testcase to not probe notrace function

  * False positive test result in run_netsocktests from net in
ubuntu_kernel_selftest (LP: #1825777)
- selftests/net: correct the return value for run_netsocktests

 -- Stefan Bader   Wed, 15 May 2019 13:18:36
+0200

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Cosmic:
  Fix Released

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of 

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-06-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-51.55

---
linux (4.15.0-51.55) bionic; urgency=medium

  * linux: 4.15.0-51.55 -proposed tracker (LP: #1829219)

  * disable a.out support (LP: #1818552)
- [Config] Disable a.out support

  * [UBUNTU] qdio: clear intparm during shutdown (LP: #1828394)
- s390/qdio: clear intparm during shutdown

  * ftrace in ubuntu_kernel_selftests hang with Cosmic kernel (LP: #1826385)
- kprobes/x86: Fix instruction patching corruption when copying more than 
one
  RIP-relative instruction

  * touchpad not working on lenovo yoga 530 (LP: #1787775)
- Revert "UBUNTU: SAUCE: i2c:amd Depends on ACPI"
- Revert "UBUNTU: SAUCE: i2c:amd move out pointer in union i2c_event_base"
- Revert "UBUNTU: SAUCE: i2c:amd I2C Driver based on PCI Interface for
  upcoming platform"
- i2c: add helpers to ease DMA handling
- i2c: add a message flag for DMA safe buffers
- i2c: add extra check to safe DMA buffer helper
- i2c: Add drivers for the AMD PCIe MP2 I2C controller
- [Config] Update config for AMD MP2 I2C driver
- [Config] Update I2C_AMD_MP2 annotations

  * tm-unavailable in powerpc/tm failed on Bionic Power9 (LP: #1813129)
- selftests/powerpc: Check for pthread errors in tm-unavailable
- selftests/powerpc: Skip tm-unavailable if TM is not enabled

  * cp_abort in powerpc/context_switch from ubunut_kernel_selftests failed on
Bionic P9 (LP: #1813134)
- selftests/powerpc: Remove redundant cp_abort test

  * bionic/linux: completely remove snapdragon files from sources (LP: #1827880)
- [Packaging] remove snapdragon dead files
- [Config] update configs after snapdragon removal

  * The noise keeps occurring when Headset is plugged in on a Dell machine
(LP: #1827972)
- ALSA: hda/realtek - Fixed Dell AIO speaker noise

  * Geneve tunnels don't work when ipv6 is disabled (LP: #1794232)
- geneve: correctly handle ipv6.disable module parameter

  * There are 4 HDMI/Displayport audio output listed in sound setting without
attach any HDMI/DP monitor (LP: #1827967)
- ALSA: hda/hdmi - Read the pin sense from register when repolling
- ALSA: hda/hdmi - Consider eld_valid when reporting jack event

  * Headphone jack switch sense is inverted: plugging in headphones disables
headphone output (LP: #1824259)
- ASoC: rt5645: Headphone Jack sense inverts on the LattePanda board

  * CTAUTO:DevOps:860.50:devops4fp1:Error occurred during LINUX Dmesg error
Checking for all LINUX clients for devops4p10 (LP: #1766201)
- SAUCE: integrity: downgrade error to warning

  * Screen freeze after resume from S3 when HDMI monitor plugged on Dell
Precision 7740 (LP: #1825958)
- PCI: Restore resized BAR state on resume

  * potential memory corruption on arm64 on dev release (LP: #1827437)
- driver core: Postpone DMA tear-down until after devres release

  * powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while
loading shared libraries" on Bionic/Cosmic PowerPC (LP: #1812805)
- selftests/powerpc/pmu: Link ebb tests with -no-pie

  * unnecessary request_queue freeze (LP: #1815733)
- block: avoid setting nr_requests to current value
- block: avoid setting none scheduler if it's already none

  * Kprobe event string type argument failed in ftrace from
ubuntu_kernel_selftests on B/C i386 (LP: #1825780)
- selftests/ftrace: Fix kprobe string testcase to not probe notrace function

  * hns: fix socket accounting (LP: #1826911)
- net: hns: fix skb->truesize underestimation

  * False positive test result in run_netsocktests from net in
ubuntu_kernel_selftest (LP: #1825777)
- selftests/net: correct the return value for run_netsocktests

 -- Kleber Sacilotto de Souza   Wed, 15 May
2019 14:48:35 +0200

** Changed in: linux (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

** Changed in: linux (Ubuntu Cosmic)
   Status: Fix Committed => Fix Released

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Cosmic:
  Fix Released

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be 

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-05-22 Thread Po-Hsu Lin
Passed with proposed Cosmic kernel.

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

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 selftests:  pmae_handling_test [FAIL]
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-05-21 Thread Po-Hsu Lin
** Changed in: ubuntu-kernel-tests
   Status: In Progress => Fix Released

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 selftests:  pmae_handling_test [FAIL]
  selftests: close_clears_pmcc_test
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-05-20 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the 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-
cosmic' to 'verification-done-cosmic'. If the problem still exists,
change the tag 'verification-needed-cosmic' to 'verification-failed-
cosmic'.

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: verification-needed-cosmic

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-05-19 Thread Po-Hsu Lin
Passed with the proposed Bionic kernel.

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

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 selftests:  pmae_handling_test [FAIL]
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-05-16 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the 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-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

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: verification-needed-bionic

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-05-06 Thread Khaled El Mously
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Changed in: linux (Ubuntu Cosmic)
   Status: In Progress => Fix Committed

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-04-30 Thread Po-Hsu Lin
https://lists.ubuntu.com/archives/kernel-team/2019-April/100365.html

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Cosmic:
  In Progress

Bug description:
  == Justification ==
  The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
 error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
 0x0f046fb04550 for symbol `' out of range

  This is because the Ubuntu toolchain builds has PIE enabled by
  default.

  == Fix ==
  98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)

  This fix will use -no-pie flag to build the test.

  Patch already landed in Disco, and can be cherry-picked for B/C.
  For Xenial, we don't have this test in our tree thus it can be ignored.

  == Test ==
  Patch verified on a Bionic P9 system, all the ebb tests will pass. 

  == Regression Potential ==
  None.
  This patchset is just for the kernel testing tool.

  
  == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 selftests:  pmae_handling_test [FAIL]
  selftests: close_clears_pmcc_test
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-04-24 Thread Po-Hsu Lin
** Description changed:

+ == Justification ==
+ The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
+error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
+0x0f046fb04550 for symbol `' out of range
+ 
+ This is because the Ubuntu toolchain builds has PIE enabled by default.
+ 
+ == Fix ==
+ 98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)
+ 
+ This fix will use -no-pie flag to build the test.
+ 
+ Patch already landed in Disco, and can be cherry-picked for B/C.
+ For Xenial, we don't have this test in our tree thus it can be ignored.
+ 
+ == Test ==
+ Patch verified on a Bionic P9 system, all the ebb tests will pass. 
+ 
+ == Regression Potential ==
+ None.
+ This patchset is just for the kernel testing tool.
+ 
+ 
+ == Original Bug Report ==
  In linux/tools/testing/selftests/powerpc/pmu/ebb:
  
  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 selftests:  pmae_handling_test [FAIL]
  selftests: close_clears_pmcc_test
  
  ./close_clears_pmcc_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0f02572846c0 for symbol `' out of range
  not ok 1..14 selftests:  close_clears_pmcc_test [FAIL]
  selftests: instruction_count_test
  
  ./instruction_count_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ef1f78f4ae0 for symbol `' out of range
  not ok 1..15 selftests:  instruction_count_test [FAIL]
  selftests: fork_cleanup_test
  

[Kernel-packages] [Bug 1812805] Re: powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC

2019-04-23 Thread Po-Hsu Lin
Patch already applied in Disco.

** Summary changed:

- powerpc/pmu/ebb test in ubuntu_kernel_selftest failed on Bionic/Cosmic PowerPC
+ powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while 
loading shared libraries" on Bionic/Cosmic PowerPC

** Changed in: ubuntu-kernel-tests
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu Cosmic)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: ubuntu-kernel-tests
   Status: New => In Progress

** Changed in: linux (Ubuntu Cosmic)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
   Status: Confirmed => Fix Released

** Tags added: cosmic

-- 
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/1812805

Title:
  powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error
  while loading shared libraries" on Bionic/Cosmic PowerPC

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Cosmic:
  In Progress

Bug description:
  In linux/tools/testing/selftests/powerpc/pmu/ebb:

  selftests: reg_access_test
  
  ./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e3dcc384550 for symbol `' out of range
  not ok 1..1 selftests:  reg_access_test [FAIL]
  selftests: event_attributes_test
  
  ./event_attributes_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x059efa3c4af0 for symbol `' out of range
  not ok 1..2 selftests:  event_attributes_test [FAIL]
  selftests: cycles_test
  
  ./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc 
at 0x0baa1a664750 for symbol `' out of range
  not ok 1..3 selftests:  cycles_test [FAIL]
  selftests: cycles_with_freeze_test
  
  ./cycles_with_freeze_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x03b22e124920 for symbol `' out of range
  not ok 1..4 selftests:  cycles_with_freeze_test [FAIL]
  selftests: pmc56_overflow_test
  
  ./pmc56_overflow_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a07e9bb47e0 for symbol `' out of range
  not ok 1..5 selftests:  pmc56_overflow_test [FAIL]
  selftests: ebb_vs_cpu_event_test
  
  ./ebb_vs_cpu_event_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x01b0f3644820 for symbol `' out of range
  not ok 1..6 selftests:  ebb_vs_cpu_event_test [FAIL]
  selftests: cpu_event_vs_ebb_test
  
  ./cpu_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0ac0538147e0 for symbol `' out of range
  not ok 1..7 selftests:  cpu_event_vs_ebb_test [FAIL]
  selftests: cpu_event_pinned_vs_ebb_test
  
  ./cpu_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0d1eaeab4800 for symbol `' out of range
  not ok 1..8 selftests:  cpu_event_pinned_vs_ebb_test [FAIL]
  selftests: task_event_vs_ebb_test
  
  ./task_event_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x034ed21e4730 for symbol `' out of range
  not ok 1..9 selftests:  task_event_vs_ebb_test [FAIL]
  selftests: task_event_pinned_vs_ebb_test
  
  ./task_event_pinned_vs_ebb_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0a5b9a844780 for symbol `' out of range
  not ok 1..10 selftests:  task_event_pinned_vs_ebb_test [FAIL]
  selftests: multi_ebb_procs_test
  
  ./multi_ebb_procs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x08b649fb4870 for symbol `' out of range
  not ok 1..11 selftests:  multi_ebb_procs_test [FAIL]
  selftests: multi_counter_test
  
  ./multi_counter_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x063184dc4970 for symbol `' out of range
  not ok 1..12 selftests:  multi_counter_test [FAIL]
  selftests: pmae_handling_test
  
  ./pmae_handling_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x0e62316248d0 for symbol `' out of range
  not ok 1..13 selftests:  pmae_handling_test [FAIL]
  selftests: close_clears_pmcc_test
  
  ./close_clears_pmcc_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x0f02572846c0 for symbol `' out of range