x86_64 kernel does not start under qemu

Richard Weinberger richard at nod.at
Fri Mar 8 12:19:46 CET 2019


Am Mittwoch, 6. März 2019, 17:39:38 CET schrieb Jan Kiszka:
> On 06.03.19 16:33, Richard Weinberger wrote:
> > Am Mittwoch, 6. März 2019, 14:43:55 CET schrieb Jan Kiszka:
> >> On 06.03.19 14:10, Jan Kiszka wrote:
> >>> On 06.03.19 12:28, Lange Norbert via Xenomai wrote:
> >>>> Hello,
> >>>>
> >>>> I have a similar issue on real hardware (cc Philippe). Can you try booting
> >>>> with notscdeadline?
> >>>>
> >>>
> >>> I would be surprised if it's that: QEMU does not emulate this APIC feature, only
> >>> KVM does.
> >>>
> >>> I need to reproduce. Which QEMU version?
> >>>
> >>
> >> Just booted current ipipe-x86-4.14.y (4.14.103) in QEMU 3.1+ (some development
> >> snapshot) with -smp 4 - works fine. But these are likely quite a few variations
> >> from your setup.
> > 
> > I'm on qemu 2.11.2.
> 
> That one might still be serializing SMP, thus only use one core on the host. 

Well, why is this a problem for Xenomai?
Does it deadlock if you have more than one cpu and these are not truly parallel?
This seems a little odd to me.

> Currently trying to emulate that as it changes timing.

Just retried with latest qemu (v3.1.0-2421-g9b748c5e061b), same problem.
 
> > Is this plain ipipe? Just figured that you need to prepare the kernel
> > with Xenomai to trigger the problem.
> > Xenomai is 3.0.8.
> 
> I have Xenomai stable/v3.0.x running as well.

What kernel config are you using and what is your qemu command line?

Thanks,
//richard





More information about the Xenomai mailing list