From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1digR9-0000Ql-Mx for qemu-devel@nongnu.org; Fri, 18 Aug 2017 08:31:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1digR5-0007UU-NT for qemu-devel@nongnu.org; Fri, 18 Aug 2017 08:31:39 -0400 Received: from indium.canonical.com ([91.189.90.7]:36130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1digR5-0007UH-Hn for qemu-devel@nongnu.org; Fri, 18 Aug 2017 08:31:35 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1digR3-0005fl-6I for ; Fri, 18 Aug 2017 12:31:33 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 56FFD2E80D5 for ; Fri, 18 Aug 2017 12:31:32 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 18 Aug 2017 12:20:10 -0000 From: Richard Jones Reply-To: Bug 1706296 <1706296@bugs.launchpad.net> Sender: bounces@canonical.com References: <150097502966.6397.351311629210845503.malonedeb@gac.canonical.com> <150240857521.18943.1371547756430353016.malone@chaenomeles.canonical.com> <87shgpi800.fsf@linaro.org> <87r2w9i38i.fsf@linaro.org> Message-Id: <20170818122010.GT20914@redhat.com> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1706296] Re: Booting NT 4 disk causes /home/rjones/d/qemu/cpus.c:1580:qemu_mutex_lock_iothread: assertion failed: (!qemu_mutex_iothread_locked()) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, Aug 18, 2017 at 10:23:25AM -0000, Alex Benn=C3=A9e wrote: > That said from John's update it sounds very much like a symptom of not > emulating the right processor type rather than behaviour we are > incorrectly modelling. FWIW I checked back with the original specs, and NT 4.0 minimally required a Pentium processor (and 16 MB of RAM :-) Rich. -- = Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjon= es Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1706296 Title: Booting NT 4 disk causes /home/rjones/d/qemu/cpus.c:1580:qemu_mutex_lock_iothread: assertion failed: (!qemu_mutex_iothread_locked()) Status in QEMU: New Bug description: Grab the NT 4 disk from https://archive.org/details/Microsoft_Windows_NT_Server_Version_4.0_227-0= 75 -385_CD-KEY_419-1343253_1996 Try to boot it as follows: qemu-system-x86_64 -hda disk.img -cdrom Microsoft_Windows_NT_Server_Versi= on_4.0_227-075-385_CD-KEY_419-1343253_1996.iso -m 2048 -boot d -machine pc,= accel=3Dtcg WARNING: Image format was not specified for 'disk.img' and probing guesse= d raw. Automatically detecting the format is dangerous for raw images, = write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. ** ERROR:/home/rjones/d/qemu/cpus.c:1580:qemu_mutex_lock_iothread: assertion= failed: (!qemu_mutex_iothread_locked()) Aborted (core dumped) The stack trace in the failing thread is: Thread 4 (Thread 0x7fffb0418700 (LWP 21979)): #0 0x00007fffdd89b64b in raise () at /lib64/libc.so.6 #1 0x00007fffdd89d450 in abort () at /lib64/libc.so.6 #2 0x00007fffdff8c75d in g_assertion_message () at /lib64/libglib-2.0.so= .0 #3 0x00007fffdff8c7ea in g_assertion_message_expr () at /lib64/libglib-2.0.so.0 #4 0x00005555557a7d00 in qemu_mutex_lock_iothread () at /home/rjones/d/qemu/cpus.c:1580 #5 0x00005555557cb429 in io_writex (env=3Denv@entry=3D0x555556751400, io= tlbentry=3D0x55555675b678, = iotlbentry@entry=3D0x5aaaaae40c918, val=3Dval@entry=3D8, addr=3Daddr@= entry=3D2148532220, retaddr=3D0, retaddr@entry=3D93825011136120, size=3Dsiz= e@entry=3D4) at /home/rjones/d/qemu/accel/tcg/cputlb.c:795 #6 0x00005555557ce0f7 in io_writel (retaddr=3D93825011136120, addr=3D214= 8532220, val=3D8, index=3D255, mmu_idx=3D21845, env=3D0x555556751400) at /home/rjones/d/qemu/softmmu_template.h:265 #7 0x00005555557ce0f7 in helper_le_stl_mmu (env=3Denv@entry=3D0x55555675= 1400, addr=3Daddr@entry=3D2148532220, val=3Dval@entry=3D8, oi=3D, retaddr=3D93825011136120, retaddr@entry=3D0) at /home/rjones/d/qemu/s= oftmmu_template.h:300 #8 0x000055555587c0a4 in cpu_stl_kernel_ra (env=3D0x555556751400, ptr=3D= 2148532220, v=3D8, retaddr=3D0) at /home/rjones/d/qemu/include/exec/cpu_lds= t_template.h:182 #9 0x0000555555882610 in do_interrupt_protected (is_hw=3D= , next_eip=3D, error_code=3D2, is_int=3D, int= no=3D, env=3D0x555556751400) at /home/rjones/d/qemu/target/i= 386/seg_helper.c:758 #10 0x0000555555882610 in do_interrupt_all (cpu=3Dcpu@entry=3D0x555556749= 170, intno=3D, is_int=3D, error_code=3D2, nex= t_eip=3D, is_hw=3Dis_hw@entry=3D0) at /home/rjones/d/qemu/ta= rget/i386/seg_helper.c:1252 #11 0x00005555558839d3 in x86_cpu_do_interrupt (cs=3D0x555556749170) at /home/rjones/d/qemu/target/i386/seg_helper.c:1298 #12 0x00005555557d2ccb in cpu_handle_exception (ret=3D= , cpu=3D0x5555566a4590) at /home/rjones/d/qemu/accel/tcg/cpu-exec.c:465 #13 0x00005555557d2ccb in cpu_exec (cpu=3Dcpu@entry=3D0x555556749170) at /home/rjones/d/qemu/accel/tcg/cpu-exec.c:670 #14 0x00005555557a855a in tcg_cpu_exec (cpu=3D0x555556749170) at /home/rjones/d/qemu/cpus.c:1270 #15 0x00005555557a855a in qemu_tcg_rr_cpu_thread_fn (arg=3D) at /home/rjones/d/qemu/cpus.c:1365 #16 0x00007fffddc3d36d in start_thread () at /lib64/libpthread.so.0 #17 0x00007fffdd975b9f in clone () at /lib64/libc.so.6 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1706296/+subscriptions