On 10/26/16 at 10:08am, Dave Young wrote:
On 10/25/16 at 07:53pm, Pratyush Anand wrote:
> Hi Pingfan,
>
> On Tuesday 25 October 2016 03:17 PM, Pingfan Liu wrote:
> > From: Pingfan Liu <piliu(a)redhat.com>
> >
> > Fix Bug 925630 - kexec-tools: support for arm64
> >
https://bugzilla.redhat.com/show_bug.cgi?id=925630
> > involves two things:
> > 1. back porting upstream code to enable the function of kexec-tools on arm64
> > patchset backported from upstream:
> > commit abdfe97736f89d9bc73662b9134604b0229a599e
> > commit 522df5f7217fda01ece3f6ac3e9987b0320c2bb0
> > commit 217bcc00c9309416a6c6cd0584196559d28a9259
> > 2. fix the arm related building issue by using autoreconf in spec file
>
>
> Thanks for the update.
>
> I noticed that koji build introduced new relocation and `kexec -l` failed
> with following error:
>
> machine_apply_elf_rel: ERROR Unknown type: 275
Pratyush, where did you see the error?
Seems it works for me without your patches:
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3761376
It has been built successfully, could you take the rpm and do some basic
kexec test?
Thanks
Dave
> >
> > I used following patch(also attached here) which resolved above error
> >
> >
https://patchwork.kernel.org/patch/9386541/
> >
> > However, there was further relocation error for 261.
> >
> > Fix for that is here(also attached)
> >
https://github.com/pratyushanand/kexec-tools/commit/3a3c61cb7f129936e5752...
> >
> > So, I think you should also add attached patches in this commit.
> >
> > @pbrobinson: How can I know the gcc version used by koji build. I need to
> > mention that in the commit log of my patch which I would send upstream.
> > Moreover, with above additional two patches kexec-tools seems fine, but
> > still fedora-kernel-arm64/devel (with fh_defconfig+kexec enabled) did not
> > reboot on a seattle platform (Nothing after "Bye"). Will debug and
come back
> > on it.
>
> Assume the gcc version is same for all arches, it should be 6.2.1-2.fc25:
>
https://kojipkgs.fedoraproject.org//work/tasks/1209/16201209/root.log
> ...
> DEBUG util.py:421: gcc x86_64 6.2.1-2.fc25 build 20 M
> ...
>
> Thanks
> Dave
> _______________________________________________
> kexec mailing list -- kexec(a)lists.fedoraproject.org
> To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org