All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: Rob Miller via Xenomai <xenomai@xenomai.org>
Cc: Rob Miller <rob.miller@broadcom.com>, Jan Kiszka <jan.kiszka@web.de>
Subject: Re: Xenomai fails to start when running in QEMU VM
Date: Thu, 24 Oct 2019 16:21:57 +0200	[thread overview]
Message-ID: <20191024162157.3a1e521b@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <CAJPjb1LYUuiS7ZRqnKW5rDj8i23gjpthR1Nz+7AU7dkXO-GUyQ@mail.gmail.com>

Can you provide some more detail on the host-machine? What hardware,
which kernel are you using, where is the kernel config coming from?

There must be something "unusual" in your setup.

Henning

Am Thu, 24 Oct 2019 09:38:23 -0400
schrieb Rob Miller via Xenomai <xenomai@xenomai.org>:

> responses in-line...
> 
> Rob Miller
> rob.miller@broadcom.com
> (919)721-3339
> 
> 
> On Thu, Oct 24, 2019 at 8:12 AM Jan Kiszka <jan.kiszka@web.de> wrote:
> 
> > On 24.10.19 13:46, Rob Miller wrote:  
> > > Pls see below
> > >
> > > Rob Miller
> > > rob.miller@broadcom.com <mailto:rob.miller@broadcom.com>
> > > (919)721-3339
> > >
> > >
> > > On Thu, Oct 24, 2019 at 6:25 AM Jan Kiszka <jan.kiszka@web.de
> > > <mailto:jan.kiszka@web.de>> wrote:
> > >
> > >     On 23.10.19 23:23, Rob Miller via Xenomai wrote:  
> > >     > Correction, stock images work by removing the enable-kvm
> > >     > and *NOT  
> > >     *adding  
> > >     > the -no-hpet QEMU cmdline options.
> > >     >
> > >     > also latency numbers are crazy with avg being 1678.126 usec
> > >     > w/  
> > >     worst case  
> > >     > being 15463.240usec
> > >     >
> > >     > at this point, I'm not sure which way to go:
> > >     >
> > >     > 1) do I hunt down issues in HPET failing w/ KVM mode
> > >     > enabled? 2) just go to dovetail
> > >     > 3) ???  
> > >
> > >     Don't have a the reference image around, but I'm pretty sure
> > > it would work here with QEMU
> > > 4300b7c2cd9f3f273804e8cca325842ccb93b1ad (post  
> > 4.1)  
> > >     and KVM from 5.3.6. At least a different image is being used
> > > like  
> > that  
> > >     for ages, and kernel config in xenomai-image is basically
> > > derived from it.
> > >  
> > > RJM>] Will try  
> > >
> > >
> > >     For the xenomai-images check, did you use "start-qemu.sh x86"
> > > as-is? 
> > > RJM>] Yes, my 1st failed attempts used unmodified start-qemu.sh
> > > RJM>x86,  
> > > then I mod'd the file to remove the -enable-kvm, and it started
> > > to work UNTIL also added -no-hpet, then I can't even boot up.
> > >  
> >
> > Number of host cores >= number of guest CPUs? If not, reduce -smp
> > in the QEMU invocation.
> >
> RJM>] yup, host has 16 cores whilst guest has 4 (using the stock
> RJM>images).  
> 
> >
> > Oh, and don't expect any kind of determinism in these setups. KVM
> > and QEMU are for functional testing only.
> >
> RJM>] Ah, good to know.  
> 
> >
> > Jan
> >  



  reply	other threads:[~2019-10-24 14:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11 17:25 Xenomai fails to start when running in QEMU VM Rob Miller
2019-10-11 17:32 ` Jan Kiszka
2019-10-23 12:48   ` Rob Miller
2019-10-23 13:26     ` Gylstorff Quirin
2019-10-23 16:07       ` Rob Miller
2019-10-23 19:52         ` Rob Miller
2019-10-23 21:02           ` Rob Miller
2019-10-23 21:23             ` Rob Miller
2019-10-24 10:25               ` Jan Kiszka
2019-10-24 11:46                 ` Rob Miller
2019-10-24 12:12                   ` Jan Kiszka
2019-10-24 13:38                     ` Rob Miller
2019-10-24 14:21                       ` Henning Schild [this message]
2019-11-04 11:24                       ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191024162157.3a1e521b@md1za8fc.ad001.siemens.net \
    --to=henning.schild@siemens.com \
    --cc=jan.kiszka@web.de \
    --cc=rob.miller@broadcom.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.