[Bug 1520162] Re: compiled binaries don't work on arm64 64k pages kernel due to alignment

2015-11-26 Thread Lorenzo Pieralisi
Yes, even though some of the executables are 64K aligned (eg /bin/bash and I can use that as init= without an issue), I do not know why that's the case or if I did something wrong while updating packages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

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

2015-11-26 Thread Lorenzo Pieralisi
The following splat is from an aarch64 4.4-rc2 kernel, compiled with 64K pages support, system can't reach user space since systemd fails to execute (the same set-up works for 4K pages kernel). Freeing unused kernel memory: 576K (fe83 - fe8c) Starting init: /sbin/init exi

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

2015-11-26 Thread Lorenzo Pieralisi
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 Off

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

2015-11-26 Thread Lorenzo Pieralisi
** Package changed: ubuntu => systemd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1520162 Title: Systemd init failure on arm64 64k pages To manage notifications about this bug go to: htt

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

2015-11-26 Thread Lorenzo Pieralisi
Public bug reported: 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. *