All of lore.kernel.org
 help / color / mirror / Atom feed
* QEMU native compile issue
@ 2019-08-26 20:03 Johnathan Mantey
  2019-08-26 23:31 ` Andrew Jeffery
  0 siblings, 1 reply; 8+ messages in thread
From: Johnathan Mantey @ 2019-08-26 20:03 UTC (permalink / raw)
  To: openbmc


[-- Attachment #1.1.1: Type: text/plain, Size: 608 bytes --]

Friday I ran into an issue compiling qemu-native.  I tracked the issue
to the the fact that the most recent kernel creates a new definition for
SIOCGSTAMP in sockios.h.  The prior definition was in sys/socket.h.  I
have pushed a change request to the QEMU code base.  It's a one-liner:

linux-user/syscall.c:
 #include <linux/random.h>
+#include <linux/sockios.h>


-- 
Johnathan Mantey
Senior Software Engineer
*azad te**chnology partners*
Contributing to Technology Innovation since 1992
Phone: (503) 712-6764
Email: johnathanx.mantey@intel.com <mailto:johnathanx.mantey@intel.com>


[-- Attachment #1.1.2: Type: text/html, Size: 1437 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
  2019-08-26 20:03 QEMU native compile issue Johnathan Mantey
@ 2019-08-26 23:31 ` Andrew Jeffery
  2019-08-29 20:29   ` Johnathan Mantey
       [not found]   ` <393e2e29-979b-3787-9776-0d5f5f8fbc6f@intel.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Jeffery @ 2019-08-26 23:31 UTC (permalink / raw)
  To: Johnathan Mantey, openbmc

Hi Johnathan,

On Tue, 27 Aug 2019, at 05:39, Johnathan Mantey wrote:
> Friday I ran into an issue compiling qemu-native. I tracked the issue 
> to the the fact that the most recent kernel creates a new definition 
> for SIOCGSTAMP in sockios.h. The prior definition was in sys/socket.h. 
> I have pushed a change request to the QEMU code base. 

Can you provide a link to the change request that you pushed?

Cheers,

Andrew

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
  2019-08-26 23:31 ` Andrew Jeffery
@ 2019-08-29 20:29   ` Johnathan Mantey
       [not found]   ` <393e2e29-979b-3787-9776-0d5f5f8fbc6f@intel.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Johnathan Mantey @ 2019-08-29 20:29 UTC (permalink / raw)
  To: Andrew Jeffery, openbmc


[-- Attachment #1.1.1: Type: text/plain, Size: 894 bytes --]

I've reviewed the QEMU commits:

6d5d5dde9a linux-user: fix to handle variably sized SIOCGSTAMP with new
kernels

I didn't push the commit to somewhere useful.

On 8/26/19 4:31 PM, Andrew Jeffery wrote:
> Hi Johnathan,
>
> On Tue, 27 Aug 2019, at 05:39, Johnathan Mantey wrote:
>> Friday I ran into an issue compiling qemu-native. I tracked the issue 
>> to the the fact that the most recent kernel creates a new definition 
>> for SIOCGSTAMP in sockios.h. The prior definition was in sys/socket.h. 
>> I have pushed a change request to the QEMU code base. 
> Can you provide a link to the change request that you pushed?
>
> Cheers,
>
> Andrew

-- 
Johnathan Mantey
Senior Software Engineer
*azad te**chnology partners*
Contributing to Technology Innovation since 1992
Phone: (503) 712-6764
Email: johnathanx.mantey@intel.com <mailto:johnathanx.mantey@intel.com>


[-- Attachment #1.1.2: Type: text/html, Size: 2052 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
       [not found]   ` <393e2e29-979b-3787-9776-0d5f5f8fbc6f@intel.com>
@ 2019-08-30  0:08     ` Andrew Jeffery
  2019-09-09 11:57       ` Brad Bishop
  2019-09-12  0:47       ` Andrew Jeffery
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Jeffery @ 2019-08-30  0:08 UTC (permalink / raw)
  To: Johnathan Mantey; +Cc: openbmc, Brad Bishop



On Wed, 28 Aug 2019, at 00:09, Johnathan Mantey wrote:
> Not really. I'm not sure where the code went.
> 
>  I cloned the OpenBMC QEMU, made my change, and then pushed the change 
> to "upstream". I have SHA "650af0e183 Fix compile error when using 
> kernel 5.2" as the text.

As you noted in your follow-up email you found the fix upstream. Further, the fix
is contained in the QEMU v4.1 tag.

Upstream open-embedded has already bumped QEMU to v4.1 - I guess we
should backport that change to openbmc/openbmc and this will be resolved.
I've Cc'ed Brad so he's across it.

As an aside, while we have the openbmc/qemu repo on GitHub, it's not
integrated into openbmc/openbmc, openbmc/qemu is a bit less volatile than
Cedric's legoater/qemu aspeed-4.x branches (as it's used for OpenBMC CI
purposes), but has more models implemented than what upstream typically
has (I intend to update openbmc/qemu to 4.1 with some of the patches from
legoater/qemu aspeed-4.2 on top in the near future). The QEMU that's built as
part of the OpenBMC build process is the upstream release.

Hope that helps.

Andrew

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
  2019-08-30  0:08     ` Andrew Jeffery
@ 2019-09-09 11:57       ` Brad Bishop
  2019-09-09 21:45         ` Johnathan Mantey
  2019-09-12  0:47       ` Andrew Jeffery
  1 sibling, 1 reply; 8+ messages in thread
From: Brad Bishop @ 2019-09-09 11:57 UTC (permalink / raw)
  To: Andrew Jeffery
  Cc: Johnathan Mantey, OpenBMC Maillist, James Feist, Patrick Venture,
	Benjamin Fair

at 8:08 PM, Andrew Jeffery <andrew@aj.id.au> wrote:

> On Wed, 28 Aug 2019, at 00:09, Johnathan Mantey wrote:
>> Not really. I'm not sure where the code went.
>>
>>  I cloned the OpenBMC QEMU, made my change, and then pushed the change
>> to "upstream". I have SHA "650af0e183 Fix compile error when using
>> kernel 5.2" as the text.
>
> As you noted in your follow-up email you found the fix upstream. Further,  
> the fix
> is contained in the QEMU v4.1 tag.
>
> Upstream open-embedded has already bumped QEMU to v4.1 - I guess we
> should backport that change to openbmc/openbmc and this will be resolved.
> I've Cc'ed Brad so he's across it.

I think this was picked up with openbmc  
c68388fccb8c0b5bf4d6b8efff91203796be98b2.

If that doesn’t have what we needed...I’m blocked on doing further oe-core  
updates because of this:

https://lists.ozlabs.org/pipermail/openbmc/2019-September/017984.html

-brad

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
  2019-09-09 11:57       ` Brad Bishop
@ 2019-09-09 21:45         ` Johnathan Mantey
  2019-09-11 19:16           ` Brad Bishop
  0 siblings, 1 reply; 8+ messages in thread
From: Johnathan Mantey @ 2019-09-09 21:45 UTC (permalink / raw)
  To: Brad Bishop, Andrew Jeffery
  Cc: OpenBMC Maillist, James Feist, Patrick Venture, Benjamin Fair


[-- Attachment #1.1.1: Type: text/plain, Size: 1463 bytes --]

Brad,

FYI...

Commit c68388fc.... is part of my latest pull, which is 9d227052b.

The upstream fix for QEMU native is not present in any commit 9d227052b.
When you are unblocked please collect the QEMU update.

On 9/9/19 4:57 AM, Brad Bishop wrote:
> at 8:08 PM, Andrew Jeffery <andrew@aj.id.au> wrote:
>
>> On Wed, 28 Aug 2019, at 00:09, Johnathan Mantey wrote:
>>> Not really. I'm not sure where the code went.
>>>
>>>  I cloned the OpenBMC QEMU, made my change, and then pushed the change
>>> to "upstream". I have SHA "650af0e183 Fix compile error when using
>>> kernel 5.2" as the text.
>>
>> As you noted in your follow-up email you found the fix upstream.
>> Further, the fix
>> is contained in the QEMU v4.1 tag.
>>
>> Upstream open-embedded has already bumped QEMU to v4.1 - I guess we
>> should backport that change to openbmc/openbmc and this will be
>> resolved.
>> I've Cc'ed Brad so he's across it.
>
> I think this was picked up with openbmc
> c68388fccb8c0b5bf4d6b8efff91203796be98b2.
>
> If that doesn’t have what we needed...I’m blocked on doing further
> oe-core updates because of this:
>
> https://lists.ozlabs.org/pipermail/openbmc/2019-September/017984.html
>
> -brad

-- 
Johnathan Mantey
Senior Software Engineer
*azad te**chnology partners*
Contributing to Technology Innovation since 1992
Phone: (503) 712-6764
Email: johnathanx.mantey@intel.com <mailto:johnathanx.mantey@intel.com>


[-- Attachment #1.1.2: Type: text/html, Size: 3157 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
  2019-09-09 21:45         ` Johnathan Mantey
@ 2019-09-11 19:16           ` Brad Bishop
  0 siblings, 0 replies; 8+ messages in thread
From: Brad Bishop @ 2019-09-11 19:16 UTC (permalink / raw)
  To: Johnathan Mantey
  Cc: Andrew Jeffery, Patrick Venture, OpenBMC Maillist, James Feist,
	Benjamin Fair

at 5:45 PM, Johnathan Mantey <johnathanx.mantey@intel.com> wrote:

> Brad,
>
> FYI...
>
> Commit c68388fc.... is part of my latest pull, which is 9d227052b.
>
> The upstream fix for QEMU native is not present in any commit 9d227052b.
> When you are unblocked please collect the QEMU update.

Thanks to Patrick we are unblocked now, and I pulled poky master HEAD  
yesterday.  Everything looks good now?

-brad

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QEMU native compile issue
  2019-08-30  0:08     ` Andrew Jeffery
  2019-09-09 11:57       ` Brad Bishop
@ 2019-09-12  0:47       ` Andrew Jeffery
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Jeffery @ 2019-09-12  0:47 UTC (permalink / raw)
  To: Johnathan Mantey; +Cc: openbmc, Brad Bishop

On Fri, 30 Aug 2019, at 09:38, Andrew Jeffery wrote:
>  (I intend to update openbmc/qemu to 4.1 with some of the patches from
> legoater/qemu aspeed-4.2 on top in the near future). 

I've now updated openbmc/qemu master to 4.1. CI appears to be chugging
along fine, but please keep an eye out for qemu-related failures.

Andrew

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-09-12  0:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-26 20:03 QEMU native compile issue Johnathan Mantey
2019-08-26 23:31 ` Andrew Jeffery
2019-08-29 20:29   ` Johnathan Mantey
     [not found]   ` <393e2e29-979b-3787-9776-0d5f5f8fbc6f@intel.com>
2019-08-30  0:08     ` Andrew Jeffery
2019-09-09 11:57       ` Brad Bishop
2019-09-09 21:45         ` Johnathan Mantey
2019-09-11 19:16           ` Brad Bishop
2019-09-12  0:47       ` Andrew Jeffery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.