Hi all,
With the original ISO and updated kernel using VA length set to 48 bits we got an issue wit polkitd crash because of mozjs can't work with 48 bits VA. There is an open bug https://bugzilla.mozilla.org/show_bug.cgi?id=1143022 but there are not much updates.
So I applied patch for mozjs, recreate rpm and tested it - works well, no crashes observed. For my setup I need to have it installed automatically at system deployment phase using installer ISO. Now every time I need to update mozjs rpm manually along with kernel rpm.
I've tried to repack existing ISO with my rpms (updating packages repository) but in this case anaconda fails to proceed installation due to rpms signing checks of something like that. It looks like I need to recreate whole ISO from scratch, or properly update repodata for packages (simple createrepo is not enough) isn't it?
I believe that I need to use CentOS deployed at armv8 system and use lorax to create an ISO , is that right or it could be built in cross-compiler environment?
We also will need to add some extra packages for KVM support and this could help us also.
WBR, Vadim
On 05/23/2016 01:37 PM, Lomovtsev, Vadim wrote:
Hi all,
With the original ISO and updated kernel using VA length set to 48 bits we got an issue wit polkitd crash because of mozjs can't work with 48 bits VA. There is an open bug https://bugzilla.mozilla.org/show_bug.cgi?id=1143022 but there are not much updates.
So I applied patch for mozjs, recreate rpm and tested it - works well, no crashes observed.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
For my setup I need to have it installed automatically at system deployment phase using installer ISO. Now every time I need to update mozjs rpm manually along with kernel rpm.
Correct. This is one of the reasons we try to push for folks to upstream their work. Otherwise you get a snowball of things you have to maintain yourself that just keeps growing.
I've tried to repack existing ISO with my rpms (updating packages repository) but in this case anaconda fails to proceed installation due to rpms signing checks of something like that. It looks like I need to recreate whole ISO from scratch, or properly update repodata for packages (simple createrepo is not enough) isn't it?
This is likely because yum checks that the packages are properly GPG signed on install. Since your package isn't signed with the distro key it may not behave as you'd expect.
I believe that I need to use CentOS deployed at armv8 system and use lorax to create an ISO , is that right or it could be built in cross-compiler environment?
You should be able to create the metadata from any centos install, however cross-compiling it would probably break things.
We also will need to add some extra packages for KVM support and this could help us also.
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
Hi Jim,
Thanks for reply.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
- for mozjs17 package I've applied this one https://bugzilla.mozilla.org/attachment.cgi?id=8740353 - probably you may want to apply patch for mozjs24 package also (https://bugzilla.mozilla.org/attachment.cgi?id=8740354);
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
There are a lots of testing to be done first with original packages, but probably we may want to provide patched qemu.
Vadim
p.s. sorry for reply format... ________________________________________ From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Monday, May 23, 2016 10:33:55 PM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 01:37 PM, Lomovtsev, Vadim wrote:
Hi all,
With the original ISO and updated kernel using VA length set to 48 bits we got an issue wit polkitd crash because of mozjs can't work with 48 bits VA. There is an open bug https://bugzilla.mozilla.org/show_bug.cgi?id=1143022 but there are not much updates.
So I applied patch for mozjs, recreate rpm and tested it - works well, no crashes observed.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
For my setup I need to have it installed automatically at system deployment phase using installer ISO. Now every time I need to update mozjs rpm manually along with kernel rpm.
Correct. This is one of the reasons we try to push for folks to upstream their work. Otherwise you get a snowball of things you have to maintain yourself that just keeps growing.
I've tried to repack existing ISO with my rpms (updating packages repository) but in this case anaconda fails to proceed installation due to rpms signing checks of something like that. It looks like I need to recreate whole ISO from scratch, or properly update repodata for packages (simple createrepo is not enough) isn't it?
This is likely because yum checks that the packages are properly GPG signed on install. Since your package isn't signed with the distro key it may not behave as you'd expect.
I believe that I need to use CentOS deployed at armv8 system and use lorax to create an ISO , is that right or it could be built in cross-compiler environment?
You should be able to create the metadata from any centos install, however cross-compiling it would probably break things.
We also will need to add some extra packages for KVM support and this could help us also.
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 05/23/2016 03:02 PM, Lomovtsev, Vadim wrote:
Hi Jim,
Thanks for reply.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
- for mozjs17 package I've applied this one https://bugzilla.mozilla.org/attachment.cgi?id=8740353
- probably you may want to apply patch for mozjs24 package also (https://bugzilla.mozilla.org/attachment.cgi?id=8740354);
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
There are a lots of testing to be done first with original packages, but probably we may want to provide patched qemu.
Vadim
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
About week ago I did fresh system install with custom kernel and were able to see issue. Then did "yum update" but the were no updates for mozjs17 package as far as I can remember. So issue was fixed by updating and rebuilding mozjs with patch. Let me check it once again to be sure that I didn't miss something (will run whole install and yum update) and I'll get back to you tomorrow. ________________________________________ From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Monday, May 23, 2016 11:22:41 PM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 03:02 PM, Lomovtsev, Vadim wrote:
Hi Jim,
Thanks for reply.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
- for mozjs17 package I've applied this one https://bugzilla.mozilla.org/attachment.cgi?id=8740353
- probably you may want to apply patch for mozjs24 package also (https://bugzilla.mozilla.org/attachment.cgi?id=8740354);
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
There are a lots of testing to be done first with original packages, but probably we may want to provide patched qemu.
Vadim
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 05/23/2016 03:56 PM, Lomovtsev, Vadim wrote:
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
About week ago I did fresh system install with custom kernel and were able to see issue. Then did "yum update" but the were no updates for mozjs17 package as far as I can remember. So issue was fixed by updating and rebuilding mozjs with patch. Let me check it once again to be sure that I didn't miss something (will run whole install and yum update) and I'll get back to you tomorrow.
It'll be tomorrow or so before I'm able to roll the patch out. Until then there won't be any change. My question was more, does the server die immediately on install (thus needing the patch for installation) or does it boot enough to get updates. If it can get updates, then that's a much easier fix.
From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Monday, May 23, 2016 11:22:41 PM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 03:02 PM, Lomovtsev, Vadim wrote:
Hi Jim,
Thanks for reply.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
- for mozjs17 package I've applied this one https://bugzilla.mozilla.org/attachment.cgi?id=8740353
- probably you may want to apply patch for mozjs24 package also (https://bugzilla.mozilla.org/attachment.cgi?id=8740354);
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
There are a lots of testing to be done first with original packages, but probably we may want to provide patched qemu.
Vadim
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
My question was more, does the server die immediately on install (thus needing the patch for installation) or does it boot enough to get updates.
It installs fine and boots into shell successfully. So the system is usable and it is able to install updates. ________________________________________ From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Tuesday, May 24, 2016 12:03:29 AM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 03:56 PM, Lomovtsev, Vadim wrote:
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
About week ago I did fresh system install with custom kernel and were able to see issue. Then did "yum update" but the were no updates for mozjs17 package as far as I can remember. So issue was fixed by updating and rebuilding mozjs with patch. Let me check it once again to be sure that I didn't miss something (will run whole install and yum update) and I'll get back to you tomorrow.
It'll be tomorrow or so before I'm able to roll the patch out. Until then there won't be any change. My question was more, does the server die immediately on install (thus needing the patch for installation) or does it boot enough to get updates. If it can get updates, then that's a much easier fix.
From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Monday, May 23, 2016 11:22:41 PM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 03:02 PM, Lomovtsev, Vadim wrote:
Hi Jim,
Thanks for reply.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
- for mozjs17 package I've applied this one https://bugzilla.mozilla.org/attachment.cgi?id=8740353
- probably you may want to apply patch for mozjs24 package also (https://bugzilla.mozilla.org/attachment.cgi?id=8740354);
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
There are a lots of testing to be done first with original packages, but probably we may want to provide patched qemu.
Vadim
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
I just pushed this update. If you give it a couple hours to sync out, a 'yum update' should resolve the crashes you're seeing.
On 05/23/2016 04:09 PM, Lomovtsev, Vadim wrote:
My question was more, does the server die immediately on install (thus needing the patch for installation) or does it boot enough to get updates.
It installs fine and boots into shell successfully. So the system is usable and it is able to install updates. ________________________________________ From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Tuesday, May 24, 2016 12:03:29 AM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 03:56 PM, Lomovtsev, Vadim wrote:
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
About week ago I did fresh system install with custom kernel and were able to see issue. Then did "yum update" but the were no updates for mozjs17 package as far as I can remember. So issue was fixed by updating and rebuilding mozjs with patch. Let me check it once again to be sure that I didn't miss something (will run whole install and yum update) and I'll get back to you tomorrow.
It'll be tomorrow or so before I'm able to roll the patch out. Until then there won't be any change. My question was more, does the server die immediately on install (thus needing the patch for installation) or does it boot enough to get updates. If it can get updates, then that's a much easier fix.
From: arm-dev-bounces@centos.org arm-dev-bounces@centos.org on behalf of Jim Perrin jperrin@centos.org Sent: Monday, May 23, 2016 11:22:41 PM To: arm-dev@centos.org Subject: Re: [Arm-dev] [question] CentOS 7 Installer ISO generating
On 05/23/2016 03:02 PM, Lomovtsev, Vadim wrote:
Hi Jim,
Thanks for reply.
What patch did you apply? For this sort of thing, I could be convinced to bump the mozjs release with said patch included.
- for mozjs17 package I've applied this one https://bugzilla.mozilla.org/attachment.cgi?id=8740353
- probably you may want to apply patch for mozjs24 package also (https://bugzilla.mozilla.org/attachment.cgi?id=8740354);
Great. I'll see about pulling these into the source rpms for a small bump until it's resolved in a later rhel source package. Were you seeing your crashes right away, or can this be resolved via a 'yum update' on an impacted system?
Which packages? KVM support is already built into the distro, so are these additional, or patched versions?
There are a lots of testing to be done first with original packages, but probably we may want to provide patched qemu.
Vadim
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
23.05.2016 19:37 "Lomovtsev, Vadim" Vadim.Lomovtsev@caviumnetworks.com napisał(a):
We also will need to add some extra packages for KVM support and this
could help us also.
Virtualization works with current packages. I have Openstack running on APM Mustang.