Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491799 > unrolled thread

Re: qemu:metag image runtime failure in -next due to 'kthread: allow to cancel kthread work'

Started byPetr Mladek <pmladek@suse.com>
First post2016-09-27 12:20 +0200
Last post2016-09-27 12:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: qemu:metag image runtime failure in -next due to 'kthread: allow  to cancel kthread work' Petr Mladek <pmladek@suse.com> - 2016-09-27 12:20 +0200
    Re: qemu:metag image runtime failure in -next due to 'kthread: allow to cancel kthread work' James Hogan <james.hogan@imgtec.com> - 2016-09-27 12:20 +0200

#1491799 — Re: qemu:metag image runtime failure in -next due to 'kthread: allow to cancel kthread work'

FromPetr Mladek <pmladek@suse.com>
Date2016-09-27 12:20 +0200
SubjectRe: qemu:metag image runtime failure in -next due to 'kthread: allow to cancel kthread work'
Message-ID<slXEt-8j4-3@gated-at.bofh.it>
On Mon 2016-09-19 08:45:09, Guenter Roeck wrote:
> On Mon, Sep 19, 2016 at 03:55:29PM +0100, James Hogan wrote:
> > On Sat, Sep 17, 2016 at 12:32:49AM +0100, James Hogan wrote:
> > > Here this version of QEMU puts the args at where it thinks the end of
> > > the loaded image is, which is based on the number of bytes copied from
> > > the ELF, i.e. the total MemSiz's, not taking into account the alignment
> > > gap in between, so it puts them at 0x40377348.
> > 
> > QEMU meta-v1.3.1 branch updated at:
> > https://github.com/img-meta/qemu.git
> > 
> > Hopefully that'll fix it for you Guenter.
> > 
> Confirmed fixed.

Could you please confirm that the boot problem has been fixed
on the qemu side? I guess that it is
https://github.com/img-meta/qemu/commit/0a2402860228198ae2729048f1de05aeedb7d642

Could Andrew enable all the kthread worker API improvements in -mm
tree again?

I think that kthread worker patch has been an innocent victim.
It added some functions that were not used anywhere. I think
that it has triggered the boot problem just by chance.

Best Regards,
Petr

[toc] | [next] | [standalone]


#1491800 — Re: qemu:metag image runtime failure in -next due to 'kthread: allow to cancel kthread work'

FromJames Hogan <james.hogan@imgtec.com>
Date2016-09-27 12:20 +0200
SubjectRe: qemu:metag image runtime failure in -next due to 'kthread: allow to cancel kthread work'
Message-ID<slXEt-8j4-1@gated-at.bofh.it>
In reply to#1491799
On 27 September 2016 11:12:36 BST, Petr Mladek <pmladek@suse.com> wrote:
>On Mon 2016-09-19 08:45:09, Guenter Roeck wrote:
>> On Mon, Sep 19, 2016 at 03:55:29PM +0100, James Hogan wrote:
>> > On Sat, Sep 17, 2016 at 12:32:49AM +0100, James Hogan wrote:
>> > > Here this version of QEMU puts the args at where it thinks the
>end of
>> > > the loaded image is, which is based on the number of bytes copied
>from
>> > > the ELF, i.e. the total MemSiz's, not taking into account the
>alignment
>> > > gap in between, so it puts them at 0x40377348.
>> > 
>> > QEMU meta-v1.3.1 branch updated at:
>> > https://github.com/img-meta/qemu.git
>> > 
>> > Hopefully that'll fix it for you Guenter.
>> > 
>> Confirmed fixed.
>
>Could you please confirm that the boot problem has been fixed
>on the qemu side? I guess that it is
>https://github.com/img-meta/qemu/commit/0a2402860228198ae2729048f1de05aeedb7d642

Yes, that patch is sufficient.

>
>Could Andrew enable all the kthread worker API improvements in -mm
>tree again?
>
>I think that kthread worker patch has been an innocent victim.
>It added some functions that were not used anywhere. I think
>that it has triggered the boot problem just by chance.

Agreed, it altered the alignment of the sections enough to trigger linker generating multiple load program headers with a gap in between which confused qemu.

Cheers
James

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web