** 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
     0x00000f046fb04550 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 0x00000e3dcc384550 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 0x0000059efa3c4af0 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 0x00000baa1a664750 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 0x000003b22e124920 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 0x00000a07e9bb47e0 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 0x000001b0f3644820 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 0x00000ac0538147e0 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 0x00000d1eaeab4800 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 0x0000034ed21e4730 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 0x00000a5b9a844780 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 0x000008b649fb4870 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 0x0000063184dc4970 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 0x00000e62316248d0 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 0x00000f02572846c0 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 0x00000ef1f78f4ae0 for symbol `' out of range
  not ok 1..15 selftests:  instruction_count_test [FAIL]
  selftests: fork_cleanup_test
  ========================================
  ./fork_cleanup_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x00000adc96c34700 for symbol `' out of range
  not ok 1..16 selftests:  fork_cleanup_test [FAIL]
  selftests: ebb_on_child_test
  ========================================
  ./ebb_on_child_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x00000a96aed74790 for symbol `' out of range
  not ok 1..17 selftests:  ebb_on_child_test [FAIL]
  selftests: ebb_on_willing_child_test
  ========================================
  ./ebb_on_willing_child_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x00000275daf747b0 for symbol `' out of range
  not ok 1..18 selftests:  ebb_on_willing_child_test [FAIL]
  selftests: back_to_back_ebbs_test
  ========================================
  ./back_to_back_ebbs_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x000005eb74dd47f0 for symbol `' out of range
  not ok 1..19 selftests:  back_to_back_ebbs_test [FAIL]
  selftests: lost_exception_test
  ========================================
  ./lost_exception_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x000002a39f5c4830 for symbol `' out of range
  not ok 1..20 selftests:  lost_exception_test [FAIL]
  selftests: no_handler_test
  ========================================
  ./no_handler_test: error while loading shared libraries: R_PPC64_ADDR16_HI 
reloc at 0x00000ac7d0b64650 for symbol `' out of range
  not ok 1..21 selftests:  no_handler_test [FAIL]
  selftests: cycles_with_mmcr2_test
  ========================================
  ./cycles_with_mmcr2_test: error while loading shared libraries: 
R_PPC64_ADDR16_HI reloc at 0x00000c8d2f3347e0 for symbol `' out of range
  not ok 1..22 selftests:  cycles_with_mmcr2_test [FAIL]

  For the ptrace in powerpc (powerpc/ptrace):
  test: ptrace_tm_spd_gpr
  tags: git_version:c186097-dirty
  !! killing ptrace_tm_spd_gpr
  !! child died by signal 15
  failure: ptrace_tm_spd_gpr
  not ok 1..3 selftests:  ptrace-tm-spd-gpr [FAIL]

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-43-generic 4.15.0-43.46
  ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
  Uname: Linux 4.15.0-43-generic ppc64le
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jan 22 04:30 seq
   crw-rw---- 1 root audio 116, 33 Jan 22 04:30 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: ppc64el
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Tue Jan 22 06:56:25 2019
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  PciMultimedia:

  ProcFB:

  ProcKernelCmdLine: root=/dev/mapper/mpath0-part2 ro console=hvc0
  ProcLoadAvg: 0.08 0.02 0.02 1/1489 41341
  ProcSwaps:
   Filename                             Type            Size    Used    Priority
   /swap.img                               file         8388544 0       -2
  ProcVersion: Linux version 4.15.0-43-generic (buildd@bos02-ppc64el-020) (gcc 
version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:43:28 UTC 
2018
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-43-generic N/A
   linux-backports-modules-4.15.0-43-generic  N/A
   linux-firmware                             1.173.3
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  VarLogDump_list: total 0
  cpu_cores: Number of cores present = 20
  cpu_coreson: Number of cores online = 20
  cpu_dscr: DSCR is 0
  cpu_freq:
   min: 3.694 GHz (cpu 159)
   max: 3.694 GHz (cpu 1)
   avg: 3.694 GHz
  cpu_runmode:
   Could not retrieve current diagnostics mode,
   No kernel interface to firmware
  cpu_smt: SMT=8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1812805/+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

Reply via email to