All of lore.kernel.org
 help / color / mirror / Atom feed
From: TimeMaster <timemaster@trillinis.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1824768] [NEW] Qemu ARMv7 TCG MultiThreading for i386 guest doesn't work
Date: Mon, 15 Apr 2019 08:13:44 -0000	[thread overview]
Message-ID: <155531602468.14046.8896369782282114161.malonedeb@gac.canonical.com> (raw)

Public bug reported:

Using any Linux image (in this case Alpine Linux iso) I want to utilise
all cores of my Raspberry with --accel,thread=multi. I know there is a
probably still problem with memory ordering of the host, but I have also
seen some very old commits which could potentially help with it.

But anyway, with version qemu-i386 version 3.1.0 (Debian 1:3.1+dfsg-7)
I can see OpenRC starting up services and then the kernel crash.

With version QEMU emulator version 3.1.93 (v4.0.0-rc3-dirty)
The whole machine crash with this error:
Illegal instruction

Using command:
./qemu-system-i386 -cdrom alpine.iso --accel tcg,thread=multi

Full Console Output:
qemu-system-i386: warning: Guest expects a stronger memory ordering than the host provides
This may cause strange/hard to debug errors
Illegal instruction

Kernel:
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

CPU:
ARMv7 Processor rev 5 (v7l)
Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
4 cores

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: multithreading raspberry tcg

** Description changed:

- Using any Linux image (in this case Alpine Linux iso) and want to use
+ Using any Linux image (in this case Alpine Linux iso) I want to utilise
  all cores of my Raspberry with --accel,thread=multi. I know there is a
- probably still problem with memory ordering of the host but I have also
+ probably still problem with memory ordering of the host, but I have also
  seen some very old commits which could potentially help with it.
  
  But anyway, with version qemu-i386 version 3.1.0 (Debian 1:3.1+dfsg-7)
  I can see OpenRC starting up services and then the kernel crash.
  
  With version QEMU emulator version 3.1.93 (v4.0.0-rc3-dirty)
- The whole machine crash with this error: 
+ The whole machine crash with this error:
  Illegal instruction
- 
  
  Using command:
  ./qemu-system-i386 -cdrom alpine.iso --accel tcg,thread=multi
  
  Full Console Output:
  qemu-system-i386: warning: Guest expects a stronger memory ordering than the host provides
  This may cause strange/hard to debug errors
  Illegal instruction
  
- 
  Kernel:
  Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
  
  CPU:
  ARMv7 Processor rev 5 (v7l)
- Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
+ Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
  4 cores

** Summary changed:

- Qemu ARMv7 TCG MultiThreading doesn't work
+ Qemu ARMv7 TCG MultiThreading for i386 guest doesn't work

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1824768

Title:
  Qemu ARMv7 TCG MultiThreading for i386 guest doesn't work

Status in QEMU:
  New

Bug description:
  Using any Linux image (in this case Alpine Linux iso) I want to
  utilise all cores of my Raspberry with --accel,thread=multi. I know
  there is a probably still problem with memory ordering of the host,
  but I have also seen some very old commits which could potentially
  help with it.

  But anyway, with version qemu-i386 version 3.1.0 (Debian 1:3.1+dfsg-7)
  I can see OpenRC starting up services and then the kernel crash.

  With version QEMU emulator version 3.1.93 (v4.0.0-rc3-dirty)
  The whole machine crash with this error:
  Illegal instruction

  Using command:
  ./qemu-system-i386 -cdrom alpine.iso --accel tcg,thread=multi

  Full Console Output:
  qemu-system-i386: warning: Guest expects a stronger memory ordering than the host provides
  This may cause strange/hard to debug errors
  Illegal instruction

  Kernel:
  Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

  CPU:
  ARMv7 Processor rev 5 (v7l)
  Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
  4 cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1824768/+subscriptions

             reply	other threads:[~2019-04-15  8:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15  8:13 TimeMaster [this message]
2019-04-16 13:44 ` [Qemu-devel] [Bug 1824768] Re: Qemu ARMv7 TCG MultiThreading for i386 guest doesn't work Peter Maydell
2019-04-16 14:05 ` TimeMaster
2019-04-16 14:17 ` Peter Maydell
2019-04-16 14:41 ` TimeMaster
2019-04-16 14:59 ` Peter Maydell
2019-04-16 15:13 ` TimeMaster
2019-04-21 17:58 ` Richard Henderson
2019-04-21 19:48 ` Richard Henderson
2019-04-22 15:18 ` TimeMaster
2019-06-22  4:17 ` Launchpad Bug Tracker

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=155531602468.14046.8896369782282114161.malonedeb@gac.canonical.com \
    --to=timemaster@trillinis.com \
    --cc=1824768@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.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.