← Back to team overview

touch-packages team mailing list archive

[Bug 1520162] Re: Systemd init failure on arm64 64k pages

 

And this is where I think the problem is, in particular the align field
for the LOAD headers.

aarch64-linux-gnu-readelf -Wl /lib/systemd/systemd

Elf file type is DYN (Shared object file)
Entry point 0x2c8d0
There are 10 program headers, starting at offset 64

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
  PHDR           0x000040 0x0000000000000040 0x0000000000000040 0x000230 0x000230 R   0x8
  INTERP         0x000270 0x0000000000000270 0x0000000000000270 0x00001b 0x00001b R   0x1
      [Requesting program interpreter: /lib/ld-linux-aarch64.so.1]
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x120d5c 0x120d5c R E 0x1000
  LOAD           0x120db0 0x0000000000121db0 0x0000000000121db0 0x01faf0 0x020438 RW  0x1000
  DYNAMIC        0x13f150 0x0000000000140150 0x0000000000140150 0x0002b0 0x0002b0 RW  0x8
  NOTE           0x00028c 0x000000000000028c 0x000000000000028c 0x000044 0x000044 R   0x4
  GNU_EH_FRAME   0x120d54 0x0000000000120d54 0x0000000000120d54 0x000008 0x000008 R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW  0
  TLS            0x120db0 0x0000000000121db0 0x0000000000121db0 0x000008 0x000084 R   0x8
  GNU_RELRO      0x120db0 0x0000000000121db0 0x0000000000121db0 0x01f250 0x01f250 RW  0x8

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1520162

Title:
  Systemd init failure on arm64 64k pages

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Some binaries in 15.10 for aarch64 seem to be compiled with maxpagesize=4K which triggers issues when run on 64K pages
  arm64 kernels (tested on all kernels back to 4.0). I spotted this while trying to boot an arm64 kernel with 64K pages enabled on 15.10 Ubuntu filesystem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1520162/+subscriptions